From 0a381700cf8b45fe5ed8ad5c032a95777f0e6ab6 Mon Sep 17 00:00:00 2001 From: azure-sdk Date: Fri, 12 Jun 2020 16:52:48 +0000 Subject: [PATCH 1/2] Update AutoRest C# version to https://github.com/Azure/autorest.csharp/releases/download/3.0.0-dev.20200612.2/autorest-csharp-v3-3.0.0-dev.20200612.2.tgz --- eng/CodeGeneration.targets | 3 +- .../AppConfigurationManagementClient.cs | 28 +- ...nt.cs => ConfigurationStoresOperations.cs} | 62 +- ...s => ConfigurationStoresRestOperations.cs} | 6 +- .../{OperationsClient.cs => Operations.cs} | 28 +- ...> PrivateEndpointConnectionsOperations.cs} | 34 +- ...ivateEndpointConnectionsRestOperations.cs} | 6 +- ...t.cs => PrivateLinkResourcesOperations.cs} | 26 +- ... => PrivateLinkResourcesRestOperations.cs} | 6 +- ...rationsRestClient.cs => RestOperations.cs} | 6 +- ...lient.cs => AvailabilitySetsOperations.cs} | 50 +- ...t.cs => AvailabilitySetsRestOperations.cs} | 6 +- .../src/Generated/ComputeManagementClient.cs | 210 ++---- ...ient.cs => ContainerServicesOperations.cs} | 42 +- ....cs => ContainerServicesRestOperations.cs} | 6 +- ...nt.cs => DedicatedHostGroupsOperations.cs} | 46 +- ...s => DedicatedHostGroupsRestOperations.cs} | 6 +- ...sClient.cs => DedicatedHostsOperations.cs} | 38 +- ...ent.cs => DedicatedHostsRestOperations.cs} | 6 +- ...ent.cs => DiskEncryptionSetsOperations.cs} | 46 +- ...cs => DiskEncryptionSetsRestOperations.cs} | 6 +- .../{DisksClient.cs => DisksOperations.cs} | 54 +- ...ksRestClient.cs => DisksRestOperations.cs} | 6 +- ...leriesClient.cs => GalleriesOperations.cs} | 46 +- ...stClient.cs => GalleriesRestOperations.cs} | 6 +- ...> GalleryApplicationVersionsOperations.cs} | 38 +- ...lleryApplicationVersionsRestOperations.cs} | 6 +- ...nt.cs => GalleryApplicationsOperations.cs} | 38 +- ...s => GalleryApplicationsRestOperations.cs} | 6 +- ...t.cs => GalleryImageVersionsOperations.cs} | 38 +- ... => GalleryImageVersionsRestOperations.cs} | 6 +- ...esClient.cs => GalleryImagesOperations.cs} | 38 +- ...ient.cs => GalleryImagesRestOperations.cs} | 6 +- .../{ImagesClient.cs => ImagesOperations.cs} | 46 +- ...sRestClient.cs => ImagesRestOperations.cs} | 6 +- ...icsClient.cs => LogAnalyticsOperations.cs} | 22 +- ...lient.cs => LogAnalyticsRestOperations.cs} | 6 +- .../{OperationsClient.cs => Operations.cs} | 20 +- ... => ProximityPlacementGroupsOperations.cs} | 46 +- ...ProximityPlacementGroupsRestOperations.cs} | 6 +- ...kusClient.cs => ResourceSkusOperations.cs} | 22 +- ...lient.cs => ResourceSkusRestOperations.cs} | 6 +- ...rationsRestClient.cs => RestOperations.cs} | 6 +- ...pshotsClient.cs => SnapshotsOperations.cs} | 54 +- ...stClient.cs => SnapshotsRestOperations.cs} | 6 +- ...ysClient.cs => SshPublicKeysOperations.cs} | 50 +- ...ient.cs => SshPublicKeysRestOperations.cs} | 6 +- .../{UsageClient.cs => UsageOperations.cs} | 22 +- ...geRestClient.cs => UsageRestOperations.cs} | 6 +- ...irtualMachineExtensionImagesOperations.cs} | 26 +- ...alMachineExtensionImagesRestOperations.cs} | 6 +- ... => VirtualMachineExtensionsOperations.cs} | 34 +- ...VirtualMachineExtensionsRestOperations.cs} | 6 +- ...t.cs => VirtualMachineImagesOperations.cs} | 34 +- ... => VirtualMachineImagesRestOperations.cs} | 6 +- ...=> VirtualMachineRunCommandsOperations.cs} | 26 +- ...irtualMachineRunCommandsRestOperations.cs} | 6 +- ...ualMachineScaleSetExtensionsOperations.cs} | 38 +- ...achineScaleSetExtensionsRestOperations.cs} | 6 +- ...chineScaleSetRollingUpgradesOperations.cs} | 30 +- ...eScaleSetRollingUpgradesRestOperations.cs} | 6 +- ...lMachineScaleSetVMExtensionsOperations.cs} | 34 +- ...hineScaleSetVMExtensionsRestOperations.cs} | 6 +- ...=> VirtualMachineScaleSetVMsOperations.cs} | 78 +- ...irtualMachineScaleSetVMsRestOperations.cs} | 6 +- ...s => VirtualMachineScaleSetsOperations.cs} | 118 ++-- ... VirtualMachineScaleSetsRestOperations.cs} | 6 +- ...nt.cs => VirtualMachineSizesOperations.cs} | 18 +- ...s => VirtualMachineSizesRestOperations.cs} | 6 +- ...Client.cs => VirtualMachinesOperations.cs} | 114 +-- ...nt.cs => VirtualMachinesRestOperations.cs} | 6 +- ...lustersClient.cs => ClustersOperations.cs} | 46 +- ...estClient.cs => ClustersRestOperations.cs} | 6 +- ...onClient.cs => ConfigurationOperations.cs} | 22 +- ...ient.cs => ConfigurationRestOperations.cs} | 6 +- ...sClient.cs => ConsumerGroupsOperations.cs} | 34 +- ...ent.cs => ConsumerGroupsRestOperations.cs} | 6 +- ...s => DisasterRecoveryConfigsOperations.cs} | 62 +- ... DisasterRecoveryConfigsRestOperations.cs} | 6 +- .../Generated/EventHubsManagementClient.cs | 56 +- ...ntHubsClient.cs => EventHubsOperations.cs} | 62 +- ...stClient.cs => EventHubsRestOperations.cs} | 6 +- ...pacesClient.cs => NamespacesOperations.cs} | 126 ++-- ...tClient.cs => NamespacesRestOperations.cs} | 6 +- .../{OperationsClient.cs => Operations.cs} | 24 +- ...{RegionsClient.cs => RegionsOperations.cs} | 22 +- ...RestClient.cs => RegionsRestOperations.cs} | 6 +- ...rationsRestClient.cs => RestOperations.cs} | 6 +- .../src/Generated/KeyVaultManagementClient.cs | 28 +- .../{OperationsClient.cs => Operations.cs} | 24 +- ...> PrivateEndpointConnectionsOperations.cs} | 26 +- ...ivateEndpointConnectionsRestOperations.cs} | 6 +- ...t.cs => PrivateLinkResourcesOperations.cs} | 18 +- ... => PrivateLinkResourcesRestOperations.cs} | 6 +- ...rationsRestClient.cs => RestOperations.cs} | 6 +- .../{VaultsClient.cs => VaultsOperations.cs} | 78 +- ...sRestClient.cs => VaultsRestOperations.cs} | 6 +- ...nt.cs => ApplicationGatewaysOperations.cs} | 94 +-- ...s => ApplicationGatewaysRestOperations.cs} | 6 +- ...=> ApplicationSecurityGroupsOperations.cs} | 46 +- ...pplicationSecurityGroupsRestOperations.cs} | 6 +- ...t.cs => AvailableDelegationsOperations.cs} | 22 +- ... => AvailableDelegationsRestOperations.cs} | 6 +- ...=> AvailableEndpointServicesOperations.cs} | 22 +- ...vailableEndpointServicesRestOperations.cs} | 6 +- ...vailablePrivateEndpointTypesOperations.cs} | 30 +- ...ablePrivateEndpointTypesRestOperations.cs} | 6 +- ...ableResourceGroupDelegationsOperations.cs} | 22 +- ...ResourceGroupDelegationsRestOperations.cs} | 6 +- ...s => AvailableServiceAliasesOperations.cs} | 30 +- ... AvailableServiceAliasesRestOperations.cs} | 6 +- ....cs => AzureFirewallFqdnTagsOperations.cs} | 22 +- ...=> AzureFirewallFqdnTagsRestOperations.cs} | 6 +- ...sClient.cs => AzureFirewallsOperations.cs} | 46 +- ...ent.cs => AzureFirewallsRestOperations.cs} | 6 +- ...stsClient.cs => BastionHostsOperations.cs} | 42 +- ...lient.cs => BastionHostsRestOperations.cs} | 6 +- ....cs => BgpServiceCommunitiesOperations.cs} | 22 +- ...=> BgpServiceCommunitiesRestOperations.cs} | 6 +- ...ent.cs => ConnectionMonitorsOperations.cs} | 46 +- ...cs => ConnectionMonitorsRestOperations.cs} | 6 +- ...ent.cs => DdosCustomPoliciesOperations.cs} | 30 +- ...cs => DdosCustomPoliciesRestOperations.cs} | 6 +- ...nt.cs => DdosProtectionPlansOperations.cs} | 46 +- ...s => DdosProtectionPlansRestOperations.cs} | 6 +- ...t.cs => DefaultSecurityRulesOperations.cs} | 26 +- ... => DefaultSecurityRulesRestOperations.cs} | 6 +- ...ssRouteCircuitAuthorizationsOperations.cs} | 34 +- ...uteCircuitAuthorizationsRestOperations.cs} | 6 +- ...pressRouteCircuitConnectionsOperations.cs} | 34 +- ...sRouteCircuitConnectionsRestOperations.cs} | 6 +- ... ExpressRouteCircuitPeeringsOperations.cs} | 34 +- ...ressRouteCircuitPeeringsRestOperations.cs} | 6 +- ...t.cs => ExpressRouteCircuitsOperations.cs} | 66 +- ... => ExpressRouteCircuitsRestOperations.cs} | 6 +- ...s => ExpressRouteConnectionsOperations.cs} | 30 +- ... ExpressRouteConnectionsRestOperations.cs} | 6 +- ...RouteCrossConnectionPeeringsOperations.cs} | 34 +- ...eCrossConnectionPeeringsRestOperations.cs} | 6 +- ...ExpressRouteCrossConnectionsOperations.cs} | 54 +- ...essRouteCrossConnectionsRestOperations.cs} | 6 +- ...t.cs => ExpressRouteGatewaysOperations.cs} | 34 +- ... => ExpressRouteGatewaysRestOperations.cs} | 6 +- ...ient.cs => ExpressRouteLinksOperations.cs} | 26 +- ....cs => ExpressRouteLinksRestOperations.cs} | 6 +- ...> ExpressRoutePortsLocationsOperations.cs} | 26 +- ...pressRoutePortsLocationsRestOperations.cs} | 6 +- ...ient.cs => ExpressRoutePortsOperations.cs} | 46 +- ....cs => ExpressRoutePortsRestOperations.cs} | 6 +- ...ExpressRouteServiceProvidersOperations.cs} | 22 +- ...essRouteServiceProvidersRestOperations.cs} | 6 +- ...lient.cs => FirewallPoliciesOperations.cs} | 42 +- ...t.cs => FirewallPoliciesRestOperations.cs} | 6 +- ... => FirewallPolicyRuleGroupsOperations.cs} | 34 +- ...FirewallPolicyRuleGroupsRestOperations.cs} | 6 +- ...lowLogsClient.cs => FlowLogsOperations.cs} | 34 +- ...estClient.cs => FlowLogsRestOperations.cs} | 6 +- ...sClient.cs => HubRouteTablesOperations.cs} | 34 +- ...ent.cs => HubRouteTablesRestOperations.cs} | 6 +- ...HubVirtualNetworkConnectionsOperations.cs} | 26 +- ...irtualNetworkConnectionsRestOperations.cs} | 6 +- ...Client.cs => InboundNatRulesOperations.cs} | 34 +- ...nt.cs => InboundNatRulesRestOperations.cs} | 6 +- ...nsClient.cs => IpAllocationsOperations.cs} | 46 +- ...ient.cs => IpAllocationsRestOperations.cs} | 6 +- ...pGroupsClient.cs => IpGroupsOperations.cs} | 46 +- ...estClient.cs => IpGroupsRestOperations.cs} | 6 +- ...dBalancerBackendAddressPoolsOperations.cs} | 34 +- ...ancerBackendAddressPoolsRestOperations.cs} | 6 +- ...ncerFrontendIPConfigurationsOperations.cs} | 26 +- ...FrontendIPConfigurationsRestOperations.cs} | 6 +- ...adBalancerLoadBalancingRulesOperations.cs} | 26 +- ...lancerLoadBalancingRulesRestOperations.cs} | 6 +- ...oadBalancerNetworkInterfacesOperations.cs} | 22 +- ...alancerNetworkInterfacesRestOperations.cs} | 6 +- ...=> LoadBalancerOutboundRulesOperations.cs} | 26 +- ...oadBalancerOutboundRulesRestOperations.cs} | 6 +- ...ent.cs => LoadBalancerProbesOperations.cs} | 26 +- ...cs => LoadBalancerProbesRestOperations.cs} | 6 +- ...rsClient.cs => LoadBalancersOperations.cs} | 46 +- ...ient.cs => LoadBalancersRestOperations.cs} | 6 +- ...t.cs => LocalNetworkGatewaysOperations.cs} | 38 +- ... => LocalNetworkGatewaysRestOperations.cs} | 6 +- ...waysClient.cs => NatGatewaysOperations.cs} | 46 +- ...Client.cs => NatGatewaysRestOperations.cs} | 6 +- ...orkInterfaceIPConfigurationsOperations.cs} | 26 +- ...nterfaceIPConfigurationsRestOperations.cs} | 6 +- ...etworkInterfaceLoadBalancersOperations.cs} | 22 +- ...rkInterfaceLoadBalancersRestOperations.cs} | 6 +- ...rkInterfaceTapConfigurationsOperations.cs} | 34 +- ...terfaceTapConfigurationsRestOperations.cs} | 6 +- ...ient.cs => NetworkInterfacesOperations.cs} | 86 +-- ....cs => NetworkInterfacesRestOperations.cs} | 6 +- .../src/Generated/NetworkManagementClient.cs | 665 +++++------------- ...Client.cs => NetworkProfilesOperations.cs} | 46 +- ...nt.cs => NetworkProfilesRestOperations.cs} | 6 +- ....cs => NetworkSecurityGroupsOperations.cs} | 46 +- ...=> NetworkSecurityGroupsRestOperations.cs} | 6 +- ... => NetworkVirtualAppliancesOperations.cs} | 46 +- ...NetworkVirtualAppliancesRestOperations.cs} | 6 +- ...Client.cs => NetworkWatchersOperations.cs} | 86 +-- ...nt.cs => NetworkWatchersRestOperations.cs} | 6 +- .../{OperationsClient.cs => Operations.cs} | 24 +- ...sClient.cs => P2SVpnGatewaysOperations.cs} | 62 +- ...ent.cs => P2SVpnGatewaysRestOperations.cs} | 6 +- ...sClient.cs => PacketCapturesOperations.cs} | 38 +- ...ent.cs => PacketCapturesRestOperations.cs} | 6 +- ...pressRouteCircuitConnectionsOperations.cs} | 26 +- ...sRouteCircuitConnectionsRestOperations.cs} | 6 +- ...t.cs => PrivateDnsZoneGroupsOperations.cs} | 34 +- ... => PrivateDnsZoneGroupsRestOperations.cs} | 6 +- ...lient.cs => PrivateEndpointsOperations.cs} | 42 +- ...t.cs => PrivateEndpointsRestOperations.cs} | 6 +- ...nt.cs => PrivateLinkServicesOperations.cs} | 86 +-- ...s => PrivateLinkServicesRestOperations.cs} | 6 +- ...ient.cs => PublicIPAddressesOperations.cs} | 66 +- ....cs => PublicIPAddressesRestOperations.cs} | 6 +- ...lient.cs => PublicIPPrefixesOperations.cs} | 46 +- ...t.cs => PublicIPPrefixesRestOperations.cs} | 6 +- ...s => ResourceNavigationLinksOperations.cs} | 18 +- ... ResourceNavigationLinksRestOperations.cs} | 6 +- ...rationsRestClient.cs => RestOperations.cs} | 6 +- ...lient.cs => RouteFilterRulesOperations.cs} | 34 +- ...t.cs => RouteFilterRulesRestOperations.cs} | 6 +- ...ersClient.cs => RouteFiltersOperations.cs} | 46 +- ...lient.cs => RouteFiltersRestOperations.cs} | 6 +- ...blesClient.cs => RouteTablesOperations.cs} | 46 +- ...Client.cs => RouteTablesRestOperations.cs} | 6 +- .../{RoutesClient.cs => RoutesOperations.cs} | 34 +- ...sRestClient.cs => RoutesRestOperations.cs} | 6 +- ... => SecurityPartnerProvidersOperations.cs} | 46 +- ...SecurityPartnerProvidersRestOperations.cs} | 6 +- ...esClient.cs => SecurityRulesOperations.cs} | 34 +- ...ient.cs => SecurityRulesRestOperations.cs} | 6 +- ...s => ServiceAssociationLinksOperations.cs} | 18 +- ... ServiceAssociationLinksRestOperations.cs} | 6 +- ...s => ServiceEndpointPoliciesOperations.cs} | 46 +- ... ServiceEndpointPoliciesRestOperations.cs} | 6 +- ...iceEndpointPolicyDefinitionsOperations.cs} | 34 +- ...ndpointPolicyDefinitionsRestOperations.cs} | 6 +- ...{ServiceClient.cs => ServiceOperations.cs} | 54 +- ...RestClient.cs => ServiceRestOperations.cs} | 6 +- ...TagsClient.cs => ServiceTagsOperations.cs} | 18 +- ...Client.cs => ServiceTagsRestOperations.cs} | 6 +- ...{SubnetsClient.cs => SubnetsOperations.cs} | 42 +- ...RestClient.cs => SubnetsRestOperations.cs} | 6 +- .../{UsagesClient.cs => UsagesOperations.cs} | 22 +- ...sRestClient.cs => UsagesRestOperations.cs} | 6 +- ...s => VirtualHubRouteTableV2SOperations.cs} | 34 +- ... VirtualHubRouteTableV2SRestOperations.cs} | 6 +- ...HubsClient.cs => VirtualHubsOperations.cs} | 46 +- ...Client.cs => VirtualHubsRestOperations.cs} | 6 +- ...ualNetworkGatewayConnectionsOperations.cs} | 58 +- ...etworkGatewayConnectionsRestOperations.cs} | 6 +- ...cs => VirtualNetworkGatewaysOperations.cs} | 110 +-- ...> VirtualNetworkGatewaysRestOperations.cs} | 6 +- ...cs => VirtualNetworkPeeringsOperations.cs} | 34 +- ...> VirtualNetworkPeeringsRestOperations.cs} | 6 +- ...ent.cs => VirtualNetworkTapsOperations.cs} | 46 +- ...cs => VirtualNetworkTapsRestOperations.cs} | 6 +- ...Client.cs => VirtualNetworksOperations.cs} | 58 +- ...nt.cs => VirtualNetworksRestOperations.cs} | 6 +- ....cs => VirtualRouterPeeringsOperations.cs} | 34 +- ...=> VirtualRouterPeeringsRestOperations.cs} | 6 +- ...sClient.cs => VirtualRoutersOperations.cs} | 42 +- ...ent.cs => VirtualRoutersRestOperations.cs} | 6 +- ...WansClient.cs => VirtualWansOperations.cs} | 46 +- ...Client.cs => VirtualWansRestOperations.cs} | 6 +- ...sClient.cs => VpnConnectionsOperations.cs} | 34 +- ...ent.cs => VpnConnectionsRestOperations.cs} | 6 +- ...waysClient.cs => VpnGatewaysOperations.cs} | 50 +- ...Client.cs => VpnGatewaysRestOperations.cs} | 6 +- ...ent.cs => VpnLinkConnectionsOperations.cs} | 22 +- ...cs => VpnLinkConnectionsRestOperations.cs} | 6 +- ...ionsAssociatedWithVirtualWanOperations.cs} | 18 +- ...AssociatedWithVirtualWanRestOperations.cs} | 6 +- ...s => VpnServerConfigurationsOperations.cs} | 46 +- ... VpnServerConfigurationsRestOperations.cs} | 6 +- ...cs => VpnSiteLinkConnectionsOperations.cs} | 18 +- ...> VpnSiteLinkConnectionsRestOperations.cs} | 6 +- ...nksClient.cs => VpnSiteLinksOperations.cs} | 26 +- ...lient.cs => VpnSiteLinksRestOperations.cs} | 6 +- ....cs => VpnSitesConfigurationOperations.cs} | 18 +- ...=> VpnSitesConfigurationRestOperations.cs} | 6 +- ...pnSitesClient.cs => VpnSitesOperations.cs} | 46 +- ...estClient.cs => VpnSitesRestOperations.cs} | 6 +- ...bApplicationFirewallPoliciesOperations.cs} | 42 +- ...licationFirewallPoliciesRestOperations.cs} | 6 +- ...cs => ApplicationDefinitionsOperations.cs} | 46 +- ...> ApplicationDefinitionsRestOperations.cs} | 6 +- ...onsClient.cs => ApplicationsOperations.cs} | 62 +- ...lient.cs => ApplicationsRestOperations.cs} | 6 +- ...onClient.cs => AuthorizationOperations.cs} | 22 +- ...ient.cs => AuthorizationRestOperations.cs} | 6 +- ...ymentClient.cs => DeploymentOperations.cs} | 74 +- ...tClient.cs => DeploymentRestOperations.cs} | 6 +- ...ient.cs => DeploymentScriptsOperations.cs} | 54 +- ....cs => DeploymentScriptsRestOperations.cs} | 6 +- ...entsClient.cs => DeploymentsOperations.cs} | 206 +++--- ...Client.cs => DeploymentsRestOperations.cs} | 6 +- ...eaturesClient.cs => FeaturesOperations.cs} | 42 +- ...estClient.cs => FeaturesRestOperations.cs} | 6 +- ...Client.cs => ManagementLocksOperations.cs} | 94 +-- ...nt.cs => ManagementLocksRestOperations.cs} | 6 +- .../{OperationsClient.cs => Operations.cs} | 24 +- ...ient.cs => PolicyAssignmentsOperations.cs} | 70 +- ....cs => PolicyAssignmentsRestOperations.cs} | 6 +- ...ient.cs => PolicyDefinitionsOperations.cs} | 66 +- ....cs => PolicyDefinitionsRestOperations.cs} | 6 +- ...t.cs => PolicySetDefinitionsOperations.cs} | 66 +- ... => PolicySetDefinitionsRestOperations.cs} | 6 +- ...vidersClient.cs => ProvidersOperations.cs} | 46 +- ...stClient.cs => ProvidersRestOperations.cs} | 6 +- ...sClient.cs => ResourceGroupsOperations.cs} | 46 +- ...ent.cs => ResourceGroupsRestOperations.cs} | 6 +- ...ksClient.cs => ResourceLinksOperations.cs} | 42 +- ...ient.cs => ResourceLinksRestOperations.cs} | 6 +- .../Generated/ResourcesManagementClient.cs | 140 ++-- ...ourcesClient.cs => ResourcesOperations.cs} | 78 +- ...stClient.cs => ResourcesRestOperations.cs} | 6 +- ...rationsRestClient.cs => RestOperations.cs} | 6 +- ...{ServiceClient.cs => ServiceOperations.cs} | 22 +- ...RestClient.cs => ServiceRestOperations.cs} | 6 +- ...nsClient.cs => SubscriptionsOperations.cs} | 30 +- ...ient.cs => SubscriptionsRestOperations.cs} | 6 +- .../{TagsClient.cs => TagsOperations.cs} | 54 +- ...agsRestClient.cs => TagsRestOperations.cs} | 6 +- ...{TenantsClient.cs => TenantsOperations.cs} | 22 +- ...RestClient.cs => TenantsRestOperations.cs} | 6 +- ...sClient.cs => BlobContainersOperations.cs} | 70 +- ...ent.cs => BlobContainersRestOperations.cs} | 6 +- ...cesClient.cs => BlobServicesOperations.cs} | 26 +- ...lient.cs => BlobServicesRestOperations.cs} | 6 +- ...lient.cs => EncryptionScopesOperations.cs} | 34 +- ...t.cs => EncryptionScopesRestOperations.cs} | 6 +- ...cesClient.cs => FileServicesOperations.cs} | 26 +- ...lient.cs => FileServicesRestOperations.cs} | 6 +- ...haresClient.cs => FileSharesOperations.cs} | 42 +- ...tClient.cs => FileSharesRestOperations.cs} | 6 +- ...ent.cs => ManagementPoliciesOperations.cs} | 26 +- ...cs => ManagementPoliciesRestOperations.cs} | 6 +- ...=> ObjectReplicationPoliciesOperations.cs} | 30 +- ...bjectReplicationPoliciesRestOperations.cs} | 6 +- .../{OperationsClient.cs => Operations.cs} | 20 +- ...> PrivateEndpointConnectionsOperations.cs} | 30 +- ...ivateEndpointConnectionsRestOperations.cs} | 6 +- ...t.cs => PrivateLinkResourcesOperations.cs} | 18 +- ... => PrivateLinkResourcesRestOperations.cs} | 6 +- .../{QueueClient.cs => QueueOperations.cs} | 38 +- ...ueRestClient.cs => QueueRestOperations.cs} | 6 +- ...esClient.cs => QueueServicesOperations.cs} | 26 +- ...ient.cs => QueueServicesRestOperations.cs} | 6 +- ...rationsRestClient.cs => RestOperations.cs} | 6 +- .../{SkusClient.cs => SkusOperations.cs} | 18 +- ...kusRestClient.cs => SkusRestOperations.cs} | 6 +- ...Client.cs => StorageAccountsOperations.cs} | 74 +- ...nt.cs => StorageAccountsRestOperations.cs} | 6 +- .../src/Generated/StorageManagementClient.cs | 119 +--- .../{TableClient.cs => TableOperations.cs} | 38 +- ...leRestClient.cs => TableRestOperations.cs} | 6 +- ...esClient.cs => TableServicesOperations.cs} | 26 +- ...ient.cs => TableServicesRestOperations.cs} | 6 +- .../{UsagesClient.cs => UsagesOperations.cs} | 18 +- ...sRestClient.cs => UsagesRestOperations.cs} | 6 +- ...onsClient.cs => ApplicationsOperations.cs} | 82 +-- ...lient.cs => ApplicationsRestOperations.cs} | 6 +- ...nt.cs => DeletedApplicationsOperations.cs} | 38 +- ...s => DeletedApplicationsRestOperations.cs} | 6 +- ...{DomainsClient.cs => DomainsOperations.cs} | 22 +- ...RestClient.cs => DomainsRestOperations.cs} | 6 +- .../{GroupsClient.cs => GroupsOperations.cs} | 90 +-- ...sRestClient.cs => GroupsRestOperations.cs} | 6 +- ....cs => OAuth2PermissionGrantOperations.cs} | 38 +- ...=> OAuth2PermissionGrantRestOperations.cs} | 6 +- ...{ObjectsClient.cs => ObjectsOperations.cs} | 30 +- ...RestClient.cs => ObjectsRestOperations.cs} | 6 +- .../src/Generated/RbacManagementClient.cs | 63 +- ...ient.cs => ServicePrincipalsOperations.cs} | 70 +- ....cs => ServicePrincipalsRestOperations.cs} | 6 +- ...serClient.cs => SignedInUserOperations.cs} | 34 +- ...lient.cs => SignedInUserRestOperations.cs} | 6 +- .../{UsersClient.cs => UsersOperations.cs} | 50 +- ...rsRestClient.cs => UsersRestOperations.cs} | 6 +- ...lient.cs => AvailabilitySetsOperations.cs} | 50 +- ...t.cs => AvailabilitySetsRestOperations.cs} | 6 +- .../src/Generated/ComputeManagementClient.cs | 210 ++---- ...ient.cs => ContainerServicesOperations.cs} | 42 +- ....cs => ContainerServicesRestOperations.cs} | 6 +- ...nt.cs => DedicatedHostGroupsOperations.cs} | 46 +- ...s => DedicatedHostGroupsRestOperations.cs} | 6 +- ...sClient.cs => DedicatedHostsOperations.cs} | 38 +- ...ent.cs => DedicatedHostsRestOperations.cs} | 6 +- ...ent.cs => DiskEncryptionSetsOperations.cs} | 46 +- ...cs => DiskEncryptionSetsRestOperations.cs} | 6 +- .../{DisksClient.cs => DisksOperations.cs} | 54 +- ...ksRestClient.cs => DisksRestOperations.cs} | 6 +- ...leriesClient.cs => GalleriesOperations.cs} | 46 +- ...stClient.cs => GalleriesRestOperations.cs} | 6 +- ...> GalleryApplicationVersionsOperations.cs} | 38 +- ...lleryApplicationVersionsRestOperations.cs} | 6 +- ...nt.cs => GalleryApplicationsOperations.cs} | 38 +- ...s => GalleryApplicationsRestOperations.cs} | 6 +- ...t.cs => GalleryImageVersionsOperations.cs} | 38 +- ... => GalleryImageVersionsRestOperations.cs} | 6 +- ...esClient.cs => GalleryImagesOperations.cs} | 38 +- ...ient.cs => GalleryImagesRestOperations.cs} | 6 +- .../{ImagesClient.cs => ImagesOperations.cs} | 46 +- ...sRestClient.cs => ImagesRestOperations.cs} | 6 +- ...icsClient.cs => LogAnalyticsOperations.cs} | 22 +- ...lient.cs => LogAnalyticsRestOperations.cs} | 6 +- .../{OperationsClient.cs => Operations.cs} | 20 +- ... => ProximityPlacementGroupsOperations.cs} | 46 +- ...ProximityPlacementGroupsRestOperations.cs} | 6 +- ...kusClient.cs => ResourceSkusOperations.cs} | 22 +- ...lient.cs => ResourceSkusRestOperations.cs} | 6 +- ...rationsRestClient.cs => RestOperations.cs} | 6 +- ...pshotsClient.cs => SnapshotsOperations.cs} | 54 +- ...stClient.cs => SnapshotsRestOperations.cs} | 6 +- ...ysClient.cs => SshPublicKeysOperations.cs} | 50 +- ...ient.cs => SshPublicKeysRestOperations.cs} | 6 +- .../{UsageClient.cs => UsageOperations.cs} | 22 +- ...geRestClient.cs => UsageRestOperations.cs} | 6 +- ...irtualMachineExtensionImagesOperations.cs} | 26 +- ...alMachineExtensionImagesRestOperations.cs} | 6 +- ... => VirtualMachineExtensionsOperations.cs} | 34 +- ...VirtualMachineExtensionsRestOperations.cs} | 6 +- ...t.cs => VirtualMachineImagesOperations.cs} | 34 +- ... => VirtualMachineImagesRestOperations.cs} | 6 +- ...=> VirtualMachineRunCommandsOperations.cs} | 26 +- ...irtualMachineRunCommandsRestOperations.cs} | 6 +- ...ualMachineScaleSetExtensionsOperations.cs} | 38 +- ...achineScaleSetExtensionsRestOperations.cs} | 6 +- ...chineScaleSetRollingUpgradesOperations.cs} | 30 +- ...eScaleSetRollingUpgradesRestOperations.cs} | 6 +- ...lMachineScaleSetVMExtensionsOperations.cs} | 34 +- ...hineScaleSetVMExtensionsRestOperations.cs} | 6 +- ...=> VirtualMachineScaleSetVMsOperations.cs} | 78 +- ...irtualMachineScaleSetVMsRestOperations.cs} | 6 +- ...s => VirtualMachineScaleSetsOperations.cs} | 118 ++-- ... VirtualMachineScaleSetsRestOperations.cs} | 6 +- ...nt.cs => VirtualMachineSizesOperations.cs} | 18 +- ...s => VirtualMachineSizesRestOperations.cs} | 6 +- ...Client.cs => VirtualMachinesOperations.cs} | 114 +-- ...nt.cs => VirtualMachinesRestOperations.cs} | 6 +- ...nt.cs => ApplicationGatewaysOperations.cs} | 94 +-- ...s => ApplicationGatewaysRestOperations.cs} | 6 +- ...=> ApplicationSecurityGroupsOperations.cs} | 46 +- ...pplicationSecurityGroupsRestOperations.cs} | 6 +- ...t.cs => AvailableDelegationsOperations.cs} | 22 +- ... => AvailableDelegationsRestOperations.cs} | 6 +- ...=> AvailableEndpointServicesOperations.cs} | 22 +- ...vailableEndpointServicesRestOperations.cs} | 6 +- ...vailablePrivateEndpointTypesOperations.cs} | 30 +- ...ablePrivateEndpointTypesRestOperations.cs} | 6 +- ...ableResourceGroupDelegationsOperations.cs} | 22 +- ...ResourceGroupDelegationsRestOperations.cs} | 6 +- ...s => AvailableServiceAliasesOperations.cs} | 30 +- ... AvailableServiceAliasesRestOperations.cs} | 6 +- ....cs => AzureFirewallFqdnTagsOperations.cs} | 22 +- ...=> AzureFirewallFqdnTagsRestOperations.cs} | 6 +- ...sClient.cs => AzureFirewallsOperations.cs} | 46 +- ...ent.cs => AzureFirewallsRestOperations.cs} | 6 +- ...stsClient.cs => BastionHostsOperations.cs} | 42 +- ...lient.cs => BastionHostsRestOperations.cs} | 6 +- ....cs => BgpServiceCommunitiesOperations.cs} | 22 +- ...=> BgpServiceCommunitiesRestOperations.cs} | 6 +- ...ent.cs => ConnectionMonitorsOperations.cs} | 46 +- ...cs => ConnectionMonitorsRestOperations.cs} | 6 +- ...ent.cs => DdosCustomPoliciesOperations.cs} | 30 +- ...cs => DdosCustomPoliciesRestOperations.cs} | 6 +- ...nt.cs => DdosProtectionPlansOperations.cs} | 46 +- ...s => DdosProtectionPlansRestOperations.cs} | 6 +- ...t.cs => DefaultSecurityRulesOperations.cs} | 26 +- ... => DefaultSecurityRulesRestOperations.cs} | 6 +- ...ssRouteCircuitAuthorizationsOperations.cs} | 34 +- ...uteCircuitAuthorizationsRestOperations.cs} | 6 +- ...pressRouteCircuitConnectionsOperations.cs} | 34 +- ...sRouteCircuitConnectionsRestOperations.cs} | 6 +- ... ExpressRouteCircuitPeeringsOperations.cs} | 34 +- ...ressRouteCircuitPeeringsRestOperations.cs} | 6 +- ...t.cs => ExpressRouteCircuitsOperations.cs} | 66 +- ... => ExpressRouteCircuitsRestOperations.cs} | 6 +- ...s => ExpressRouteConnectionsOperations.cs} | 30 +- ... ExpressRouteConnectionsRestOperations.cs} | 6 +- ...RouteCrossConnectionPeeringsOperations.cs} | 34 +- ...eCrossConnectionPeeringsRestOperations.cs} | 6 +- ...ExpressRouteCrossConnectionsOperations.cs} | 54 +- ...essRouteCrossConnectionsRestOperations.cs} | 6 +- ...t.cs => ExpressRouteGatewaysOperations.cs} | 34 +- ... => ExpressRouteGatewaysRestOperations.cs} | 6 +- ...ient.cs => ExpressRouteLinksOperations.cs} | 26 +- ....cs => ExpressRouteLinksRestOperations.cs} | 6 +- ...> ExpressRoutePortsLocationsOperations.cs} | 26 +- ...pressRoutePortsLocationsRestOperations.cs} | 6 +- ...ient.cs => ExpressRoutePortsOperations.cs} | 46 +- ....cs => ExpressRoutePortsRestOperations.cs} | 6 +- ...ExpressRouteServiceProvidersOperations.cs} | 22 +- ...essRouteServiceProvidersRestOperations.cs} | 6 +- ...lient.cs => FirewallPoliciesOperations.cs} | 42 +- ...t.cs => FirewallPoliciesRestOperations.cs} | 6 +- ... => FirewallPolicyRuleGroupsOperations.cs} | 34 +- ...FirewallPolicyRuleGroupsRestOperations.cs} | 6 +- ...lowLogsClient.cs => FlowLogsOperations.cs} | 34 +- ...estClient.cs => FlowLogsRestOperations.cs} | 6 +- ...sClient.cs => HubRouteTablesOperations.cs} | 34 +- ...ent.cs => HubRouteTablesRestOperations.cs} | 6 +- ...HubVirtualNetworkConnectionsOperations.cs} | 26 +- ...irtualNetworkConnectionsRestOperations.cs} | 6 +- ...Client.cs => InboundNatRulesOperations.cs} | 34 +- ...nt.cs => InboundNatRulesRestOperations.cs} | 6 +- ...nsClient.cs => IpAllocationsOperations.cs} | 46 +- ...ient.cs => IpAllocationsRestOperations.cs} | 6 +- ...pGroupsClient.cs => IpGroupsOperations.cs} | 46 +- ...estClient.cs => IpGroupsRestOperations.cs} | 6 +- ...dBalancerBackendAddressPoolsOperations.cs} | 34 +- ...ancerBackendAddressPoolsRestOperations.cs} | 6 +- ...ncerFrontendIPConfigurationsOperations.cs} | 26 +- ...FrontendIPConfigurationsRestOperations.cs} | 6 +- ...adBalancerLoadBalancingRulesOperations.cs} | 26 +- ...lancerLoadBalancingRulesRestOperations.cs} | 6 +- ...oadBalancerNetworkInterfacesOperations.cs} | 22 +- ...alancerNetworkInterfacesRestOperations.cs} | 6 +- ...=> LoadBalancerOutboundRulesOperations.cs} | 26 +- ...oadBalancerOutboundRulesRestOperations.cs} | 6 +- ...ent.cs => LoadBalancerProbesOperations.cs} | 26 +- ...cs => LoadBalancerProbesRestOperations.cs} | 6 +- ...rsClient.cs => LoadBalancersOperations.cs} | 46 +- ...ient.cs => LoadBalancersRestOperations.cs} | 6 +- ...t.cs => LocalNetworkGatewaysOperations.cs} | 38 +- ... => LocalNetworkGatewaysRestOperations.cs} | 6 +- ...waysClient.cs => NatGatewaysOperations.cs} | 46 +- ...Client.cs => NatGatewaysRestOperations.cs} | 6 +- ...orkInterfaceIPConfigurationsOperations.cs} | 26 +- ...nterfaceIPConfigurationsRestOperations.cs} | 6 +- ...etworkInterfaceLoadBalancersOperations.cs} | 22 +- ...rkInterfaceLoadBalancersRestOperations.cs} | 6 +- ...rkInterfaceTapConfigurationsOperations.cs} | 34 +- ...terfaceTapConfigurationsRestOperations.cs} | 6 +- ...ient.cs => NetworkInterfacesOperations.cs} | 86 +-- ....cs => NetworkInterfacesRestOperations.cs} | 6 +- .../src/Generated/NetworkManagementClient.cs | 665 +++++------------- ...Client.cs => NetworkProfilesOperations.cs} | 46 +- ...nt.cs => NetworkProfilesRestOperations.cs} | 6 +- ....cs => NetworkSecurityGroupsOperations.cs} | 46 +- ...=> NetworkSecurityGroupsRestOperations.cs} | 6 +- ... => NetworkVirtualAppliancesOperations.cs} | 46 +- ...NetworkVirtualAppliancesRestOperations.cs} | 6 +- ...Client.cs => NetworkWatchersOperations.cs} | 86 +-- ...nt.cs => NetworkWatchersRestOperations.cs} | 6 +- .../{OperationsClient.cs => Operations.cs} | 24 +- ...sClient.cs => P2SVpnGatewaysOperations.cs} | 62 +- ...ent.cs => P2SVpnGatewaysRestOperations.cs} | 6 +- ...sClient.cs => PacketCapturesOperations.cs} | 38 +- ...ent.cs => PacketCapturesRestOperations.cs} | 6 +- ...pressRouteCircuitConnectionsOperations.cs} | 26 +- ...sRouteCircuitConnectionsRestOperations.cs} | 6 +- ...t.cs => PrivateDnsZoneGroupsOperations.cs} | 34 +- ... => PrivateDnsZoneGroupsRestOperations.cs} | 6 +- ...lient.cs => PrivateEndpointsOperations.cs} | 42 +- ...t.cs => PrivateEndpointsRestOperations.cs} | 6 +- ...nt.cs => PrivateLinkServicesOperations.cs} | 86 +-- ...s => PrivateLinkServicesRestOperations.cs} | 6 +- ...ient.cs => PublicIPAddressesOperations.cs} | 66 +- ....cs => PublicIPAddressesRestOperations.cs} | 6 +- ...lient.cs => PublicIPPrefixesOperations.cs} | 46 +- ...t.cs => PublicIPPrefixesRestOperations.cs} | 6 +- ...s => ResourceNavigationLinksOperations.cs} | 18 +- ... ResourceNavigationLinksRestOperations.cs} | 6 +- ...rationsRestClient.cs => RestOperations.cs} | 6 +- ...lient.cs => RouteFilterRulesOperations.cs} | 34 +- ...t.cs => RouteFilterRulesRestOperations.cs} | 6 +- ...ersClient.cs => RouteFiltersOperations.cs} | 46 +- ...lient.cs => RouteFiltersRestOperations.cs} | 6 +- ...blesClient.cs => RouteTablesOperations.cs} | 46 +- ...Client.cs => RouteTablesRestOperations.cs} | 6 +- .../{RoutesClient.cs => RoutesOperations.cs} | 34 +- ...sRestClient.cs => RoutesRestOperations.cs} | 6 +- ... => SecurityPartnerProvidersOperations.cs} | 46 +- ...SecurityPartnerProvidersRestOperations.cs} | 6 +- ...esClient.cs => SecurityRulesOperations.cs} | 34 +- ...ient.cs => SecurityRulesRestOperations.cs} | 6 +- ...s => ServiceAssociationLinksOperations.cs} | 18 +- ... ServiceAssociationLinksRestOperations.cs} | 6 +- ...s => ServiceEndpointPoliciesOperations.cs} | 46 +- ... ServiceEndpointPoliciesRestOperations.cs} | 6 +- ...iceEndpointPolicyDefinitionsOperations.cs} | 34 +- ...ndpointPolicyDefinitionsRestOperations.cs} | 6 +- ...{ServiceClient.cs => ServiceOperations.cs} | 54 +- ...RestClient.cs => ServiceRestOperations.cs} | 6 +- ...TagsClient.cs => ServiceTagsOperations.cs} | 18 +- ...Client.cs => ServiceTagsRestOperations.cs} | 6 +- ...{SubnetsClient.cs => SubnetsOperations.cs} | 42 +- ...RestClient.cs => SubnetsRestOperations.cs} | 6 +- .../{UsagesClient.cs => UsagesOperations.cs} | 22 +- ...sRestClient.cs => UsagesRestOperations.cs} | 6 +- ...s => VirtualHubRouteTableV2SOperations.cs} | 34 +- ... VirtualHubRouteTableV2SRestOperations.cs} | 6 +- ...HubsClient.cs => VirtualHubsOperations.cs} | 46 +- ...Client.cs => VirtualHubsRestOperations.cs} | 6 +- ...ualNetworkGatewayConnectionsOperations.cs} | 58 +- ...etworkGatewayConnectionsRestOperations.cs} | 6 +- ...cs => VirtualNetworkGatewaysOperations.cs} | 110 +-- ...> VirtualNetworkGatewaysRestOperations.cs} | 6 +- ...cs => VirtualNetworkPeeringsOperations.cs} | 34 +- ...> VirtualNetworkPeeringsRestOperations.cs} | 6 +- ...ent.cs => VirtualNetworkTapsOperations.cs} | 46 +- ...cs => VirtualNetworkTapsRestOperations.cs} | 6 +- ...Client.cs => VirtualNetworksOperations.cs} | 58 +- ...nt.cs => VirtualNetworksRestOperations.cs} | 6 +- ....cs => VirtualRouterPeeringsOperations.cs} | 34 +- ...=> VirtualRouterPeeringsRestOperations.cs} | 6 +- ...sClient.cs => VirtualRoutersOperations.cs} | 42 +- ...ent.cs => VirtualRoutersRestOperations.cs} | 6 +- ...WansClient.cs => VirtualWansOperations.cs} | 46 +- ...Client.cs => VirtualWansRestOperations.cs} | 6 +- ...sClient.cs => VpnConnectionsOperations.cs} | 34 +- ...ent.cs => VpnConnectionsRestOperations.cs} | 6 +- ...waysClient.cs => VpnGatewaysOperations.cs} | 50 +- ...Client.cs => VpnGatewaysRestOperations.cs} | 6 +- ...ent.cs => VpnLinkConnectionsOperations.cs} | 22 +- ...cs => VpnLinkConnectionsRestOperations.cs} | 6 +- ...ionsAssociatedWithVirtualWanOperations.cs} | 18 +- ...AssociatedWithVirtualWanRestOperations.cs} | 6 +- ...s => VpnServerConfigurationsOperations.cs} | 46 +- ... VpnServerConfigurationsRestOperations.cs} | 6 +- ...cs => VpnSiteLinkConnectionsOperations.cs} | 18 +- ...> VpnSiteLinkConnectionsRestOperations.cs} | 6 +- ...nksClient.cs => VpnSiteLinksOperations.cs} | 26 +- ...lient.cs => VpnSiteLinksRestOperations.cs} | 6 +- ....cs => VpnSitesConfigurationOperations.cs} | 18 +- ...=> VpnSitesConfigurationRestOperations.cs} | 6 +- ...pnSitesClient.cs => VpnSitesOperations.cs} | 46 +- ...estClient.cs => VpnSitesRestOperations.cs} | 6 +- ...bApplicationFirewallPoliciesOperations.cs} | 42 +- ...licationFirewallPoliciesRestOperations.cs} | 6 +- ...ymentClient.cs => DeploymentOperations.cs} | 26 +- ...tClient.cs => DeploymentRestOperations.cs} | 6 +- ...entsClient.cs => DeploymentsOperations.cs} | 54 +- ...Client.cs => DeploymentsRestOperations.cs} | 6 +- ...vidersClient.cs => ProvidersOperations.cs} | 34 +- ...stClient.cs => ProvidersRestOperations.cs} | 6 +- ...sClient.cs => ResourceGroupsOperations.cs} | 46 +- ...ent.cs => ResourceGroupsRestOperations.cs} | 6 +- .../Generated/ResourcesManagementClient.cs | 42 +- ...ourcesClient.cs => ResourcesOperations.cs} | 78 +- ...stClient.cs => ResourcesRestOperations.cs} | 6 +- .../{TagsClient.cs => TagsOperations.cs} | 38 +- ...agsRestClient.cs => TagsRestOperations.cs} | 6 +- ...sClient.cs => BlobContainersOperations.cs} | 70 +- ...ent.cs => BlobContainersRestOperations.cs} | 6 +- ...cesClient.cs => BlobServicesOperations.cs} | 26 +- ...lient.cs => BlobServicesRestOperations.cs} | 6 +- ...lient.cs => EncryptionScopesOperations.cs} | 34 +- ...t.cs => EncryptionScopesRestOperations.cs} | 6 +- ...cesClient.cs => FileServicesOperations.cs} | 26 +- ...lient.cs => FileServicesRestOperations.cs} | 6 +- ...haresClient.cs => FileSharesOperations.cs} | 42 +- ...tClient.cs => FileSharesRestOperations.cs} | 6 +- ...ent.cs => ManagementPoliciesOperations.cs} | 26 +- ...cs => ManagementPoliciesRestOperations.cs} | 6 +- ...=> ObjectReplicationPoliciesOperations.cs} | 30 +- ...bjectReplicationPoliciesRestOperations.cs} | 6 +- .../{OperationsClient.cs => Operations.cs} | 20 +- ...> PrivateEndpointConnectionsOperations.cs} | 30 +- ...ivateEndpointConnectionsRestOperations.cs} | 6 +- ...t.cs => PrivateLinkResourcesOperations.cs} | 18 +- ... => PrivateLinkResourcesRestOperations.cs} | 6 +- .../{QueueClient.cs => QueueOperations.cs} | 38 +- ...ueRestClient.cs => QueueRestOperations.cs} | 6 +- ...esClient.cs => QueueServicesOperations.cs} | 26 +- ...ient.cs => QueueServicesRestOperations.cs} | 6 +- ...rationsRestClient.cs => RestOperations.cs} | 6 +- .../{SkusClient.cs => SkusOperations.cs} | 18 +- ...kusRestClient.cs => SkusRestOperations.cs} | 6 +- ...Client.cs => StorageAccountsOperations.cs} | 74 +- ...nt.cs => StorageAccountsRestOperations.cs} | 6 +- .../src/Generated/StorageManagementClient.cs | 119 +--- .../{TableClient.cs => TableOperations.cs} | 38 +- ...leRestClient.cs => TableRestOperations.cs} | 6 +- ...esClient.cs => TableServicesOperations.cs} | 26 +- ...ient.cs => TableServicesRestOperations.cs} | 6 +- .../{UsagesClient.cs => UsagesOperations.cs} | 18 +- ...sRestClient.cs => UsagesRestOperations.cs} | 6 +- 683 files changed, 8546 insertions(+), 9550 deletions(-) rename sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/{ConfigurationStoresClient.cs => ConfigurationStoresOperations.cs} (95%) rename sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/{ConfigurationStoresRestClient.cs => ConfigurationStoresRestOperations.cs} (99%) rename sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/{OperationsClient.cs => Operations.cs} (88%) rename sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/{PrivateEndpointConnectionsClient.cs => PrivateEndpointConnectionsOperations.cs} (93%) rename sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/{PrivateEndpointConnectionsRestClient.cs => PrivateEndpointConnectionsRestOperations.cs} (98%) rename sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/{PrivateLinkResourcesClient.cs => PrivateLinkResourcesOperations.cs} (90%) rename sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/{PrivateLinkResourcesRestClient.cs => PrivateLinkResourcesRestOperations.cs} (98%) rename sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/{OperationsRestClient.cs => RestOperations.cs} (97%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{AvailabilitySetsClient.cs => AvailabilitySetsOperations.cs} (94%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{AvailabilitySetsRestClient.cs => AvailabilitySetsRestOperations.cs} (99%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{ContainerServicesClient.cs => ContainerServicesOperations.cs} (94%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{ContainerServicesRestClient.cs => ContainerServicesRestOperations.cs} (99%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{DedicatedHostGroupsClient.cs => DedicatedHostGroupsOperations.cs} (92%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{DedicatedHostGroupsRestClient.cs => DedicatedHostGroupsRestOperations.cs} (99%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{DedicatedHostsClient.cs => DedicatedHostsOperations.cs} (95%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{DedicatedHostsRestClient.cs => DedicatedHostsRestOperations.cs} (99%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{DiskEncryptionSetsClient.cs => DiskEncryptionSetsOperations.cs} (94%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{DiskEncryptionSetsRestClient.cs => DiskEncryptionSetsRestOperations.cs} (99%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{DisksClient.cs => DisksOperations.cs} (95%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{DisksRestClient.cs => DisksRestOperations.cs} (99%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{GalleriesClient.cs => GalleriesOperations.cs} (94%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{GalleriesRestClient.cs => GalleriesRestOperations.cs} (99%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{GalleryApplicationVersionsClient.cs => GalleryApplicationVersionsOperations.cs} (95%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{GalleryApplicationVersionsRestClient.cs => GalleryApplicationVersionsRestOperations.cs} (99%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{GalleryApplicationsClient.cs => GalleryApplicationsOperations.cs} (95%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{GalleryApplicationsRestClient.cs => GalleryApplicationsRestOperations.cs} (99%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{GalleryImageVersionsClient.cs => GalleryImageVersionsOperations.cs} (95%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{GalleryImageVersionsRestClient.cs => GalleryImageVersionsRestOperations.cs} (99%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{GalleryImagesClient.cs => GalleryImagesOperations.cs} (95%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{GalleryImagesRestClient.cs => GalleryImagesRestOperations.cs} (99%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{ImagesClient.cs => ImagesOperations.cs} (94%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{ImagesRestClient.cs => ImagesRestOperations.cs} (99%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{LogAnalyticsClient.cs => LogAnalyticsOperations.cs} (91%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{LogAnalyticsRestClient.cs => LogAnalyticsRestOperations.cs} (97%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{OperationsClient.cs => Operations.cs} (81%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{ProximityPlacementGroupsClient.cs => ProximityPlacementGroupsOperations.cs} (92%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{ProximityPlacementGroupsRestClient.cs => ProximityPlacementGroupsRestOperations.cs} (99%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{ResourceSkusClient.cs => ResourceSkusOperations.cs} (88%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{ResourceSkusRestClient.cs => ResourceSkusRestOperations.cs} (97%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{OperationsRestClient.cs => RestOperations.cs} (94%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{SnapshotsClient.cs => SnapshotsOperations.cs} (95%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{SnapshotsRestClient.cs => SnapshotsRestOperations.cs} (99%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{SshPublicKeysClient.cs => SshPublicKeysOperations.cs} (93%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{SshPublicKeysRestClient.cs => SshPublicKeysRestOperations.cs} (99%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{UsageClient.cs => UsageOperations.cs} (88%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{UsageRestClient.cs => UsageRestOperations.cs} (97%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{VirtualMachineExtensionImagesClient.cs => VirtualMachineExtensionImagesOperations.cs} (89%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{VirtualMachineExtensionImagesRestClient.cs => VirtualMachineExtensionImagesRestOperations.cs} (98%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{VirtualMachineExtensionsClient.cs => VirtualMachineExtensionsOperations.cs} (94%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{VirtualMachineExtensionsRestClient.cs => VirtualMachineExtensionsRestOperations.cs} (99%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{VirtualMachineImagesClient.cs => VirtualMachineImagesOperations.cs} (92%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{VirtualMachineImagesRestClient.cs => VirtualMachineImagesRestOperations.cs} (99%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{VirtualMachineRunCommandsClient.cs => VirtualMachineRunCommandsOperations.cs} (89%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{VirtualMachineRunCommandsRestClient.cs => VirtualMachineRunCommandsRestOperations.cs} (98%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{VirtualMachineScaleSetExtensionsClient.cs => VirtualMachineScaleSetExtensionsOperations.cs} (94%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{VirtualMachineScaleSetExtensionsRestClient.cs => VirtualMachineScaleSetExtensionsRestOperations.cs} (99%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{VirtualMachineScaleSetRollingUpgradesClient.cs => VirtualMachineScaleSetRollingUpgradesOperations.cs} (91%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{VirtualMachineScaleSetRollingUpgradesRestClient.cs => VirtualMachineScaleSetRollingUpgradesRestOperations.cs} (98%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{VirtualMachineScaleSetVMExtensionsClient.cs => VirtualMachineScaleSetVMExtensionsOperations.cs} (94%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{VirtualMachineScaleSetVMExtensionsRestClient.cs => VirtualMachineScaleSetVMExtensionsRestOperations.cs} (99%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{VirtualMachineScaleSetVMsClient.cs => VirtualMachineScaleSetVMsOperations.cs} (96%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{VirtualMachineScaleSetVMsRestClient.cs => VirtualMachineScaleSetVMsRestOperations.cs} (99%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{VirtualMachineScaleSetsClient.cs => VirtualMachineScaleSetsOperations.cs} (95%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{VirtualMachineScaleSetsRestClient.cs => VirtualMachineScaleSetsRestOperations.cs} (99%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{VirtualMachineSizesClient.cs => VirtualMachineSizesOperations.cs} (86%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{VirtualMachineSizesRestClient.cs => VirtualMachineSizesRestOperations.cs} (95%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{VirtualMachinesClient.cs => VirtualMachinesOperations.cs} (96%) rename sdk/compute/Azure.ResourceManager.Compute/src/Generated/{VirtualMachinesRestClient.cs => VirtualMachinesRestOperations.cs} (99%) rename sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/{ClustersClient.cs => ClustersOperations.cs} (94%) rename sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/{ClustersRestClient.cs => ClustersRestOperations.cs} (99%) rename sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/{ConfigurationClient.cs => ConfigurationOperations.cs} (90%) rename sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/{ConfigurationRestClient.cs => ConfigurationRestOperations.cs} (98%) rename sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/{ConsumerGroupsClient.cs => ConsumerGroupsOperations.cs} (94%) rename sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/{ConsumerGroupsRestClient.cs => ConsumerGroupsRestOperations.cs} (99%) rename sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/{DisasterRecoveryConfigsClient.cs => DisasterRecoveryConfigsOperations.cs} (94%) rename sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/{DisasterRecoveryConfigsRestClient.cs => DisasterRecoveryConfigsRestOperations.cs} (99%) rename sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/{EventHubsClient.cs => EventHubsOperations.cs} (95%) rename sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/{EventHubsRestClient.cs => EventHubsRestOperations.cs} (99%) rename sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/{NamespacesClient.cs => NamespacesOperations.cs} (95%) rename sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/{NamespacesRestClient.cs => NamespacesRestOperations.cs} (99%) rename sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/{OperationsClient.cs => Operations.cs} (85%) rename sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/{RegionsClient.cs => RegionsOperations.cs} (87%) rename sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/{RegionsRestClient.cs => RegionsRestOperations.cs} (97%) rename sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/{OperationsRestClient.cs => RestOperations.cs} (96%) rename sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/{OperationsClient.cs => Operations.cs} (84%) rename sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/{PrivateEndpointConnectionsClient.cs => PrivateEndpointConnectionsOperations.cs} (91%) rename sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/{PrivateEndpointConnectionsRestClient.cs => PrivateEndpointConnectionsRestOperations.cs} (98%) rename sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/{PrivateLinkResourcesClient.cs => PrivateLinkResourcesOperations.cs} (82%) rename sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/{PrivateLinkResourcesRestClient.cs => PrivateLinkResourcesRestOperations.cs} (95%) rename sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/{OperationsRestClient.cs => RestOperations.cs} (96%) rename sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/{VaultsClient.cs => VaultsOperations.cs} (95%) rename sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/{VaultsRestClient.cs => VaultsRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{ApplicationGatewaysClient.cs => ApplicationGatewaysOperations.cs} (94%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{ApplicationGatewaysRestClient.cs => ApplicationGatewaysRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{ApplicationSecurityGroupsClient.cs => ApplicationSecurityGroupsOperations.cs} (93%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{ApplicationSecurityGroupsRestClient.cs => ApplicationSecurityGroupsRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{AvailableDelegationsClient.cs => AvailableDelegationsOperations.cs} (88%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{AvailableDelegationsRestClient.cs => AvailableDelegationsRestOperations.cs} (97%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{AvailableEndpointServicesClient.cs => AvailableEndpointServicesOperations.cs} (87%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{AvailableEndpointServicesRestClient.cs => AvailableEndpointServicesRestOperations.cs} (97%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{AvailablePrivateEndpointTypesClient.cs => AvailablePrivateEndpointTypesOperations.cs} (90%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{AvailablePrivateEndpointTypesRestClient.cs => AvailablePrivateEndpointTypesRestOperations.cs} (98%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{AvailableResourceGroupDelegationsClient.cs => AvailableResourceGroupDelegationsOperations.cs} (88%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{AvailableResourceGroupDelegationsRestClient.cs => AvailableResourceGroupDelegationsRestOperations.cs} (98%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{AvailableServiceAliasesClient.cs => AvailableServiceAliasesOperations.cs} (90%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{AvailableServiceAliasesRestClient.cs => AvailableServiceAliasesRestOperations.cs} (98%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{AzureFirewallFqdnTagsClient.cs => AzureFirewallFqdnTagsOperations.cs} (86%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{AzureFirewallFqdnTagsRestClient.cs => AzureFirewallFqdnTagsRestOperations.cs} (97%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{AzureFirewallsClient.cs => AzureFirewallsOperations.cs} (94%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{AzureFirewallsRestClient.cs => AzureFirewallsRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{BastionHostsClient.cs => BastionHostsOperations.cs} (94%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{BastionHostsRestClient.cs => BastionHostsRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{BgpServiceCommunitiesClient.cs => BgpServiceCommunitiesOperations.cs} (86%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{BgpServiceCommunitiesRestClient.cs => BgpServiceCommunitiesRestOperations.cs} (97%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{ConnectionMonitorsClient.cs => ConnectionMonitorsOperations.cs} (95%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{ConnectionMonitorsRestClient.cs => ConnectionMonitorsRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{DdosCustomPoliciesClient.cs => DdosCustomPoliciesOperations.cs} (93%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{DdosCustomPoliciesRestClient.cs => DdosCustomPoliciesRestOperations.cs} (98%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{DdosProtectionPlansClient.cs => DdosProtectionPlansOperations.cs} (93%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{DdosProtectionPlansRestClient.cs => DdosProtectionPlansRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{DefaultSecurityRulesClient.cs => DefaultSecurityRulesOperations.cs} (91%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{DefaultSecurityRulesRestClient.cs => DefaultSecurityRulesRestOperations.cs} (98%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{ExpressRouteCircuitAuthorizationsClient.cs => ExpressRouteCircuitAuthorizationsOperations.cs} (93%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{ExpressRouteCircuitAuthorizationsRestClient.cs => ExpressRouteCircuitAuthorizationsRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{ExpressRouteCircuitConnectionsClient.cs => ExpressRouteCircuitConnectionsOperations.cs} (94%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{ExpressRouteCircuitConnectionsRestClient.cs => ExpressRouteCircuitConnectionsRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{ExpressRouteCircuitPeeringsClient.cs => ExpressRouteCircuitPeeringsOperations.cs} (93%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{ExpressRouteCircuitPeeringsRestClient.cs => ExpressRouteCircuitPeeringsRestOperations.cs} (98%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{ExpressRouteCircuitsClient.cs => ExpressRouteCircuitsOperations.cs} (95%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{ExpressRouteCircuitsRestClient.cs => ExpressRouteCircuitsRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{ExpressRouteConnectionsClient.cs => ExpressRouteConnectionsOperations.cs} (93%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{ExpressRouteConnectionsRestClient.cs => ExpressRouteConnectionsRestOperations.cs} (98%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{ExpressRouteCrossConnectionPeeringsClient.cs => ExpressRouteCrossConnectionPeeringsOperations.cs} (93%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{ExpressRouteCrossConnectionPeeringsRestClient.cs => ExpressRouteCrossConnectionPeeringsRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{ExpressRouteCrossConnectionsClient.cs => ExpressRouteCrossConnectionsOperations.cs} (94%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{ExpressRouteCrossConnectionsRestClient.cs => ExpressRouteCrossConnectionsRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{ExpressRouteGatewaysClient.cs => ExpressRouteGatewaysOperations.cs} (92%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{ExpressRouteGatewaysRestClient.cs => ExpressRouteGatewaysRestOperations.cs} (98%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{ExpressRouteLinksClient.cs => ExpressRouteLinksOperations.cs} (91%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{ExpressRouteLinksRestClient.cs => ExpressRouteLinksRestOperations.cs} (98%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{ExpressRoutePortsLocationsClient.cs => ExpressRoutePortsLocationsOperations.cs} (88%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{ExpressRoutePortsLocationsRestClient.cs => ExpressRoutePortsLocationsRestOperations.cs} (98%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{ExpressRoutePortsClient.cs => ExpressRoutePortsOperations.cs} (94%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{ExpressRoutePortsRestClient.cs => ExpressRoutePortsRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{ExpressRouteServiceProvidersClient.cs => ExpressRouteServiceProvidersOperations.cs} (85%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{ExpressRouteServiceProvidersRestClient.cs => ExpressRouteServiceProvidersRestOperations.cs} (96%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{FirewallPoliciesClient.cs => FirewallPoliciesOperations.cs} (94%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{FirewallPoliciesRestClient.cs => FirewallPoliciesRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{FirewallPolicyRuleGroupsClient.cs => FirewallPolicyRuleGroupsOperations.cs} (93%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{FirewallPolicyRuleGroupsRestClient.cs => FirewallPolicyRuleGroupsRestOperations.cs} (98%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{FlowLogsClient.cs => FlowLogsOperations.cs} (94%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{FlowLogsRestClient.cs => FlowLogsRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{HubRouteTablesClient.cs => HubRouteTablesOperations.cs} (94%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{HubRouteTablesRestClient.cs => HubRouteTablesRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{HubVirtualNetworkConnectionsClient.cs => HubVirtualNetworkConnectionsOperations.cs} (90%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{HubVirtualNetworkConnectionsRestClient.cs => HubVirtualNetworkConnectionsRestOperations.cs} (98%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{InboundNatRulesClient.cs => InboundNatRulesOperations.cs} (94%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{InboundNatRulesRestClient.cs => InboundNatRulesRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{IpAllocationsClient.cs => IpAllocationsOperations.cs} (94%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{IpAllocationsRestClient.cs => IpAllocationsRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{IpGroupsClient.cs => IpGroupsOperations.cs} (94%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{IpGroupsRestClient.cs => IpGroupsRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{LoadBalancerBackendAddressPoolsClient.cs => LoadBalancerBackendAddressPoolsOperations.cs} (93%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{LoadBalancerBackendAddressPoolsRestClient.cs => LoadBalancerBackendAddressPoolsRestOperations.cs} (98%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{LoadBalancerFrontendIPConfigurationsClient.cs => LoadBalancerFrontendIPConfigurationsOperations.cs} (89%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{LoadBalancerFrontendIPConfigurationsRestClient.cs => LoadBalancerFrontendIPConfigurationsRestOperations.cs} (98%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{LoadBalancerLoadBalancingRulesClient.cs => LoadBalancerLoadBalancingRulesOperations.cs} (89%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{LoadBalancerLoadBalancingRulesRestClient.cs => LoadBalancerLoadBalancingRulesRestOperations.cs} (98%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{LoadBalancerNetworkInterfacesClient.cs => LoadBalancerNetworkInterfacesOperations.cs} (87%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{LoadBalancerNetworkInterfacesRestClient.cs => LoadBalancerNetworkInterfacesRestOperations.cs} (97%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{LoadBalancerOutboundRulesClient.cs => LoadBalancerOutboundRulesOperations.cs} (90%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{LoadBalancerOutboundRulesRestClient.cs => LoadBalancerOutboundRulesRestOperations.cs} (98%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{LoadBalancerProbesClient.cs => LoadBalancerProbesOperations.cs} (91%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{LoadBalancerProbesRestClient.cs => LoadBalancerProbesRestOperations.cs} (98%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{LoadBalancersClient.cs => LoadBalancersOperations.cs} (94%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{LoadBalancersRestClient.cs => LoadBalancersRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{LocalNetworkGatewaysClient.cs => LocalNetworkGatewaysOperations.cs} (93%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{LocalNetworkGatewaysRestClient.cs => LocalNetworkGatewaysRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{NatGatewaysClient.cs => NatGatewaysOperations.cs} (94%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{NatGatewaysRestClient.cs => NatGatewaysRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{NetworkInterfaceIPConfigurationsClient.cs => NetworkInterfaceIPConfigurationsOperations.cs} (90%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{NetworkInterfaceIPConfigurationsRestClient.cs => NetworkInterfaceIPConfigurationsRestOperations.cs} (98%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{NetworkInterfaceLoadBalancersClient.cs => NetworkInterfaceLoadBalancersOperations.cs} (87%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{NetworkInterfaceLoadBalancersRestClient.cs => NetworkInterfaceLoadBalancersRestOperations.cs} (97%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{NetworkInterfaceTapConfigurationsClient.cs => NetworkInterfaceTapConfigurationsOperations.cs} (93%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{NetworkInterfaceTapConfigurationsRestClient.cs => NetworkInterfaceTapConfigurationsRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{NetworkInterfacesClient.cs => NetworkInterfacesOperations.cs} (94%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{NetworkInterfacesRestClient.cs => NetworkInterfacesRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{NetworkProfilesClient.cs => NetworkProfilesOperations.cs} (94%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{NetworkProfilesRestClient.cs => NetworkProfilesRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{NetworkSecurityGroupsClient.cs => NetworkSecurityGroupsOperations.cs} (93%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{NetworkSecurityGroupsRestClient.cs => NetworkSecurityGroupsRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{NetworkVirtualAppliancesClient.cs => NetworkVirtualAppliancesOperations.cs} (93%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{NetworkVirtualAppliancesRestClient.cs => NetworkVirtualAppliancesRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{NetworkWatchersClient.cs => NetworkWatchersOperations.cs} (96%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{NetworkWatchersRestClient.cs => NetworkWatchersRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{OperationsClient.cs => Operations.cs} (85%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{P2SVpnGatewaysClient.cs => P2SVpnGatewaysOperations.cs} (95%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{P2SVpnGatewaysRestClient.cs => P2SVpnGatewaysRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{PacketCapturesClient.cs => PacketCapturesOperations.cs} (95%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{PacketCapturesRestClient.cs => PacketCapturesRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{PeerExpressRouteCircuitConnectionsClient.cs => PeerExpressRouteCircuitConnectionsOperations.cs} (90%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{PeerExpressRouteCircuitConnectionsRestClient.cs => PeerExpressRouteCircuitConnectionsRestOperations.cs} (98%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{PrivateDnsZoneGroupsClient.cs => PrivateDnsZoneGroupsOperations.cs} (94%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{PrivateDnsZoneGroupsRestClient.cs => PrivateDnsZoneGroupsRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{PrivateEndpointsClient.cs => PrivateEndpointsOperations.cs} (93%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{PrivateEndpointsRestClient.cs => PrivateEndpointsRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{PrivateLinkServicesClient.cs => PrivateLinkServicesOperations.cs} (94%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{PrivateLinkServicesRestClient.cs => PrivateLinkServicesRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{PublicIPAddressesClient.cs => PublicIPAddressesOperations.cs} (94%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{PublicIPAddressesRestClient.cs => PublicIPAddressesRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{PublicIPPrefixesClient.cs => PublicIPPrefixesOperations.cs} (94%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{PublicIPPrefixesRestClient.cs => PublicIPPrefixesRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{ResourceNavigationLinksClient.cs => ResourceNavigationLinksOperations.cs} (84%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{ResourceNavigationLinksRestClient.cs => ResourceNavigationLinksRestOperations.cs} (96%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{OperationsRestClient.cs => RestOperations.cs} (96%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{RouteFilterRulesClient.cs => RouteFilterRulesOperations.cs} (94%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{RouteFilterRulesRestClient.cs => RouteFilterRulesRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{RouteFiltersClient.cs => RouteFiltersOperations.cs} (94%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{RouteFiltersRestClient.cs => RouteFiltersRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{RouteTablesClient.cs => RouteTablesOperations.cs} (94%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{RouteTablesRestClient.cs => RouteTablesRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{RoutesClient.cs => RoutesOperations.cs} (94%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{RoutesRestClient.cs => RoutesRestOperations.cs} (98%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{SecurityPartnerProvidersClient.cs => SecurityPartnerProvidersOperations.cs} (93%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{SecurityPartnerProvidersRestClient.cs => SecurityPartnerProvidersRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{SecurityRulesClient.cs => SecurityRulesOperations.cs} (94%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{SecurityRulesRestClient.cs => SecurityRulesRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{ServiceAssociationLinksClient.cs => ServiceAssociationLinksOperations.cs} (84%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{ServiceAssociationLinksRestClient.cs => ServiceAssociationLinksRestOperations.cs} (96%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{ServiceEndpointPoliciesClient.cs => ServiceEndpointPoliciesOperations.cs} (93%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{ServiceEndpointPoliciesRestClient.cs => ServiceEndpointPoliciesRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{ServiceEndpointPolicyDefinitionsClient.cs => ServiceEndpointPolicyDefinitionsOperations.cs} (93%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{ServiceEndpointPolicyDefinitionsRestClient.cs => ServiceEndpointPolicyDefinitionsRestOperations.cs} (98%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{ServiceClient.cs => ServiceOperations.cs} (95%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{ServiceRestClient.cs => ServiceRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{ServiceTagsClient.cs => ServiceTagsOperations.cs} (82%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{ServiceTagsRestClient.cs => ServiceTagsRestOperations.cs} (96%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{SubnetsClient.cs => SubnetsOperations.cs} (95%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{SubnetsRestClient.cs => SubnetsRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{UsagesClient.cs => UsagesOperations.cs} (87%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{UsagesRestClient.cs => UsagesRestOperations.cs} (97%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{VirtualHubRouteTableV2SClient.cs => VirtualHubRouteTableV2SOperations.cs} (93%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{VirtualHubRouteTableV2SRestClient.cs => VirtualHubRouteTableV2SRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{VirtualHubsClient.cs => VirtualHubsOperations.cs} (93%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{VirtualHubsRestClient.cs => VirtualHubsRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{VirtualNetworkGatewayConnectionsClient.cs => VirtualNetworkGatewayConnectionsOperations.cs} (95%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{VirtualNetworkGatewayConnectionsRestClient.cs => VirtualNetworkGatewayConnectionsRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{VirtualNetworkGatewaysClient.cs => VirtualNetworkGatewaysOperations.cs} (95%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{VirtualNetworkGatewaysRestClient.cs => VirtualNetworkGatewaysRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{VirtualNetworkPeeringsClient.cs => VirtualNetworkPeeringsOperations.cs} (94%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{VirtualNetworkPeeringsRestClient.cs => VirtualNetworkPeeringsRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{VirtualNetworkTapsClient.cs => VirtualNetworkTapsOperations.cs} (93%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{VirtualNetworkTapsRestClient.cs => VirtualNetworkTapsRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{VirtualNetworksClient.cs => VirtualNetworksOperations.cs} (94%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{VirtualNetworksRestClient.cs => VirtualNetworksRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{VirtualRouterPeeringsClient.cs => VirtualRouterPeeringsOperations.cs} (93%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{VirtualRouterPeeringsRestClient.cs => VirtualRouterPeeringsRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{VirtualRoutersClient.cs => VirtualRoutersOperations.cs} (94%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{VirtualRoutersRestClient.cs => VirtualRoutersRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{VirtualWansClient.cs => VirtualWansOperations.cs} (93%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{VirtualWansRestClient.cs => VirtualWansRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{VpnConnectionsClient.cs => VpnConnectionsOperations.cs} (94%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{VpnConnectionsRestClient.cs => VpnConnectionsRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{VpnGatewaysClient.cs => VpnGatewaysOperations.cs} (94%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{VpnGatewaysRestClient.cs => VpnGatewaysRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{VpnLinkConnectionsClient.cs => VpnLinkConnectionsOperations.cs} (89%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{VpnLinkConnectionsRestClient.cs => VpnLinkConnectionsRestOperations.cs} (98%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{VpnServerConfigurationsAssociatedWithVirtualWanClient.cs => VpnServerConfigurationsAssociatedWithVirtualWanOperations.cs} (89%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{VpnServerConfigurationsAssociatedWithVirtualWanRestClient.cs => VpnServerConfigurationsAssociatedWithVirtualWanRestOperations.cs} (96%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{VpnServerConfigurationsClient.cs => VpnServerConfigurationsOperations.cs} (93%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{VpnServerConfigurationsRestClient.cs => VpnServerConfigurationsRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{VpnSiteLinkConnectionsClient.cs => VpnSiteLinkConnectionsOperations.cs} (85%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{VpnSiteLinkConnectionsRestClient.cs => VpnSiteLinkConnectionsRestOperations.cs} (96%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{VpnSiteLinksClient.cs => VpnSiteLinksOperations.cs} (91%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{VpnSiteLinksRestClient.cs => VpnSiteLinksRestOperations.cs} (98%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{VpnSitesConfigurationClient.cs => VpnSitesConfigurationOperations.cs} (88%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{VpnSitesConfigurationRestClient.cs => VpnSitesConfigurationRestOperations.cs} (95%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{VpnSitesClient.cs => VpnSitesOperations.cs} (94%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{VpnSitesRestClient.cs => VpnSitesRestOperations.cs} (99%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{WebApplicationFirewallPoliciesClient.cs => WebApplicationFirewallPoliciesOperations.cs} (91%) rename sdk/network/Azure.ResourceManager.Network/src/Generated/{WebApplicationFirewallPoliciesRestClient.cs => WebApplicationFirewallPoliciesRestOperations.cs} (99%) rename sdk/resources/Azure.ResourceManager.Resources/src/Generated/{ApplicationDefinitionsClient.cs => ApplicationDefinitionsOperations.cs} (94%) rename sdk/resources/Azure.ResourceManager.Resources/src/Generated/{ApplicationDefinitionsRestClient.cs => ApplicationDefinitionsRestOperations.cs} (99%) rename sdk/resources/Azure.ResourceManager.Resources/src/Generated/{ApplicationsClient.cs => ApplicationsOperations.cs} (95%) rename sdk/resources/Azure.ResourceManager.Resources/src/Generated/{ApplicationsRestClient.cs => ApplicationsRestOperations.cs} (99%) rename sdk/resources/Azure.ResourceManager.Resources/src/Generated/{AuthorizationClient.cs => AuthorizationOperations.cs} (88%) rename sdk/resources/Azure.ResourceManager.Resources/src/Generated/{AuthorizationRestClient.cs => AuthorizationRestOperations.cs} (97%) rename sdk/resources/Azure.ResourceManager.Resources/src/Generated/{DeploymentClient.cs => DeploymentOperations.cs} (94%) rename sdk/resources/Azure.ResourceManager.Resources/src/Generated/{DeploymentRestClient.cs => DeploymentRestOperations.cs} (99%) rename sdk/resources/Azure.ResourceManager.Resources/src/Generated/{DeploymentScriptsClient.cs => DeploymentScriptsOperations.cs} (94%) rename sdk/resources/Azure.ResourceManager.Resources/src/Generated/{DeploymentScriptsRestClient.cs => DeploymentScriptsRestOperations.cs} (99%) rename sdk/resources/Azure.ResourceManager.Resources/src/Generated/{DeploymentsClient.cs => DeploymentsOperations.cs} (95%) rename sdk/resources/Azure.ResourceManager.Resources/src/Generated/{DeploymentsRestClient.cs => DeploymentsRestOperations.cs} (99%) rename sdk/resources/Azure.ResourceManager.Resources/src/Generated/{FeaturesClient.cs => FeaturesOperations.cs} (93%) rename sdk/resources/Azure.ResourceManager.Resources/src/Generated/{FeaturesRestClient.cs => FeaturesRestOperations.cs} (99%) rename sdk/resources/Azure.ResourceManager.Resources/src/Generated/{ManagementLocksClient.cs => ManagementLocksOperations.cs} (95%) rename sdk/resources/Azure.ResourceManager.Resources/src/Generated/{ManagementLocksRestClient.cs => ManagementLocksRestOperations.cs} (99%) rename sdk/resources/Azure.ResourceManager.Resources/src/Generated/{OperationsClient.cs => Operations.cs} (85%) rename sdk/resources/Azure.ResourceManager.Resources/src/Generated/{PolicyAssignmentsClient.cs => PolicyAssignmentsOperations.cs} (96%) rename sdk/resources/Azure.ResourceManager.Resources/src/Generated/{PolicyAssignmentsRestClient.cs => PolicyAssignmentsRestOperations.cs} (99%) rename sdk/resources/Azure.ResourceManager.Resources/src/Generated/{PolicyDefinitionsClient.cs => PolicyDefinitionsOperations.cs} (93%) rename sdk/resources/Azure.ResourceManager.Resources/src/Generated/{PolicyDefinitionsRestClient.cs => PolicyDefinitionsRestOperations.cs} (99%) rename sdk/resources/Azure.ResourceManager.Resources/src/Generated/{PolicySetDefinitionsClient.cs => PolicySetDefinitionsOperations.cs} (93%) rename sdk/resources/Azure.ResourceManager.Resources/src/Generated/{PolicySetDefinitionsRestClient.cs => PolicySetDefinitionsRestOperations.cs} (99%) rename sdk/resources/Azure.ResourceManager.Resources/src/Generated/{ProvidersClient.cs => ProvidersOperations.cs} (93%) rename sdk/resources/Azure.ResourceManager.Resources/src/Generated/{ProvidersRestClient.cs => ProvidersRestOperations.cs} (99%) rename sdk/resources/Azure.ResourceManager.Resources/src/Generated/{ResourceGroupsClient.cs => ResourceGroupsOperations.cs} (94%) rename sdk/resources/Azure.ResourceManager.Resources/src/Generated/{ResourceGroupsRestClient.cs => ResourceGroupsRestOperations.cs} (99%) rename sdk/resources/Azure.ResourceManager.Resources/src/Generated/{ResourceLinksClient.cs => ResourceLinksOperations.cs} (93%) rename sdk/resources/Azure.ResourceManager.Resources/src/Generated/{ResourceLinksRestClient.cs => ResourceLinksRestOperations.cs} (99%) rename sdk/resources/Azure.ResourceManager.Resources/src/Generated/{ResourcesClient.cs => ResourcesOperations.cs} (97%) rename sdk/resources/Azure.ResourceManager.Resources/src/Generated/{ResourcesRestClient.cs => ResourcesRestOperations.cs} (99%) rename sdk/resources/Azure.ResourceManager.Resources/src/Generated/{OperationsRestClient.cs => RestOperations.cs} (96%) rename sdk/resources/Azure.ResourceManager.Resources/src/Generated/{ServiceClient.cs => ServiceOperations.cs} (86%) rename sdk/resources/Azure.ResourceManager.Resources/src/Generated/{ServiceRestClient.cs => ServiceRestOperations.cs} (96%) rename sdk/resources/Azure.ResourceManager.Resources/src/Generated/{SubscriptionsClient.cs => SubscriptionsOperations.cs} (92%) rename sdk/resources/Azure.ResourceManager.Resources/src/Generated/{SubscriptionsRestClient.cs => SubscriptionsRestOperations.cs} (98%) rename sdk/resources/Azure.ResourceManager.Resources/src/Generated/{TagsClient.cs => TagsOperations.cs} (94%) rename sdk/resources/Azure.ResourceManager.Resources/src/Generated/{TagsRestClient.cs => TagsRestOperations.cs} (99%) rename sdk/resources/Azure.ResourceManager.Resources/src/Generated/{TenantsClient.cs => TenantsOperations.cs} (86%) rename sdk/resources/Azure.ResourceManager.Resources/src/Generated/{TenantsRestClient.cs => TenantsRestOperations.cs} (96%) rename sdk/storage/Azure.ResourceManager.Storage/src/Generated/{BlobContainersClient.cs => BlobContainersOperations.cs} (96%) rename sdk/storage/Azure.ResourceManager.Storage/src/Generated/{BlobContainersRestClient.cs => BlobContainersRestOperations.cs} (99%) rename sdk/storage/Azure.ResourceManager.Storage/src/Generated/{BlobServicesClient.cs => BlobServicesOperations.cs} (92%) rename sdk/storage/Azure.ResourceManager.Storage/src/Generated/{BlobServicesRestClient.cs => BlobServicesRestOperations.cs} (98%) rename sdk/storage/Azure.ResourceManager.Storage/src/Generated/{EncryptionScopesClient.cs => EncryptionScopesOperations.cs} (94%) rename sdk/storage/Azure.ResourceManager.Storage/src/Generated/{EncryptionScopesRestClient.cs => EncryptionScopesRestOperations.cs} (99%) rename sdk/storage/Azure.ResourceManager.Storage/src/Generated/{FileServicesClient.cs => FileServicesOperations.cs} (91%) rename sdk/storage/Azure.ResourceManager.Storage/src/Generated/{FileServicesRestClient.cs => FileServicesRestOperations.cs} (98%) rename sdk/storage/Azure.ResourceManager.Storage/src/Generated/{FileSharesClient.cs => FileSharesOperations.cs} (95%) rename sdk/storage/Azure.ResourceManager.Storage/src/Generated/{FileSharesRestClient.cs => FileSharesRestOperations.cs} (99%) rename sdk/storage/Azure.ResourceManager.Storage/src/Generated/{ManagementPoliciesClient.cs => ManagementPoliciesOperations.cs} (91%) rename sdk/storage/Azure.ResourceManager.Storage/src/Generated/{ManagementPoliciesRestClient.cs => ManagementPoliciesRestOperations.cs} (98%) rename sdk/storage/Azure.ResourceManager.Storage/src/Generated/{ObjectReplicationPoliciesClient.cs => ObjectReplicationPoliciesOperations.cs} (93%) rename sdk/storage/Azure.ResourceManager.Storage/src/Generated/{ObjectReplicationPoliciesRestClient.cs => ObjectReplicationPoliciesRestOperations.cs} (98%) rename sdk/storage/Azure.ResourceManager.Storage/src/Generated/{OperationsClient.cs => Operations.cs} (80%) rename sdk/storage/Azure.ResourceManager.Storage/src/Generated/{PrivateEndpointConnectionsClient.cs => PrivateEndpointConnectionsOperations.cs} (93%) rename sdk/storage/Azure.ResourceManager.Storage/src/Generated/{PrivateEndpointConnectionsRestClient.cs => PrivateEndpointConnectionsRestOperations.cs} (98%) rename sdk/storage/Azure.ResourceManager.Storage/src/Generated/{PrivateLinkResourcesClient.cs => PrivateLinkResourcesOperations.cs} (83%) rename sdk/storage/Azure.ResourceManager.Storage/src/Generated/{PrivateLinkResourcesRestClient.cs => PrivateLinkResourcesRestOperations.cs} (96%) rename sdk/storage/Azure.ResourceManager.Storage/src/Generated/{QueueClient.cs => QueueOperations.cs} (95%) rename sdk/storage/Azure.ResourceManager.Storage/src/Generated/{QueueRestClient.cs => QueueRestOperations.cs} (99%) rename sdk/storage/Azure.ResourceManager.Storage/src/Generated/{QueueServicesClient.cs => QueueServicesOperations.cs} (91%) rename sdk/storage/Azure.ResourceManager.Storage/src/Generated/{QueueServicesRestClient.cs => QueueServicesRestOperations.cs} (98%) rename sdk/storage/Azure.ResourceManager.Storage/src/Generated/{OperationsRestClient.cs => RestOperations.cs} (94%) rename sdk/storage/Azure.ResourceManager.Storage/src/Generated/{SkusClient.cs => SkusOperations.cs} (82%) rename sdk/storage/Azure.ResourceManager.Storage/src/Generated/{SkusRestClient.cs => SkusRestOperations.cs} (94%) rename sdk/storage/Azure.ResourceManager.Storage/src/Generated/{StorageAccountsClient.cs => StorageAccountsOperations.cs} (95%) rename sdk/storage/Azure.ResourceManager.Storage/src/Generated/{StorageAccountsRestClient.cs => StorageAccountsRestOperations.cs} (99%) rename sdk/storage/Azure.ResourceManager.Storage/src/Generated/{TableClient.cs => TableOperations.cs} (95%) rename sdk/storage/Azure.ResourceManager.Storage/src/Generated/{TableRestClient.cs => TableRestOperations.cs} (99%) rename sdk/storage/Azure.ResourceManager.Storage/src/Generated/{TableServicesClient.cs => TableServicesOperations.cs} (91%) rename sdk/storage/Azure.ResourceManager.Storage/src/Generated/{TableServicesRestClient.cs => TableServicesRestOperations.cs} (98%) rename sdk/storage/Azure.ResourceManager.Storage/src/Generated/{UsagesClient.cs => UsagesOperations.cs} (84%) rename sdk/storage/Azure.ResourceManager.Storage/src/Generated/{UsagesRestClient.cs => UsagesRestOperations.cs} (94%) rename sdk/testcommon/Azure.Graph.Rbac/src/Generated/{ApplicationsClient.cs => ApplicationsOperations.cs} (94%) rename sdk/testcommon/Azure.Graph.Rbac/src/Generated/{ApplicationsRestClient.cs => ApplicationsRestOperations.cs} (99%) rename sdk/testcommon/Azure.Graph.Rbac/src/Generated/{DeletedApplicationsClient.cs => DeletedApplicationsOperations.cs} (91%) rename sdk/testcommon/Azure.Graph.Rbac/src/Generated/{DeletedApplicationsRestClient.cs => DeletedApplicationsRestOperations.cs} (98%) rename sdk/testcommon/Azure.Graph.Rbac/src/Generated/{DomainsClient.cs => DomainsOperations.cs} (86%) rename sdk/testcommon/Azure.Graph.Rbac/src/Generated/{DomainsRestClient.cs => DomainsRestOperations.cs} (96%) rename sdk/testcommon/Azure.Graph.Rbac/src/Generated/{GroupsClient.cs => GroupsOperations.cs} (95%) rename sdk/testcommon/Azure.Graph.Rbac/src/Generated/{GroupsRestClient.cs => GroupsRestOperations.cs} (99%) rename sdk/testcommon/Azure.Graph.Rbac/src/Generated/{OAuth2PermissionGrantClient.cs => OAuth2PermissionGrantOperations.cs} (91%) rename sdk/testcommon/Azure.Graph.Rbac/src/Generated/{OAuth2PermissionGrantRestClient.cs => OAuth2PermissionGrantRestOperations.cs} (98%) rename sdk/testcommon/Azure.Graph.Rbac/src/Generated/{ObjectsClient.cs => ObjectsOperations.cs} (90%) rename sdk/testcommon/Azure.Graph.Rbac/src/Generated/{ObjectsRestClient.cs => ObjectsRestOperations.cs} (97%) rename sdk/testcommon/Azure.Graph.Rbac/src/Generated/{ServicePrincipalsClient.cs => ServicePrincipalsOperations.cs} (94%) rename sdk/testcommon/Azure.Graph.Rbac/src/Generated/{ServicePrincipalsRestClient.cs => ServicePrincipalsRestOperations.cs} (99%) rename sdk/testcommon/Azure.Graph.Rbac/src/Generated/{SignedInUserClient.cs => SignedInUserOperations.cs} (91%) rename sdk/testcommon/Azure.Graph.Rbac/src/Generated/{SignedInUserRestClient.cs => SignedInUserRestOperations.cs} (98%) rename sdk/testcommon/Azure.Graph.Rbac/src/Generated/{UsersClient.cs => UsersOperations.cs} (94%) rename sdk/testcommon/Azure.Graph.Rbac/src/Generated/{UsersRestClient.cs => UsersRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{AvailabilitySetsClient.cs => AvailabilitySetsOperations.cs} (94%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{AvailabilitySetsRestClient.cs => AvailabilitySetsRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{ContainerServicesClient.cs => ContainerServicesOperations.cs} (94%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{ContainerServicesRestClient.cs => ContainerServicesRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{DedicatedHostGroupsClient.cs => DedicatedHostGroupsOperations.cs} (92%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{DedicatedHostGroupsRestClient.cs => DedicatedHostGroupsRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{DedicatedHostsClient.cs => DedicatedHostsOperations.cs} (95%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{DedicatedHostsRestClient.cs => DedicatedHostsRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{DiskEncryptionSetsClient.cs => DiskEncryptionSetsOperations.cs} (94%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{DiskEncryptionSetsRestClient.cs => DiskEncryptionSetsRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{DisksClient.cs => DisksOperations.cs} (95%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{DisksRestClient.cs => DisksRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{GalleriesClient.cs => GalleriesOperations.cs} (94%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{GalleriesRestClient.cs => GalleriesRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{GalleryApplicationVersionsClient.cs => GalleryApplicationVersionsOperations.cs} (95%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{GalleryApplicationVersionsRestClient.cs => GalleryApplicationVersionsRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{GalleryApplicationsClient.cs => GalleryApplicationsOperations.cs} (95%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{GalleryApplicationsRestClient.cs => GalleryApplicationsRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{GalleryImageVersionsClient.cs => GalleryImageVersionsOperations.cs} (95%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{GalleryImageVersionsRestClient.cs => GalleryImageVersionsRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{GalleryImagesClient.cs => GalleryImagesOperations.cs} (95%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{GalleryImagesRestClient.cs => GalleryImagesRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{ImagesClient.cs => ImagesOperations.cs} (94%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{ImagesRestClient.cs => ImagesRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{LogAnalyticsClient.cs => LogAnalyticsOperations.cs} (91%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{LogAnalyticsRestClient.cs => LogAnalyticsRestOperations.cs} (97%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{OperationsClient.cs => Operations.cs} (81%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{ProximityPlacementGroupsClient.cs => ProximityPlacementGroupsOperations.cs} (92%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{ProximityPlacementGroupsRestClient.cs => ProximityPlacementGroupsRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{ResourceSkusClient.cs => ResourceSkusOperations.cs} (88%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{ResourceSkusRestClient.cs => ResourceSkusRestOperations.cs} (97%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{OperationsRestClient.cs => RestOperations.cs} (94%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{SnapshotsClient.cs => SnapshotsOperations.cs} (95%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{SnapshotsRestClient.cs => SnapshotsRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{SshPublicKeysClient.cs => SshPublicKeysOperations.cs} (93%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{SshPublicKeysRestClient.cs => SshPublicKeysRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{UsageClient.cs => UsageOperations.cs} (88%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{UsageRestClient.cs => UsageRestOperations.cs} (97%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{VirtualMachineExtensionImagesClient.cs => VirtualMachineExtensionImagesOperations.cs} (89%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{VirtualMachineExtensionImagesRestClient.cs => VirtualMachineExtensionImagesRestOperations.cs} (98%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{VirtualMachineExtensionsClient.cs => VirtualMachineExtensionsOperations.cs} (94%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{VirtualMachineExtensionsRestClient.cs => VirtualMachineExtensionsRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{VirtualMachineImagesClient.cs => VirtualMachineImagesOperations.cs} (92%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{VirtualMachineImagesRestClient.cs => VirtualMachineImagesRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{VirtualMachineRunCommandsClient.cs => VirtualMachineRunCommandsOperations.cs} (89%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{VirtualMachineRunCommandsRestClient.cs => VirtualMachineRunCommandsRestOperations.cs} (98%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{VirtualMachineScaleSetExtensionsClient.cs => VirtualMachineScaleSetExtensionsOperations.cs} (94%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{VirtualMachineScaleSetExtensionsRestClient.cs => VirtualMachineScaleSetExtensionsRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{VirtualMachineScaleSetRollingUpgradesClient.cs => VirtualMachineScaleSetRollingUpgradesOperations.cs} (91%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{VirtualMachineScaleSetRollingUpgradesRestClient.cs => VirtualMachineScaleSetRollingUpgradesRestOperations.cs} (98%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{VirtualMachineScaleSetVMExtensionsClient.cs => VirtualMachineScaleSetVMExtensionsOperations.cs} (94%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{VirtualMachineScaleSetVMExtensionsRestClient.cs => VirtualMachineScaleSetVMExtensionsRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{VirtualMachineScaleSetVMsClient.cs => VirtualMachineScaleSetVMsOperations.cs} (96%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{VirtualMachineScaleSetVMsRestClient.cs => VirtualMachineScaleSetVMsRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{VirtualMachineScaleSetsClient.cs => VirtualMachineScaleSetsOperations.cs} (95%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{VirtualMachineScaleSetsRestClient.cs => VirtualMachineScaleSetsRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{VirtualMachineSizesClient.cs => VirtualMachineSizesOperations.cs} (86%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{VirtualMachineSizesRestClient.cs => VirtualMachineSizesRestOperations.cs} (95%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{VirtualMachinesClient.cs => VirtualMachinesOperations.cs} (96%) rename sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/{VirtualMachinesRestClient.cs => VirtualMachinesRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{ApplicationGatewaysClient.cs => ApplicationGatewaysOperations.cs} (94%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{ApplicationGatewaysRestClient.cs => ApplicationGatewaysRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{ApplicationSecurityGroupsClient.cs => ApplicationSecurityGroupsOperations.cs} (93%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{ApplicationSecurityGroupsRestClient.cs => ApplicationSecurityGroupsRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{AvailableDelegationsClient.cs => AvailableDelegationsOperations.cs} (88%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{AvailableDelegationsRestClient.cs => AvailableDelegationsRestOperations.cs} (97%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{AvailableEndpointServicesClient.cs => AvailableEndpointServicesOperations.cs} (87%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{AvailableEndpointServicesRestClient.cs => AvailableEndpointServicesRestOperations.cs} (97%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{AvailablePrivateEndpointTypesClient.cs => AvailablePrivateEndpointTypesOperations.cs} (90%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{AvailablePrivateEndpointTypesRestClient.cs => AvailablePrivateEndpointTypesRestOperations.cs} (98%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{AvailableResourceGroupDelegationsClient.cs => AvailableResourceGroupDelegationsOperations.cs} (88%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{AvailableResourceGroupDelegationsRestClient.cs => AvailableResourceGroupDelegationsRestOperations.cs} (98%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{AvailableServiceAliasesClient.cs => AvailableServiceAliasesOperations.cs} (90%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{AvailableServiceAliasesRestClient.cs => AvailableServiceAliasesRestOperations.cs} (98%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{AzureFirewallFqdnTagsClient.cs => AzureFirewallFqdnTagsOperations.cs} (86%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{AzureFirewallFqdnTagsRestClient.cs => AzureFirewallFqdnTagsRestOperations.cs} (97%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{AzureFirewallsClient.cs => AzureFirewallsOperations.cs} (94%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{AzureFirewallsRestClient.cs => AzureFirewallsRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{BastionHostsClient.cs => BastionHostsOperations.cs} (94%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{BastionHostsRestClient.cs => BastionHostsRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{BgpServiceCommunitiesClient.cs => BgpServiceCommunitiesOperations.cs} (86%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{BgpServiceCommunitiesRestClient.cs => BgpServiceCommunitiesRestOperations.cs} (97%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{ConnectionMonitorsClient.cs => ConnectionMonitorsOperations.cs} (95%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{ConnectionMonitorsRestClient.cs => ConnectionMonitorsRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{DdosCustomPoliciesClient.cs => DdosCustomPoliciesOperations.cs} (93%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{DdosCustomPoliciesRestClient.cs => DdosCustomPoliciesRestOperations.cs} (98%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{DdosProtectionPlansClient.cs => DdosProtectionPlansOperations.cs} (93%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{DdosProtectionPlansRestClient.cs => DdosProtectionPlansRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{DefaultSecurityRulesClient.cs => DefaultSecurityRulesOperations.cs} (91%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{DefaultSecurityRulesRestClient.cs => DefaultSecurityRulesRestOperations.cs} (98%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{ExpressRouteCircuitAuthorizationsClient.cs => ExpressRouteCircuitAuthorizationsOperations.cs} (93%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{ExpressRouteCircuitAuthorizationsRestClient.cs => ExpressRouteCircuitAuthorizationsRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{ExpressRouteCircuitConnectionsClient.cs => ExpressRouteCircuitConnectionsOperations.cs} (94%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{ExpressRouteCircuitConnectionsRestClient.cs => ExpressRouteCircuitConnectionsRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{ExpressRouteCircuitPeeringsClient.cs => ExpressRouteCircuitPeeringsOperations.cs} (93%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{ExpressRouteCircuitPeeringsRestClient.cs => ExpressRouteCircuitPeeringsRestOperations.cs} (98%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{ExpressRouteCircuitsClient.cs => ExpressRouteCircuitsOperations.cs} (95%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{ExpressRouteCircuitsRestClient.cs => ExpressRouteCircuitsRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{ExpressRouteConnectionsClient.cs => ExpressRouteConnectionsOperations.cs} (93%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{ExpressRouteConnectionsRestClient.cs => ExpressRouteConnectionsRestOperations.cs} (98%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{ExpressRouteCrossConnectionPeeringsClient.cs => ExpressRouteCrossConnectionPeeringsOperations.cs} (93%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{ExpressRouteCrossConnectionPeeringsRestClient.cs => ExpressRouteCrossConnectionPeeringsRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{ExpressRouteCrossConnectionsClient.cs => ExpressRouteCrossConnectionsOperations.cs} (94%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{ExpressRouteCrossConnectionsRestClient.cs => ExpressRouteCrossConnectionsRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{ExpressRouteGatewaysClient.cs => ExpressRouteGatewaysOperations.cs} (92%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{ExpressRouteGatewaysRestClient.cs => ExpressRouteGatewaysRestOperations.cs} (98%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{ExpressRouteLinksClient.cs => ExpressRouteLinksOperations.cs} (91%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{ExpressRouteLinksRestClient.cs => ExpressRouteLinksRestOperations.cs} (98%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{ExpressRoutePortsLocationsClient.cs => ExpressRoutePortsLocationsOperations.cs} (88%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{ExpressRoutePortsLocationsRestClient.cs => ExpressRoutePortsLocationsRestOperations.cs} (98%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{ExpressRoutePortsClient.cs => ExpressRoutePortsOperations.cs} (94%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{ExpressRoutePortsRestClient.cs => ExpressRoutePortsRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{ExpressRouteServiceProvidersClient.cs => ExpressRouteServiceProvidersOperations.cs} (85%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{ExpressRouteServiceProvidersRestClient.cs => ExpressRouteServiceProvidersRestOperations.cs} (96%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{FirewallPoliciesClient.cs => FirewallPoliciesOperations.cs} (94%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{FirewallPoliciesRestClient.cs => FirewallPoliciesRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{FirewallPolicyRuleGroupsClient.cs => FirewallPolicyRuleGroupsOperations.cs} (93%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{FirewallPolicyRuleGroupsRestClient.cs => FirewallPolicyRuleGroupsRestOperations.cs} (98%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{FlowLogsClient.cs => FlowLogsOperations.cs} (94%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{FlowLogsRestClient.cs => FlowLogsRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{HubRouteTablesClient.cs => HubRouteTablesOperations.cs} (94%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{HubRouteTablesRestClient.cs => HubRouteTablesRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{HubVirtualNetworkConnectionsClient.cs => HubVirtualNetworkConnectionsOperations.cs} (90%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{HubVirtualNetworkConnectionsRestClient.cs => HubVirtualNetworkConnectionsRestOperations.cs} (98%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{InboundNatRulesClient.cs => InboundNatRulesOperations.cs} (94%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{InboundNatRulesRestClient.cs => InboundNatRulesRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{IpAllocationsClient.cs => IpAllocationsOperations.cs} (94%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{IpAllocationsRestClient.cs => IpAllocationsRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{IpGroupsClient.cs => IpGroupsOperations.cs} (94%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{IpGroupsRestClient.cs => IpGroupsRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{LoadBalancerBackendAddressPoolsClient.cs => LoadBalancerBackendAddressPoolsOperations.cs} (93%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{LoadBalancerBackendAddressPoolsRestClient.cs => LoadBalancerBackendAddressPoolsRestOperations.cs} (98%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{LoadBalancerFrontendIPConfigurationsClient.cs => LoadBalancerFrontendIPConfigurationsOperations.cs} (89%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{LoadBalancerFrontendIPConfigurationsRestClient.cs => LoadBalancerFrontendIPConfigurationsRestOperations.cs} (98%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{LoadBalancerLoadBalancingRulesClient.cs => LoadBalancerLoadBalancingRulesOperations.cs} (89%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{LoadBalancerLoadBalancingRulesRestClient.cs => LoadBalancerLoadBalancingRulesRestOperations.cs} (98%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{LoadBalancerNetworkInterfacesClient.cs => LoadBalancerNetworkInterfacesOperations.cs} (87%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{LoadBalancerNetworkInterfacesRestClient.cs => LoadBalancerNetworkInterfacesRestOperations.cs} (97%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{LoadBalancerOutboundRulesClient.cs => LoadBalancerOutboundRulesOperations.cs} (90%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{LoadBalancerOutboundRulesRestClient.cs => LoadBalancerOutboundRulesRestOperations.cs} (98%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{LoadBalancerProbesClient.cs => LoadBalancerProbesOperations.cs} (91%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{LoadBalancerProbesRestClient.cs => LoadBalancerProbesRestOperations.cs} (98%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{LoadBalancersClient.cs => LoadBalancersOperations.cs} (94%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{LoadBalancersRestClient.cs => LoadBalancersRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{LocalNetworkGatewaysClient.cs => LocalNetworkGatewaysOperations.cs} (93%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{LocalNetworkGatewaysRestClient.cs => LocalNetworkGatewaysRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{NatGatewaysClient.cs => NatGatewaysOperations.cs} (94%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{NatGatewaysRestClient.cs => NatGatewaysRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{NetworkInterfaceIPConfigurationsClient.cs => NetworkInterfaceIPConfigurationsOperations.cs} (90%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{NetworkInterfaceIPConfigurationsRestClient.cs => NetworkInterfaceIPConfigurationsRestOperations.cs} (98%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{NetworkInterfaceLoadBalancersClient.cs => NetworkInterfaceLoadBalancersOperations.cs} (87%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{NetworkInterfaceLoadBalancersRestClient.cs => NetworkInterfaceLoadBalancersRestOperations.cs} (97%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{NetworkInterfaceTapConfigurationsClient.cs => NetworkInterfaceTapConfigurationsOperations.cs} (93%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{NetworkInterfaceTapConfigurationsRestClient.cs => NetworkInterfaceTapConfigurationsRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{NetworkInterfacesClient.cs => NetworkInterfacesOperations.cs} (94%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{NetworkInterfacesRestClient.cs => NetworkInterfacesRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{NetworkProfilesClient.cs => NetworkProfilesOperations.cs} (94%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{NetworkProfilesRestClient.cs => NetworkProfilesRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{NetworkSecurityGroupsClient.cs => NetworkSecurityGroupsOperations.cs} (93%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{NetworkSecurityGroupsRestClient.cs => NetworkSecurityGroupsRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{NetworkVirtualAppliancesClient.cs => NetworkVirtualAppliancesOperations.cs} (93%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{NetworkVirtualAppliancesRestClient.cs => NetworkVirtualAppliancesRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{NetworkWatchersClient.cs => NetworkWatchersOperations.cs} (96%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{NetworkWatchersRestClient.cs => NetworkWatchersRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{OperationsClient.cs => Operations.cs} (85%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{P2SVpnGatewaysClient.cs => P2SVpnGatewaysOperations.cs} (95%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{P2SVpnGatewaysRestClient.cs => P2SVpnGatewaysRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{PacketCapturesClient.cs => PacketCapturesOperations.cs} (95%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{PacketCapturesRestClient.cs => PacketCapturesRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{PeerExpressRouteCircuitConnectionsClient.cs => PeerExpressRouteCircuitConnectionsOperations.cs} (90%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{PeerExpressRouteCircuitConnectionsRestClient.cs => PeerExpressRouteCircuitConnectionsRestOperations.cs} (98%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{PrivateDnsZoneGroupsClient.cs => PrivateDnsZoneGroupsOperations.cs} (94%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{PrivateDnsZoneGroupsRestClient.cs => PrivateDnsZoneGroupsRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{PrivateEndpointsClient.cs => PrivateEndpointsOperations.cs} (93%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{PrivateEndpointsRestClient.cs => PrivateEndpointsRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{PrivateLinkServicesClient.cs => PrivateLinkServicesOperations.cs} (94%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{PrivateLinkServicesRestClient.cs => PrivateLinkServicesRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{PublicIPAddressesClient.cs => PublicIPAddressesOperations.cs} (94%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{PublicIPAddressesRestClient.cs => PublicIPAddressesRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{PublicIPPrefixesClient.cs => PublicIPPrefixesOperations.cs} (94%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{PublicIPPrefixesRestClient.cs => PublicIPPrefixesRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{ResourceNavigationLinksClient.cs => ResourceNavigationLinksOperations.cs} (84%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{ResourceNavigationLinksRestClient.cs => ResourceNavigationLinksRestOperations.cs} (96%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{OperationsRestClient.cs => RestOperations.cs} (96%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{RouteFilterRulesClient.cs => RouteFilterRulesOperations.cs} (94%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{RouteFilterRulesRestClient.cs => RouteFilterRulesRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{RouteFiltersClient.cs => RouteFiltersOperations.cs} (94%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{RouteFiltersRestClient.cs => RouteFiltersRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{RouteTablesClient.cs => RouteTablesOperations.cs} (94%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{RouteTablesRestClient.cs => RouteTablesRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{RoutesClient.cs => RoutesOperations.cs} (94%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{RoutesRestClient.cs => RoutesRestOperations.cs} (98%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{SecurityPartnerProvidersClient.cs => SecurityPartnerProvidersOperations.cs} (93%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{SecurityPartnerProvidersRestClient.cs => SecurityPartnerProvidersRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{SecurityRulesClient.cs => SecurityRulesOperations.cs} (94%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{SecurityRulesRestClient.cs => SecurityRulesRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{ServiceAssociationLinksClient.cs => ServiceAssociationLinksOperations.cs} (84%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{ServiceAssociationLinksRestClient.cs => ServiceAssociationLinksRestOperations.cs} (96%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{ServiceEndpointPoliciesClient.cs => ServiceEndpointPoliciesOperations.cs} (93%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{ServiceEndpointPoliciesRestClient.cs => ServiceEndpointPoliciesRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{ServiceEndpointPolicyDefinitionsClient.cs => ServiceEndpointPolicyDefinitionsOperations.cs} (93%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{ServiceEndpointPolicyDefinitionsRestClient.cs => ServiceEndpointPolicyDefinitionsRestOperations.cs} (98%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{ServiceClient.cs => ServiceOperations.cs} (95%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{ServiceRestClient.cs => ServiceRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{ServiceTagsClient.cs => ServiceTagsOperations.cs} (82%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{ServiceTagsRestClient.cs => ServiceTagsRestOperations.cs} (96%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{SubnetsClient.cs => SubnetsOperations.cs} (95%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{SubnetsRestClient.cs => SubnetsRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{UsagesClient.cs => UsagesOperations.cs} (87%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{UsagesRestClient.cs => UsagesRestOperations.cs} (97%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{VirtualHubRouteTableV2SClient.cs => VirtualHubRouteTableV2SOperations.cs} (93%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{VirtualHubRouteTableV2SRestClient.cs => VirtualHubRouteTableV2SRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{VirtualHubsClient.cs => VirtualHubsOperations.cs} (93%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{VirtualHubsRestClient.cs => VirtualHubsRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{VirtualNetworkGatewayConnectionsClient.cs => VirtualNetworkGatewayConnectionsOperations.cs} (95%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{VirtualNetworkGatewayConnectionsRestClient.cs => VirtualNetworkGatewayConnectionsRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{VirtualNetworkGatewaysClient.cs => VirtualNetworkGatewaysOperations.cs} (95%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{VirtualNetworkGatewaysRestClient.cs => VirtualNetworkGatewaysRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{VirtualNetworkPeeringsClient.cs => VirtualNetworkPeeringsOperations.cs} (94%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{VirtualNetworkPeeringsRestClient.cs => VirtualNetworkPeeringsRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{VirtualNetworkTapsClient.cs => VirtualNetworkTapsOperations.cs} (93%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{VirtualNetworkTapsRestClient.cs => VirtualNetworkTapsRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{VirtualNetworksClient.cs => VirtualNetworksOperations.cs} (94%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{VirtualNetworksRestClient.cs => VirtualNetworksRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{VirtualRouterPeeringsClient.cs => VirtualRouterPeeringsOperations.cs} (93%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{VirtualRouterPeeringsRestClient.cs => VirtualRouterPeeringsRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{VirtualRoutersClient.cs => VirtualRoutersOperations.cs} (94%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{VirtualRoutersRestClient.cs => VirtualRoutersRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{VirtualWansClient.cs => VirtualWansOperations.cs} (93%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{VirtualWansRestClient.cs => VirtualWansRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{VpnConnectionsClient.cs => VpnConnectionsOperations.cs} (94%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{VpnConnectionsRestClient.cs => VpnConnectionsRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{VpnGatewaysClient.cs => VpnGatewaysOperations.cs} (94%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{VpnGatewaysRestClient.cs => VpnGatewaysRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{VpnLinkConnectionsClient.cs => VpnLinkConnectionsOperations.cs} (89%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{VpnLinkConnectionsRestClient.cs => VpnLinkConnectionsRestOperations.cs} (98%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{VpnServerConfigurationsAssociatedWithVirtualWanClient.cs => VpnServerConfigurationsAssociatedWithVirtualWanOperations.cs} (89%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{VpnServerConfigurationsAssociatedWithVirtualWanRestClient.cs => VpnServerConfigurationsAssociatedWithVirtualWanRestOperations.cs} (96%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{VpnServerConfigurationsClient.cs => VpnServerConfigurationsOperations.cs} (93%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{VpnServerConfigurationsRestClient.cs => VpnServerConfigurationsRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{VpnSiteLinkConnectionsClient.cs => VpnSiteLinkConnectionsOperations.cs} (85%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{VpnSiteLinkConnectionsRestClient.cs => VpnSiteLinkConnectionsRestOperations.cs} (96%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{VpnSiteLinksClient.cs => VpnSiteLinksOperations.cs} (91%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{VpnSiteLinksRestClient.cs => VpnSiteLinksRestOperations.cs} (98%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{VpnSitesConfigurationClient.cs => VpnSitesConfigurationOperations.cs} (88%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{VpnSitesConfigurationRestClient.cs => VpnSitesConfigurationRestOperations.cs} (95%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{VpnSitesClient.cs => VpnSitesOperations.cs} (94%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{VpnSitesRestClient.cs => VpnSitesRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{WebApplicationFirewallPoliciesClient.cs => WebApplicationFirewallPoliciesOperations.cs} (91%) rename sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/{WebApplicationFirewallPoliciesRestClient.cs => WebApplicationFirewallPoliciesRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/{DeploymentClient.cs => DeploymentOperations.cs} (90%) rename sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/{DeploymentRestClient.cs => DeploymentRestOperations.cs} (98%) rename sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/{DeploymentsClient.cs => DeploymentsOperations.cs} (94%) rename sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/{DeploymentsRestClient.cs => DeploymentsRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/{ProvidersClient.cs => ProvidersOperations.cs} (91%) rename sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/{ProvidersRestClient.cs => ProvidersRestOperations.cs} (98%) rename sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/{ResourceGroupsClient.cs => ResourceGroupsOperations.cs} (93%) rename sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/{ResourceGroupsRestClient.cs => ResourceGroupsRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/{ResourcesClient.cs => ResourcesOperations.cs} (96%) rename sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/{ResourcesRestClient.cs => ResourcesRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/{TagsClient.cs => TagsOperations.cs} (92%) rename sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/{TagsRestClient.cs => TagsRestOperations.cs} (98%) rename sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/{BlobContainersClient.cs => BlobContainersOperations.cs} (96%) rename sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/{BlobContainersRestClient.cs => BlobContainersRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/{BlobServicesClient.cs => BlobServicesOperations.cs} (92%) rename sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/{BlobServicesRestClient.cs => BlobServicesRestOperations.cs} (98%) rename sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/{EncryptionScopesClient.cs => EncryptionScopesOperations.cs} (94%) rename sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/{EncryptionScopesRestClient.cs => EncryptionScopesRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/{FileServicesClient.cs => FileServicesOperations.cs} (91%) rename sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/{FileServicesRestClient.cs => FileServicesRestOperations.cs} (98%) rename sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/{FileSharesClient.cs => FileSharesOperations.cs} (95%) rename sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/{FileSharesRestClient.cs => FileSharesRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/{ManagementPoliciesClient.cs => ManagementPoliciesOperations.cs} (91%) rename sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/{ManagementPoliciesRestClient.cs => ManagementPoliciesRestOperations.cs} (98%) rename sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/{ObjectReplicationPoliciesClient.cs => ObjectReplicationPoliciesOperations.cs} (93%) rename sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/{ObjectReplicationPoliciesRestClient.cs => ObjectReplicationPoliciesRestOperations.cs} (98%) rename sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/{OperationsClient.cs => Operations.cs} (80%) rename sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/{PrivateEndpointConnectionsClient.cs => PrivateEndpointConnectionsOperations.cs} (93%) rename sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/{PrivateEndpointConnectionsRestClient.cs => PrivateEndpointConnectionsRestOperations.cs} (98%) rename sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/{PrivateLinkResourcesClient.cs => PrivateLinkResourcesOperations.cs} (83%) rename sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/{PrivateLinkResourcesRestClient.cs => PrivateLinkResourcesRestOperations.cs} (96%) rename sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/{QueueClient.cs => QueueOperations.cs} (95%) rename sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/{QueueRestClient.cs => QueueRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/{QueueServicesClient.cs => QueueServicesOperations.cs} (91%) rename sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/{QueueServicesRestClient.cs => QueueServicesRestOperations.cs} (98%) rename sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/{OperationsRestClient.cs => RestOperations.cs} (94%) rename sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/{SkusClient.cs => SkusOperations.cs} (82%) rename sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/{SkusRestClient.cs => SkusRestOperations.cs} (94%) rename sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/{StorageAccountsClient.cs => StorageAccountsOperations.cs} (95%) rename sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/{StorageAccountsRestClient.cs => StorageAccountsRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/{TableClient.cs => TableOperations.cs} (95%) rename sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/{TableRestClient.cs => TableRestOperations.cs} (99%) rename sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/{TableServicesClient.cs => TableServicesOperations.cs} (91%) rename sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/{TableServicesRestClient.cs => TableServicesRestOperations.cs} (98%) rename sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/{UsagesClient.cs => UsagesOperations.cs} (84%) rename sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/{UsagesRestClient.cs => UsagesRestOperations.cs} (94%) diff --git a/eng/CodeGeneration.targets b/eng/CodeGeneration.targets index d49e98c8d0e42..488f8014da8e8 100644 --- a/eng/CodeGeneration.targets +++ b/eng/CodeGeneration.targets @@ -3,7 +3,7 @@ <_AutoRestVersion>https://github.com/Azure/autorest/releases/download/autorest-3.0.6223/autorest-3.0.6223.tgz <_AutoRestCoreVersion>3.0.6283 - <_AutoRestCSharpVersion>https://github.com/Azure/autorest.csharp/releases/download/3.0.0-dev.20200610.1/autorest-csharp-v3-3.0.0-dev.20200610.1.tgz + <_AutoRestCSharpVersion>https://github.com/Azure/autorest.csharp/releases/download/3.0.0-dev.20200612.2/autorest-csharp-v3-3.0.0-dev.20200612.2.tgz <_SupportsCodeGeneration Condition="'$(IsClientLibrary)' == 'true'">true <_DefaultInputName Condition="Exists('$(MSBuildProjectDirectory)/autorest.md')">$(MSBuildProjectDirectory)/autorest.md $(_DefaultInputName) @@ -51,3 +51,4 @@ + diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationManagementClient.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationManagementClient.cs index cae8d789700ff..f26be91e3a01d 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationManagementClient.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationManagementClient.cs @@ -53,28 +53,16 @@ public AppConfigurationManagementClient(string subscriptionId, Uri endpoint, Tok _endpoint = endpoint; } - /// Creates a new instance of ConfigurationStoresClient. - public virtual ConfigurationStoresClient GetConfigurationStoresClient() - { - return new ConfigurationStoresClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ConfigurationStoresOperations. + public virtual ConfigurationStoresOperations ConfigurationStores => new ConfigurationStoresOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of OperationsClient. - public virtual OperationsClient GetOperationsClient() - { - return new OperationsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of Operations. + public virtual Operations Operations => new Operations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of PrivateEndpointConnectionsClient. - public virtual PrivateEndpointConnectionsClient GetPrivateEndpointConnectionsClient() - { - return new PrivateEndpointConnectionsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of PrivateEndpointConnectionsOperations. + public virtual PrivateEndpointConnectionsOperations PrivateEndpointConnections => new PrivateEndpointConnectionsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of PrivateLinkResourcesClient. - public virtual PrivateLinkResourcesClient GetPrivateLinkResourcesClient() - { - return new PrivateLinkResourcesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of PrivateLinkResourcesOperations. + public virtual PrivateLinkResourcesOperations PrivateLinkResources => new PrivateLinkResourcesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); } } diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/ConfigurationStoresClient.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/ConfigurationStoresOperations.cs similarity index 95% rename from sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/ConfigurationStoresClient.cs rename to sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/ConfigurationStoresOperations.cs index 22b18e5b3adbe..2bb4cca4f6550 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/ConfigurationStoresClient.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/ConfigurationStoresOperations.cs @@ -16,24 +16,24 @@ namespace Azure.ResourceManager.AppConfiguration { /// The ConfigurationStores service client. - public partial class ConfigurationStoresClient + public partial class ConfigurationStoresOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ConfigurationStoresRestClient RestClient { get; } - /// Initializes a new instance of ConfigurationStoresClient for mocking. - protected ConfigurationStoresClient() + internal ConfigurationStoresRestOperations RestClient { get; } + /// Initializes a new instance of ConfigurationStoresOperations for mocking. + protected ConfigurationStoresOperations() { } - /// Initializes a new instance of ConfigurationStoresClient. + /// Initializes a new instance of ConfigurationStoresOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The Microsoft Azure subscription ID. /// server parameter. /// Api Version. - internal ConfigurationStoresClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-11-01-preview") + internal ConfigurationStoresOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-11-01-preview") { - RestClient = new ConfigurationStoresRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); + RestClient = new ConfigurationStoresRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal ConfigurationStoresClient(ClientDiagnostics clientDiagnostics, HttpPipe /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string configStoreName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ConfigurationStoresClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ConfigurationStoresOperations.Get"); scope.Start(); try { @@ -63,7 +63,7 @@ public virtual async Task> GetAsync(string resource /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string configStoreName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ConfigurationStoresClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ConfigurationStoresOperations.Get"); scope.Start(); try { @@ -83,7 +83,7 @@ public virtual Response Get(string resourceGroupName, string /// The cancellation token to use. public virtual async Task> RegenerateKeyAsync(string resourceGroupName, string configStoreName, RegenerateKeyParameters regenerateKeyParameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ConfigurationStoresClient.RegenerateKey"); + using var scope = _clientDiagnostics.CreateScope("ConfigurationStoresOperations.RegenerateKey"); scope.Start(); try { @@ -103,7 +103,7 @@ public virtual async Task> RegenerateKeyAsync(string resourceGr /// The cancellation token to use. public virtual Response RegenerateKey(string resourceGroupName, string configStoreName, RegenerateKeyParameters regenerateKeyParameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ConfigurationStoresClient.RegenerateKey"); + using var scope = _clientDiagnostics.CreateScope("ConfigurationStoresOperations.RegenerateKey"); scope.Start(); try { @@ -123,7 +123,7 @@ public virtual Response RegenerateKey(string resourceGroupName, string c /// The cancellation token to use. public virtual async Task> ListKeyValueAsync(string resourceGroupName, string configStoreName, ListKeyValueParameters listKeyValueParameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ConfigurationStoresClient.ListKeyValue"); + using var scope = _clientDiagnostics.CreateScope("ConfigurationStoresOperations.ListKeyValue"); scope.Start(); try { @@ -143,7 +143,7 @@ public virtual async Task> ListKeyValueAsync(string resourceG /// The cancellation token to use. public virtual Response ListKeyValue(string resourceGroupName, string configStoreName, ListKeyValueParameters listKeyValueParameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ConfigurationStoresClient.ListKeyValue"); + using var scope = _clientDiagnostics.CreateScope("ConfigurationStoresOperations.ListKeyValue"); scope.Start(); try { @@ -163,7 +163,7 @@ public virtual AsyncPageable ListAsync(string skipToken = nu { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ConfigurationStoresClient.List"); + using var scope = _clientDiagnostics.CreateScope("ConfigurationStoresOperations.List"); scope.Start(); try { @@ -178,7 +178,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ConfigurationStoresClient.List"); + using var scope = _clientDiagnostics.CreateScope("ConfigurationStoresOperations.List"); scope.Start(); try { @@ -201,7 +201,7 @@ public virtual Pageable List(string skipToken = null, Cancel { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ConfigurationStoresClient.List"); + using var scope = _clientDiagnostics.CreateScope("ConfigurationStoresOperations.List"); scope.Start(); try { @@ -216,7 +216,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ConfigurationStoresClient.List"); + using var scope = _clientDiagnostics.CreateScope("ConfigurationStoresOperations.List"); scope.Start(); try { @@ -245,7 +245,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(string async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ConfigurationStoresClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ConfigurationStoresOperations.ListByResourceGroup"); scope.Start(); try { @@ -260,7 +260,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ConfigurationStoresClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ConfigurationStoresOperations.ListByResourceGroup"); scope.Start(); try { @@ -289,7 +289,7 @@ public virtual Pageable ListByResourceGroup(string resourceG Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ConfigurationStoresClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ConfigurationStoresOperations.ListByResourceGroup"); scope.Start(); try { @@ -304,7 +304,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ConfigurationStoresClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ConfigurationStoresOperations.ListByResourceGroup"); scope.Start(); try { @@ -338,7 +338,7 @@ public virtual AsyncPageable ListKeysAsync(string resourceGroupName, str async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ConfigurationStoresClient.ListKeys"); + using var scope = _clientDiagnostics.CreateScope("ConfigurationStoresOperations.ListKeys"); scope.Start(); try { @@ -353,7 +353,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ConfigurationStoresClient.ListKeys"); + using var scope = _clientDiagnostics.CreateScope("ConfigurationStoresOperations.ListKeys"); scope.Start(); try { @@ -387,7 +387,7 @@ public virtual Pageable ListKeys(string resourceGroupName, string config Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ConfigurationStoresClient.ListKeys"); + using var scope = _clientDiagnostics.CreateScope("ConfigurationStoresOperations.ListKeys"); scope.Start(); try { @@ -402,7 +402,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ConfigurationStoresClient.ListKeys"); + using var scope = _clientDiagnostics.CreateScope("ConfigurationStoresOperations.ListKeys"); scope.Start(); try { @@ -438,7 +438,7 @@ public virtual async Task StartCreateAsync(s throw new ArgumentNullException(nameof(configStoreCreationParameters)); } - using var scope = _clientDiagnostics.CreateScope("ConfigurationStoresClient.StartCreate"); + using var scope = _clientDiagnostics.CreateScope("ConfigurationStoresOperations.StartCreate"); scope.Start(); try { @@ -472,7 +472,7 @@ public virtual ConfigurationStoresCreateOperation StartCreate(string resourceGro throw new ArgumentNullException(nameof(configStoreCreationParameters)); } - using var scope = _clientDiagnostics.CreateScope("ConfigurationStoresClient.StartCreate"); + using var scope = _clientDiagnostics.CreateScope("ConfigurationStoresOperations.StartCreate"); scope.Start(); try { @@ -501,7 +501,7 @@ public virtual async Task StartDeleteAsync(s throw new ArgumentNullException(nameof(configStoreName)); } - using var scope = _clientDiagnostics.CreateScope("ConfigurationStoresClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ConfigurationStoresOperations.StartDelete"); scope.Start(); try { @@ -530,7 +530,7 @@ public virtual ConfigurationStoresDeleteOperation StartDelete(string resourceGro throw new ArgumentNullException(nameof(configStoreName)); } - using var scope = _clientDiagnostics.CreateScope("ConfigurationStoresClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ConfigurationStoresOperations.StartDelete"); scope.Start(); try { @@ -564,7 +564,7 @@ public virtual async Task StartUpdateAsync(s throw new ArgumentNullException(nameof(configStoreUpdateParameters)); } - using var scope = _clientDiagnostics.CreateScope("ConfigurationStoresClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("ConfigurationStoresOperations.StartUpdate"); scope.Start(); try { @@ -598,7 +598,7 @@ public virtual ConfigurationStoresUpdateOperation StartUpdate(string resourceGro throw new ArgumentNullException(nameof(configStoreUpdateParameters)); } - using var scope = _clientDiagnostics.CreateScope("ConfigurationStoresClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("ConfigurationStoresOperations.StartUpdate"); scope.Start(); try { diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/ConfigurationStoresRestClient.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/ConfigurationStoresRestOperations.cs similarity index 99% rename from sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/ConfigurationStoresRestClient.cs rename to sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/ConfigurationStoresRestOperations.cs index c1ed5b7a89604..2a9b77c850706 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/ConfigurationStoresRestClient.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/ConfigurationStoresRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.ResourceManager.AppConfiguration { - internal partial class ConfigurationStoresRestClient + internal partial class ConfigurationStoresRestOperations { private string subscriptionId; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class ConfigurationStoresRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ConfigurationStoresRestClient. + /// Initializes a new instance of ConfigurationStoresRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The Microsoft Azure subscription ID. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public ConfigurationStoresRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-11-01-preview") + public ConfigurationStoresRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-11-01-preview") { if (subscriptionId == null) { diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/OperationsClient.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Operations.cs similarity index 88% rename from sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/OperationsClient.cs rename to sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Operations.cs index c112eeb6132f1..f216b942e83d7 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/OperationsClient.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Operations.cs @@ -15,25 +15,25 @@ namespace Azure.ResourceManager.AppConfiguration { - /// The Operations service client. - public partial class OperationsClient + /// The service client. + public partial class Operations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal OperationsRestClient RestClient { get; } - /// Initializes a new instance of OperationsClient for mocking. - protected OperationsClient() + internal RestOperations RestClient { get; } + /// Initializes a new instance of Operations for mocking. + protected Operations() { } - /// Initializes a new instance of OperationsClient. + /// Initializes a new instance of Operations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The Microsoft Azure subscription ID. /// server parameter. /// Api Version. - internal OperationsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-11-01-preview") + internal Operations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-11-01-preview") { - RestClient = new OperationsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); + RestClient = new RestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal OperationsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipe /// The cancellation token to use. public virtual async Task> CheckNameAvailabilityAsync(CheckNameAvailabilityParameters checkNameAvailabilityParameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("OperationsClient.CheckNameAvailability"); + using var scope = _clientDiagnostics.CreateScope("Operations.CheckNameAvailability"); scope.Start(); try { @@ -61,7 +61,7 @@ public virtual async Task> CheckNameAvailabilit /// The cancellation token to use. public virtual Response CheckNameAvailability(CheckNameAvailabilityParameters checkNameAvailabilityParameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("OperationsClient.CheckNameAvailability"); + using var scope = _clientDiagnostics.CreateScope("Operations.CheckNameAvailability"); scope.Start(); try { @@ -81,7 +81,7 @@ public virtual AsyncPageable ListAsync(string skipToken = n { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("OperationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("Operations.List"); scope.Start(); try { @@ -96,7 +96,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("OperationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("Operations.List"); scope.Start(); try { @@ -119,7 +119,7 @@ public virtual Pageable List(string skipToken = null, Cance { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("OperationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("Operations.List"); scope.Start(); try { @@ -134,7 +134,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("OperationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("Operations.List"); scope.Start(); try { diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/PrivateEndpointConnectionsClient.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/PrivateEndpointConnectionsOperations.cs similarity index 93% rename from sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/PrivateEndpointConnectionsClient.cs rename to sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/PrivateEndpointConnectionsOperations.cs index 1cad833f99d4b..3dc435755525a 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/PrivateEndpointConnectionsClient.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/PrivateEndpointConnectionsOperations.cs @@ -16,24 +16,24 @@ namespace Azure.ResourceManager.AppConfiguration { /// The PrivateEndpointConnections service client. - public partial class PrivateEndpointConnectionsClient + public partial class PrivateEndpointConnectionsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal PrivateEndpointConnectionsRestClient RestClient { get; } - /// Initializes a new instance of PrivateEndpointConnectionsClient for mocking. - protected PrivateEndpointConnectionsClient() + internal PrivateEndpointConnectionsRestOperations RestClient { get; } + /// Initializes a new instance of PrivateEndpointConnectionsOperations for mocking. + protected PrivateEndpointConnectionsOperations() { } - /// Initializes a new instance of PrivateEndpointConnectionsClient. + /// Initializes a new instance of PrivateEndpointConnectionsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The Microsoft Azure subscription ID. /// server parameter. /// Api Version. - internal PrivateEndpointConnectionsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-11-01-preview") + internal PrivateEndpointConnectionsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-11-01-preview") { - RestClient = new PrivateEndpointConnectionsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); + RestClient = new PrivateEndpointConnectionsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -45,7 +45,7 @@ internal PrivateEndpointConnectionsClient(ClientDiagnostics clientDiagnostics, H /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string configStoreName, string privateEndpointConnectionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsOperations.Get"); scope.Start(); try { @@ -65,7 +65,7 @@ public virtual async Task> GetAsync(string r /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string configStoreName, string privateEndpointConnectionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsOperations.Get"); scope.Start(); try { @@ -95,7 +95,7 @@ public virtual AsyncPageable ListByConfigurationStore async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsClient.ListByConfigurationStore"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsOperations.ListByConfigurationStore"); scope.Start(); try { @@ -110,7 +110,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsClient.ListByConfigurationStore"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsOperations.ListByConfigurationStore"); scope.Start(); try { @@ -143,7 +143,7 @@ public virtual Pageable ListByConfigurationStore(stri Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsClient.ListByConfigurationStore"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsOperations.ListByConfigurationStore"); scope.Start(); try { @@ -158,7 +158,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsClient.ListByConfigurationStore"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsOperations.ListByConfigurationStore"); scope.Start(); try { @@ -199,7 +199,7 @@ public virtual async Task Sta throw new ArgumentNullException(nameof(privateEndpointConnection)); } - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -238,7 +238,7 @@ public virtual PrivateEndpointConnectionsCreateOrUpdateOperation StartCreateOrUp throw new ArgumentNullException(nameof(privateEndpointConnection)); } - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -272,7 +272,7 @@ public virtual async Task StartDelete throw new ArgumentNullException(nameof(privateEndpointConnectionName)); } - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsOperations.StartDelete"); scope.Start(); try { @@ -306,7 +306,7 @@ public virtual PrivateEndpointConnectionsDeleteOperation StartDelete(string reso throw new ArgumentNullException(nameof(privateEndpointConnectionName)); } - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/PrivateEndpointConnectionsRestClient.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/PrivateEndpointConnectionsRestOperations.cs similarity index 98% rename from sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/PrivateEndpointConnectionsRestClient.cs rename to sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/PrivateEndpointConnectionsRestOperations.cs index 2a2377f6a5e6c..ee5732051a003 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/PrivateEndpointConnectionsRestClient.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/PrivateEndpointConnectionsRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.ResourceManager.AppConfiguration { - internal partial class PrivateEndpointConnectionsRestClient + internal partial class PrivateEndpointConnectionsRestOperations { private string subscriptionId; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class PrivateEndpointConnectionsRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of PrivateEndpointConnectionsRestClient. + /// Initializes a new instance of PrivateEndpointConnectionsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The Microsoft Azure subscription ID. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public PrivateEndpointConnectionsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-11-01-preview") + public PrivateEndpointConnectionsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-11-01-preview") { if (subscriptionId == null) { diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/PrivateLinkResourcesClient.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/PrivateLinkResourcesOperations.cs similarity index 90% rename from sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/PrivateLinkResourcesClient.cs rename to sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/PrivateLinkResourcesOperations.cs index 1aa9df9fcd87f..51426ac100781 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/PrivateLinkResourcesClient.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/PrivateLinkResourcesOperations.cs @@ -16,24 +16,24 @@ namespace Azure.ResourceManager.AppConfiguration { /// The PrivateLinkResources service client. - public partial class PrivateLinkResourcesClient + public partial class PrivateLinkResourcesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal PrivateLinkResourcesRestClient RestClient { get; } - /// Initializes a new instance of PrivateLinkResourcesClient for mocking. - protected PrivateLinkResourcesClient() + internal PrivateLinkResourcesRestOperations RestClient { get; } + /// Initializes a new instance of PrivateLinkResourcesOperations for mocking. + protected PrivateLinkResourcesOperations() { } - /// Initializes a new instance of PrivateLinkResourcesClient. + /// Initializes a new instance of PrivateLinkResourcesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The Microsoft Azure subscription ID. /// server parameter. /// Api Version. - internal PrivateLinkResourcesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-11-01-preview") + internal PrivateLinkResourcesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-11-01-preview") { - RestClient = new PrivateLinkResourcesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); + RestClient = new PrivateLinkResourcesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -45,7 +45,7 @@ internal PrivateLinkResourcesClient(ClientDiagnostics clientDiagnostics, HttpPip /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string configStoreName, string groupName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkResourcesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkResourcesOperations.Get"); scope.Start(); try { @@ -65,7 +65,7 @@ public virtual async Task> GetAsync(string resourc /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string configStoreName, string groupName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkResourcesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkResourcesOperations.Get"); scope.Start(); try { @@ -95,7 +95,7 @@ public virtual AsyncPageable ListByConfigurationStoreAsync( async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkResourcesClient.ListByConfigurationStore"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkResourcesOperations.ListByConfigurationStore"); scope.Start(); try { @@ -110,7 +110,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkResourcesClient.ListByConfigurationStore"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkResourcesOperations.ListByConfigurationStore"); scope.Start(); try { @@ -143,7 +143,7 @@ public virtual Pageable ListByConfigurationStore(string res Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkResourcesClient.ListByConfigurationStore"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkResourcesOperations.ListByConfigurationStore"); scope.Start(); try { @@ -158,7 +158,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkResourcesClient.ListByConfigurationStore"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkResourcesOperations.ListByConfigurationStore"); scope.Start(); try { diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/PrivateLinkResourcesRestClient.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/PrivateLinkResourcesRestOperations.cs similarity index 98% rename from sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/PrivateLinkResourcesRestClient.cs rename to sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/PrivateLinkResourcesRestOperations.cs index bc4b72d322c9a..efbd83fef21c4 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/PrivateLinkResourcesRestClient.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/PrivateLinkResourcesRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.ResourceManager.AppConfiguration { - internal partial class PrivateLinkResourcesRestClient + internal partial class PrivateLinkResourcesRestOperations { private string subscriptionId; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class PrivateLinkResourcesRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of PrivateLinkResourcesRestClient. + /// Initializes a new instance of PrivateLinkResourcesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The Microsoft Azure subscription ID. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public PrivateLinkResourcesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-11-01-preview") + public PrivateLinkResourcesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-11-01-preview") { if (subscriptionId == null) { diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/OperationsRestClient.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/RestOperations.cs similarity index 97% rename from sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/OperationsRestClient.cs rename to sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/RestOperations.cs index 91a47845c944a..2eacf556d2994 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/OperationsRestClient.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/RestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.ResourceManager.AppConfiguration { - internal partial class OperationsRestClient + internal partial class RestOperations { private string subscriptionId; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class OperationsRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of OperationsRestClient. + /// Initializes a new instance of RestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The Microsoft Azure subscription ID. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public OperationsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-11-01-preview") + public RestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-11-01-preview") { if (subscriptionId == null) { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/AvailabilitySetsClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/AvailabilitySetsOperations.cs similarity index 94% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/AvailabilitySetsClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/AvailabilitySetsOperations.cs index 6bf51f167eaf8..23ceef34c9b01 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/AvailabilitySetsClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/AvailabilitySetsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Compute { /// The AvailabilitySets service client. - public partial class AvailabilitySetsClient + public partial class AvailabilitySetsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal AvailabilitySetsRestClient RestClient { get; } - /// Initializes a new instance of AvailabilitySetsClient for mocking. - protected AvailabilitySetsClient() + internal AvailabilitySetsRestOperations RestClient { get; } + /// Initializes a new instance of AvailabilitySetsOperations for mocking. + protected AvailabilitySetsOperations() { } - /// Initializes a new instance of AvailabilitySetsClient. + /// Initializes a new instance of AvailabilitySetsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal AvailabilitySetsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal AvailabilitySetsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new AvailabilitySetsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new AvailabilitySetsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal AvailabilitySetsClient(ClientDiagnostics clientDiagnostics, HttpPipelin /// The cancellation token to use. public virtual async Task> CreateOrUpdateAsync(string resourceGroupName, string availabilitySetName, AvailabilitySet parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsOperations.CreateOrUpdate"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> CreateOrUpdateAsync(string /// The cancellation token to use. public virtual Response CreateOrUpdate(string resourceGroupName, string availabilitySetName, AvailabilitySet parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsOperations.CreateOrUpdate"); scope.Start(); try { @@ -84,7 +84,7 @@ public virtual Response CreateOrUpdate(string resourceGroupName /// The cancellation token to use. public virtual async Task> UpdateAsync(string resourceGroupName, string availabilitySetName, AvailabilitySetUpdate parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsClient.Update"); + using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsOperations.Update"); scope.Start(); try { @@ -104,7 +104,7 @@ public virtual async Task> UpdateAsync(string resource /// The cancellation token to use. public virtual Response Update(string resourceGroupName, string availabilitySetName, AvailabilitySetUpdate parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsClient.Update"); + using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsOperations.Update"); scope.Start(); try { @@ -123,7 +123,7 @@ public virtual Response Update(string resourceGroupName, string /// The cancellation token to use. public virtual async Task DeleteAsync(string resourceGroupName, string availabilitySetName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsOperations.Delete"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual async Task DeleteAsync(string resourceGroupName, string /// The cancellation token to use. public virtual Response Delete(string resourceGroupName, string availabilitySetName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsOperations.Delete"); scope.Start(); try { @@ -161,7 +161,7 @@ public virtual Response Delete(string resourceGroupName, string availabilitySetN /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string availabilitySetName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsOperations.Get"); scope.Start(); try { @@ -180,7 +180,7 @@ public virtual async Task> GetAsync(string resourceGro /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string availabilitySetName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsOperations.Get"); scope.Start(); try { @@ -200,7 +200,7 @@ public virtual AsyncPageable ListBySubscriptionAsync(string exp { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsOperations.ListBySubscription"); scope.Start(); try { @@ -215,7 +215,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsOperations.ListBySubscription"); scope.Start(); try { @@ -238,7 +238,7 @@ public virtual Pageable ListBySubscription(string expand = null { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsOperations.ListBySubscription"); scope.Start(); try { @@ -253,7 +253,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsOperations.ListBySubscription"); scope.Start(); try { @@ -281,7 +281,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsClient.List"); + using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsOperations.List"); scope.Start(); try { @@ -296,7 +296,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsClient.List"); + using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsOperations.List"); scope.Start(); try { @@ -324,7 +324,7 @@ public virtual Pageable List(string resourceGroupName, Cancella Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsClient.List"); + using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsOperations.List"); scope.Start(); try { @@ -339,7 +339,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsClient.List"); + using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsOperations.List"); scope.Start(); try { @@ -372,7 +372,7 @@ public virtual AsyncPageable ListAvailableSizesAsync(string async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsClient.ListAvailableSizes"); + using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsOperations.ListAvailableSizes"); scope.Start(); try { @@ -405,7 +405,7 @@ public virtual Pageable ListAvailableSizes(string resourceGr Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsClient.ListAvailableSizes"); + using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsOperations.ListAvailableSizes"); scope.Start(); try { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/AvailabilitySetsRestClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/AvailabilitySetsRestOperations.cs similarity index 99% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/AvailabilitySetsRestClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/AvailabilitySetsRestOperations.cs index 1efd142321c30..597cc52e9f4f0 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/AvailabilitySetsRestClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/AvailabilitySetsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Compute { - internal partial class AvailabilitySetsRestClient + internal partial class AvailabilitySetsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of AvailabilitySetsRestClient. + /// Initializes a new instance of AvailabilitySetsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public AvailabilitySetsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public AvailabilitySetsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ComputeManagementClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ComputeManagementClient.cs index 6a11e08684ec0..637c14cb59989 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ComputeManagementClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ComputeManagementClient.cs @@ -53,184 +53,94 @@ public ComputeManagementClient(Uri endpoint, string subscriptionId, TokenCredent _subscriptionId = subscriptionId; } - /// Creates a new instance of OperationsClient. - public virtual OperationsClient GetOperationsClient() - { - return new OperationsClient(_clientDiagnostics, _pipeline, _endpoint); - } + /// Returns an instance of Operations. + public virtual Operations Operations => new Operations(_clientDiagnostics, _pipeline, _endpoint); - /// Creates a new instance of AvailabilitySetsClient. - public virtual AvailabilitySetsClient GetAvailabilitySetsClient() - { - return new AvailabilitySetsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of AvailabilitySetsOperations. + public virtual AvailabilitySetsOperations AvailabilitySets => new AvailabilitySetsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ProximityPlacementGroupsClient. - public virtual ProximityPlacementGroupsClient GetProximityPlacementGroupsClient() - { - return new ProximityPlacementGroupsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ProximityPlacementGroupsOperations. + public virtual ProximityPlacementGroupsOperations ProximityPlacementGroups => new ProximityPlacementGroupsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of DedicatedHostGroupsClient. - public virtual DedicatedHostGroupsClient GetDedicatedHostGroupsClient() - { - return new DedicatedHostGroupsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of DedicatedHostGroupsOperations. + public virtual DedicatedHostGroupsOperations DedicatedHostGroups => new DedicatedHostGroupsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of DedicatedHostsClient. - public virtual DedicatedHostsClient GetDedicatedHostsClient() - { - return new DedicatedHostsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of DedicatedHostsOperations. + public virtual DedicatedHostsOperations DedicatedHosts => new DedicatedHostsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of SshPublicKeysClient. - public virtual SshPublicKeysClient GetSshPublicKeysClient() - { - return new SshPublicKeysClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of SshPublicKeysOperations. + public virtual SshPublicKeysOperations SshPublicKeys => new SshPublicKeysOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VirtualMachineExtensionImagesClient. - public virtual VirtualMachineExtensionImagesClient GetVirtualMachineExtensionImagesClient() - { - return new VirtualMachineExtensionImagesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VirtualMachineExtensionImagesOperations. + public virtual VirtualMachineExtensionImagesOperations VirtualMachineExtensionImages => new VirtualMachineExtensionImagesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VirtualMachineExtensionsClient. - public virtual VirtualMachineExtensionsClient GetVirtualMachineExtensionsClient() - { - return new VirtualMachineExtensionsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VirtualMachineExtensionsOperations. + public virtual VirtualMachineExtensionsOperations VirtualMachineExtensions => new VirtualMachineExtensionsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VirtualMachineImagesClient. - public virtual VirtualMachineImagesClient GetVirtualMachineImagesClient() - { - return new VirtualMachineImagesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VirtualMachineImagesOperations. + public virtual VirtualMachineImagesOperations VirtualMachineImages => new VirtualMachineImagesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of UsageClient. - public virtual UsageClient GetUsageClient() - { - return new UsageClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of UsageOperations. + public virtual UsageOperations Usage => new UsageOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VirtualMachinesClient. - public virtual VirtualMachinesClient GetVirtualMachinesClient() - { - return new VirtualMachinesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VirtualMachinesOperations. + public virtual VirtualMachinesOperations VirtualMachines => new VirtualMachinesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VirtualMachineSizesClient. - public virtual VirtualMachineSizesClient GetVirtualMachineSizesClient() - { - return new VirtualMachineSizesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VirtualMachineSizesOperations. + public virtual VirtualMachineSizesOperations VirtualMachineSizes => new VirtualMachineSizesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ImagesClient. - public virtual ImagesClient GetImagesClient() - { - return new ImagesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ImagesOperations. + public virtual ImagesOperations Images => new ImagesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VirtualMachineScaleSetsClient. - public virtual VirtualMachineScaleSetsClient GetVirtualMachineScaleSetsClient() - { - return new VirtualMachineScaleSetsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VirtualMachineScaleSetsOperations. + public virtual VirtualMachineScaleSetsOperations VirtualMachineScaleSets => new VirtualMachineScaleSetsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VirtualMachineScaleSetExtensionsClient. - public virtual VirtualMachineScaleSetExtensionsClient GetVirtualMachineScaleSetExtensionsClient() - { - return new VirtualMachineScaleSetExtensionsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VirtualMachineScaleSetExtensionsOperations. + public virtual VirtualMachineScaleSetExtensionsOperations VirtualMachineScaleSetExtensions => new VirtualMachineScaleSetExtensionsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VirtualMachineScaleSetRollingUpgradesClient. - public virtual VirtualMachineScaleSetRollingUpgradesClient GetVirtualMachineScaleSetRollingUpgradesClient() - { - return new VirtualMachineScaleSetRollingUpgradesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VirtualMachineScaleSetRollingUpgradesOperations. + public virtual VirtualMachineScaleSetRollingUpgradesOperations VirtualMachineScaleSetRollingUpgrades => new VirtualMachineScaleSetRollingUpgradesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VirtualMachineScaleSetVMExtensionsClient. - public virtual VirtualMachineScaleSetVMExtensionsClient GetVirtualMachineScaleSetVMExtensionsClient() - { - return new VirtualMachineScaleSetVMExtensionsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VirtualMachineScaleSetVMExtensionsOperations. + public virtual VirtualMachineScaleSetVMExtensionsOperations VirtualMachineScaleSetVMExtensions => new VirtualMachineScaleSetVMExtensionsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VirtualMachineScaleSetVMsClient. - public virtual VirtualMachineScaleSetVMsClient GetVirtualMachineScaleSetVMsClient() - { - return new VirtualMachineScaleSetVMsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VirtualMachineScaleSetVMsOperations. + public virtual VirtualMachineScaleSetVMsOperations VirtualMachineScaleSetVMs => new VirtualMachineScaleSetVMsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of LogAnalyticsClient. - public virtual LogAnalyticsClient GetLogAnalyticsClient() - { - return new LogAnalyticsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of LogAnalyticsOperations. + public virtual LogAnalyticsOperations LogAnalytics => new LogAnalyticsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VirtualMachineRunCommandsClient. - public virtual VirtualMachineRunCommandsClient GetVirtualMachineRunCommandsClient() - { - return new VirtualMachineRunCommandsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VirtualMachineRunCommandsOperations. + public virtual VirtualMachineRunCommandsOperations VirtualMachineRunCommands => new VirtualMachineRunCommandsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ResourceSkusClient. - public virtual ResourceSkusClient GetResourceSkusClient() - { - return new ResourceSkusClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ResourceSkusOperations. + public virtual ResourceSkusOperations ResourceSkus => new ResourceSkusOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of DisksClient. - public virtual DisksClient GetDisksClient() - { - return new DisksClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of DisksOperations. + public virtual DisksOperations Disks => new DisksOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of SnapshotsClient. - public virtual SnapshotsClient GetSnapshotsClient() - { - return new SnapshotsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of SnapshotsOperations. + public virtual SnapshotsOperations Snapshots => new SnapshotsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of DiskEncryptionSetsClient. - public virtual DiskEncryptionSetsClient GetDiskEncryptionSetsClient() - { - return new DiskEncryptionSetsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of DiskEncryptionSetsOperations. + public virtual DiskEncryptionSetsOperations DiskEncryptionSets => new DiskEncryptionSetsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of GalleriesClient. - public virtual GalleriesClient GetGalleriesClient() - { - return new GalleriesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of GalleriesOperations. + public virtual GalleriesOperations Galleries => new GalleriesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of GalleryImagesClient. - public virtual GalleryImagesClient GetGalleryImagesClient() - { - return new GalleryImagesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of GalleryImagesOperations. + public virtual GalleryImagesOperations GalleryImages => new GalleryImagesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of GalleryImageVersionsClient. - public virtual GalleryImageVersionsClient GetGalleryImageVersionsClient() - { - return new GalleryImageVersionsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of GalleryImageVersionsOperations. + public virtual GalleryImageVersionsOperations GalleryImageVersions => new GalleryImageVersionsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of GalleryApplicationsClient. - public virtual GalleryApplicationsClient GetGalleryApplicationsClient() - { - return new GalleryApplicationsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of GalleryApplicationsOperations. + public virtual GalleryApplicationsOperations GalleryApplications => new GalleryApplicationsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of GalleryApplicationVersionsClient. - public virtual GalleryApplicationVersionsClient GetGalleryApplicationVersionsClient() - { - return new GalleryApplicationVersionsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of GalleryApplicationVersionsOperations. + public virtual GalleryApplicationVersionsOperations GalleryApplicationVersions => new GalleryApplicationVersionsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ContainerServicesClient. - public virtual ContainerServicesClient GetContainerServicesClient() - { - return new ContainerServicesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ContainerServicesOperations. + public virtual ContainerServicesOperations ContainerServices => new ContainerServicesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ContainerServicesClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ContainerServicesOperations.cs similarity index 94% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/ContainerServicesClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/ContainerServicesOperations.cs index 09f30fc5ccd6b..141a464ee59e1 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ContainerServicesClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ContainerServicesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Compute { /// The ContainerServices service client. - public partial class ContainerServicesClient + public partial class ContainerServicesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ContainerServicesRestClient RestClient { get; } - /// Initializes a new instance of ContainerServicesClient for mocking. - protected ContainerServicesClient() + internal ContainerServicesRestOperations RestClient { get; } + /// Initializes a new instance of ContainerServicesOperations for mocking. + protected ContainerServicesOperations() { } - /// Initializes a new instance of ContainerServicesClient. + /// Initializes a new instance of ContainerServicesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ContainerServicesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ContainerServicesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ContainerServicesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ContainerServicesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal ContainerServicesClient(ClientDiagnostics clientDiagnostics, HttpPipeli /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string containerServiceName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ContainerServicesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ContainerServicesOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string resourceGr /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string containerServiceName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ContainerServicesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ContainerServicesOperations.Get"); scope.Start(); try { @@ -81,7 +81,7 @@ public virtual AsyncPageable ListAsync(CancellationToken cance { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ContainerServicesClient.List"); + using var scope = _clientDiagnostics.CreateScope("ContainerServicesOperations.List"); scope.Start(); try { @@ -96,7 +96,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ContainerServicesClient.List"); + using var scope = _clientDiagnostics.CreateScope("ContainerServicesOperations.List"); scope.Start(); try { @@ -118,7 +118,7 @@ public virtual Pageable List(CancellationToken cancellationTok { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ContainerServicesClient.List"); + using var scope = _clientDiagnostics.CreateScope("ContainerServicesOperations.List"); scope.Start(); try { @@ -133,7 +133,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ContainerServicesClient.List"); + using var scope = _clientDiagnostics.CreateScope("ContainerServicesOperations.List"); scope.Start(); try { @@ -161,7 +161,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(string r async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ContainerServicesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ContainerServicesOperations.ListByResourceGroup"); scope.Start(); try { @@ -176,7 +176,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ContainerServicesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ContainerServicesOperations.ListByResourceGroup"); scope.Start(); try { @@ -204,7 +204,7 @@ public virtual Pageable ListByResourceGroup(string resourceGro Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ContainerServicesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ContainerServicesOperations.ListByResourceGroup"); scope.Start(); try { @@ -219,7 +219,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ContainerServicesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ContainerServicesOperations.ListByResourceGroup"); scope.Start(); try { @@ -255,7 +255,7 @@ public virtual async Task StartCreateO throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ContainerServicesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ContainerServicesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -289,7 +289,7 @@ public virtual ContainerServicesCreateOrUpdateOperation StartCreateOrUpdate(stri throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ContainerServicesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ContainerServicesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -318,7 +318,7 @@ public virtual async Task StartDeleteAsync(str throw new ArgumentNullException(nameof(containerServiceName)); } - using var scope = _clientDiagnostics.CreateScope("ContainerServicesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ContainerServicesOperations.StartDelete"); scope.Start(); try { @@ -347,7 +347,7 @@ public virtual ContainerServicesDeleteOperation StartDelete(string resourceGroup throw new ArgumentNullException(nameof(containerServiceName)); } - using var scope = _clientDiagnostics.CreateScope("ContainerServicesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ContainerServicesOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ContainerServicesRestClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ContainerServicesRestOperations.cs similarity index 99% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/ContainerServicesRestClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/ContainerServicesRestOperations.cs index e05ae16aa0834..38dfe99b56373 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ContainerServicesRestClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ContainerServicesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Compute { - internal partial class ContainerServicesRestClient + internal partial class ContainerServicesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ContainerServicesRestClient. + /// Initializes a new instance of ContainerServicesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ContainerServicesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ContainerServicesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DedicatedHostGroupsClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DedicatedHostGroupsOperations.cs similarity index 92% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/DedicatedHostGroupsClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/DedicatedHostGroupsOperations.cs index e26a815f9cdcc..e50a0fb42a500 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DedicatedHostGroupsClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DedicatedHostGroupsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Compute { /// The DedicatedHostGroups service client. - public partial class DedicatedHostGroupsClient + public partial class DedicatedHostGroupsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal DedicatedHostGroupsRestClient RestClient { get; } - /// Initializes a new instance of DedicatedHostGroupsClient for mocking. - protected DedicatedHostGroupsClient() + internal DedicatedHostGroupsRestOperations RestClient { get; } + /// Initializes a new instance of DedicatedHostGroupsOperations for mocking. + protected DedicatedHostGroupsOperations() { } - /// Initializes a new instance of DedicatedHostGroupsClient. + /// Initializes a new instance of DedicatedHostGroupsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal DedicatedHostGroupsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal DedicatedHostGroupsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new DedicatedHostGroupsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new DedicatedHostGroupsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal DedicatedHostGroupsClient(ClientDiagnostics clientDiagnostics, HttpPipe /// The cancellation token to use. public virtual async Task> CreateOrUpdateAsync(string resourceGroupName, string hostGroupName, DedicatedHostGroup parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsOperations.CreateOrUpdate"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> CreateOrUpdateAsync(stri /// The cancellation token to use. public virtual Response CreateOrUpdate(string resourceGroupName, string hostGroupName, DedicatedHostGroup parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsOperations.CreateOrUpdate"); scope.Start(); try { @@ -84,7 +84,7 @@ public virtual Response CreateOrUpdate(string resourceGroupN /// The cancellation token to use. public virtual async Task> UpdateAsync(string resourceGroupName, string hostGroupName, DedicatedHostGroupUpdate parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsClient.Update"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsOperations.Update"); scope.Start(); try { @@ -104,7 +104,7 @@ public virtual async Task> UpdateAsync(string resou /// The cancellation token to use. public virtual Response Update(string resourceGroupName, string hostGroupName, DedicatedHostGroupUpdate parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsClient.Update"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsOperations.Update"); scope.Start(); try { @@ -123,7 +123,7 @@ public virtual Response Update(string resourceGroupName, str /// The cancellation token to use. public virtual async Task DeleteAsync(string resourceGroupName, string hostGroupName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsOperations.Delete"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual async Task DeleteAsync(string resourceGroupName, string /// The cancellation token to use. public virtual Response Delete(string resourceGroupName, string hostGroupName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsOperations.Delete"); scope.Start(); try { @@ -161,7 +161,7 @@ public virtual Response Delete(string resourceGroupName, string hostGroupName, C /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string hostGroupName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsOperations.Get"); scope.Start(); try { @@ -180,7 +180,7 @@ public virtual async Task> GetAsync(string resource /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string hostGroupName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsOperations.Get"); scope.Start(); try { @@ -205,7 +205,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(string async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsOperations.ListByResourceGroup"); scope.Start(); try { @@ -220,7 +220,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsOperations.ListByResourceGroup"); scope.Start(); try { @@ -248,7 +248,7 @@ public virtual Pageable ListByResourceGroup(string resourceG Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsOperations.ListByResourceGroup"); scope.Start(); try { @@ -263,7 +263,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsOperations.ListByResourceGroup"); scope.Start(); try { @@ -285,7 +285,7 @@ public virtual AsyncPageable ListBySubscriptionAsync(Cancell { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsOperations.ListBySubscription"); scope.Start(); try { @@ -300,7 +300,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsOperations.ListBySubscription"); scope.Start(); try { @@ -322,7 +322,7 @@ public virtual Pageable ListBySubscription(CancellationToken { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsOperations.ListBySubscription"); scope.Start(); try { @@ -337,7 +337,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsOperations.ListBySubscription"); scope.Start(); try { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DedicatedHostGroupsRestClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DedicatedHostGroupsRestOperations.cs similarity index 99% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/DedicatedHostGroupsRestClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/DedicatedHostGroupsRestOperations.cs index 883b719d60f76..94edce1e54f66 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DedicatedHostGroupsRestClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DedicatedHostGroupsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Compute { - internal partial class DedicatedHostGroupsRestClient + internal partial class DedicatedHostGroupsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of DedicatedHostGroupsRestClient. + /// Initializes a new instance of DedicatedHostGroupsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public DedicatedHostGroupsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public DedicatedHostGroupsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DedicatedHostsClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DedicatedHostsOperations.cs similarity index 95% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/DedicatedHostsClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/DedicatedHostsOperations.cs index 2c3a128a6a88f..36dfa5c7ddb05 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DedicatedHostsClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DedicatedHostsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Compute { /// The DedicatedHosts service client. - public partial class DedicatedHostsClient + public partial class DedicatedHostsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal DedicatedHostsRestClient RestClient { get; } - /// Initializes a new instance of DedicatedHostsClient for mocking. - protected DedicatedHostsClient() + internal DedicatedHostsRestOperations RestClient { get; } + /// Initializes a new instance of DedicatedHostsOperations for mocking. + protected DedicatedHostsOperations() { } - /// Initializes a new instance of DedicatedHostsClient. + /// Initializes a new instance of DedicatedHostsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal DedicatedHostsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal DedicatedHostsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new DedicatedHostsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new DedicatedHostsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal DedicatedHostsClient(ClientDiagnostics clientDiagnostics, HttpPipeline /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string hostGroupName, string hostName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DedicatedHostsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostsOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGroup /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string hostGroupName, string hostName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DedicatedHostsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostsOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListByHostGroupAsync(string resource async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DedicatedHostsClient.ListByHostGroup"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostsOperations.ListByHostGroup"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DedicatedHostsClient.ListByHostGroup"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostsOperations.ListByHostGroup"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable ListByHostGroup(string resourceGroupName, Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DedicatedHostsClient.ListByHostGroup"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostsOperations.ListByHostGroup"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DedicatedHostsClient.ListByHostGroup"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostsOperations.ListByHostGroup"); scope.Start(); try { @@ -198,7 +198,7 @@ public virtual async Task StartCreateOrUp throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("DedicatedHostsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -237,7 +237,7 @@ public virtual DedicatedHostsCreateOrUpdateOperation StartCreateOrUpdate(string throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("DedicatedHostsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -276,7 +276,7 @@ public virtual async Task StartUpdateAsync(string throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("DedicatedHostsClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostsOperations.StartUpdate"); scope.Start(); try { @@ -315,7 +315,7 @@ public virtual DedicatedHostsUpdateOperation StartUpdate(string resourceGroupNam throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("DedicatedHostsClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostsOperations.StartUpdate"); scope.Start(); try { @@ -349,7 +349,7 @@ public virtual async Task StartDeleteAsync(string throw new ArgumentNullException(nameof(hostName)); } - using var scope = _clientDiagnostics.CreateScope("DedicatedHostsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostsOperations.StartDelete"); scope.Start(); try { @@ -383,7 +383,7 @@ public virtual DedicatedHostsDeleteOperation StartDelete(string resourceGroupNam throw new ArgumentNullException(nameof(hostName)); } - using var scope = _clientDiagnostics.CreateScope("DedicatedHostsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostsOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DedicatedHostsRestClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DedicatedHostsRestOperations.cs similarity index 99% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/DedicatedHostsRestClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/DedicatedHostsRestOperations.cs index 26a7b952923a8..9e36894833982 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DedicatedHostsRestClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DedicatedHostsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Compute { - internal partial class DedicatedHostsRestClient + internal partial class DedicatedHostsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of DedicatedHostsRestClient. + /// Initializes a new instance of DedicatedHostsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public DedicatedHostsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public DedicatedHostsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskEncryptionSetsClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskEncryptionSetsOperations.cs similarity index 94% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskEncryptionSetsClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskEncryptionSetsOperations.cs index 90ae24d33867f..27d6166d4ed97 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskEncryptionSetsClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskEncryptionSetsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Compute { /// The DiskEncryptionSets service client. - public partial class DiskEncryptionSetsClient + public partial class DiskEncryptionSetsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal DiskEncryptionSetsRestClient RestClient { get; } - /// Initializes a new instance of DiskEncryptionSetsClient for mocking. - protected DiskEncryptionSetsClient() + internal DiskEncryptionSetsRestOperations RestClient { get; } + /// Initializes a new instance of DiskEncryptionSetsOperations for mocking. + protected DiskEncryptionSetsOperations() { } - /// Initializes a new instance of DiskEncryptionSetsClient. + /// Initializes a new instance of DiskEncryptionSetsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal DiskEncryptionSetsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal DiskEncryptionSetsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new DiskEncryptionSetsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new DiskEncryptionSetsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal DiskEncryptionSetsClient(ClientDiagnostics clientDiagnostics, HttpPipel /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string diskEncryptionSetName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string resourceG /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string diskEncryptionSetName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsOperations.Get"); scope.Start(); try { @@ -87,7 +87,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(string async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsOperations.ListByResourceGroup"); scope.Start(); try { @@ -102,7 +102,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsOperations.ListByResourceGroup"); scope.Start(); try { @@ -130,7 +130,7 @@ public virtual Pageable ListByResourceGroup(string resourceGr Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsOperations.ListByResourceGroup"); scope.Start(); try { @@ -145,7 +145,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsOperations.ListByResourceGroup"); scope.Start(); try { @@ -167,7 +167,7 @@ public virtual AsyncPageable ListAsync(CancellationToken canc { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsClient.List"); + using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsOperations.List"); scope.Start(); try { @@ -182,7 +182,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsClient.List"); + using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsOperations.List"); scope.Start(); try { @@ -204,7 +204,7 @@ public virtual Pageable List(CancellationToken cancellationTo { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsClient.List"); + using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsOperations.List"); scope.Start(); try { @@ -219,7 +219,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsClient.List"); + using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsOperations.List"); scope.Start(); try { @@ -255,7 +255,7 @@ public virtual async Task StartCreate throw new ArgumentNullException(nameof(diskEncryptionSet)); } - using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -289,7 +289,7 @@ public virtual DiskEncryptionSetsCreateOrUpdateOperation StartCreateOrUpdate(str throw new ArgumentNullException(nameof(diskEncryptionSet)); } - using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -323,7 +323,7 @@ public virtual async Task StartUpdateAsync(st throw new ArgumentNullException(nameof(diskEncryptionSet)); } - using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsOperations.StartUpdate"); scope.Start(); try { @@ -357,7 +357,7 @@ public virtual DiskEncryptionSetsUpdateOperation StartUpdate(string resourceGrou throw new ArgumentNullException(nameof(diskEncryptionSet)); } - using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsOperations.StartUpdate"); scope.Start(); try { @@ -386,7 +386,7 @@ public virtual async Task StartDeleteAsync(st throw new ArgumentNullException(nameof(diskEncryptionSetName)); } - using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsOperations.StartDelete"); scope.Start(); try { @@ -415,7 +415,7 @@ public virtual DiskEncryptionSetsDeleteOperation StartDelete(string resourceGrou throw new ArgumentNullException(nameof(diskEncryptionSetName)); } - using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskEncryptionSetsRestClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskEncryptionSetsRestOperations.cs similarity index 99% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskEncryptionSetsRestClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskEncryptionSetsRestOperations.cs index 0223d2e5d6c43..b9c2b55ffae8b 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskEncryptionSetsRestClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskEncryptionSetsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Compute { - internal partial class DiskEncryptionSetsRestClient + internal partial class DiskEncryptionSetsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of DiskEncryptionSetsRestClient. + /// Initializes a new instance of DiskEncryptionSetsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public DiskEncryptionSetsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public DiskEncryptionSetsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DisksClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DisksOperations.cs similarity index 95% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/DisksClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/DisksOperations.cs index 3a92e10f1c692..21cc55c5be03f 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DisksClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DisksOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Compute { /// The Disks service client. - public partial class DisksClient + public partial class DisksOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal DisksRestClient RestClient { get; } - /// Initializes a new instance of DisksClient for mocking. - protected DisksClient() + internal DisksRestOperations RestClient { get; } + /// Initializes a new instance of DisksOperations for mocking. + protected DisksOperations() { } - /// Initializes a new instance of DisksClient. + /// Initializes a new instance of DisksOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal DisksClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal DisksOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new DisksRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new DisksRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal DisksClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string diskName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DisksClient.Get"); + using var scope = _clientDiagnostics.CreateScope("DisksOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string resourceGroupName, str /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string diskName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DisksClient.Get"); + using var scope = _clientDiagnostics.CreateScope("DisksOperations.Get"); scope.Start(); try { @@ -87,7 +87,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(string resourceGroup async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DisksClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("DisksOperations.ListByResourceGroup"); scope.Start(); try { @@ -102,7 +102,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DisksClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("DisksOperations.ListByResourceGroup"); scope.Start(); try { @@ -130,7 +130,7 @@ public virtual Pageable ListByResourceGroup(string resourceGroupName, Canc Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DisksClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("DisksOperations.ListByResourceGroup"); scope.Start(); try { @@ -145,7 +145,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DisksClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("DisksOperations.ListByResourceGroup"); scope.Start(); try { @@ -167,7 +167,7 @@ public virtual AsyncPageable ListAsync(CancellationToken cancellationToken { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DisksClient.List"); + using var scope = _clientDiagnostics.CreateScope("DisksOperations.List"); scope.Start(); try { @@ -182,7 +182,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DisksClient.List"); + using var scope = _clientDiagnostics.CreateScope("DisksOperations.List"); scope.Start(); try { @@ -204,7 +204,7 @@ public virtual Pageable List(CancellationToken cancellationToken = default { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DisksClient.List"); + using var scope = _clientDiagnostics.CreateScope("DisksOperations.List"); scope.Start(); try { @@ -219,7 +219,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DisksClient.List"); + using var scope = _clientDiagnostics.CreateScope("DisksOperations.List"); scope.Start(); try { @@ -255,7 +255,7 @@ public virtual async Task StartCreateOrUpdateAsync throw new ArgumentNullException(nameof(disk)); } - using var scope = _clientDiagnostics.CreateScope("DisksClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("DisksOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -289,7 +289,7 @@ public virtual DisksCreateOrUpdateOperation StartCreateOrUpdate(string resourceG throw new ArgumentNullException(nameof(disk)); } - using var scope = _clientDiagnostics.CreateScope("DisksClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("DisksOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -323,7 +323,7 @@ public virtual async Task StartUpdateAsync(string resource throw new ArgumentNullException(nameof(disk)); } - using var scope = _clientDiagnostics.CreateScope("DisksClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("DisksOperations.StartUpdate"); scope.Start(); try { @@ -357,7 +357,7 @@ public virtual DisksUpdateOperation StartUpdate(string resourceGroupName, string throw new ArgumentNullException(nameof(disk)); } - using var scope = _clientDiagnostics.CreateScope("DisksClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("DisksOperations.StartUpdate"); scope.Start(); try { @@ -386,7 +386,7 @@ public virtual async Task StartDeleteAsync(string resource throw new ArgumentNullException(nameof(diskName)); } - using var scope = _clientDiagnostics.CreateScope("DisksClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("DisksOperations.StartDelete"); scope.Start(); try { @@ -415,7 +415,7 @@ public virtual DisksDeleteOperation StartDelete(string resourceGroupName, string throw new ArgumentNullException(nameof(diskName)); } - using var scope = _clientDiagnostics.CreateScope("DisksClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("DisksOperations.StartDelete"); scope.Start(); try { @@ -449,7 +449,7 @@ public virtual async Task StartGrantAccessAsync(strin throw new ArgumentNullException(nameof(grantAccessData)); } - using var scope = _clientDiagnostics.CreateScope("DisksClient.StartGrantAccess"); + using var scope = _clientDiagnostics.CreateScope("DisksOperations.StartGrantAccess"); scope.Start(); try { @@ -483,7 +483,7 @@ public virtual DisksGrantAccessOperation StartGrantAccess(string resourceGroupNa throw new ArgumentNullException(nameof(grantAccessData)); } - using var scope = _clientDiagnostics.CreateScope("DisksClient.StartGrantAccess"); + using var scope = _clientDiagnostics.CreateScope("DisksOperations.StartGrantAccess"); scope.Start(); try { @@ -512,7 +512,7 @@ public virtual async Task StartRevokeAccessAsync(str throw new ArgumentNullException(nameof(diskName)); } - using var scope = _clientDiagnostics.CreateScope("DisksClient.StartRevokeAccess"); + using var scope = _clientDiagnostics.CreateScope("DisksOperations.StartRevokeAccess"); scope.Start(); try { @@ -541,7 +541,7 @@ public virtual DisksRevokeAccessOperation StartRevokeAccess(string resourceGroup throw new ArgumentNullException(nameof(diskName)); } - using var scope = _clientDiagnostics.CreateScope("DisksClient.StartRevokeAccess"); + using var scope = _clientDiagnostics.CreateScope("DisksOperations.StartRevokeAccess"); scope.Start(); try { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DisksRestClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DisksRestOperations.cs similarity index 99% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/DisksRestClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/DisksRestOperations.cs index d5b47df70c38b..12ca817f8cea3 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DisksRestClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DisksRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Compute { - internal partial class DisksRestClient + internal partial class DisksRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of DisksRestClient. + /// Initializes a new instance of DisksRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public DisksRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public DisksRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleriesClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleriesOperations.cs similarity index 94% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleriesClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleriesOperations.cs index 677e80e245638..ea7db6a6c2da0 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleriesClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleriesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Compute { /// The Galleries service client. - public partial class GalleriesClient + public partial class GalleriesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal GalleriesRestClient RestClient { get; } - /// Initializes a new instance of GalleriesClient for mocking. - protected GalleriesClient() + internal GalleriesRestOperations RestClient { get; } + /// Initializes a new instance of GalleriesOperations for mocking. + protected GalleriesOperations() { } - /// Initializes a new instance of GalleriesClient. + /// Initializes a new instance of GalleriesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal GalleriesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal GalleriesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new GalleriesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new GalleriesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal GalleriesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipel /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string galleryName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("GalleriesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("GalleriesOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string resourceGroupName, /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string galleryName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("GalleriesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("GalleriesOperations.Get"); scope.Start(); try { @@ -87,7 +87,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(string resourceGr async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GalleriesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("GalleriesOperations.ListByResourceGroup"); scope.Start(); try { @@ -102,7 +102,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GalleriesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("GalleriesOperations.ListByResourceGroup"); scope.Start(); try { @@ -130,7 +130,7 @@ public virtual Pageable ListByResourceGroup(string resourceGroupName, C Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GalleriesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("GalleriesOperations.ListByResourceGroup"); scope.Start(); try { @@ -145,7 +145,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GalleriesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("GalleriesOperations.ListByResourceGroup"); scope.Start(); try { @@ -167,7 +167,7 @@ public virtual AsyncPageable ListAsync(CancellationToken cancellationTo { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GalleriesClient.List"); + using var scope = _clientDiagnostics.CreateScope("GalleriesOperations.List"); scope.Start(); try { @@ -182,7 +182,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GalleriesClient.List"); + using var scope = _clientDiagnostics.CreateScope("GalleriesOperations.List"); scope.Start(); try { @@ -204,7 +204,7 @@ public virtual Pageable List(CancellationToken cancellationToken = defa { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GalleriesClient.List"); + using var scope = _clientDiagnostics.CreateScope("GalleriesOperations.List"); scope.Start(); try { @@ -219,7 +219,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GalleriesClient.List"); + using var scope = _clientDiagnostics.CreateScope("GalleriesOperations.List"); scope.Start(); try { @@ -255,7 +255,7 @@ public virtual async Task StartCreateOrUpdateA throw new ArgumentNullException(nameof(gallery)); } - using var scope = _clientDiagnostics.CreateScope("GalleriesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("GalleriesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -289,7 +289,7 @@ public virtual GalleriesCreateOrUpdateOperation StartCreateOrUpdate(string resou throw new ArgumentNullException(nameof(gallery)); } - using var scope = _clientDiagnostics.CreateScope("GalleriesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("GalleriesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -323,7 +323,7 @@ public virtual async Task StartUpdateAsync(string reso throw new ArgumentNullException(nameof(gallery)); } - using var scope = _clientDiagnostics.CreateScope("GalleriesClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("GalleriesOperations.StartUpdate"); scope.Start(); try { @@ -357,7 +357,7 @@ public virtual GalleriesUpdateOperation StartUpdate(string resourceGroupName, st throw new ArgumentNullException(nameof(gallery)); } - using var scope = _clientDiagnostics.CreateScope("GalleriesClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("GalleriesOperations.StartUpdate"); scope.Start(); try { @@ -386,7 +386,7 @@ public virtual async Task StartDeleteAsync(string reso throw new ArgumentNullException(nameof(galleryName)); } - using var scope = _clientDiagnostics.CreateScope("GalleriesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("GalleriesOperations.StartDelete"); scope.Start(); try { @@ -415,7 +415,7 @@ public virtual GalleriesDeleteOperation StartDelete(string resourceGroupName, st throw new ArgumentNullException(nameof(galleryName)); } - using var scope = _clientDiagnostics.CreateScope("GalleriesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("GalleriesOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleriesRestClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleriesRestOperations.cs similarity index 99% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleriesRestClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleriesRestOperations.cs index 684484431c839..fc644358b7f1f 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleriesRestClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleriesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Compute { - internal partial class GalleriesRestClient + internal partial class GalleriesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of GalleriesRestClient. + /// Initializes a new instance of GalleriesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public GalleriesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public GalleriesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryApplicationVersionsClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryApplicationVersionsOperations.cs similarity index 95% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryApplicationVersionsClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryApplicationVersionsOperations.cs index 8ed0092734443..ae119f3895656 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryApplicationVersionsClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryApplicationVersionsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Compute { /// The GalleryApplicationVersions service client. - public partial class GalleryApplicationVersionsClient + public partial class GalleryApplicationVersionsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal GalleryApplicationVersionsRestClient RestClient { get; } - /// Initializes a new instance of GalleryApplicationVersionsClient for mocking. - protected GalleryApplicationVersionsClient() + internal GalleryApplicationVersionsRestOperations RestClient { get; } + /// Initializes a new instance of GalleryApplicationVersionsOperations for mocking. + protected GalleryApplicationVersionsOperations() { } - /// Initializes a new instance of GalleryApplicationVersionsClient. + /// Initializes a new instance of GalleryApplicationVersionsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal GalleryApplicationVersionsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal GalleryApplicationVersionsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new GalleryApplicationVersionsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new GalleryApplicationVersionsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -45,7 +45,7 @@ internal GalleryApplicationVersionsClient(ClientDiagnostics clientDiagnostics, H /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string galleryName, string galleryApplicationName, string galleryApplicationVersionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("GalleryApplicationVersionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("GalleryApplicationVersionsOperations.Get"); scope.Start(); try { @@ -66,7 +66,7 @@ public virtual async Task> GetAsync(string r /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string galleryName, string galleryApplicationName, string galleryApplicationVersionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("GalleryApplicationVersionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("GalleryApplicationVersionsOperations.Get"); scope.Start(); try { @@ -101,7 +101,7 @@ public virtual AsyncPageable ListByGalleryApplication async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GalleryApplicationVersionsClient.ListByGalleryApplication"); + using var scope = _clientDiagnostics.CreateScope("GalleryApplicationVersionsOperations.ListByGalleryApplication"); scope.Start(); try { @@ -116,7 +116,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GalleryApplicationVersionsClient.ListByGalleryApplication"); + using var scope = _clientDiagnostics.CreateScope("GalleryApplicationVersionsOperations.ListByGalleryApplication"); scope.Start(); try { @@ -154,7 +154,7 @@ public virtual Pageable ListByGalleryApplication(stri Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GalleryApplicationVersionsClient.ListByGalleryApplication"); + using var scope = _clientDiagnostics.CreateScope("GalleryApplicationVersionsOperations.ListByGalleryApplication"); scope.Start(); try { @@ -169,7 +169,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GalleryApplicationVersionsClient.ListByGalleryApplication"); + using var scope = _clientDiagnostics.CreateScope("GalleryApplicationVersionsOperations.ListByGalleryApplication"); scope.Start(); try { @@ -215,7 +215,7 @@ public virtual async Task Sta throw new ArgumentNullException(nameof(galleryApplicationVersion)); } - using var scope = _clientDiagnostics.CreateScope("GalleryApplicationVersionsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("GalleryApplicationVersionsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -259,7 +259,7 @@ public virtual GalleryApplicationVersionsCreateOrUpdateOperation StartCreateOrUp throw new ArgumentNullException(nameof(galleryApplicationVersion)); } - using var scope = _clientDiagnostics.CreateScope("GalleryApplicationVersionsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("GalleryApplicationVersionsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -303,7 +303,7 @@ public virtual async Task StartUpdate throw new ArgumentNullException(nameof(galleryApplicationVersion)); } - using var scope = _clientDiagnostics.CreateScope("GalleryApplicationVersionsClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("GalleryApplicationVersionsOperations.StartUpdate"); scope.Start(); try { @@ -347,7 +347,7 @@ public virtual GalleryApplicationVersionsUpdateOperation StartUpdate(string reso throw new ArgumentNullException(nameof(galleryApplicationVersion)); } - using var scope = _clientDiagnostics.CreateScope("GalleryApplicationVersionsClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("GalleryApplicationVersionsOperations.StartUpdate"); scope.Start(); try { @@ -386,7 +386,7 @@ public virtual async Task StartDelete throw new ArgumentNullException(nameof(galleryApplicationVersionName)); } - using var scope = _clientDiagnostics.CreateScope("GalleryApplicationVersionsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("GalleryApplicationVersionsOperations.StartDelete"); scope.Start(); try { @@ -425,7 +425,7 @@ public virtual GalleryApplicationVersionsDeleteOperation StartDelete(string reso throw new ArgumentNullException(nameof(galleryApplicationVersionName)); } - using var scope = _clientDiagnostics.CreateScope("GalleryApplicationVersionsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("GalleryApplicationVersionsOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryApplicationVersionsRestClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryApplicationVersionsRestOperations.cs similarity index 99% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryApplicationVersionsRestClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryApplicationVersionsRestOperations.cs index 73ba675f33b16..e657232daa50b 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryApplicationVersionsRestClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryApplicationVersionsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Compute { - internal partial class GalleryApplicationVersionsRestClient + internal partial class GalleryApplicationVersionsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of GalleryApplicationVersionsRestClient. + /// Initializes a new instance of GalleryApplicationVersionsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public GalleryApplicationVersionsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public GalleryApplicationVersionsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryApplicationsClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryApplicationsOperations.cs similarity index 95% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryApplicationsClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryApplicationsOperations.cs index e12c7ebd0fc77..672214c776e50 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryApplicationsClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryApplicationsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Compute { /// The GalleryApplications service client. - public partial class GalleryApplicationsClient + public partial class GalleryApplicationsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal GalleryApplicationsRestClient RestClient { get; } - /// Initializes a new instance of GalleryApplicationsClient for mocking. - protected GalleryApplicationsClient() + internal GalleryApplicationsRestOperations RestClient { get; } + /// Initializes a new instance of GalleryApplicationsOperations for mocking. + protected GalleryApplicationsOperations() { } - /// Initializes a new instance of GalleryApplicationsClient. + /// Initializes a new instance of GalleryApplicationsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal GalleryApplicationsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal GalleryApplicationsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new GalleryApplicationsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new GalleryApplicationsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal GalleryApplicationsClient(ClientDiagnostics clientDiagnostics, HttpPipe /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string galleryName, string galleryApplicationName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("GalleryApplicationsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("GalleryApplicationsOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resource /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string galleryName, string galleryApplicationName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("GalleryApplicationsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("GalleryApplicationsOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListByGalleryAsync(string resou async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GalleryApplicationsClient.ListByGallery"); + using var scope = _clientDiagnostics.CreateScope("GalleryApplicationsOperations.ListByGallery"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GalleryApplicationsClient.ListByGallery"); + using var scope = _clientDiagnostics.CreateScope("GalleryApplicationsOperations.ListByGallery"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable ListByGallery(string resourceGroupNa Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GalleryApplicationsClient.ListByGallery"); + using var scope = _clientDiagnostics.CreateScope("GalleryApplicationsOperations.ListByGallery"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GalleryApplicationsClient.ListByGallery"); + using var scope = _clientDiagnostics.CreateScope("GalleryApplicationsOperations.ListByGallery"); scope.Start(); try { @@ -198,7 +198,7 @@ public virtual async Task StartCreat throw new ArgumentNullException(nameof(galleryApplication)); } - using var scope = _clientDiagnostics.CreateScope("GalleryApplicationsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("GalleryApplicationsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -237,7 +237,7 @@ public virtual GalleryApplicationsCreateOrUpdateOperation StartCreateOrUpdate(st throw new ArgumentNullException(nameof(galleryApplication)); } - using var scope = _clientDiagnostics.CreateScope("GalleryApplicationsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("GalleryApplicationsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -276,7 +276,7 @@ public virtual async Task StartUpdateAsync(s throw new ArgumentNullException(nameof(galleryApplication)); } - using var scope = _clientDiagnostics.CreateScope("GalleryApplicationsClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("GalleryApplicationsOperations.StartUpdate"); scope.Start(); try { @@ -315,7 +315,7 @@ public virtual GalleryApplicationsUpdateOperation StartUpdate(string resourceGro throw new ArgumentNullException(nameof(galleryApplication)); } - using var scope = _clientDiagnostics.CreateScope("GalleryApplicationsClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("GalleryApplicationsOperations.StartUpdate"); scope.Start(); try { @@ -349,7 +349,7 @@ public virtual async Task StartDeleteAsync(s throw new ArgumentNullException(nameof(galleryApplicationName)); } - using var scope = _clientDiagnostics.CreateScope("GalleryApplicationsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("GalleryApplicationsOperations.StartDelete"); scope.Start(); try { @@ -383,7 +383,7 @@ public virtual GalleryApplicationsDeleteOperation StartDelete(string resourceGro throw new ArgumentNullException(nameof(galleryApplicationName)); } - using var scope = _clientDiagnostics.CreateScope("GalleryApplicationsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("GalleryApplicationsOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryApplicationsRestClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryApplicationsRestOperations.cs similarity index 99% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryApplicationsRestClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryApplicationsRestOperations.cs index 75f643fa91dc5..eda87cb4a8cca 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryApplicationsRestClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryApplicationsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Compute { - internal partial class GalleryApplicationsRestClient + internal partial class GalleryApplicationsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of GalleryApplicationsRestClient. + /// Initializes a new instance of GalleryApplicationsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public GalleryApplicationsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public GalleryApplicationsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryImageVersionsClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryImageVersionsOperations.cs similarity index 95% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryImageVersionsClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryImageVersionsOperations.cs index bfaa51d44d540..6581ff7926b6e 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryImageVersionsClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryImageVersionsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Compute { /// The GalleryImageVersions service client. - public partial class GalleryImageVersionsClient + public partial class GalleryImageVersionsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal GalleryImageVersionsRestClient RestClient { get; } - /// Initializes a new instance of GalleryImageVersionsClient for mocking. - protected GalleryImageVersionsClient() + internal GalleryImageVersionsRestOperations RestClient { get; } + /// Initializes a new instance of GalleryImageVersionsOperations for mocking. + protected GalleryImageVersionsOperations() { } - /// Initializes a new instance of GalleryImageVersionsClient. + /// Initializes a new instance of GalleryImageVersionsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal GalleryImageVersionsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal GalleryImageVersionsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new GalleryImageVersionsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new GalleryImageVersionsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -45,7 +45,7 @@ internal GalleryImageVersionsClient(ClientDiagnostics clientDiagnostics, HttpPip /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string galleryName, string galleryImageName, string galleryImageVersionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("GalleryImageVersionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("GalleryImageVersionsOperations.Get"); scope.Start(); try { @@ -66,7 +66,7 @@ public virtual async Task> GetAsync(string resourc /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string galleryName, string galleryImageName, string galleryImageVersionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("GalleryImageVersionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("GalleryImageVersionsOperations.Get"); scope.Start(); try { @@ -101,7 +101,7 @@ public virtual AsyncPageable ListByGalleryImageAsync(string async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GalleryImageVersionsClient.ListByGalleryImage"); + using var scope = _clientDiagnostics.CreateScope("GalleryImageVersionsOperations.ListByGalleryImage"); scope.Start(); try { @@ -116,7 +116,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GalleryImageVersionsClient.ListByGalleryImage"); + using var scope = _clientDiagnostics.CreateScope("GalleryImageVersionsOperations.ListByGalleryImage"); scope.Start(); try { @@ -154,7 +154,7 @@ public virtual Pageable ListByGalleryImage(string resourceG Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GalleryImageVersionsClient.ListByGalleryImage"); + using var scope = _clientDiagnostics.CreateScope("GalleryImageVersionsOperations.ListByGalleryImage"); scope.Start(); try { @@ -169,7 +169,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GalleryImageVersionsClient.ListByGalleryImage"); + using var scope = _clientDiagnostics.CreateScope("GalleryImageVersionsOperations.ListByGalleryImage"); scope.Start(); try { @@ -215,7 +215,7 @@ public virtual async Task StartCrea throw new ArgumentNullException(nameof(galleryImageVersion)); } - using var scope = _clientDiagnostics.CreateScope("GalleryImageVersionsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("GalleryImageVersionsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -259,7 +259,7 @@ public virtual GalleryImageVersionsCreateOrUpdateOperation StartCreateOrUpdate(s throw new ArgumentNullException(nameof(galleryImageVersion)); } - using var scope = _clientDiagnostics.CreateScope("GalleryImageVersionsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("GalleryImageVersionsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -303,7 +303,7 @@ public virtual async Task StartUpdateAsync( throw new ArgumentNullException(nameof(galleryImageVersion)); } - using var scope = _clientDiagnostics.CreateScope("GalleryImageVersionsClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("GalleryImageVersionsOperations.StartUpdate"); scope.Start(); try { @@ -347,7 +347,7 @@ public virtual GalleryImageVersionsUpdateOperation StartUpdate(string resourceGr throw new ArgumentNullException(nameof(galleryImageVersion)); } - using var scope = _clientDiagnostics.CreateScope("GalleryImageVersionsClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("GalleryImageVersionsOperations.StartUpdate"); scope.Start(); try { @@ -386,7 +386,7 @@ public virtual async Task StartDeleteAsync( throw new ArgumentNullException(nameof(galleryImageVersionName)); } - using var scope = _clientDiagnostics.CreateScope("GalleryImageVersionsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("GalleryImageVersionsOperations.StartDelete"); scope.Start(); try { @@ -425,7 +425,7 @@ public virtual GalleryImageVersionsDeleteOperation StartDelete(string resourceGr throw new ArgumentNullException(nameof(galleryImageVersionName)); } - using var scope = _clientDiagnostics.CreateScope("GalleryImageVersionsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("GalleryImageVersionsOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryImageVersionsRestClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryImageVersionsRestOperations.cs similarity index 99% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryImageVersionsRestClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryImageVersionsRestOperations.cs index 60bb2de4fb258..aa5b71cd4b33f 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryImageVersionsRestClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryImageVersionsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Compute { - internal partial class GalleryImageVersionsRestClient + internal partial class GalleryImageVersionsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of GalleryImageVersionsRestClient. + /// Initializes a new instance of GalleryImageVersionsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public GalleryImageVersionsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public GalleryImageVersionsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryImagesClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryImagesOperations.cs similarity index 95% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryImagesClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryImagesOperations.cs index ff91f5666915f..ca201abc33f4f 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryImagesClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryImagesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Compute { /// The GalleryImages service client. - public partial class GalleryImagesClient + public partial class GalleryImagesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal GalleryImagesRestClient RestClient { get; } - /// Initializes a new instance of GalleryImagesClient for mocking. - protected GalleryImagesClient() + internal GalleryImagesRestOperations RestClient { get; } + /// Initializes a new instance of GalleryImagesOperations for mocking. + protected GalleryImagesOperations() { } - /// Initializes a new instance of GalleryImagesClient. + /// Initializes a new instance of GalleryImagesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal GalleryImagesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal GalleryImagesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new GalleryImagesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new GalleryImagesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal GalleryImagesClient(ClientDiagnostics clientDiagnostics, HttpPipeline p /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string galleryName, string galleryImageName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("GalleryImagesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("GalleryImagesOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGroupN /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string galleryName, string galleryImageName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("GalleryImagesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("GalleryImagesOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListByGalleryAsync(string resourceGro async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GalleryImagesClient.ListByGallery"); + using var scope = _clientDiagnostics.CreateScope("GalleryImagesOperations.ListByGallery"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GalleryImagesClient.ListByGallery"); + using var scope = _clientDiagnostics.CreateScope("GalleryImagesOperations.ListByGallery"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable ListByGallery(string resourceGroupName, st Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GalleryImagesClient.ListByGallery"); + using var scope = _clientDiagnostics.CreateScope("GalleryImagesOperations.ListByGallery"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GalleryImagesClient.ListByGallery"); + using var scope = _clientDiagnostics.CreateScope("GalleryImagesOperations.ListByGallery"); scope.Start(); try { @@ -198,7 +198,7 @@ public virtual async Task StartCreateOrUpd throw new ArgumentNullException(nameof(galleryImage)); } - using var scope = _clientDiagnostics.CreateScope("GalleryImagesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("GalleryImagesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -237,7 +237,7 @@ public virtual GalleryImagesCreateOrUpdateOperation StartCreateOrUpdate(string r throw new ArgumentNullException(nameof(galleryImage)); } - using var scope = _clientDiagnostics.CreateScope("GalleryImagesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("GalleryImagesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -276,7 +276,7 @@ public virtual async Task StartUpdateAsync(string throw new ArgumentNullException(nameof(galleryImage)); } - using var scope = _clientDiagnostics.CreateScope("GalleryImagesClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("GalleryImagesOperations.StartUpdate"); scope.Start(); try { @@ -315,7 +315,7 @@ public virtual GalleryImagesUpdateOperation StartUpdate(string resourceGroupName throw new ArgumentNullException(nameof(galleryImage)); } - using var scope = _clientDiagnostics.CreateScope("GalleryImagesClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("GalleryImagesOperations.StartUpdate"); scope.Start(); try { @@ -349,7 +349,7 @@ public virtual async Task StartDeleteAsync(string throw new ArgumentNullException(nameof(galleryImageName)); } - using var scope = _clientDiagnostics.CreateScope("GalleryImagesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("GalleryImagesOperations.StartDelete"); scope.Start(); try { @@ -383,7 +383,7 @@ public virtual GalleryImagesDeleteOperation StartDelete(string resourceGroupName throw new ArgumentNullException(nameof(galleryImageName)); } - using var scope = _clientDiagnostics.CreateScope("GalleryImagesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("GalleryImagesOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryImagesRestClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryImagesRestOperations.cs similarity index 99% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryImagesRestClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryImagesRestOperations.cs index 5cba5e8932afa..1d4ad2ec82551 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryImagesRestClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryImagesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Compute { - internal partial class GalleryImagesRestClient + internal partial class GalleryImagesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of GalleryImagesRestClient. + /// Initializes a new instance of GalleryImagesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public GalleryImagesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public GalleryImagesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ImagesClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ImagesOperations.cs similarity index 94% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/ImagesClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/ImagesOperations.cs index 795e118a31bbc..ad75967f1156d 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ImagesClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ImagesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Compute { /// The Images service client. - public partial class ImagesClient + public partial class ImagesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ImagesRestClient RestClient { get; } - /// Initializes a new instance of ImagesClient for mocking. - protected ImagesClient() + internal ImagesRestOperations RestClient { get; } + /// Initializes a new instance of ImagesOperations for mocking. + protected ImagesOperations() { } - /// Initializes a new instance of ImagesClient. + /// Initializes a new instance of ImagesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ImagesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ImagesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ImagesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ImagesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal ImagesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string imageName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ImagesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ImagesOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGroupName, st /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string imageName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ImagesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ImagesOperations.Get"); scope.Start(); try { @@ -89,7 +89,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(string resourceGrou async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ImagesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ImagesOperations.ListByResourceGroup"); scope.Start(); try { @@ -104,7 +104,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ImagesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ImagesOperations.ListByResourceGroup"); scope.Start(); try { @@ -132,7 +132,7 @@ public virtual Pageable ListByResourceGroup(string resourceGroupName, Can Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ImagesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ImagesOperations.ListByResourceGroup"); scope.Start(); try { @@ -147,7 +147,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ImagesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ImagesOperations.ListByResourceGroup"); scope.Start(); try { @@ -169,7 +169,7 @@ public virtual AsyncPageable ListAsync(CancellationToken cancellationToke { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ImagesClient.List"); + using var scope = _clientDiagnostics.CreateScope("ImagesOperations.List"); scope.Start(); try { @@ -184,7 +184,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ImagesClient.List"); + using var scope = _clientDiagnostics.CreateScope("ImagesOperations.List"); scope.Start(); try { @@ -206,7 +206,7 @@ public virtual Pageable List(CancellationToken cancellationToken = defaul { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ImagesClient.List"); + using var scope = _clientDiagnostics.CreateScope("ImagesOperations.List"); scope.Start(); try { @@ -221,7 +221,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ImagesClient.List"); + using var scope = _clientDiagnostics.CreateScope("ImagesOperations.List"); scope.Start(); try { @@ -257,7 +257,7 @@ public virtual async Task StartCreateOrUpdateAsyn throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ImagesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ImagesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -291,7 +291,7 @@ public virtual ImagesCreateOrUpdateOperation StartCreateOrUpdate(string resource throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ImagesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ImagesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -325,7 +325,7 @@ public virtual async Task StartUpdateAsync(string resourc throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ImagesClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("ImagesOperations.StartUpdate"); scope.Start(); try { @@ -359,7 +359,7 @@ public virtual ImagesUpdateOperation StartUpdate(string resourceGroupName, strin throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ImagesClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("ImagesOperations.StartUpdate"); scope.Start(); try { @@ -388,7 +388,7 @@ public virtual async Task StartDeleteAsync(string resourc throw new ArgumentNullException(nameof(imageName)); } - using var scope = _clientDiagnostics.CreateScope("ImagesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ImagesOperations.StartDelete"); scope.Start(); try { @@ -417,7 +417,7 @@ public virtual ImagesDeleteOperation StartDelete(string resourceGroupName, strin throw new ArgumentNullException(nameof(imageName)); } - using var scope = _clientDiagnostics.CreateScope("ImagesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ImagesOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ImagesRestClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ImagesRestOperations.cs similarity index 99% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/ImagesRestClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/ImagesRestOperations.cs index 1f3fafd986e82..bca0cb57dfd36 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ImagesRestClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ImagesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Compute { - internal partial class ImagesRestClient + internal partial class ImagesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ImagesRestClient. + /// Initializes a new instance of ImagesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ImagesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ImagesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/LogAnalyticsClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/LogAnalyticsOperations.cs similarity index 91% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/LogAnalyticsClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/LogAnalyticsOperations.cs index 909dbfc3987d5..6be840939a289 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/LogAnalyticsClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/LogAnalyticsOperations.cs @@ -14,23 +14,23 @@ namespace Azure.ResourceManager.Compute { /// The LogAnalytics service client. - public partial class LogAnalyticsClient + public partial class LogAnalyticsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal LogAnalyticsRestClient RestClient { get; } - /// Initializes a new instance of LogAnalyticsClient for mocking. - protected LogAnalyticsClient() + internal LogAnalyticsRestOperations RestClient { get; } + /// Initializes a new instance of LogAnalyticsOperations for mocking. + protected LogAnalyticsOperations() { } - /// Initializes a new instance of LogAnalyticsClient. + /// Initializes a new instance of LogAnalyticsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal LogAnalyticsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal LogAnalyticsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new LogAnalyticsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new LogAnalyticsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -50,7 +50,7 @@ public virtual async Task Star throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("LogAnalyticsClient.StartExportRequestRateByInterval"); + using var scope = _clientDiagnostics.CreateScope("LogAnalyticsOperations.StartExportRequestRateByInterval"); scope.Start(); try { @@ -79,7 +79,7 @@ public virtual LogAnalyticsExportRequestRateByIntervalOperation StartExportReque throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("LogAnalyticsClient.StartExportRequestRateByInterval"); + using var scope = _clientDiagnostics.CreateScope("LogAnalyticsOperations.StartExportRequestRateByInterval"); scope.Start(); try { @@ -108,7 +108,7 @@ public virtual async Task StartExp throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("LogAnalyticsClient.StartExportThrottledRequests"); + using var scope = _clientDiagnostics.CreateScope("LogAnalyticsOperations.StartExportThrottledRequests"); scope.Start(); try { @@ -137,7 +137,7 @@ public virtual LogAnalyticsExportThrottledRequestsOperation StartExportThrottled throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("LogAnalyticsClient.StartExportThrottledRequests"); + using var scope = _clientDiagnostics.CreateScope("LogAnalyticsOperations.StartExportThrottledRequests"); scope.Start(); try { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/LogAnalyticsRestClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/LogAnalyticsRestOperations.cs similarity index 97% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/LogAnalyticsRestClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/LogAnalyticsRestOperations.cs index 9c7ed02d34146..3d34283a16640 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/LogAnalyticsRestClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/LogAnalyticsRestOperations.cs @@ -15,20 +15,20 @@ namespace Azure.ResourceManager.Compute { - internal partial class LogAnalyticsRestClient + internal partial class LogAnalyticsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of LogAnalyticsRestClient. + /// Initializes a new instance of LogAnalyticsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public LogAnalyticsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public LogAnalyticsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/OperationsClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Operations.cs similarity index 81% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/OperationsClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/Operations.cs index a667ebae71b68..ed3f859bf0559 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/OperationsClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Operations.cs @@ -15,23 +15,23 @@ namespace Azure.ResourceManager.Compute { - /// The Operations service client. - public partial class OperationsClient + /// The service client. + public partial class Operations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal OperationsRestClient RestClient { get; } - /// Initializes a new instance of OperationsClient for mocking. - protected OperationsClient() + internal RestOperations RestClient { get; } + /// Initializes a new instance of Operations for mocking. + protected Operations() { } - /// Initializes a new instance of OperationsClient. + /// Initializes a new instance of Operations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// server parameter. - internal OperationsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null) + internal Operations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null) { - RestClient = new OperationsRestClient(clientDiagnostics, pipeline, endpoint); + RestClient = new RestOperations(clientDiagnostics, pipeline, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -42,7 +42,7 @@ public virtual AsyncPageable ListAsync(CancellationToken { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("OperationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("Operations.List"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual Pageable List(CancellationToken cancellati { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("OperationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("Operations.List"); scope.Start(); try { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ProximityPlacementGroupsClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ProximityPlacementGroupsOperations.cs similarity index 92% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/ProximityPlacementGroupsClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/ProximityPlacementGroupsOperations.cs index b0baeac5a3cb7..190b3832ad15b 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ProximityPlacementGroupsClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ProximityPlacementGroupsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Compute { /// The ProximityPlacementGroups service client. - public partial class ProximityPlacementGroupsClient + public partial class ProximityPlacementGroupsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ProximityPlacementGroupsRestClient RestClient { get; } - /// Initializes a new instance of ProximityPlacementGroupsClient for mocking. - protected ProximityPlacementGroupsClient() + internal ProximityPlacementGroupsRestOperations RestClient { get; } + /// Initializes a new instance of ProximityPlacementGroupsOperations for mocking. + protected ProximityPlacementGroupsOperations() { } - /// Initializes a new instance of ProximityPlacementGroupsClient. + /// Initializes a new instance of ProximityPlacementGroupsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ProximityPlacementGroupsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ProximityPlacementGroupsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ProximityPlacementGroupsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ProximityPlacementGroupsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal ProximityPlacementGroupsClient(ClientDiagnostics clientDiagnostics, Htt /// The cancellation token to use. public virtual async Task> CreateOrUpdateAsync(string resourceGroupName, string proximityPlacementGroupName, ProximityPlacementGroup parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsOperations.CreateOrUpdate"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> CreateOrUpdateAsync /// The cancellation token to use. public virtual Response CreateOrUpdate(string resourceGroupName, string proximityPlacementGroupName, ProximityPlacementGroup parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsOperations.CreateOrUpdate"); scope.Start(); try { @@ -84,7 +84,7 @@ public virtual Response CreateOrUpdate(string resourceG /// The cancellation token to use. public virtual async Task> UpdateAsync(string resourceGroupName, string proximityPlacementGroupName, UpdateResource parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsClient.Update"); + using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsOperations.Update"); scope.Start(); try { @@ -104,7 +104,7 @@ public virtual async Task> UpdateAsync(string /// The cancellation token to use. public virtual Response Update(string resourceGroupName, string proximityPlacementGroupName, UpdateResource parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsClient.Update"); + using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsOperations.Update"); scope.Start(); try { @@ -123,7 +123,7 @@ public virtual Response Update(string resourceGroupName /// The cancellation token to use. public virtual async Task DeleteAsync(string resourceGroupName, string proximityPlacementGroupName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsOperations.Delete"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual async Task DeleteAsync(string resourceGroupName, string /// The cancellation token to use. public virtual Response Delete(string resourceGroupName, string proximityPlacementGroupName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsOperations.Delete"); scope.Start(); try { @@ -162,7 +162,7 @@ public virtual Response Delete(string resourceGroupName, string proximityPlaceme /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string proximityPlacementGroupName, string includeColocationStatus = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsOperations.Get"); scope.Start(); try { @@ -182,7 +182,7 @@ public virtual async Task> GetAsync(string res /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string proximityPlacementGroupName, string includeColocationStatus = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsOperations.Get"); scope.Start(); try { @@ -201,7 +201,7 @@ public virtual AsyncPageable ListBySubscriptionAsync(Ca { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsOperations.ListBySubscription"); scope.Start(); try { @@ -216,7 +216,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsOperations.ListBySubscription"); scope.Start(); try { @@ -238,7 +238,7 @@ public virtual Pageable ListBySubscription(Cancellation { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsOperations.ListBySubscription"); scope.Start(); try { @@ -253,7 +253,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsOperations.ListBySubscription"); scope.Start(); try { @@ -281,7 +281,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(s async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsOperations.ListByResourceGroup"); scope.Start(); try { @@ -296,7 +296,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsOperations.ListByResourceGroup"); scope.Start(); try { @@ -324,7 +324,7 @@ public virtual Pageable ListByResourceGroup(string reso Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsOperations.ListByResourceGroup"); scope.Start(); try { @@ -339,7 +339,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsOperations.ListByResourceGroup"); scope.Start(); try { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ProximityPlacementGroupsRestClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ProximityPlacementGroupsRestOperations.cs similarity index 99% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/ProximityPlacementGroupsRestClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/ProximityPlacementGroupsRestOperations.cs index e93841b171dd8..7fc3016f2abaf 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ProximityPlacementGroupsRestClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ProximityPlacementGroupsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Compute { - internal partial class ProximityPlacementGroupsRestClient + internal partial class ProximityPlacementGroupsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ProximityPlacementGroupsRestClient. + /// Initializes a new instance of ProximityPlacementGroupsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ProximityPlacementGroupsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ProximityPlacementGroupsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ResourceSkusClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ResourceSkusOperations.cs similarity index 88% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/ResourceSkusClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/ResourceSkusOperations.cs index 22c96a71f2fbd..4c7c9e0ae10ed 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ResourceSkusClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ResourceSkusOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Compute { /// The ResourceSkus service client. - public partial class ResourceSkusClient + public partial class ResourceSkusOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ResourceSkusRestClient RestClient { get; } - /// Initializes a new instance of ResourceSkusClient for mocking. - protected ResourceSkusClient() + internal ResourceSkusRestOperations RestClient { get; } + /// Initializes a new instance of ResourceSkusOperations for mocking. + protected ResourceSkusOperations() { } - /// Initializes a new instance of ResourceSkusClient. + /// Initializes a new instance of ResourceSkusOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ResourceSkusClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ResourceSkusOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ResourceSkusRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ResourceSkusRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ public virtual AsyncPageable ListAsync(string filter = null, Cancel { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ResourceSkusClient.List"); + using var scope = _clientDiagnostics.CreateScope("ResourceSkusOperations.List"); scope.Start(); try { @@ -59,7 +59,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ResourceSkusClient.List"); + using var scope = _clientDiagnostics.CreateScope("ResourceSkusOperations.List"); scope.Start(); try { @@ -82,7 +82,7 @@ public virtual Pageable List(string filter = null, CancellationToke { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ResourceSkusClient.List"); + using var scope = _clientDiagnostics.CreateScope("ResourceSkusOperations.List"); scope.Start(); try { @@ -97,7 +97,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ResourceSkusClient.List"); + using var scope = _clientDiagnostics.CreateScope("ResourceSkusOperations.List"); scope.Start(); try { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ResourceSkusRestClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ResourceSkusRestOperations.cs similarity index 97% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/ResourceSkusRestClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/ResourceSkusRestOperations.cs index c2c933ea4816b..d20bd6aa0e03e 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ResourceSkusRestClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ResourceSkusRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Compute { - internal partial class ResourceSkusRestClient + internal partial class ResourceSkusRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ResourceSkusRestClient. + /// Initializes a new instance of ResourceSkusRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ResourceSkusRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ResourceSkusRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/OperationsRestClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations.cs similarity index 94% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/OperationsRestClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations.cs index b13b7736baa4f..6555e9a4b5a46 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/OperationsRestClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations.cs @@ -16,17 +16,17 @@ namespace Azure.ResourceManager.Compute { - internal partial class OperationsRestClient + internal partial class RestOperations { private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of OperationsRestClient. + /// Initializes a new instance of RestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// server parameter. - public OperationsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null) + public RestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null) { endpoint ??= new Uri("https://management.azure.com"); diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/SnapshotsClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/SnapshotsOperations.cs similarity index 95% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/SnapshotsClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/SnapshotsOperations.cs index 7a2007528a19f..b0215290a46b8 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/SnapshotsClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/SnapshotsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Compute { /// The Snapshots service client. - public partial class SnapshotsClient + public partial class SnapshotsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal SnapshotsRestClient RestClient { get; } - /// Initializes a new instance of SnapshotsClient for mocking. - protected SnapshotsClient() + internal SnapshotsRestOperations RestClient { get; } + /// Initializes a new instance of SnapshotsOperations for mocking. + protected SnapshotsOperations() { } - /// Initializes a new instance of SnapshotsClient. + /// Initializes a new instance of SnapshotsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal SnapshotsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal SnapshotsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new SnapshotsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new SnapshotsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal SnapshotsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipel /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string snapshotName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("SnapshotsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("SnapshotsOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string resourceGroupName, /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string snapshotName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("SnapshotsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("SnapshotsOperations.Get"); scope.Start(); try { @@ -87,7 +87,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(string resourceG async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SnapshotsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("SnapshotsOperations.ListByResourceGroup"); scope.Start(); try { @@ -102,7 +102,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SnapshotsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("SnapshotsOperations.ListByResourceGroup"); scope.Start(); try { @@ -130,7 +130,7 @@ public virtual Pageable ListByResourceGroup(string resourceGroupName, Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SnapshotsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("SnapshotsOperations.ListByResourceGroup"); scope.Start(); try { @@ -145,7 +145,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SnapshotsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("SnapshotsOperations.ListByResourceGroup"); scope.Start(); try { @@ -167,7 +167,7 @@ public virtual AsyncPageable ListAsync(CancellationToken cancellationT { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SnapshotsClient.List"); + using var scope = _clientDiagnostics.CreateScope("SnapshotsOperations.List"); scope.Start(); try { @@ -182,7 +182,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SnapshotsClient.List"); + using var scope = _clientDiagnostics.CreateScope("SnapshotsOperations.List"); scope.Start(); try { @@ -204,7 +204,7 @@ public virtual Pageable List(CancellationToken cancellationToken = def { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SnapshotsClient.List"); + using var scope = _clientDiagnostics.CreateScope("SnapshotsOperations.List"); scope.Start(); try { @@ -219,7 +219,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SnapshotsClient.List"); + using var scope = _clientDiagnostics.CreateScope("SnapshotsOperations.List"); scope.Start(); try { @@ -255,7 +255,7 @@ public virtual async Task StartCreateOrUpdateA throw new ArgumentNullException(nameof(snapshot)); } - using var scope = _clientDiagnostics.CreateScope("SnapshotsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("SnapshotsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -289,7 +289,7 @@ public virtual SnapshotsCreateOrUpdateOperation StartCreateOrUpdate(string resou throw new ArgumentNullException(nameof(snapshot)); } - using var scope = _clientDiagnostics.CreateScope("SnapshotsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("SnapshotsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -323,7 +323,7 @@ public virtual async Task StartUpdateAsync(string reso throw new ArgumentNullException(nameof(snapshot)); } - using var scope = _clientDiagnostics.CreateScope("SnapshotsClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("SnapshotsOperations.StartUpdate"); scope.Start(); try { @@ -357,7 +357,7 @@ public virtual SnapshotsUpdateOperation StartUpdate(string resourceGroupName, st throw new ArgumentNullException(nameof(snapshot)); } - using var scope = _clientDiagnostics.CreateScope("SnapshotsClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("SnapshotsOperations.StartUpdate"); scope.Start(); try { @@ -386,7 +386,7 @@ public virtual async Task StartDeleteAsync(string reso throw new ArgumentNullException(nameof(snapshotName)); } - using var scope = _clientDiagnostics.CreateScope("SnapshotsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("SnapshotsOperations.StartDelete"); scope.Start(); try { @@ -415,7 +415,7 @@ public virtual SnapshotsDeleteOperation StartDelete(string resourceGroupName, st throw new ArgumentNullException(nameof(snapshotName)); } - using var scope = _clientDiagnostics.CreateScope("SnapshotsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("SnapshotsOperations.StartDelete"); scope.Start(); try { @@ -449,7 +449,7 @@ public virtual async Task StartGrantAccessAsync(s throw new ArgumentNullException(nameof(grantAccessData)); } - using var scope = _clientDiagnostics.CreateScope("SnapshotsClient.StartGrantAccess"); + using var scope = _clientDiagnostics.CreateScope("SnapshotsOperations.StartGrantAccess"); scope.Start(); try { @@ -483,7 +483,7 @@ public virtual SnapshotsGrantAccessOperation StartGrantAccess(string resourceGro throw new ArgumentNullException(nameof(grantAccessData)); } - using var scope = _clientDiagnostics.CreateScope("SnapshotsClient.StartGrantAccess"); + using var scope = _clientDiagnostics.CreateScope("SnapshotsOperations.StartGrantAccess"); scope.Start(); try { @@ -512,7 +512,7 @@ public virtual async Task StartRevokeAccessAsync throw new ArgumentNullException(nameof(snapshotName)); } - using var scope = _clientDiagnostics.CreateScope("SnapshotsClient.StartRevokeAccess"); + using var scope = _clientDiagnostics.CreateScope("SnapshotsOperations.StartRevokeAccess"); scope.Start(); try { @@ -541,7 +541,7 @@ public virtual SnapshotsRevokeAccessOperation StartRevokeAccess(string resourceG throw new ArgumentNullException(nameof(snapshotName)); } - using var scope = _clientDiagnostics.CreateScope("SnapshotsClient.StartRevokeAccess"); + using var scope = _clientDiagnostics.CreateScope("SnapshotsOperations.StartRevokeAccess"); scope.Start(); try { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/SnapshotsRestClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/SnapshotsRestOperations.cs similarity index 99% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/SnapshotsRestClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/SnapshotsRestOperations.cs index af2d9babc2760..1b065f5b2fb24 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/SnapshotsRestClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/SnapshotsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Compute { - internal partial class SnapshotsRestClient + internal partial class SnapshotsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of SnapshotsRestClient. + /// Initializes a new instance of SnapshotsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public SnapshotsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public SnapshotsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/SshPublicKeysClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/SshPublicKeysOperations.cs similarity index 93% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/SshPublicKeysClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/SshPublicKeysOperations.cs index ca27d2adf2822..153688b642681 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/SshPublicKeysClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/SshPublicKeysOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Compute { /// The SshPublicKeys service client. - public partial class SshPublicKeysClient + public partial class SshPublicKeysOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal SshPublicKeysRestClient RestClient { get; } - /// Initializes a new instance of SshPublicKeysClient for mocking. - protected SshPublicKeysClient() + internal SshPublicKeysRestOperations RestClient { get; } + /// Initializes a new instance of SshPublicKeysOperations for mocking. + protected SshPublicKeysOperations() { } - /// Initializes a new instance of SshPublicKeysClient. + /// Initializes a new instance of SshPublicKeysOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal SshPublicKeysClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal SshPublicKeysOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new SshPublicKeysRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new SshPublicKeysRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal SshPublicKeysClient(ClientDiagnostics clientDiagnostics, HttpPipeline p /// The cancellation token to use. public virtual async Task> CreateAsync(string resourceGroupName, string sshPublicKeyName, SshPublicKeyResource parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("SshPublicKeysClient.Create"); + using var scope = _clientDiagnostics.CreateScope("SshPublicKeysOperations.Create"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> CreateAsync(string res /// The cancellation token to use. public virtual Response Create(string resourceGroupName, string sshPublicKeyName, SshPublicKeyResource parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("SshPublicKeysClient.Create"); + using var scope = _clientDiagnostics.CreateScope("SshPublicKeysOperations.Create"); scope.Start(); try { @@ -84,7 +84,7 @@ public virtual Response Create(string resourceGroupName, s /// The cancellation token to use. public virtual async Task> UpdateAsync(string resourceGroupName, string sshPublicKeyName, SshPublicKeyUpdateResource parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("SshPublicKeysClient.Update"); + using var scope = _clientDiagnostics.CreateScope("SshPublicKeysOperations.Update"); scope.Start(); try { @@ -104,7 +104,7 @@ public virtual async Task> UpdateAsync(string res /// The cancellation token to use. public virtual Response Update(string resourceGroupName, string sshPublicKeyName, SshPublicKeyUpdateResource parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("SshPublicKeysClient.Update"); + using var scope = _clientDiagnostics.CreateScope("SshPublicKeysOperations.Update"); scope.Start(); try { @@ -123,7 +123,7 @@ public virtual Response Update(string resourceGroupName, s /// The cancellation token to use. public virtual async Task DeleteAsync(string resourceGroupName, string sshPublicKeyName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("SshPublicKeysClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("SshPublicKeysOperations.Delete"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual async Task DeleteAsync(string resourceGroupName, string /// The cancellation token to use. public virtual Response Delete(string resourceGroupName, string sshPublicKeyName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("SshPublicKeysClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("SshPublicKeysOperations.Delete"); scope.Start(); try { @@ -161,7 +161,7 @@ public virtual Response Delete(string resourceGroupName, string sshPublicKeyName /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string sshPublicKeyName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("SshPublicKeysClient.Get"); + using var scope = _clientDiagnostics.CreateScope("SshPublicKeysOperations.Get"); scope.Start(); try { @@ -180,7 +180,7 @@ public virtual async Task> GetAsync(string resour /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string sshPublicKeyName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("SshPublicKeysClient.Get"); + using var scope = _clientDiagnostics.CreateScope("SshPublicKeysOperations.Get"); scope.Start(); try { @@ -199,7 +199,7 @@ public virtual Response Get(string resourceGroupName, stri /// The cancellation token to use. public virtual async Task> GenerateKeyPairAsync(string resourceGroupName, string sshPublicKeyName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("SshPublicKeysClient.GenerateKeyPair"); + using var scope = _clientDiagnostics.CreateScope("SshPublicKeysOperations.GenerateKeyPair"); scope.Start(); try { @@ -218,7 +218,7 @@ public virtual async Task> GenerateK /// The cancellation token to use. public virtual Response GenerateKeyPair(string resourceGroupName, string sshPublicKeyName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("SshPublicKeysClient.GenerateKeyPair"); + using var scope = _clientDiagnostics.CreateScope("SshPublicKeysOperations.GenerateKeyPair"); scope.Start(); try { @@ -237,7 +237,7 @@ public virtual AsyncPageable ListBySubscriptionAsync(Cance { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SshPublicKeysClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("SshPublicKeysOperations.ListBySubscription"); scope.Start(); try { @@ -252,7 +252,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SshPublicKeysClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("SshPublicKeysOperations.ListBySubscription"); scope.Start(); try { @@ -274,7 +274,7 @@ public virtual Pageable ListBySubscription(CancellationTok { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SshPublicKeysClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("SshPublicKeysOperations.ListBySubscription"); scope.Start(); try { @@ -289,7 +289,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SshPublicKeysClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("SshPublicKeysOperations.ListBySubscription"); scope.Start(); try { @@ -317,7 +317,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(stri async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SshPublicKeysClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("SshPublicKeysOperations.ListByResourceGroup"); scope.Start(); try { @@ -332,7 +332,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SshPublicKeysClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("SshPublicKeysOperations.ListByResourceGroup"); scope.Start(); try { @@ -360,7 +360,7 @@ public virtual Pageable ListByResourceGroup(string resourc Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SshPublicKeysClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("SshPublicKeysOperations.ListByResourceGroup"); scope.Start(); try { @@ -375,7 +375,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SshPublicKeysClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("SshPublicKeysOperations.ListByResourceGroup"); scope.Start(); try { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/SshPublicKeysRestClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/SshPublicKeysRestOperations.cs similarity index 99% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/SshPublicKeysRestClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/SshPublicKeysRestOperations.cs index eceb1d7bf3a59..d0a203fbb5bf7 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/SshPublicKeysRestClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/SshPublicKeysRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Compute { - internal partial class SshPublicKeysRestClient + internal partial class SshPublicKeysRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of SshPublicKeysRestClient. + /// Initializes a new instance of SshPublicKeysRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public SshPublicKeysRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public SshPublicKeysRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/UsageClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/UsageOperations.cs similarity index 88% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/UsageClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/UsageOperations.cs index 28320edf0ea82..7ad25ec8ad00f 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/UsageClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/UsageOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Compute { /// The Usage service client. - public partial class UsageClient + public partial class UsageOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal UsageRestClient RestClient { get; } - /// Initializes a new instance of UsageClient for mocking. - protected UsageClient() + internal UsageRestOperations RestClient { get; } + /// Initializes a new instance of UsageOperations for mocking. + protected UsageOperations() { } - /// Initializes a new instance of UsageClient. + /// Initializes a new instance of UsageOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal UsageClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal UsageOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new UsageRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new UsageRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -49,7 +49,7 @@ public virtual AsyncPageable ListAsync(string location, CancellationToken async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("UsageClient.List"); + using var scope = _clientDiagnostics.CreateScope("UsageOperations.List"); scope.Start(); try { @@ -64,7 +64,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("UsageClient.List"); + using var scope = _clientDiagnostics.CreateScope("UsageOperations.List"); scope.Start(); try { @@ -92,7 +92,7 @@ public virtual Pageable List(string location, CancellationToken cancellat Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("UsageClient.List"); + using var scope = _clientDiagnostics.CreateScope("UsageOperations.List"); scope.Start(); try { @@ -107,7 +107,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("UsageClient.List"); + using var scope = _clientDiagnostics.CreateScope("UsageOperations.List"); scope.Start(); try { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/UsageRestClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/UsageRestOperations.cs similarity index 97% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/UsageRestClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/UsageRestOperations.cs index fa02cad556eaf..6b298c9188637 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/UsageRestClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/UsageRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Compute { - internal partial class UsageRestClient + internal partial class UsageRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of UsageRestClient. + /// Initializes a new instance of UsageRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public UsageRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public UsageRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineExtensionImagesClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineExtensionImagesOperations.cs similarity index 89% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineExtensionImagesClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineExtensionImagesOperations.cs index 69835af321f98..22533841e7f92 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineExtensionImagesClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineExtensionImagesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Compute { /// The VirtualMachineExtensionImages service client. - public partial class VirtualMachineExtensionImagesClient + public partial class VirtualMachineExtensionImagesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VirtualMachineExtensionImagesRestClient RestClient { get; } - /// Initializes a new instance of VirtualMachineExtensionImagesClient for mocking. - protected VirtualMachineExtensionImagesClient() + internal VirtualMachineExtensionImagesRestOperations RestClient { get; } + /// Initializes a new instance of VirtualMachineExtensionImagesOperations for mocking. + protected VirtualMachineExtensionImagesOperations() { } - /// Initializes a new instance of VirtualMachineExtensionImagesClient. + /// Initializes a new instance of VirtualMachineExtensionImagesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VirtualMachineExtensionImagesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VirtualMachineExtensionImagesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VirtualMachineExtensionImagesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VirtualMachineExtensionImagesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -45,7 +45,7 @@ internal VirtualMachineExtensionImagesClient(ClientDiagnostics clientDiagnostics /// The cancellation token to use. public virtual async Task> GetAsync(string location, string publisherName, string type, string version, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionImagesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionImagesOperations.Get"); scope.Start(); try { @@ -66,7 +66,7 @@ public virtual async Task> GetAsync(strin /// The cancellation token to use. public virtual Response Get(string location, string publisherName, string type, string version, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionImagesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionImagesOperations.Get"); scope.Start(); try { @@ -85,7 +85,7 @@ public virtual Response Get(string location, strin /// The cancellation token to use. public virtual async Task>> ListTypesAsync(string location, string publisherName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionImagesClient.ListTypes"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionImagesOperations.ListTypes"); scope.Start(); try { @@ -104,7 +104,7 @@ public virtual async Task>> /// The cancellation token to use. public virtual Response> ListTypes(string location, string publisherName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionImagesClient.ListTypes"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionImagesOperations.ListTypes"); scope.Start(); try { @@ -127,7 +127,7 @@ public virtual Response> ListTypes(s /// The cancellation token to use. public virtual async Task>> ListVersionsAsync(string location, string publisherName, string type, string filter = null, int? top = null, string orderby = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionImagesClient.ListVersions"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionImagesOperations.ListVersions"); scope.Start(); try { @@ -150,7 +150,7 @@ public virtual async Task>> /// The cancellation token to use. public virtual Response> ListVersions(string location, string publisherName, string type, string filter = null, int? top = null, string orderby = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionImagesClient.ListVersions"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionImagesOperations.ListVersions"); scope.Start(); try { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineExtensionImagesRestClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineExtensionImagesRestOperations.cs similarity index 98% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineExtensionImagesRestClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineExtensionImagesRestOperations.cs index b935bfba60a83..185f272cefaa0 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineExtensionImagesRestClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineExtensionImagesRestOperations.cs @@ -17,20 +17,20 @@ namespace Azure.ResourceManager.Compute { - internal partial class VirtualMachineExtensionImagesRestClient + internal partial class VirtualMachineExtensionImagesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of VirtualMachineExtensionImagesRestClient. + /// Initializes a new instance of VirtualMachineExtensionImagesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VirtualMachineExtensionImagesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VirtualMachineExtensionImagesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineExtensionsClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineExtensionsOperations.cs similarity index 94% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineExtensionsClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineExtensionsOperations.cs index ee9bcd2de665c..40feaf531c380 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineExtensionsClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineExtensionsOperations.cs @@ -15,23 +15,23 @@ namespace Azure.ResourceManager.Compute { /// The VirtualMachineExtensions service client. - public partial class VirtualMachineExtensionsClient + public partial class VirtualMachineExtensionsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VirtualMachineExtensionsRestClient RestClient { get; } - /// Initializes a new instance of VirtualMachineExtensionsClient for mocking. - protected VirtualMachineExtensionsClient() + internal VirtualMachineExtensionsRestOperations RestClient { get; } + /// Initializes a new instance of VirtualMachineExtensionsOperations for mocking. + protected VirtualMachineExtensionsOperations() { } - /// Initializes a new instance of VirtualMachineExtensionsClient. + /// Initializes a new instance of VirtualMachineExtensionsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VirtualMachineExtensionsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VirtualMachineExtensionsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VirtualMachineExtensionsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VirtualMachineExtensionsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal VirtualMachineExtensionsClient(ClientDiagnostics clientDiagnostics, Htt /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string vmName, string vmExtensionName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionsOperations.Get"); scope.Start(); try { @@ -65,7 +65,7 @@ public virtual async Task> GetAsync(string res /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string vmName, string vmExtensionName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionsOperations.Get"); scope.Start(); try { @@ -85,7 +85,7 @@ public virtual Response Get(string resourceGroupName, s /// The cancellation token to use. public virtual async Task> ListAsync(string resourceGroupName, string vmName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionsOperations.List"); scope.Start(); try { @@ -105,7 +105,7 @@ public virtual async Task> ListAsyn /// The cancellation token to use. public virtual Response List(string resourceGroupName, string vmName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionsOperations.List"); scope.Start(); try { @@ -143,7 +143,7 @@ public virtual async Task Start throw new ArgumentNullException(nameof(extensionParameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -182,7 +182,7 @@ public virtual VirtualMachineExtensionsCreateOrUpdateOperation StartCreateOrUpda throw new ArgumentNullException(nameof(extensionParameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -221,7 +221,7 @@ public virtual async Task StartUpdateAs throw new ArgumentNullException(nameof(extensionParameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionsClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionsOperations.StartUpdate"); scope.Start(); try { @@ -260,7 +260,7 @@ public virtual VirtualMachineExtensionsUpdateOperation StartUpdate(string resour throw new ArgumentNullException(nameof(extensionParameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionsClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionsOperations.StartUpdate"); scope.Start(); try { @@ -294,7 +294,7 @@ public virtual async Task StartDeleteAs throw new ArgumentNullException(nameof(vmExtensionName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionsOperations.StartDelete"); scope.Start(); try { @@ -328,7 +328,7 @@ public virtual VirtualMachineExtensionsDeleteOperation StartDelete(string resour throw new ArgumentNullException(nameof(vmExtensionName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionsOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineExtensionsRestClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineExtensionsRestOperations.cs similarity index 99% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineExtensionsRestClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineExtensionsRestOperations.cs index 55006b09ef3ed..d81aac4aedeec 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineExtensionsRestClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineExtensionsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Compute { - internal partial class VirtualMachineExtensionsRestClient + internal partial class VirtualMachineExtensionsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of VirtualMachineExtensionsRestClient. + /// Initializes a new instance of VirtualMachineExtensionsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VirtualMachineExtensionsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VirtualMachineExtensionsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineImagesClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineImagesOperations.cs similarity index 92% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineImagesClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineImagesOperations.cs index 9d3d88249395f..67756ffdb0122 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineImagesClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineImagesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Compute { /// The VirtualMachineImages service client. - public partial class VirtualMachineImagesClient + public partial class VirtualMachineImagesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VirtualMachineImagesRestClient RestClient { get; } - /// Initializes a new instance of VirtualMachineImagesClient for mocking. - protected VirtualMachineImagesClient() + internal VirtualMachineImagesRestOperations RestClient { get; } + /// Initializes a new instance of VirtualMachineImagesOperations for mocking. + protected VirtualMachineImagesOperations() { } - /// Initializes a new instance of VirtualMachineImagesClient. + /// Initializes a new instance of VirtualMachineImagesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VirtualMachineImagesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VirtualMachineImagesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VirtualMachineImagesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VirtualMachineImagesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -46,7 +46,7 @@ internal VirtualMachineImagesClient(ClientDiagnostics clientDiagnostics, HttpPip /// The cancellation token to use. public virtual async Task> GetAsync(string location, string publisherName, string offer, string skus, string version, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineImagesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineImagesOperations.Get"); scope.Start(); try { @@ -68,7 +68,7 @@ public virtual async Task> GetAsync(string locatio /// The cancellation token to use. public virtual Response Get(string location, string publisherName, string offer, string skus, string version, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineImagesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineImagesOperations.Get"); scope.Start(); try { @@ -92,7 +92,7 @@ public virtual Response Get(string location, string publish /// The cancellation token to use. public virtual async Task>> ListAsync(string location, string publisherName, string offer, string skus, string expand = null, int? top = null, string orderby = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineImagesClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineImagesOperations.List"); scope.Start(); try { @@ -116,7 +116,7 @@ public virtual async Task>> /// The cancellation token to use. public virtual Response> List(string location, string publisherName, string offer, string skus, string expand = null, int? top = null, string orderby = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineImagesClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineImagesOperations.List"); scope.Start(); try { @@ -135,7 +135,7 @@ public virtual Response> List(string /// The cancellation token to use. public virtual async Task>> ListOffersAsync(string location, string publisherName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineImagesClient.ListOffers"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineImagesOperations.ListOffers"); scope.Start(); try { @@ -154,7 +154,7 @@ public virtual async Task>> /// The cancellation token to use. public virtual Response> ListOffers(string location, string publisherName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineImagesClient.ListOffers"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineImagesOperations.ListOffers"); scope.Start(); try { @@ -172,7 +172,7 @@ public virtual Response> ListOffers(s /// The cancellation token to use. public virtual async Task>> ListPublishersAsync(string location, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineImagesClient.ListPublishers"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineImagesOperations.ListPublishers"); scope.Start(); try { @@ -190,7 +190,7 @@ public virtual async Task>> /// The cancellation token to use. public virtual Response> ListPublishers(string location, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineImagesClient.ListPublishers"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineImagesOperations.ListPublishers"); scope.Start(); try { @@ -210,7 +210,7 @@ public virtual Response> ListPublishe /// The cancellation token to use. public virtual async Task>> ListSkusAsync(string location, string publisherName, string offer, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineImagesClient.ListSkus"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineImagesOperations.ListSkus"); scope.Start(); try { @@ -230,7 +230,7 @@ public virtual async Task>> /// The cancellation token to use. public virtual Response> ListSkus(string location, string publisherName, string offer, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineImagesClient.ListSkus"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineImagesOperations.ListSkus"); scope.Start(); try { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineImagesRestClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineImagesRestOperations.cs similarity index 99% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineImagesRestClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineImagesRestOperations.cs index 8e2bcacc5496d..4b628602bcc9d 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineImagesRestClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineImagesRestOperations.cs @@ -17,20 +17,20 @@ namespace Azure.ResourceManager.Compute { - internal partial class VirtualMachineImagesRestClient + internal partial class VirtualMachineImagesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of VirtualMachineImagesRestClient. + /// Initializes a new instance of VirtualMachineImagesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VirtualMachineImagesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VirtualMachineImagesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineRunCommandsClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineRunCommandsOperations.cs similarity index 89% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineRunCommandsClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineRunCommandsOperations.cs index 725184fa31795..9af46ff42148d 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineRunCommandsClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineRunCommandsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Compute { /// The VirtualMachineRunCommands service client. - public partial class VirtualMachineRunCommandsClient + public partial class VirtualMachineRunCommandsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VirtualMachineRunCommandsRestClient RestClient { get; } - /// Initializes a new instance of VirtualMachineRunCommandsClient for mocking. - protected VirtualMachineRunCommandsClient() + internal VirtualMachineRunCommandsRestOperations RestClient { get; } + /// Initializes a new instance of VirtualMachineRunCommandsOperations for mocking. + protected VirtualMachineRunCommandsOperations() { } - /// Initializes a new instance of VirtualMachineRunCommandsClient. + /// Initializes a new instance of VirtualMachineRunCommandsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VirtualMachineRunCommandsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VirtualMachineRunCommandsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VirtualMachineRunCommandsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VirtualMachineRunCommandsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal VirtualMachineRunCommandsClient(ClientDiagnostics clientDiagnostics, Ht /// The cancellation token to use. public virtual async Task> GetAsync(string location, string commandId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineRunCommandsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineRunCommandsOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string location /// The cancellation token to use. public virtual Response Get(string location, string commandId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineRunCommandsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineRunCommandsOperations.Get"); scope.Start(); try { @@ -87,7 +87,7 @@ public virtual AsyncPageable ListAsync(string location, async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineRunCommandsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineRunCommandsOperations.List"); scope.Start(); try { @@ -102,7 +102,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineRunCommandsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineRunCommandsOperations.List"); scope.Start(); try { @@ -130,7 +130,7 @@ public virtual Pageable List(string location, Cancellati Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineRunCommandsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineRunCommandsOperations.List"); scope.Start(); try { @@ -145,7 +145,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineRunCommandsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineRunCommandsOperations.List"); scope.Start(); try { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineRunCommandsRestClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineRunCommandsRestOperations.cs similarity index 98% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineRunCommandsRestClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineRunCommandsRestOperations.cs index 55bfe11e7409a..edee214237be8 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineRunCommandsRestClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineRunCommandsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Compute { - internal partial class VirtualMachineRunCommandsRestClient + internal partial class VirtualMachineRunCommandsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of VirtualMachineRunCommandsRestClient. + /// Initializes a new instance of VirtualMachineRunCommandsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VirtualMachineRunCommandsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VirtualMachineRunCommandsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetExtensionsClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetExtensionsOperations.cs similarity index 94% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetExtensionsClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetExtensionsOperations.cs index e722a8f336ed8..37d171595553e 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetExtensionsClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetExtensionsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Compute { /// The VirtualMachineScaleSetExtensions service client. - public partial class VirtualMachineScaleSetExtensionsClient + public partial class VirtualMachineScaleSetExtensionsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VirtualMachineScaleSetExtensionsRestClient RestClient { get; } - /// Initializes a new instance of VirtualMachineScaleSetExtensionsClient for mocking. - protected VirtualMachineScaleSetExtensionsClient() + internal VirtualMachineScaleSetExtensionsRestOperations RestClient { get; } + /// Initializes a new instance of VirtualMachineScaleSetExtensionsOperations for mocking. + protected VirtualMachineScaleSetExtensionsOperations() { } - /// Initializes a new instance of VirtualMachineScaleSetExtensionsClient. + /// Initializes a new instance of VirtualMachineScaleSetExtensionsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VirtualMachineScaleSetExtensionsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VirtualMachineScaleSetExtensionsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VirtualMachineScaleSetExtensionsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VirtualMachineScaleSetExtensionsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -45,7 +45,7 @@ internal VirtualMachineScaleSetExtensionsClient(ClientDiagnostics clientDiagnost /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string vmScaleSetName, string vmssExtensionName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetExtensionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetExtensionsOperations.Get"); scope.Start(); try { @@ -66,7 +66,7 @@ public virtual async Task> GetAsync(st /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string vmScaleSetName, string vmssExtensionName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetExtensionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetExtensionsOperations.Get"); scope.Start(); try { @@ -96,7 +96,7 @@ public virtual AsyncPageable ListAsync(string r async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetExtensionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetExtensionsOperations.List"); scope.Start(); try { @@ -111,7 +111,7 @@ async Task> FirstPageFunc(int? pageSizeHin } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetExtensionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetExtensionsOperations.List"); scope.Start(); try { @@ -144,7 +144,7 @@ public virtual Pageable List(string resourceGro Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetExtensionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetExtensionsOperations.List"); scope.Start(); try { @@ -159,7 +159,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetExtensionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetExtensionsOperations.List"); scope.Start(); try { @@ -200,7 +200,7 @@ public virtual async Task Start throw new ArgumentNullException(nameof(extensionParameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetExtensionsClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetExtensionsOperations.StartUpdate"); scope.Start(); try { @@ -317,7 +317,7 @@ public virtual VirtualMachineScaleSetExtensionsUpdateOperation StartUpdate(strin throw new ArgumentNullException(nameof(extensionParameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetExtensionsClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetExtensionsOperations.StartUpdate"); scope.Start(); try { @@ -351,7 +351,7 @@ public virtual async Task Start throw new ArgumentNullException(nameof(vmssExtensionName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetExtensionsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetExtensionsOperations.StartDelete"); scope.Start(); try { @@ -385,7 +385,7 @@ public virtual VirtualMachineScaleSetExtensionsDeleteOperation StartDelete(strin throw new ArgumentNullException(nameof(vmssExtensionName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetExtensionsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetExtensionsOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetExtensionsRestClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetExtensionsRestOperations.cs similarity index 99% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetExtensionsRestClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetExtensionsRestOperations.cs index 0fa35a7b0f902..d7e9a46dbb12e 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetExtensionsRestClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetExtensionsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Compute { - internal partial class VirtualMachineScaleSetExtensionsRestClient + internal partial class VirtualMachineScaleSetExtensionsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of VirtualMachineScaleSetExtensionsRestClient. + /// Initializes a new instance of VirtualMachineScaleSetExtensionsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VirtualMachineScaleSetExtensionsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VirtualMachineScaleSetExtensionsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetRollingUpgradesClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetRollingUpgradesOperations.cs similarity index 91% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetRollingUpgradesClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetRollingUpgradesOperations.cs index 99882cba6e6b9..b70754a70dc94 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetRollingUpgradesClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetRollingUpgradesOperations.cs @@ -15,23 +15,23 @@ namespace Azure.ResourceManager.Compute { /// The VirtualMachineScaleSetRollingUpgrades service client. - public partial class VirtualMachineScaleSetRollingUpgradesClient + public partial class VirtualMachineScaleSetRollingUpgradesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VirtualMachineScaleSetRollingUpgradesRestClient RestClient { get; } - /// Initializes a new instance of VirtualMachineScaleSetRollingUpgradesClient for mocking. - protected VirtualMachineScaleSetRollingUpgradesClient() + internal VirtualMachineScaleSetRollingUpgradesRestOperations RestClient { get; } + /// Initializes a new instance of VirtualMachineScaleSetRollingUpgradesOperations for mocking. + protected VirtualMachineScaleSetRollingUpgradesOperations() { } - /// Initializes a new instance of VirtualMachineScaleSetRollingUpgradesClient. + /// Initializes a new instance of VirtualMachineScaleSetRollingUpgradesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VirtualMachineScaleSetRollingUpgradesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VirtualMachineScaleSetRollingUpgradesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VirtualMachineScaleSetRollingUpgradesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VirtualMachineScaleSetRollingUpgradesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -42,7 +42,7 @@ internal VirtualMachineScaleSetRollingUpgradesClient(ClientDiagnostics clientDia /// The cancellation token to use. public virtual async Task> GetLatestAsync(string resourceGroupName, string vmScaleSetName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetRollingUpgradesClient.GetLatest"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetRollingUpgradesOperations.GetLatest"); scope.Start(); try { @@ -61,7 +61,7 @@ public virtual async Task> GetLatestAsync(str /// The cancellation token to use. public virtual Response GetLatest(string resourceGroupName, string vmScaleSetName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetRollingUpgradesClient.GetLatest"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetRollingUpgradesOperations.GetLatest"); scope.Start(); try { @@ -89,7 +89,7 @@ public virtual async Task throw new ArgumentNullException(nameof(vmScaleSetName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetRollingUpgradesClient.StartCancel"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetRollingUpgradesOperations.StartCancel"); scope.Start(); try { @@ -118,7 +118,7 @@ public virtual VirtualMachineScaleSetRollingUpgradesCancelOperation StartCancel( throw new ArgumentNullException(nameof(vmScaleSetName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetRollingUpgradesClient.StartCancel"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetRollingUpgradesOperations.StartCancel"); scope.Start(); try { @@ -147,7 +147,7 @@ public virtual async Task Initializes a new instance of VirtualMachineScaleSetRollingUpgradesRestClient. + /// Initializes a new instance of VirtualMachineScaleSetRollingUpgradesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VirtualMachineScaleSetRollingUpgradesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VirtualMachineScaleSetRollingUpgradesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetVMExtensionsClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetVMExtensionsOperations.cs similarity index 94% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetVMExtensionsClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetVMExtensionsOperations.cs index f29f72dfcb969..de702866252b1 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetVMExtensionsClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetVMExtensionsOperations.cs @@ -15,23 +15,23 @@ namespace Azure.ResourceManager.Compute { /// The VirtualMachineScaleSetVMExtensions service client. - public partial class VirtualMachineScaleSetVMExtensionsClient + public partial class VirtualMachineScaleSetVMExtensionsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VirtualMachineScaleSetVMExtensionsRestClient RestClient { get; } - /// Initializes a new instance of VirtualMachineScaleSetVMExtensionsClient for mocking. - protected VirtualMachineScaleSetVMExtensionsClient() + internal VirtualMachineScaleSetVMExtensionsRestOperations RestClient { get; } + /// Initializes a new instance of VirtualMachineScaleSetVMExtensionsOperations for mocking. + protected VirtualMachineScaleSetVMExtensionsOperations() { } - /// Initializes a new instance of VirtualMachineScaleSetVMExtensionsClient. + /// Initializes a new instance of VirtualMachineScaleSetVMExtensionsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VirtualMachineScaleSetVMExtensionsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VirtualMachineScaleSetVMExtensionsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VirtualMachineScaleSetVMExtensionsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VirtualMachineScaleSetVMExtensionsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -45,7 +45,7 @@ internal VirtualMachineScaleSetVMExtensionsClient(ClientDiagnostics clientDiagno /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string vmScaleSetName, string instanceId, string vmExtensionName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMExtensionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMExtensionsOperations.Get"); scope.Start(); try { @@ -67,7 +67,7 @@ public virtual async Task> GetAsync(string res /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string vmScaleSetName, string instanceId, string vmExtensionName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMExtensionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMExtensionsOperations.Get"); scope.Start(); try { @@ -88,7 +88,7 @@ public virtual Response Get(string resourceGroupName, s /// The cancellation token to use. public virtual async Task> ListAsync(string resourceGroupName, string vmScaleSetName, string instanceId, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMExtensionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMExtensionsOperations.List"); scope.Start(); try { @@ -109,7 +109,7 @@ public virtual async Task> ListAsyn /// The cancellation token to use. public virtual Response List(string resourceGroupName, string vmScaleSetName, string instanceId, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMExtensionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMExtensionsOperations.List"); scope.Start(); try { @@ -152,7 +152,7 @@ public virtual async Task Sta throw new ArgumentNullException(nameof(extensionParameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMExtensionsClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMExtensionsOperations.StartUpdate"); scope.Start(); try { @@ -284,7 +284,7 @@ public virtual VirtualMachineScaleSetVMExtensionsUpdateOperation StartUpdate(str throw new ArgumentNullException(nameof(extensionParameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMExtensionsClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMExtensionsOperations.StartUpdate"); scope.Start(); try { @@ -323,7 +323,7 @@ public virtual async Task Sta throw new ArgumentNullException(nameof(vmExtensionName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMExtensionsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMExtensionsOperations.StartDelete"); scope.Start(); try { @@ -362,7 +362,7 @@ public virtual VirtualMachineScaleSetVMExtensionsDeleteOperation StartDelete(str throw new ArgumentNullException(nameof(vmExtensionName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMExtensionsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMExtensionsOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetVMExtensionsRestClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetVMExtensionsRestOperations.cs similarity index 99% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetVMExtensionsRestClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetVMExtensionsRestOperations.cs index 0228e0019dbbe..332ca91fbb581 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetVMExtensionsRestClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetVMExtensionsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Compute { - internal partial class VirtualMachineScaleSetVMExtensionsRestClient + internal partial class VirtualMachineScaleSetVMExtensionsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of VirtualMachineScaleSetVMExtensionsRestClient. + /// Initializes a new instance of VirtualMachineScaleSetVMExtensionsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VirtualMachineScaleSetVMExtensionsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VirtualMachineScaleSetVMExtensionsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetVMsClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetVMsOperations.cs similarity index 96% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetVMsClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetVMsOperations.cs index 4008713d53a76..f402b7f4d379f 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetVMsClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetVMsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Compute { /// The VirtualMachineScaleSetVMs service client. - public partial class VirtualMachineScaleSetVMsClient + public partial class VirtualMachineScaleSetVMsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VirtualMachineScaleSetVMsRestClient RestClient { get; } - /// Initializes a new instance of VirtualMachineScaleSetVMsClient for mocking. - protected VirtualMachineScaleSetVMsClient() + internal VirtualMachineScaleSetVMsRestOperations RestClient { get; } + /// Initializes a new instance of VirtualMachineScaleSetVMsOperations for mocking. + protected VirtualMachineScaleSetVMsOperations() { } - /// Initializes a new instance of VirtualMachineScaleSetVMsClient. + /// Initializes a new instance of VirtualMachineScaleSetVMsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VirtualMachineScaleSetVMsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VirtualMachineScaleSetVMsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VirtualMachineScaleSetVMsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VirtualMachineScaleSetVMsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal VirtualMachineScaleSetVMsClient(ClientDiagnostics clientDiagnostics, Ht /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string vmScaleSetName, string instanceId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string re /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string vmScaleSetName, string instanceId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.Get"); scope.Start(); try { @@ -84,7 +84,7 @@ public virtual Response Get(string resourceGroupName, /// The cancellation token to use. public virtual async Task> GetInstanceViewAsync(string resourceGroupName, string vmScaleSetName, string instanceId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.GetInstanceView"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.GetInstanceView"); scope.Start(); try { @@ -104,7 +104,7 @@ public virtual async Task> GetIns /// The cancellation token to use. public virtual Response GetInstanceView(string resourceGroupName, string vmScaleSetName, string instanceId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.GetInstanceView"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.GetInstanceView"); scope.Start(); try { @@ -124,7 +124,7 @@ public virtual Response GetInstanceView(st /// The cancellation token to use. public virtual async Task SimulateEvictionAsync(string resourceGroupName, string vmScaleSetName, string instanceId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.SimulateEviction"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.SimulateEviction"); scope.Start(); try { @@ -144,7 +144,7 @@ public virtual async Task SimulateEvictionAsync(string resourceGroupNa /// The cancellation token to use. public virtual Response SimulateEviction(string resourceGroupName, string vmScaleSetName, string instanceId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.SimulateEviction"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.SimulateEviction"); scope.Start(); try { @@ -177,7 +177,7 @@ public virtual AsyncPageable ListAsync(string resource async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.List"); scope.Start(); try { @@ -192,7 +192,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.List"); scope.Start(); try { @@ -228,7 +228,7 @@ public virtual Pageable List(string resourceGroupName, Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.List"); scope.Start(); try { @@ -243,7 +243,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.List"); scope.Start(); try { @@ -280,7 +280,7 @@ public virtual async Task StartReimag throw new ArgumentNullException(nameof(instanceId)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.StartReimage"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.StartReimage"); scope.Start(); try { @@ -315,7 +315,7 @@ public virtual VirtualMachineScaleSetVMsReimageOperation StartReimage(string res throw new ArgumentNullException(nameof(instanceId)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.StartReimage"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.StartReimage"); scope.Start(); try { @@ -349,7 +349,7 @@ public virtual async Task StartRei throw new ArgumentNullException(nameof(instanceId)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.StartReimageAll"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.StartReimageAll"); scope.Start(); try { @@ -383,7 +383,7 @@ public virtual VirtualMachineScaleSetVMsReimageAllOperation StartReimageAll(stri throw new ArgumentNullException(nameof(instanceId)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.StartReimageAll"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.StartReimageAll"); scope.Start(); try { @@ -417,7 +417,7 @@ public virtual async Task StartDea throw new ArgumentNullException(nameof(instanceId)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.StartDeallocate"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.StartDeallocate"); scope.Start(); try { @@ -451,7 +451,7 @@ public virtual VirtualMachineScaleSetVMsDeallocateOperation StartDeallocate(stri throw new ArgumentNullException(nameof(instanceId)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.StartDeallocate"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.StartDeallocate"); scope.Start(); try { @@ -490,7 +490,7 @@ public virtual async Task StartUpdateA throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.StartUpdate"); scope.Start(); try { @@ -529,7 +529,7 @@ public virtual VirtualMachineScaleSetVMsUpdateOperation StartUpdate(string resou throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.StartUpdate"); scope.Start(); try { @@ -563,7 +563,7 @@ public virtual async Task StartDeleteA throw new ArgumentNullException(nameof(instanceId)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.StartDelete"); scope.Start(); try { @@ -597,7 +597,7 @@ public virtual VirtualMachineScaleSetVMsDeleteOperation StartDelete(string resou throw new ArgumentNullException(nameof(instanceId)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.StartDelete"); scope.Start(); try { @@ -632,7 +632,7 @@ public virtual async Task StartPower throw new ArgumentNullException(nameof(instanceId)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.StartPowerOff"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.StartPowerOff"); scope.Start(); try { @@ -667,7 +667,7 @@ public virtual VirtualMachineScaleSetVMsPowerOffOperation StartPowerOff(string r throw new ArgumentNullException(nameof(instanceId)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.StartPowerOff"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.StartPowerOff"); scope.Start(); try { @@ -701,7 +701,7 @@ public virtual async Task StartRestar throw new ArgumentNullException(nameof(instanceId)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.StartRestart"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.StartRestart"); scope.Start(); try { @@ -735,7 +735,7 @@ public virtual VirtualMachineScaleSetVMsRestartOperation StartRestart(string res throw new ArgumentNullException(nameof(instanceId)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.StartRestart"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.StartRestart"); scope.Start(); try { @@ -769,7 +769,7 @@ public virtual async Task StartStartAsy throw new ArgumentNullException(nameof(instanceId)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.StartStart"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.StartStart"); scope.Start(); try { @@ -803,7 +803,7 @@ public virtual VirtualMachineScaleSetVMsStartOperation StartStart(string resourc throw new ArgumentNullException(nameof(instanceId)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.StartStart"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.StartStart"); scope.Start(); try { @@ -837,7 +837,7 @@ public virtual async Task StartRedep throw new ArgumentNullException(nameof(instanceId)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.StartRedeploy"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.StartRedeploy"); scope.Start(); try { @@ -871,7 +871,7 @@ public virtual VirtualMachineScaleSetVMsRedeployOperation StartRedeploy(string r throw new ArgumentNullException(nameof(instanceId)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.StartRedeploy"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.StartRedeploy"); scope.Start(); try { @@ -905,7 +905,7 @@ public virtual async Task throw new ArgumentNullException(nameof(instanceId)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.StartPerformMaintenance"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.StartPerformMaintenance"); scope.Start(); try { @@ -939,7 +939,7 @@ public virtual VirtualMachineScaleSetVMsPerformMaintenanceOperation StartPerform throw new ArgumentNullException(nameof(instanceId)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.StartPerformMaintenance"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.StartPerformMaintenance"); scope.Start(); try { @@ -978,7 +978,7 @@ public virtual async Task StartRun throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.StartRunCommand"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.StartRunCommand"); scope.Start(); try { @@ -1017,7 +1017,7 @@ public virtual VirtualMachineScaleSetVMsRunCommandOperation StartRunCommand(stri throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.StartRunCommand"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.StartRunCommand"); scope.Start(); try { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetVMsRestClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetVMsRestOperations.cs similarity index 99% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetVMsRestClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetVMsRestOperations.cs index 322288db3efa2..2de01819eab8c 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetVMsRestClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetVMsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Compute { - internal partial class VirtualMachineScaleSetVMsRestClient + internal partial class VirtualMachineScaleSetVMsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of VirtualMachineScaleSetVMsRestClient. + /// Initializes a new instance of VirtualMachineScaleSetVMsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VirtualMachineScaleSetVMsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VirtualMachineScaleSetVMsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetsClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetsOperations.cs similarity index 95% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetsClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetsOperations.cs index c32aaa7e5d42c..4c62023085b30 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetsClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Compute { /// The VirtualMachineScaleSets service client. - public partial class VirtualMachineScaleSetsClient + public partial class VirtualMachineScaleSetsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VirtualMachineScaleSetsRestClient RestClient { get; } - /// Initializes a new instance of VirtualMachineScaleSetsClient for mocking. - protected VirtualMachineScaleSetsClient() + internal VirtualMachineScaleSetsRestOperations RestClient { get; } + /// Initializes a new instance of VirtualMachineScaleSetsOperations for mocking. + protected VirtualMachineScaleSetsOperations() { } - /// Initializes a new instance of VirtualMachineScaleSetsClient. + /// Initializes a new instance of VirtualMachineScaleSetsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VirtualMachineScaleSetsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VirtualMachineScaleSetsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VirtualMachineScaleSetsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VirtualMachineScaleSetsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal VirtualMachineScaleSetsClient(ClientDiagnostics clientDiagnostics, Http /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string vmScaleSetName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string reso /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string vmScaleSetName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.Get"); scope.Start(); try { @@ -81,7 +81,7 @@ public virtual Response Get(string resourceGroupName, st /// The cancellation token to use. public virtual async Task> GetInstanceViewAsync(string resourceGroupName, string vmScaleSetName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.GetInstanceView"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.GetInstanceView"); scope.Start(); try { @@ -100,7 +100,7 @@ public virtual async Task> GetInsta /// The cancellation token to use. public virtual Response GetInstanceView(string resourceGroupName, string vmScaleSetName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.GetInstanceView"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.GetInstanceView"); scope.Start(); try { @@ -120,7 +120,7 @@ public virtual Response GetInstanceView(stri /// The cancellation token to use. public virtual async Task> ForceRecoveryServiceFabricPlatformUpdateDomainWalkAsync(string resourceGroupName, string vmScaleSetName, int platformUpdateDomain, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.ForceRecoveryServiceFabricPlatformUpdateDomainWalk"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.ForceRecoveryServiceFabricPlatformUpdateDomainWalk"); scope.Start(); try { @@ -140,7 +140,7 @@ public virtual async Task> ForceRecoveryServiceFa /// The cancellation token to use. public virtual Response ForceRecoveryServiceFabricPlatformUpdateDomainWalk(string resourceGroupName, string vmScaleSetName, int platformUpdateDomain, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.ForceRecoveryServiceFabricPlatformUpdateDomainWalk"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.ForceRecoveryServiceFabricPlatformUpdateDomainWalk"); scope.Start(); try { @@ -160,7 +160,7 @@ public virtual Response ForceRecoveryServiceFabricPlatform /// The cancellation token to use. public virtual async Task ConvertToSinglePlacementGroupAsync(string resourceGroupName, string vmScaleSetName, VMScaleSetConvertToSinglePlacementGroupInput parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.ConvertToSinglePlacementGroup"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.ConvertToSinglePlacementGroup"); scope.Start(); try { @@ -180,7 +180,7 @@ public virtual async Task ConvertToSinglePlacementGroupAsync(string re /// The cancellation token to use. public virtual Response ConvertToSinglePlacementGroup(string resourceGroupName, string vmScaleSetName, VMScaleSetConvertToSinglePlacementGroupInput parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.ConvertToSinglePlacementGroup"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.ConvertToSinglePlacementGroup"); scope.Start(); try { @@ -205,7 +205,7 @@ public virtual AsyncPageable ListAsync(string resourceGr async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.List"); scope.Start(); try { @@ -220,7 +220,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.List"); scope.Start(); try { @@ -248,7 +248,7 @@ public virtual Pageable List(string resourceGroupName, C Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.List"); scope.Start(); try { @@ -263,7 +263,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.List"); scope.Start(); try { @@ -285,7 +285,7 @@ public virtual AsyncPageable ListAllAsync(CancellationTo { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.ListAll"); scope.Start(); try { @@ -300,7 +300,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.ListAll"); scope.Start(); try { @@ -322,7 +322,7 @@ public virtual Pageable ListAll(CancellationToken cancel { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.ListAll"); scope.Start(); try { @@ -337,7 +337,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.ListAll"); scope.Start(); try { @@ -370,7 +370,7 @@ public virtual AsyncPageable ListSkusAsync(string res async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.ListSkus"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.ListSkus"); scope.Start(); try { @@ -385,7 +385,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.ListSkus"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.ListSkus"); scope.Start(); try { @@ -418,7 +418,7 @@ public virtual Pageable ListSkus(string resourceGroup Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.ListSkus"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.ListSkus"); scope.Start(); try { @@ -433,7 +433,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.ListSkus"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.ListSkus"); scope.Start(); try { @@ -466,7 +466,7 @@ public virtual AsyncPageable GetOSUpgradeH async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.GetOSUpgradeHistory"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.GetOSUpgradeHistory"); scope.Start(); try { @@ -481,7 +481,7 @@ async Task> FirstPageFunc(int? pageSi } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.GetOSUpgradeHistory"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.GetOSUpgradeHistory"); scope.Start(); try { @@ -514,7 +514,7 @@ public virtual Pageable GetOSUpgradeHistor Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.GetOSUpgradeHistory"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.GetOSUpgradeHistory"); scope.Start(); try { @@ -529,7 +529,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.GetOSUpgradeHistory"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.GetOSUpgradeHistory"); scope.Start(); try { @@ -565,7 +565,7 @@ public virtual async Task StartC throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -599,7 +599,7 @@ public virtual VirtualMachineScaleSetsCreateOrUpdateOperation StartCreateOrUpdat throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -633,7 +633,7 @@ public virtual async Task StartUpdateAsy throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartUpdate"); scope.Start(); try { @@ -667,7 +667,7 @@ public virtual VirtualMachineScaleSetsUpdateOperation StartUpdate(string resourc throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartUpdate"); scope.Start(); try { @@ -696,7 +696,7 @@ public virtual async Task StartDeleteAsy throw new ArgumentNullException(nameof(vmScaleSetName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartDelete"); scope.Start(); try { @@ -725,7 +725,7 @@ public virtual VirtualMachineScaleSetsDeleteOperation StartDelete(string resourc throw new ArgumentNullException(nameof(vmScaleSetName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartDelete"); scope.Start(); try { @@ -755,7 +755,7 @@ public virtual async Task StartDeall throw new ArgumentNullException(nameof(vmScaleSetName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartDeallocate"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartDeallocate"); scope.Start(); try { @@ -785,7 +785,7 @@ public virtual VirtualMachineScaleSetsDeallocateOperation StartDeallocate(string throw new ArgumentNullException(nameof(vmScaleSetName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartDeallocate"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartDeallocate"); scope.Start(); try { @@ -819,7 +819,7 @@ public virtual async Task Start throw new ArgumentNullException(nameof(vmInstanceIDs)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartDeleteInstances"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartDeleteInstances"); scope.Start(); try { @@ -853,7 +853,7 @@ public virtual VirtualMachineScaleSetsDeleteInstancesOperation StartDeleteInstan throw new ArgumentNullException(nameof(vmInstanceIDs)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartDeleteInstances"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartDeleteInstances"); scope.Start(); try { @@ -884,7 +884,7 @@ public virtual async Task StartPowerOf throw new ArgumentNullException(nameof(vmScaleSetName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartPowerOff"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartPowerOff"); scope.Start(); try { @@ -915,7 +915,7 @@ public virtual VirtualMachineScaleSetsPowerOffOperation StartPowerOff(string res throw new ArgumentNullException(nameof(vmScaleSetName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartPowerOff"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartPowerOff"); scope.Start(); try { @@ -945,7 +945,7 @@ public virtual async Task StartRestartA throw new ArgumentNullException(nameof(vmScaleSetName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartRestart"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartRestart"); scope.Start(); try { @@ -975,7 +975,7 @@ public virtual VirtualMachineScaleSetsRestartOperation StartRestart(string resou throw new ArgumentNullException(nameof(vmScaleSetName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartRestart"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartRestart"); scope.Start(); try { @@ -1005,7 +1005,7 @@ public virtual async Task StartStartAsync throw new ArgumentNullException(nameof(vmScaleSetName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartStart"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartStart"); scope.Start(); try { @@ -1035,7 +1035,7 @@ public virtual VirtualMachineScaleSetsStartOperation StartStart(string resourceG throw new ArgumentNullException(nameof(vmScaleSetName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartStart"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartStart"); scope.Start(); try { @@ -1065,7 +1065,7 @@ public virtual async Task StartRedeplo throw new ArgumentNullException(nameof(vmScaleSetName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartRedeploy"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartRedeploy"); scope.Start(); try { @@ -1095,7 +1095,7 @@ public virtual VirtualMachineScaleSetsRedeployOperation StartRedeploy(string res throw new ArgumentNullException(nameof(vmScaleSetName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartRedeploy"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartRedeploy"); scope.Start(); try { @@ -1125,7 +1125,7 @@ public virtual async Task St throw new ArgumentNullException(nameof(vmScaleSetName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartPerformMaintenance"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartPerformMaintenance"); scope.Start(); try { @@ -1155,7 +1155,7 @@ public virtual VirtualMachineScaleSetsPerformMaintenanceOperation StartPerformMa throw new ArgumentNullException(nameof(vmScaleSetName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartPerformMaintenance"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartPerformMaintenance"); scope.Start(); try { @@ -1189,7 +1189,7 @@ public virtual async Task Start throw new ArgumentNullException(nameof(vmInstanceIDs)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartUpdateInstances"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartUpdateInstances"); scope.Start(); try { @@ -1223,7 +1223,7 @@ public virtual VirtualMachineScaleSetsUpdateInstancesOperation StartUpdateInstan throw new ArgumentNullException(nameof(vmInstanceIDs)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartUpdateInstances"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartUpdateInstances"); scope.Start(); try { @@ -1253,7 +1253,7 @@ public virtual async Task StartReimageA throw new ArgumentNullException(nameof(vmScaleSetName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartReimage"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartReimage"); scope.Start(); try { @@ -1283,7 +1283,7 @@ public virtual VirtualMachineScaleSetsReimageOperation StartReimage(string resou throw new ArgumentNullException(nameof(vmScaleSetName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartReimage"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartReimage"); scope.Start(); try { @@ -1313,7 +1313,7 @@ public virtual async Task StartReima throw new ArgumentNullException(nameof(vmScaleSetName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartReimageAll"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartReimageAll"); scope.Start(); try { @@ -1343,7 +1343,7 @@ public virtual VirtualMachineScaleSetsReimageAllOperation StartReimageAll(string throw new ArgumentNullException(nameof(vmScaleSetName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartReimageAll"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartReimageAll"); scope.Start(); try { @@ -1377,7 +1377,7 @@ public virtual async Task Initializes a new instance of VirtualMachineScaleSetsRestClient. + /// Initializes a new instance of VirtualMachineScaleSetsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VirtualMachineScaleSetsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VirtualMachineScaleSetsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineSizesClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineSizesOperations.cs similarity index 86% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineSizesClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineSizesOperations.cs index afe9500aa1365..6a84043c11dc5 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineSizesClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineSizesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Compute { /// The VirtualMachineSizes service client. - public partial class VirtualMachineSizesClient + public partial class VirtualMachineSizesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VirtualMachineSizesRestClient RestClient { get; } - /// Initializes a new instance of VirtualMachineSizesClient for mocking. - protected VirtualMachineSizesClient() + internal VirtualMachineSizesRestOperations RestClient { get; } + /// Initializes a new instance of VirtualMachineSizesOperations for mocking. + protected VirtualMachineSizesOperations() { } - /// Initializes a new instance of VirtualMachineSizesClient. + /// Initializes a new instance of VirtualMachineSizesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VirtualMachineSizesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VirtualMachineSizesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VirtualMachineSizesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VirtualMachineSizesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -49,7 +49,7 @@ public virtual AsyncPageable ListAsync(string location, Canc async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineSizesClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineSizesOperations.List"); scope.Start(); try { @@ -77,7 +77,7 @@ public virtual Pageable List(string location, CancellationTo Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineSizesClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineSizesOperations.List"); scope.Start(); try { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineSizesRestClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineSizesRestOperations.cs similarity index 95% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineSizesRestClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineSizesRestOperations.cs index 96495e298143f..453bb37588810 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineSizesRestClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineSizesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Compute { - internal partial class VirtualMachineSizesRestClient + internal partial class VirtualMachineSizesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of VirtualMachineSizesRestClient. + /// Initializes a new instance of VirtualMachineSizesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VirtualMachineSizesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VirtualMachineSizesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachinesClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachinesOperations.cs similarity index 96% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachinesClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachinesOperations.cs index dbd0158459fc1..59925844568ff 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachinesClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachinesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Compute { /// The VirtualMachines service client. - public partial class VirtualMachinesClient + public partial class VirtualMachinesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VirtualMachinesRestClient RestClient { get; } - /// Initializes a new instance of VirtualMachinesClient for mocking. - protected VirtualMachinesClient() + internal VirtualMachinesRestOperations RestClient { get; } + /// Initializes a new instance of VirtualMachinesOperations for mocking. + protected VirtualMachinesOperations() { } - /// Initializes a new instance of VirtualMachinesClient. + /// Initializes a new instance of VirtualMachinesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VirtualMachinesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VirtualMachinesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VirtualMachinesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VirtualMachinesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal VirtualMachinesClient(ClientDiagnostics clientDiagnostics, HttpPipeline /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string vmName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string resourceGrou /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string vmName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.Get"); scope.Start(); try { @@ -81,7 +81,7 @@ public virtual Response Get(string resourceGroupName, string vmN /// The cancellation token to use. public virtual async Task> InstanceViewAsync(string resourceGroupName, string vmName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.InstanceView"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.InstanceView"); scope.Start(); try { @@ -100,7 +100,7 @@ public virtual async Task> InstanceViewAsyn /// The cancellation token to use. public virtual Response InstanceView(string resourceGroupName, string vmName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.InstanceView"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.InstanceView"); scope.Start(); try { @@ -119,7 +119,7 @@ public virtual Response InstanceView(string resource /// The cancellation token to use. public virtual async Task GeneralizeAsync(string resourceGroupName, string vmName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.Generalize"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.Generalize"); scope.Start(); try { @@ -138,7 +138,7 @@ public virtual async Task GeneralizeAsync(string resourceGroupName, st /// The cancellation token to use. public virtual Response Generalize(string resourceGroupName, string vmName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.Generalize"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.Generalize"); scope.Start(); try { @@ -157,7 +157,7 @@ public virtual Response Generalize(string resourceGroupName, string vmName, Canc /// The cancellation token to use. public virtual async Task SimulateEvictionAsync(string resourceGroupName, string vmName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.SimulateEviction"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.SimulateEviction"); scope.Start(); try { @@ -176,7 +176,7 @@ public virtual async Task SimulateEvictionAsync(string resourceGroupNa /// The cancellation token to use. public virtual Response SimulateEviction(string resourceGroupName, string vmName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.SimulateEviction"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.SimulateEviction"); scope.Start(); try { @@ -201,7 +201,7 @@ public virtual AsyncPageable ListByLocationAsync(string location async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.ListByLocation"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.ListByLocation"); scope.Start(); try { @@ -216,7 +216,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.ListByLocation"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.ListByLocation"); scope.Start(); try { @@ -244,7 +244,7 @@ public virtual Pageable ListByLocation(string location, Cancella Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.ListByLocation"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.ListByLocation"); scope.Start(); try { @@ -259,7 +259,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.ListByLocation"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.ListByLocation"); scope.Start(); try { @@ -287,7 +287,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName, async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.List"); scope.Start(); try { @@ -302,7 +302,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.List"); scope.Start(); try { @@ -330,7 +330,7 @@ public virtual Pageable List(string resourceGroupName, Cancellat Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.List"); scope.Start(); try { @@ -345,7 +345,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.List"); scope.Start(); try { @@ -368,7 +368,7 @@ public virtual AsyncPageable ListAllAsync(string statusOnly = nu { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.ListAll"); scope.Start(); try { @@ -383,7 +383,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.ListAll"); scope.Start(); try { @@ -406,7 +406,7 @@ public virtual Pageable ListAll(string statusOnly = null, Cancel { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.ListAll"); scope.Start(); try { @@ -421,7 +421,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.ListAll"); scope.Start(); try { @@ -454,7 +454,7 @@ public virtual AsyncPageable ListAvailableSizesAsync(string async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.ListAvailableSizes"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.ListAvailableSizes"); scope.Start(); try { @@ -487,7 +487,7 @@ public virtual Pageable ListAvailableSizes(string resourceGr Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.ListAvailableSizes"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.ListAvailableSizes"); scope.Start(); try { @@ -523,7 +523,7 @@ public virtual async Task StartCaptureAsync(str throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartCapture"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartCapture"); scope.Start(); try { @@ -557,7 +557,7 @@ public virtual VirtualMachinesCaptureOperation StartCapture(string resourceGroup throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartCapture"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartCapture"); scope.Start(); try { @@ -591,7 +591,7 @@ public virtual async Task StartCreateOrU throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -625,7 +625,7 @@ public virtual VirtualMachinesCreateOrUpdateOperation StartCreateOrUpdate(string throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -659,7 +659,7 @@ public virtual async Task StartUpdateAsync(strin throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartUpdate"); scope.Start(); try { @@ -693,7 +693,7 @@ public virtual VirtualMachinesUpdateOperation StartUpdate(string resourceGroupNa throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartUpdate"); scope.Start(); try { @@ -722,7 +722,7 @@ public virtual async Task StartDeleteAsync(strin throw new ArgumentNullException(nameof(vmName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartDelete"); scope.Start(); try { @@ -751,7 +751,7 @@ public virtual VirtualMachinesDeleteOperation StartDelete(string resourceGroupNa throw new ArgumentNullException(nameof(vmName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartDelete"); scope.Start(); try { @@ -780,7 +780,7 @@ public virtual async Task StartCo throw new ArgumentNullException(nameof(vmName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartConvertToManagedDisks"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartConvertToManagedDisks"); scope.Start(); try { @@ -809,7 +809,7 @@ public virtual VirtualMachinesConvertToManagedDisksOperation StartConvertToManag throw new ArgumentNullException(nameof(vmName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartConvertToManagedDisks"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartConvertToManagedDisks"); scope.Start(); try { @@ -838,7 +838,7 @@ public virtual async Task StartDeallocateAsy throw new ArgumentNullException(nameof(vmName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartDeallocate"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartDeallocate"); scope.Start(); try { @@ -867,7 +867,7 @@ public virtual VirtualMachinesDeallocateOperation StartDeallocate(string resourc throw new ArgumentNullException(nameof(vmName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartDeallocate"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartDeallocate"); scope.Start(); try { @@ -897,7 +897,7 @@ public virtual async Task StartPowerOffAsync(s throw new ArgumentNullException(nameof(vmName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartPowerOff"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartPowerOff"); scope.Start(); try { @@ -927,7 +927,7 @@ public virtual VirtualMachinesPowerOffOperation StartPowerOff(string resourceGro throw new ArgumentNullException(nameof(vmName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartPowerOff"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartPowerOff"); scope.Start(); try { @@ -956,7 +956,7 @@ public virtual async Task StartReapplyAsync(str throw new ArgumentNullException(nameof(vmName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartReapply"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartReapply"); scope.Start(); try { @@ -985,7 +985,7 @@ public virtual VirtualMachinesReapplyOperation StartReapply(string resourceGroup throw new ArgumentNullException(nameof(vmName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartReapply"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartReapply"); scope.Start(); try { @@ -1014,7 +1014,7 @@ public virtual async Task StartRestartAsync(str throw new ArgumentNullException(nameof(vmName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartRestart"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartRestart"); scope.Start(); try { @@ -1043,7 +1043,7 @@ public virtual VirtualMachinesRestartOperation StartRestart(string resourceGroup throw new ArgumentNullException(nameof(vmName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartRestart"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartRestart"); scope.Start(); try { @@ -1072,7 +1072,7 @@ public virtual async Task StartStartAsync(string throw new ArgumentNullException(nameof(vmName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartStart"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartStart"); scope.Start(); try { @@ -1101,7 +1101,7 @@ public virtual VirtualMachinesStartOperation StartStart(string resourceGroupName throw new ArgumentNullException(nameof(vmName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartStart"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartStart"); scope.Start(); try { @@ -1130,7 +1130,7 @@ public virtual async Task StartRedeployAsync(s throw new ArgumentNullException(nameof(vmName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartRedeploy"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartRedeploy"); scope.Start(); try { @@ -1159,7 +1159,7 @@ public virtual VirtualMachinesRedeployOperation StartRedeploy(string resourceGro throw new ArgumentNullException(nameof(vmName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartRedeploy"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartRedeploy"); scope.Start(); try { @@ -1189,7 +1189,7 @@ public virtual async Task StartReimageAsync(str throw new ArgumentNullException(nameof(vmName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartReimage"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartReimage"); scope.Start(); try { @@ -1219,7 +1219,7 @@ public virtual VirtualMachinesReimageOperation StartReimage(string resourceGroup throw new ArgumentNullException(nameof(vmName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartReimage"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartReimage"); scope.Start(); try { @@ -1248,7 +1248,7 @@ public virtual async Task StartPerfo throw new ArgumentNullException(nameof(vmName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartPerformMaintenance"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartPerformMaintenance"); scope.Start(); try { @@ -1277,7 +1277,7 @@ public virtual VirtualMachinesPerformMaintenanceOperation StartPerformMaintenanc throw new ArgumentNullException(nameof(vmName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartPerformMaintenance"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartPerformMaintenance"); scope.Start(); try { @@ -1311,7 +1311,7 @@ public virtual async Task StartRunCommandAsy throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartRunCommand"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartRunCommand"); scope.Start(); try { @@ -1345,7 +1345,7 @@ public virtual VirtualMachinesRunCommandOperation StartRunCommand(string resourc throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartRunCommand"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartRunCommand"); scope.Start(); try { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachinesRestClient.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachinesRestOperations.cs similarity index 99% rename from sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachinesRestClient.cs rename to sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachinesRestOperations.cs index 6a66c5807d451..1107e5751212f 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachinesRestClient.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachinesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Compute { - internal partial class VirtualMachinesRestClient + internal partial class VirtualMachinesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of VirtualMachinesRestClient. + /// Initializes a new instance of VirtualMachinesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VirtualMachinesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VirtualMachinesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/ClustersClient.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/ClustersOperations.cs similarity index 94% rename from sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/ClustersClient.cs rename to sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/ClustersOperations.cs index 71115978074c4..6cda97d7dc559 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/ClustersClient.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/ClustersOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.EventHubs { /// The Clusters service client. - public partial class ClustersClient + public partial class ClustersOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ClustersRestClient RestClient { get; } - /// Initializes a new instance of ClustersClient for mocking. - protected ClustersClient() + internal ClustersRestOperations RestClient { get; } + /// Initializes a new instance of ClustersOperations for mocking. + protected ClustersOperations() { } - /// Initializes a new instance of ClustersClient. + /// Initializes a new instance of ClustersOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ClustersClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ClustersOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ClustersRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ClustersRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -41,7 +41,7 @@ internal ClustersClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeli /// The cancellation token to use. public virtual async Task> ListAvailableClustersAsync(CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ClustersClient.ListAvailableClusters"); + using var scope = _clientDiagnostics.CreateScope("ClustersOperations.ListAvailableClusters"); scope.Start(); try { @@ -58,7 +58,7 @@ public virtual async Task> ListAvailableClusters /// The cancellation token to use. public virtual Response ListAvailableClusters(CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ClustersClient.ListAvailableClusters"); + using var scope = _clientDiagnostics.CreateScope("ClustersOperations.ListAvailableClusters"); scope.Start(); try { @@ -77,7 +77,7 @@ public virtual Response ListAvailableClusters(Cancellatio /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string clusterName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ClustersClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ClustersOperations.Get"); scope.Start(); try { @@ -96,7 +96,7 @@ public virtual async Task> GetAsync(string resourceGroupName, /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string clusterName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ClustersClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ClustersOperations.Get"); scope.Start(); try { @@ -115,7 +115,7 @@ public virtual Response Get(string resourceGroupName, string clusterNam /// The cancellation token to use. public virtual async Task> ListNamespacesAsync(string resourceGroupName, string clusterName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ClustersClient.ListNamespaces"); + using var scope = _clientDiagnostics.CreateScope("ClustersOperations.ListNamespaces"); scope.Start(); try { @@ -134,7 +134,7 @@ public virtual async Task> ListNamespacesAsync /// The cancellation token to use. public virtual Response ListNamespaces(string resourceGroupName, string clusterName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ClustersClient.ListNamespaces"); + using var scope = _clientDiagnostics.CreateScope("ClustersOperations.ListNamespaces"); scope.Start(); try { @@ -159,7 +159,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(string resourceGr async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ClustersClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ClustersOperations.ListByResourceGroup"); scope.Start(); try { @@ -174,7 +174,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ClustersClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ClustersOperations.ListByResourceGroup"); scope.Start(); try { @@ -202,7 +202,7 @@ public virtual Pageable ListByResourceGroup(string resourceGroupName, C Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ClustersClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ClustersOperations.ListByResourceGroup"); scope.Start(); try { @@ -217,7 +217,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ClustersClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ClustersOperations.ListByResourceGroup"); scope.Start(); try { @@ -248,7 +248,7 @@ public virtual async Task StartPutAsync(string resourceGro throw new ArgumentNullException(nameof(clusterName)); } - using var scope = _clientDiagnostics.CreateScope("ClustersClient.StartPut"); + using var scope = _clientDiagnostics.CreateScope("ClustersOperations.StartPut"); scope.Start(); try { @@ -277,7 +277,7 @@ public virtual ClustersPutOperation StartPut(string resourceGroupName, string cl throw new ArgumentNullException(nameof(clusterName)); } - using var scope = _clientDiagnostics.CreateScope("ClustersClient.StartPut"); + using var scope = _clientDiagnostics.CreateScope("ClustersOperations.StartPut"); scope.Start(); try { @@ -311,7 +311,7 @@ public virtual async Task StartPatchAsync(string resourc throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ClustersClient.StartPatch"); + using var scope = _clientDiagnostics.CreateScope("ClustersOperations.StartPatch"); scope.Start(); try { @@ -345,7 +345,7 @@ public virtual ClustersPatchOperation StartPatch(string resourceGroupName, strin throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ClustersClient.StartPatch"); + using var scope = _clientDiagnostics.CreateScope("ClustersOperations.StartPatch"); scope.Start(); try { @@ -374,7 +374,7 @@ public virtual async Task StartDeleteAsync(string resou throw new ArgumentNullException(nameof(clusterName)); } - using var scope = _clientDiagnostics.CreateScope("ClustersClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ClustersOperations.StartDelete"); scope.Start(); try { @@ -403,7 +403,7 @@ public virtual ClustersDeleteOperation StartDelete(string resourceGroupName, str throw new ArgumentNullException(nameof(clusterName)); } - using var scope = _clientDiagnostics.CreateScope("ClustersClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ClustersOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/ClustersRestClient.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/ClustersRestOperations.cs similarity index 99% rename from sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/ClustersRestClient.cs rename to sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/ClustersRestOperations.cs index 599b586179048..c695daf887e57 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/ClustersRestClient.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/ClustersRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.EventHubs { - internal partial class ClustersRestClient + internal partial class ClustersRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ClustersRestClient. + /// Initializes a new instance of ClustersRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ClustersRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ClustersRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/ConfigurationClient.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/ConfigurationOperations.cs similarity index 90% rename from sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/ConfigurationClient.cs rename to sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/ConfigurationOperations.cs index 1d189ac4d0cde..3d2ad6807d9b9 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/ConfigurationClient.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/ConfigurationOperations.cs @@ -15,23 +15,23 @@ namespace Azure.ResourceManager.EventHubs { /// The Configuration service client. - public partial class ConfigurationClient + public partial class ConfigurationOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ConfigurationRestClient RestClient { get; } - /// Initializes a new instance of ConfigurationClient for mocking. - protected ConfigurationClient() + internal ConfigurationRestOperations RestClient { get; } + /// Initializes a new instance of ConfigurationOperations for mocking. + protected ConfigurationOperations() { } - /// Initializes a new instance of ConfigurationClient. + /// Initializes a new instance of ConfigurationOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ConfigurationClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ConfigurationOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ConfigurationRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ConfigurationRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal ConfigurationClient(ClientDiagnostics clientDiagnostics, HttpPipeline p /// The cancellation token to use. public virtual async Task> PatchAsync(string resourceGroupName, string clusterName, ClusterQuotaConfigurationProperties parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ConfigurationClient.Patch"); + using var scope = _clientDiagnostics.CreateScope("ConfigurationOperations.Patch"); scope.Start(); try { @@ -63,7 +63,7 @@ public virtual async Task> PatchAs /// The cancellation token to use. public virtual Response Patch(string resourceGroupName, string clusterName, ClusterQuotaConfigurationProperties parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ConfigurationClient.Patch"); + using var scope = _clientDiagnostics.CreateScope("ConfigurationOperations.Patch"); scope.Start(); try { @@ -82,7 +82,7 @@ public virtual Response Patch(string resour /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string clusterName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ConfigurationClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ConfigurationOperations.Get"); scope.Start(); try { @@ -101,7 +101,7 @@ public virtual async Task> GetAsyn /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string clusterName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ConfigurationClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ConfigurationOperations.Get"); scope.Start(); try { diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/ConfigurationRestClient.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/ConfigurationRestOperations.cs similarity index 98% rename from sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/ConfigurationRestClient.cs rename to sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/ConfigurationRestOperations.cs index 5c8acff3ec1e7..ebaa1e70cbf41 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/ConfigurationRestClient.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/ConfigurationRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.EventHubs { - internal partial class ConfigurationRestClient + internal partial class ConfigurationRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ConfigurationRestClient. + /// Initializes a new instance of ConfigurationRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ConfigurationRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ConfigurationRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/ConsumerGroupsClient.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/ConsumerGroupsOperations.cs similarity index 94% rename from sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/ConsumerGroupsClient.cs rename to sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/ConsumerGroupsOperations.cs index efd704fb635bf..26ef09b81ff0c 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/ConsumerGroupsClient.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/ConsumerGroupsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.EventHubs { /// The ConsumerGroups service client. - public partial class ConsumerGroupsClient + public partial class ConsumerGroupsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ConsumerGroupsRestClient RestClient { get; } - /// Initializes a new instance of ConsumerGroupsClient for mocking. - protected ConsumerGroupsClient() + internal ConsumerGroupsRestOperations RestClient { get; } + /// Initializes a new instance of ConsumerGroupsOperations for mocking. + protected ConsumerGroupsOperations() { } - /// Initializes a new instance of ConsumerGroupsClient. + /// Initializes a new instance of ConsumerGroupsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ConsumerGroupsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ConsumerGroupsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ConsumerGroupsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ConsumerGroupsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -46,7 +46,7 @@ internal ConsumerGroupsClient(ClientDiagnostics clientDiagnostics, HttpPipeline /// The cancellation token to use. public virtual async Task> CreateOrUpdateAsync(string resourceGroupName, string namespaceName, string eventHubName, string consumerGroupName, ConsumerGroup parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ConsumerGroupsClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ConsumerGroupsOperations.CreateOrUpdate"); scope.Start(); try { @@ -68,7 +68,7 @@ public virtual async Task> CreateOrUpdateAsync(string re /// The cancellation token to use. public virtual Response CreateOrUpdate(string resourceGroupName, string namespaceName, string eventHubName, string consumerGroupName, ConsumerGroup parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ConsumerGroupsClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ConsumerGroupsOperations.CreateOrUpdate"); scope.Start(); try { @@ -89,7 +89,7 @@ public virtual Response CreateOrUpdate(string resourceGroupName, /// The cancellation token to use. public virtual async Task DeleteAsync(string resourceGroupName, string namespaceName, string eventHubName, string consumerGroupName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ConsumerGroupsClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("ConsumerGroupsOperations.Delete"); scope.Start(); try { @@ -110,7 +110,7 @@ public virtual async Task DeleteAsync(string resourceGroupName, string /// The cancellation token to use. public virtual Response Delete(string resourceGroupName, string namespaceName, string eventHubName, string consumerGroupName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ConsumerGroupsClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("ConsumerGroupsOperations.Delete"); scope.Start(); try { @@ -131,7 +131,7 @@ public virtual Response Delete(string resourceGroupName, string namespaceName, s /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string namespaceName, string eventHubName, string consumerGroupName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ConsumerGroupsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ConsumerGroupsOperations.Get"); scope.Start(); try { @@ -152,7 +152,7 @@ public virtual async Task> GetAsync(string resourceGroup /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string namespaceName, string eventHubName, string consumerGroupName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ConsumerGroupsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ConsumerGroupsOperations.Get"); scope.Start(); try { @@ -189,7 +189,7 @@ public virtual AsyncPageable ListByEventHubAsync(string resourceG async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ConsumerGroupsClient.ListByEventHub"); + using var scope = _clientDiagnostics.CreateScope("ConsumerGroupsOperations.ListByEventHub"); scope.Start(); try { @@ -204,7 +204,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ConsumerGroupsClient.ListByEventHub"); + using var scope = _clientDiagnostics.CreateScope("ConsumerGroupsOperations.ListByEventHub"); scope.Start(); try { @@ -244,7 +244,7 @@ public virtual Pageable ListByEventHub(string resourceGroupName, Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ConsumerGroupsClient.ListByEventHub"); + using var scope = _clientDiagnostics.CreateScope("ConsumerGroupsOperations.ListByEventHub"); scope.Start(); try { @@ -259,7 +259,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ConsumerGroupsClient.ListByEventHub"); + using var scope = _clientDiagnostics.CreateScope("ConsumerGroupsOperations.ListByEventHub"); scope.Start(); try { diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/ConsumerGroupsRestClient.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/ConsumerGroupsRestOperations.cs similarity index 99% rename from sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/ConsumerGroupsRestClient.cs rename to sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/ConsumerGroupsRestOperations.cs index 2e15b817fccc5..939b5d86f816a 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/ConsumerGroupsRestClient.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/ConsumerGroupsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.EventHubs { - internal partial class ConsumerGroupsRestClient + internal partial class ConsumerGroupsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ConsumerGroupsRestClient. + /// Initializes a new instance of ConsumerGroupsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ConsumerGroupsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ConsumerGroupsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/DisasterRecoveryConfigsClient.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/DisasterRecoveryConfigsOperations.cs similarity index 94% rename from sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/DisasterRecoveryConfigsClient.cs rename to sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/DisasterRecoveryConfigsOperations.cs index cb7f2d30673fc..c6098dc3e2983 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/DisasterRecoveryConfigsClient.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/DisasterRecoveryConfigsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.EventHubs { /// The DisasterRecoveryConfigs service client. - public partial class DisasterRecoveryConfigsClient + public partial class DisasterRecoveryConfigsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal DisasterRecoveryConfigsRestClient RestClient { get; } - /// Initializes a new instance of DisasterRecoveryConfigsClient for mocking. - protected DisasterRecoveryConfigsClient() + internal DisasterRecoveryConfigsRestOperations RestClient { get; } + /// Initializes a new instance of DisasterRecoveryConfigsOperations for mocking. + protected DisasterRecoveryConfigsOperations() { } - /// Initializes a new instance of DisasterRecoveryConfigsClient. + /// Initializes a new instance of DisasterRecoveryConfigsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal DisasterRecoveryConfigsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal DisasterRecoveryConfigsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new DisasterRecoveryConfigsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new DisasterRecoveryConfigsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -45,7 +45,7 @@ internal DisasterRecoveryConfigsClient(ClientDiagnostics clientDiagnostics, Http /// The cancellation token to use. public virtual async Task> GetAuthorizationRuleAsync(string resourceGroupName, string namespaceName, string @alias, string authorizationRuleName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DisasterRecoveryConfigsClient.GetAuthorizationRule"); + using var scope = _clientDiagnostics.CreateScope("DisasterRecoveryConfigsOperations.GetAuthorizationRule"); scope.Start(); try { @@ -66,7 +66,7 @@ public virtual async Task> GetAuthorizationRuleAsync /// The cancellation token to use. public virtual Response GetAuthorizationRule(string resourceGroupName, string namespaceName, string @alias, string authorizationRuleName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DisasterRecoveryConfigsClient.GetAuthorizationRule"); + using var scope = _clientDiagnostics.CreateScope("DisasterRecoveryConfigsOperations.GetAuthorizationRule"); scope.Start(); try { @@ -87,7 +87,7 @@ public virtual Response GetAuthorizationRule(string resourceG /// The cancellation token to use. public virtual async Task> ListKeysAsync(string resourceGroupName, string namespaceName, string @alias, string authorizationRuleName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DisasterRecoveryConfigsClient.ListKeys"); + using var scope = _clientDiagnostics.CreateScope("DisasterRecoveryConfigsOperations.ListKeys"); scope.Start(); try { @@ -108,7 +108,7 @@ public virtual async Task> ListKeysAsync(string resourceGro /// The cancellation token to use. public virtual Response ListKeys(string resourceGroupName, string namespaceName, string @alias, string authorizationRuleName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DisasterRecoveryConfigsClient.ListKeys"); + using var scope = _clientDiagnostics.CreateScope("DisasterRecoveryConfigsOperations.ListKeys"); scope.Start(); try { @@ -128,7 +128,7 @@ public virtual Response ListKeys(string resourceGroupName, string na /// The cancellation token to use. public virtual async Task> CheckNameAvailabilityAsync(string resourceGroupName, string namespaceName, CheckNameAvailabilityParameter parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DisasterRecoveryConfigsClient.CheckNameAvailability"); + using var scope = _clientDiagnostics.CreateScope("DisasterRecoveryConfigsOperations.CheckNameAvailability"); scope.Start(); try { @@ -148,7 +148,7 @@ public virtual async Task> CheckNameAvaila /// The cancellation token to use. public virtual Response CheckNameAvailability(string resourceGroupName, string namespaceName, CheckNameAvailabilityParameter parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DisasterRecoveryConfigsClient.CheckNameAvailability"); + using var scope = _clientDiagnostics.CreateScope("DisasterRecoveryConfigsOperations.CheckNameAvailability"); scope.Start(); try { @@ -169,7 +169,7 @@ public virtual Response CheckNameAvailability(strin /// The cancellation token to use. public virtual async Task> CreateOrUpdateAsync(string resourceGroupName, string namespaceName, string @alias, ArmDisasterRecovery parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DisasterRecoveryConfigsClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("DisasterRecoveryConfigsOperations.CreateOrUpdate"); scope.Start(); try { @@ -190,7 +190,7 @@ public virtual async Task> CreateOrUpdateAsync(str /// The cancellation token to use. public virtual Response CreateOrUpdate(string resourceGroupName, string namespaceName, string @alias, ArmDisasterRecovery parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DisasterRecoveryConfigsClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("DisasterRecoveryConfigsOperations.CreateOrUpdate"); scope.Start(); try { @@ -210,7 +210,7 @@ public virtual Response CreateOrUpdate(string resourceGroup /// The cancellation token to use. public virtual async Task DeleteAsync(string resourceGroupName, string namespaceName, string @alias, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DisasterRecoveryConfigsClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("DisasterRecoveryConfigsOperations.Delete"); scope.Start(); try { @@ -230,7 +230,7 @@ public virtual async Task DeleteAsync(string resourceGroupName, string /// The cancellation token to use. public virtual Response Delete(string resourceGroupName, string namespaceName, string @alias, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DisasterRecoveryConfigsClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("DisasterRecoveryConfigsOperations.Delete"); scope.Start(); try { @@ -250,7 +250,7 @@ public virtual Response Delete(string resourceGroupName, string namespaceName, s /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string namespaceName, string @alias, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DisasterRecoveryConfigsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("DisasterRecoveryConfigsOperations.Get"); scope.Start(); try { @@ -270,7 +270,7 @@ public virtual async Task> GetAsync(string resourc /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string namespaceName, string @alias, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DisasterRecoveryConfigsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("DisasterRecoveryConfigsOperations.Get"); scope.Start(); try { @@ -290,7 +290,7 @@ public virtual Response Get(string resourceGroupName, strin /// The cancellation token to use. public virtual async Task BreakPairingAsync(string resourceGroupName, string namespaceName, string @alias, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DisasterRecoveryConfigsClient.BreakPairing"); + using var scope = _clientDiagnostics.CreateScope("DisasterRecoveryConfigsOperations.BreakPairing"); scope.Start(); try { @@ -310,7 +310,7 @@ public virtual async Task BreakPairingAsync(string resourceGroupName, /// The cancellation token to use. public virtual Response BreakPairing(string resourceGroupName, string namespaceName, string @alias, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DisasterRecoveryConfigsClient.BreakPairing"); + using var scope = _clientDiagnostics.CreateScope("DisasterRecoveryConfigsOperations.BreakPairing"); scope.Start(); try { @@ -330,7 +330,7 @@ public virtual Response BreakPairing(string resourceGroupName, string namespaceN /// The cancellation token to use. public virtual async Task FailOverAsync(string resourceGroupName, string namespaceName, string @alias, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DisasterRecoveryConfigsClient.FailOver"); + using var scope = _clientDiagnostics.CreateScope("DisasterRecoveryConfigsOperations.FailOver"); scope.Start(); try { @@ -350,7 +350,7 @@ public virtual async Task FailOverAsync(string resourceGroupName, stri /// The cancellation token to use. public virtual Response FailOver(string resourceGroupName, string namespaceName, string @alias, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DisasterRecoveryConfigsClient.FailOver"); + using var scope = _clientDiagnostics.CreateScope("DisasterRecoveryConfigsOperations.FailOver"); scope.Start(); try { @@ -385,7 +385,7 @@ public virtual AsyncPageable ListAuthorizationRulesAsync(stri async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DisasterRecoveryConfigsClient.ListAuthorizationRules"); + using var scope = _clientDiagnostics.CreateScope("DisasterRecoveryConfigsOperations.ListAuthorizationRules"); scope.Start(); try { @@ -400,7 +400,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DisasterRecoveryConfigsClient.ListAuthorizationRules"); + using var scope = _clientDiagnostics.CreateScope("DisasterRecoveryConfigsOperations.ListAuthorizationRules"); scope.Start(); try { @@ -438,7 +438,7 @@ public virtual Pageable ListAuthorizationRules(string resourc Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DisasterRecoveryConfigsClient.ListAuthorizationRules"); + using var scope = _clientDiagnostics.CreateScope("DisasterRecoveryConfigsOperations.ListAuthorizationRules"); scope.Start(); try { @@ -453,7 +453,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DisasterRecoveryConfigsClient.ListAuthorizationRules"); + using var scope = _clientDiagnostics.CreateScope("DisasterRecoveryConfigsOperations.ListAuthorizationRules"); scope.Start(); try { @@ -486,7 +486,7 @@ public virtual AsyncPageable ListAsync(string resourceGroup async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DisasterRecoveryConfigsClient.List"); + using var scope = _clientDiagnostics.CreateScope("DisasterRecoveryConfigsOperations.List"); scope.Start(); try { @@ -501,7 +501,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DisasterRecoveryConfigsClient.List"); + using var scope = _clientDiagnostics.CreateScope("DisasterRecoveryConfigsOperations.List"); scope.Start(); try { @@ -534,7 +534,7 @@ public virtual Pageable List(string resourceGroupName, stri Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DisasterRecoveryConfigsClient.List"); + using var scope = _clientDiagnostics.CreateScope("DisasterRecoveryConfigsOperations.List"); scope.Start(); try { @@ -549,7 +549,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DisasterRecoveryConfigsClient.List"); + using var scope = _clientDiagnostics.CreateScope("DisasterRecoveryConfigsOperations.List"); scope.Start(); try { diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/DisasterRecoveryConfigsRestClient.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/DisasterRecoveryConfigsRestOperations.cs similarity index 99% rename from sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/DisasterRecoveryConfigsRestClient.cs rename to sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/DisasterRecoveryConfigsRestOperations.cs index d8b308045593a..abb034f248dc9 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/DisasterRecoveryConfigsRestClient.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/DisasterRecoveryConfigsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.EventHubs { - internal partial class DisasterRecoveryConfigsRestClient + internal partial class DisasterRecoveryConfigsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of DisasterRecoveryConfigsRestClient. + /// Initializes a new instance of DisasterRecoveryConfigsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public DisasterRecoveryConfigsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public DisasterRecoveryConfigsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/EventHubsManagementClient.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/EventHubsManagementClient.cs index 47e64753e2a99..7915b94ffb0b7 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/EventHubsManagementClient.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/EventHubsManagementClient.cs @@ -53,52 +53,28 @@ public EventHubsManagementClient(string subscriptionId, Uri endpoint, TokenCrede _endpoint = endpoint; } - /// Creates a new instance of ClustersClient. - public virtual ClustersClient GetClustersClient() - { - return new ClustersClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ClustersOperations. + public virtual ClustersOperations Clusters => new ClustersOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of NamespacesClient. - public virtual NamespacesClient GetNamespacesClient() - { - return new NamespacesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of NamespacesOperations. + public virtual NamespacesOperations Namespaces => new NamespacesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ConfigurationClient. - public virtual ConfigurationClient GetConfigurationClient() - { - return new ConfigurationClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ConfigurationOperations. + public virtual ConfigurationOperations Configuration => new ConfigurationOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of DisasterRecoveryConfigsClient. - public virtual DisasterRecoveryConfigsClient GetDisasterRecoveryConfigsClient() - { - return new DisasterRecoveryConfigsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of DisasterRecoveryConfigsOperations. + public virtual DisasterRecoveryConfigsOperations DisasterRecoveryConfigs => new DisasterRecoveryConfigsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of EventHubsClient. - public virtual EventHubsClient GetEventHubsClient() - { - return new EventHubsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of EventHubsOperations. + public virtual EventHubsOperations EventHubs => new EventHubsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ConsumerGroupsClient. - public virtual ConsumerGroupsClient GetConsumerGroupsClient() - { - return new ConsumerGroupsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ConsumerGroupsOperations. + public virtual ConsumerGroupsOperations ConsumerGroups => new ConsumerGroupsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of OperationsClient. - public virtual OperationsClient GetOperationsClient() - { - return new OperationsClient(_clientDiagnostics, _pipeline, _endpoint); - } + /// Returns an instance of Operations. + public virtual Operations Operations => new Operations(_clientDiagnostics, _pipeline, _endpoint); - /// Creates a new instance of RegionsClient. - public virtual RegionsClient GetRegionsClient() - { - return new RegionsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of RegionsOperations. + public virtual RegionsOperations Regions => new RegionsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); } } diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/EventHubsClient.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/EventHubsOperations.cs similarity index 95% rename from sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/EventHubsClient.cs rename to sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/EventHubsOperations.cs index e314d5355931f..126619fe064c0 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/EventHubsClient.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/EventHubsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.EventHubs { /// The EventHubs service client. - public partial class EventHubsClient + public partial class EventHubsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal EventHubsRestClient RestClient { get; } - /// Initializes a new instance of EventHubsClient for mocking. - protected EventHubsClient() + internal EventHubsRestOperations RestClient { get; } + /// Initializes a new instance of EventHubsOperations for mocking. + protected EventHubsOperations() { } - /// Initializes a new instance of EventHubsClient. + /// Initializes a new instance of EventHubsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal EventHubsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal EventHubsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new EventHubsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new EventHubsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -46,7 +46,7 @@ internal EventHubsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipel /// The cancellation token to use. public virtual async Task> CreateOrUpdateAuthorizationRuleAsync(string resourceGroupName, string namespaceName, string eventHubName, string authorizationRuleName, AuthorizationRule parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("EventHubsClient.CreateOrUpdateAuthorizationRule"); + using var scope = _clientDiagnostics.CreateScope("EventHubsOperations.CreateOrUpdateAuthorizationRule"); scope.Start(); try { @@ -68,7 +68,7 @@ public virtual async Task> CreateOrUpdateAuthorizati /// The cancellation token to use. public virtual Response CreateOrUpdateAuthorizationRule(string resourceGroupName, string namespaceName, string eventHubName, string authorizationRuleName, AuthorizationRule parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("EventHubsClient.CreateOrUpdateAuthorizationRule"); + using var scope = _clientDiagnostics.CreateScope("EventHubsOperations.CreateOrUpdateAuthorizationRule"); scope.Start(); try { @@ -89,7 +89,7 @@ public virtual Response CreateOrUpdateAuthorizationRule(strin /// The cancellation token to use. public virtual async Task> GetAuthorizationRuleAsync(string resourceGroupName, string namespaceName, string eventHubName, string authorizationRuleName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("EventHubsClient.GetAuthorizationRule"); + using var scope = _clientDiagnostics.CreateScope("EventHubsOperations.GetAuthorizationRule"); scope.Start(); try { @@ -110,7 +110,7 @@ public virtual async Task> GetAuthorizationRuleAsync /// The cancellation token to use. public virtual Response GetAuthorizationRule(string resourceGroupName, string namespaceName, string eventHubName, string authorizationRuleName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("EventHubsClient.GetAuthorizationRule"); + using var scope = _clientDiagnostics.CreateScope("EventHubsOperations.GetAuthorizationRule"); scope.Start(); try { @@ -131,7 +131,7 @@ public virtual Response GetAuthorizationRule(string resourceG /// The cancellation token to use. public virtual async Task DeleteAuthorizationRuleAsync(string resourceGroupName, string namespaceName, string eventHubName, string authorizationRuleName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("EventHubsClient.DeleteAuthorizationRule"); + using var scope = _clientDiagnostics.CreateScope("EventHubsOperations.DeleteAuthorizationRule"); scope.Start(); try { @@ -152,7 +152,7 @@ public virtual async Task DeleteAuthorizationRuleAsync(string resource /// The cancellation token to use. public virtual Response DeleteAuthorizationRule(string resourceGroupName, string namespaceName, string eventHubName, string authorizationRuleName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("EventHubsClient.DeleteAuthorizationRule"); + using var scope = _clientDiagnostics.CreateScope("EventHubsOperations.DeleteAuthorizationRule"); scope.Start(); try { @@ -173,7 +173,7 @@ public virtual Response DeleteAuthorizationRule(string resourceGroupName, string /// The cancellation token to use. public virtual async Task> ListKeysAsync(string resourceGroupName, string namespaceName, string eventHubName, string authorizationRuleName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("EventHubsClient.ListKeys"); + using var scope = _clientDiagnostics.CreateScope("EventHubsOperations.ListKeys"); scope.Start(); try { @@ -194,7 +194,7 @@ public virtual async Task> ListKeysAsync(string resourceGro /// The cancellation token to use. public virtual Response ListKeys(string resourceGroupName, string namespaceName, string eventHubName, string authorizationRuleName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("EventHubsClient.ListKeys"); + using var scope = _clientDiagnostics.CreateScope("EventHubsOperations.ListKeys"); scope.Start(); try { @@ -216,7 +216,7 @@ public virtual Response ListKeys(string resourceGroupName, string na /// The cancellation token to use. public virtual async Task> RegenerateKeysAsync(string resourceGroupName, string namespaceName, string eventHubName, string authorizationRuleName, RegenerateAccessKeyParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("EventHubsClient.RegenerateKeys"); + using var scope = _clientDiagnostics.CreateScope("EventHubsOperations.RegenerateKeys"); scope.Start(); try { @@ -238,7 +238,7 @@ public virtual async Task> RegenerateKeysAsync(string resou /// The cancellation token to use. public virtual Response RegenerateKeys(string resourceGroupName, string namespaceName, string eventHubName, string authorizationRuleName, RegenerateAccessKeyParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("EventHubsClient.RegenerateKeys"); + using var scope = _clientDiagnostics.CreateScope("EventHubsOperations.RegenerateKeys"); scope.Start(); try { @@ -259,7 +259,7 @@ public virtual Response RegenerateKeys(string resourceGroupName, str /// The cancellation token to use. public virtual async Task> CreateOrUpdateAsync(string resourceGroupName, string namespaceName, string eventHubName, Eventhub parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("EventHubsClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("EventHubsOperations.CreateOrUpdate"); scope.Start(); try { @@ -280,7 +280,7 @@ public virtual async Task> CreateOrUpdateAsync(string resourc /// The cancellation token to use. public virtual Response CreateOrUpdate(string resourceGroupName, string namespaceName, string eventHubName, Eventhub parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("EventHubsClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("EventHubsOperations.CreateOrUpdate"); scope.Start(); try { @@ -300,7 +300,7 @@ public virtual Response CreateOrUpdate(string resourceGroupName, strin /// The cancellation token to use. public virtual async Task DeleteAsync(string resourceGroupName, string namespaceName, string eventHubName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("EventHubsClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("EventHubsOperations.Delete"); scope.Start(); try { @@ -320,7 +320,7 @@ public virtual async Task DeleteAsync(string resourceGroupName, string /// The cancellation token to use. public virtual Response Delete(string resourceGroupName, string namespaceName, string eventHubName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("EventHubsClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("EventHubsOperations.Delete"); scope.Start(); try { @@ -340,7 +340,7 @@ public virtual Response Delete(string resourceGroupName, string namespaceName, s /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string namespaceName, string eventHubName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("EventHubsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("EventHubsOperations.Get"); scope.Start(); try { @@ -360,7 +360,7 @@ public virtual async Task> GetAsync(string resourceGroupName, /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string namespaceName, string eventHubName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("EventHubsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("EventHubsOperations.Get"); scope.Start(); try { @@ -395,7 +395,7 @@ public virtual AsyncPageable ListAuthorizationRulesAsync(stri async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("EventHubsClient.ListAuthorizationRules"); + using var scope = _clientDiagnostics.CreateScope("EventHubsOperations.ListAuthorizationRules"); scope.Start(); try { @@ -410,7 +410,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("EventHubsClient.ListAuthorizationRules"); + using var scope = _clientDiagnostics.CreateScope("EventHubsOperations.ListAuthorizationRules"); scope.Start(); try { @@ -448,7 +448,7 @@ public virtual Pageable ListAuthorizationRules(string resourc Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("EventHubsClient.ListAuthorizationRules"); + using var scope = _clientDiagnostics.CreateScope("EventHubsOperations.ListAuthorizationRules"); scope.Start(); try { @@ -463,7 +463,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("EventHubsClient.ListAuthorizationRules"); + using var scope = _clientDiagnostics.CreateScope("EventHubsOperations.ListAuthorizationRules"); scope.Start(); try { @@ -498,7 +498,7 @@ public virtual AsyncPageable ListByNamespaceAsync(string resourceGroup async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("EventHubsClient.ListByNamespace"); + using var scope = _clientDiagnostics.CreateScope("EventHubsOperations.ListByNamespace"); scope.Start(); try { @@ -513,7 +513,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("EventHubsClient.ListByNamespace"); + using var scope = _clientDiagnostics.CreateScope("EventHubsOperations.ListByNamespace"); scope.Start(); try { @@ -548,7 +548,7 @@ public virtual Pageable ListByNamespace(string resourceGroupName, stri Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("EventHubsClient.ListByNamespace"); + using var scope = _clientDiagnostics.CreateScope("EventHubsOperations.ListByNamespace"); scope.Start(); try { @@ -563,7 +563,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("EventHubsClient.ListByNamespace"); + using var scope = _clientDiagnostics.CreateScope("EventHubsOperations.ListByNamespace"); scope.Start(); try { diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/EventHubsRestClient.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/EventHubsRestOperations.cs similarity index 99% rename from sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/EventHubsRestClient.cs rename to sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/EventHubsRestOperations.cs index a44b47ecb508c..1dfd606fe0372 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/EventHubsRestClient.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/EventHubsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.EventHubs { - internal partial class EventHubsRestClient + internal partial class EventHubsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of EventHubsRestClient. + /// Initializes a new instance of EventHubsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public EventHubsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public EventHubsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/NamespacesClient.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/NamespacesOperations.cs similarity index 95% rename from sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/NamespacesClient.cs rename to sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/NamespacesOperations.cs index 3312a9bd6f81f..9d87b86fda024 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/NamespacesClient.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/NamespacesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.EventHubs { /// The Namespaces service client. - public partial class NamespacesClient + public partial class NamespacesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal NamespacesRestClient RestClient { get; } - /// Initializes a new instance of NamespacesClient for mocking. - protected NamespacesClient() + internal NamespacesRestOperations RestClient { get; } + /// Initializes a new instance of NamespacesOperations for mocking. + protected NamespacesOperations() { } - /// Initializes a new instance of NamespacesClient. + /// Initializes a new instance of NamespacesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal NamespacesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal NamespacesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new NamespacesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new NamespacesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -45,7 +45,7 @@ internal NamespacesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipe /// The cancellation token to use. public virtual async Task> CreateOrUpdateIpFilterRuleAsync(string resourceGroupName, string namespaceName, string ipFilterRuleName, IpFilterRule parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.CreateOrUpdateIpFilterRule"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.CreateOrUpdateIpFilterRule"); scope.Start(); try { @@ -66,7 +66,7 @@ public virtual async Task> CreateOrUpdateIpFilterRuleAsyn /// The cancellation token to use. public virtual Response CreateOrUpdateIpFilterRule(string resourceGroupName, string namespaceName, string ipFilterRuleName, IpFilterRule parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.CreateOrUpdateIpFilterRule"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.CreateOrUpdateIpFilterRule"); scope.Start(); try { @@ -86,7 +86,7 @@ public virtual Response CreateOrUpdateIpFilterRule(string resource /// The cancellation token to use. public virtual async Task DeleteIpFilterRuleAsync(string resourceGroupName, string namespaceName, string ipFilterRuleName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.DeleteIpFilterRule"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.DeleteIpFilterRule"); scope.Start(); try { @@ -106,7 +106,7 @@ public virtual async Task DeleteIpFilterRuleAsync(string resourceGroup /// The cancellation token to use. public virtual Response DeleteIpFilterRule(string resourceGroupName, string namespaceName, string ipFilterRuleName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.DeleteIpFilterRule"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.DeleteIpFilterRule"); scope.Start(); try { @@ -126,7 +126,7 @@ public virtual Response DeleteIpFilterRule(string resourceGroupName, string name /// The cancellation token to use. public virtual async Task> GetIpFilterRuleAsync(string resourceGroupName, string namespaceName, string ipFilterRuleName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.GetIpFilterRule"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.GetIpFilterRule"); scope.Start(); try { @@ -146,7 +146,7 @@ public virtual async Task> GetIpFilterRuleAsync(string re /// The cancellation token to use. public virtual Response GetIpFilterRule(string resourceGroupName, string namespaceName, string ipFilterRuleName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.GetIpFilterRule"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.GetIpFilterRule"); scope.Start(); try { @@ -165,7 +165,7 @@ public virtual Response GetIpFilterRule(string resourceGroupName, /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string namespaceName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.Get"); scope.Start(); try { @@ -184,7 +184,7 @@ public virtual async Task> GetAsync(string resourceGroupNa /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string namespaceName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.Get"); scope.Start(); try { @@ -204,7 +204,7 @@ public virtual Response Get(string resourceGroupName, string namesp /// The cancellation token to use. public virtual async Task> UpdateAsync(string resourceGroupName, string namespaceName, EHNamespace parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.Update"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.Update"); scope.Start(); try { @@ -224,7 +224,7 @@ public virtual async Task> UpdateAsync(string resourceGrou /// The cancellation token to use. public virtual Response Update(string resourceGroupName, string namespaceName, EHNamespace parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.Update"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.Update"); scope.Start(); try { @@ -245,7 +245,7 @@ public virtual Response Update(string resourceGroupName, string nam /// The cancellation token to use. public virtual async Task> CreateOrUpdateVirtualNetworkRuleAsync(string resourceGroupName, string namespaceName, string virtualNetworkRuleName, VirtualNetworkRule parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.CreateOrUpdateVirtualNetworkRule"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.CreateOrUpdateVirtualNetworkRule"); scope.Start(); try { @@ -266,7 +266,7 @@ public virtual async Task> CreateOrUpdateVirtualNet /// The cancellation token to use. public virtual Response CreateOrUpdateVirtualNetworkRule(string resourceGroupName, string namespaceName, string virtualNetworkRuleName, VirtualNetworkRule parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.CreateOrUpdateVirtualNetworkRule"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.CreateOrUpdateVirtualNetworkRule"); scope.Start(); try { @@ -286,7 +286,7 @@ public virtual Response CreateOrUpdateVirtualNetworkRule(str /// The cancellation token to use. public virtual async Task DeleteVirtualNetworkRuleAsync(string resourceGroupName, string namespaceName, string virtualNetworkRuleName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.DeleteVirtualNetworkRule"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.DeleteVirtualNetworkRule"); scope.Start(); try { @@ -306,7 +306,7 @@ public virtual async Task DeleteVirtualNetworkRuleAsync(string resourc /// The cancellation token to use. public virtual Response DeleteVirtualNetworkRule(string resourceGroupName, string namespaceName, string virtualNetworkRuleName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.DeleteVirtualNetworkRule"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.DeleteVirtualNetworkRule"); scope.Start(); try { @@ -326,7 +326,7 @@ public virtual Response DeleteVirtualNetworkRule(string resourceGroupName, strin /// The cancellation token to use. public virtual async Task> GetVirtualNetworkRuleAsync(string resourceGroupName, string namespaceName, string virtualNetworkRuleName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.GetVirtualNetworkRule"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.GetVirtualNetworkRule"); scope.Start(); try { @@ -346,7 +346,7 @@ public virtual async Task> GetVirtualNetworkRuleAsy /// The cancellation token to use. public virtual Response GetVirtualNetworkRule(string resourceGroupName, string namespaceName, string virtualNetworkRuleName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.GetVirtualNetworkRule"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.GetVirtualNetworkRule"); scope.Start(); try { @@ -366,7 +366,7 @@ public virtual Response GetVirtualNetworkRule(string resourc /// The cancellation token to use. public virtual async Task> CreateOrUpdateNetworkRuleSetAsync(string resourceGroupName, string namespaceName, NetworkRuleSet parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.CreateOrUpdateNetworkRuleSet"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.CreateOrUpdateNetworkRuleSet"); scope.Start(); try { @@ -386,7 +386,7 @@ public virtual async Task> CreateOrUpdateNetworkRuleSet /// The cancellation token to use. public virtual Response CreateOrUpdateNetworkRuleSet(string resourceGroupName, string namespaceName, NetworkRuleSet parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.CreateOrUpdateNetworkRuleSet"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.CreateOrUpdateNetworkRuleSet"); scope.Start(); try { @@ -405,7 +405,7 @@ public virtual Response CreateOrUpdateNetworkRuleSet(string reso /// The cancellation token to use. public virtual async Task> GetNetworkRuleSetAsync(string resourceGroupName, string namespaceName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.GetNetworkRuleSet"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.GetNetworkRuleSet"); scope.Start(); try { @@ -424,7 +424,7 @@ public virtual async Task> GetNetworkRuleSetAsync(strin /// The cancellation token to use. public virtual Response GetNetworkRuleSet(string resourceGroupName, string namespaceName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.GetNetworkRuleSet"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.GetNetworkRuleSet"); scope.Start(); try { @@ -445,7 +445,7 @@ public virtual Response GetNetworkRuleSet(string resourceGroupNa /// The cancellation token to use. public virtual async Task> CreateOrUpdateAuthorizationRuleAsync(string resourceGroupName, string namespaceName, string authorizationRuleName, AuthorizationRule parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.CreateOrUpdateAuthorizationRule"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.CreateOrUpdateAuthorizationRule"); scope.Start(); try { @@ -466,7 +466,7 @@ public virtual async Task> CreateOrUpdateAuthorizati /// The cancellation token to use. public virtual Response CreateOrUpdateAuthorizationRule(string resourceGroupName, string namespaceName, string authorizationRuleName, AuthorizationRule parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.CreateOrUpdateAuthorizationRule"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.CreateOrUpdateAuthorizationRule"); scope.Start(); try { @@ -486,7 +486,7 @@ public virtual Response CreateOrUpdateAuthorizationRule(strin /// The cancellation token to use. public virtual async Task DeleteAuthorizationRuleAsync(string resourceGroupName, string namespaceName, string authorizationRuleName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.DeleteAuthorizationRule"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.DeleteAuthorizationRule"); scope.Start(); try { @@ -506,7 +506,7 @@ public virtual async Task DeleteAuthorizationRuleAsync(string resource /// The cancellation token to use. public virtual Response DeleteAuthorizationRule(string resourceGroupName, string namespaceName, string authorizationRuleName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.DeleteAuthorizationRule"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.DeleteAuthorizationRule"); scope.Start(); try { @@ -526,7 +526,7 @@ public virtual Response DeleteAuthorizationRule(string resourceGroupName, string /// The cancellation token to use. public virtual async Task> GetAuthorizationRuleAsync(string resourceGroupName, string namespaceName, string authorizationRuleName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.GetAuthorizationRule"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.GetAuthorizationRule"); scope.Start(); try { @@ -546,7 +546,7 @@ public virtual async Task> GetAuthorizationRuleAsync /// The cancellation token to use. public virtual Response GetAuthorizationRule(string resourceGroupName, string namespaceName, string authorizationRuleName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.GetAuthorizationRule"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.GetAuthorizationRule"); scope.Start(); try { @@ -566,7 +566,7 @@ public virtual Response GetAuthorizationRule(string resourceG /// The cancellation token to use. public virtual async Task> ListKeysAsync(string resourceGroupName, string namespaceName, string authorizationRuleName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.ListKeys"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.ListKeys"); scope.Start(); try { @@ -586,7 +586,7 @@ public virtual async Task> ListKeysAsync(string resourceGro /// The cancellation token to use. public virtual Response ListKeys(string resourceGroupName, string namespaceName, string authorizationRuleName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.ListKeys"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.ListKeys"); scope.Start(); try { @@ -607,7 +607,7 @@ public virtual Response ListKeys(string resourceGroupName, string na /// The cancellation token to use. public virtual async Task> RegenerateKeysAsync(string resourceGroupName, string namespaceName, string authorizationRuleName, RegenerateAccessKeyParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.RegenerateKeys"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.RegenerateKeys"); scope.Start(); try { @@ -628,7 +628,7 @@ public virtual async Task> RegenerateKeysAsync(string resou /// The cancellation token to use. public virtual Response RegenerateKeys(string resourceGroupName, string namespaceName, string authorizationRuleName, RegenerateAccessKeyParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.RegenerateKeys"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.RegenerateKeys"); scope.Start(); try { @@ -646,7 +646,7 @@ public virtual Response RegenerateKeys(string resourceGroupName, str /// The cancellation token to use. public virtual async Task> CheckNameAvailabilityAsync(CheckNameAvailabilityParameter parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.CheckNameAvailability"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.CheckNameAvailability"); scope.Start(); try { @@ -664,7 +664,7 @@ public virtual async Task> CheckNameAvaila /// The cancellation token to use. public virtual Response CheckNameAvailability(CheckNameAvailabilityParameter parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.CheckNameAvailability"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.CheckNameAvailability"); scope.Start(); try { @@ -694,7 +694,7 @@ public virtual AsyncPageable ListIPFilterRulesAsync(string resourc async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.ListIPFilterRules"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.ListIPFilterRules"); scope.Start(); try { @@ -709,7 +709,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.ListIPFilterRules"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.ListIPFilterRules"); scope.Start(); try { @@ -742,7 +742,7 @@ public virtual Pageable ListIPFilterRules(string resourceGroupName Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.ListIPFilterRules"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.ListIPFilterRules"); scope.Start(); try { @@ -757,7 +757,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.ListIPFilterRules"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.ListIPFilterRules"); scope.Start(); try { @@ -779,7 +779,7 @@ public virtual AsyncPageable ListAsync(CancellationToken cancellati { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.List"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.List"); scope.Start(); try { @@ -794,7 +794,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.List"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.List"); scope.Start(); try { @@ -816,7 +816,7 @@ public virtual Pageable List(CancellationToken cancellationToken = { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.List"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.List"); scope.Start(); try { @@ -831,7 +831,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.List"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.List"); scope.Start(); try { @@ -859,7 +859,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(string resour async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.ListByResourceGroup"); scope.Start(); try { @@ -874,7 +874,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.ListByResourceGroup"); scope.Start(); try { @@ -902,7 +902,7 @@ public virtual Pageable ListByResourceGroup(string resourceGroupNam Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.ListByResourceGroup"); scope.Start(); try { @@ -917,7 +917,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.ListByResourceGroup"); scope.Start(); try { @@ -950,7 +950,7 @@ public virtual AsyncPageable ListVirtualNetworkRulesAsync(st async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.ListVirtualNetworkRules"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.ListVirtualNetworkRules"); scope.Start(); try { @@ -965,7 +965,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.ListVirtualNetworkRules"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.ListVirtualNetworkRules"); scope.Start(); try { @@ -998,7 +998,7 @@ public virtual Pageable ListVirtualNetworkRules(string resou Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.ListVirtualNetworkRules"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.ListVirtualNetworkRules"); scope.Start(); try { @@ -1013,7 +1013,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.ListVirtualNetworkRules"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.ListVirtualNetworkRules"); scope.Start(); try { @@ -1046,7 +1046,7 @@ public virtual AsyncPageable ListAuthorizationRulesAsync(stri async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.ListAuthorizationRules"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.ListAuthorizationRules"); scope.Start(); try { @@ -1061,7 +1061,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.ListAuthorizationRules"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.ListAuthorizationRules"); scope.Start(); try { @@ -1094,7 +1094,7 @@ public virtual Pageable ListAuthorizationRules(string resourc Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.ListAuthorizationRules"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.ListAuthorizationRules"); scope.Start(); try { @@ -1109,7 +1109,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.ListAuthorizationRules"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.ListAuthorizationRules"); scope.Start(); try { @@ -1145,7 +1145,7 @@ public virtual async Task StartCreateOrUpdate throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -1179,7 +1179,7 @@ public virtual NamespacesCreateOrUpdateOperation StartCreateOrUpdate(string reso throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -1208,7 +1208,7 @@ public virtual async Task StartDeleteAsync(string res throw new ArgumentNullException(nameof(namespaceName)); } - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.StartDelete"); scope.Start(); try { @@ -1237,7 +1237,7 @@ public virtual NamespacesDeleteOperation StartDelete(string resourceGroupName, s throw new ArgumentNullException(nameof(namespaceName)); } - using var scope = _clientDiagnostics.CreateScope("NamespacesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("NamespacesOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/NamespacesRestClient.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/NamespacesRestOperations.cs similarity index 99% rename from sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/NamespacesRestClient.cs rename to sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/NamespacesRestOperations.cs index dedab7b16ccd1..62d62df9b5545 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/NamespacesRestClient.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/NamespacesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.EventHubs { - internal partial class NamespacesRestClient + internal partial class NamespacesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of NamespacesRestClient. + /// Initializes a new instance of NamespacesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public NamespacesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public NamespacesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/OperationsClient.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/Operations.cs similarity index 85% rename from sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/OperationsClient.cs rename to sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/Operations.cs index f69785c2eb89a..0101e5e915f3f 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/OperationsClient.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/Operations.cs @@ -15,23 +15,23 @@ namespace Azure.ResourceManager.EventHubs { - /// The Operations service client. - public partial class OperationsClient + /// The service client. + public partial class Operations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal OperationsRestClient RestClient { get; } - /// Initializes a new instance of OperationsClient for mocking. - protected OperationsClient() + internal RestOperations RestClient { get; } + /// Initializes a new instance of Operations for mocking. + protected Operations() { } - /// Initializes a new instance of OperationsClient. + /// Initializes a new instance of Operations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// server parameter. - internal OperationsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null) + internal Operations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null) { - RestClient = new OperationsRestClient(clientDiagnostics, pipeline, endpoint); + RestClient = new RestOperations(clientDiagnostics, pipeline, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -42,7 +42,7 @@ public virtual AsyncPageable ListAsync(CancellationToken cancellation { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("OperationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("Operations.List"); scope.Start(); try { @@ -57,7 +57,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("OperationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("Operations.List"); scope.Start(); try { @@ -79,7 +79,7 @@ public virtual Pageable List(CancellationToken cancellationToken = de { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("OperationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("Operations.List"); scope.Start(); try { @@ -94,7 +94,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("OperationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("Operations.List"); scope.Start(); try { diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/RegionsClient.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/RegionsOperations.cs similarity index 87% rename from sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/RegionsClient.cs rename to sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/RegionsOperations.cs index 5f0c5f34c7c90..675dab4c1d9a3 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/RegionsClient.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/RegionsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.EventHubs { /// The Regions service client. - public partial class RegionsClient + public partial class RegionsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal RegionsRestClient RestClient { get; } - /// Initializes a new instance of RegionsClient for mocking. - protected RegionsClient() + internal RegionsRestOperations RestClient { get; } + /// Initializes a new instance of RegionsOperations for mocking. + protected RegionsOperations() { } - /// Initializes a new instance of RegionsClient. + /// Initializes a new instance of RegionsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal RegionsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal RegionsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new RegionsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new RegionsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -49,7 +49,7 @@ public virtual AsyncPageable ListBySkuAsync(string sku, Cancel async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RegionsClient.ListBySku"); + using var scope = _clientDiagnostics.CreateScope("RegionsOperations.ListBySku"); scope.Start(); try { @@ -64,7 +64,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RegionsClient.ListBySku"); + using var scope = _clientDiagnostics.CreateScope("RegionsOperations.ListBySku"); scope.Start(); try { @@ -92,7 +92,7 @@ public virtual Pageable ListBySku(string sku, CancellationToke Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RegionsClient.ListBySku"); + using var scope = _clientDiagnostics.CreateScope("RegionsOperations.ListBySku"); scope.Start(); try { @@ -107,7 +107,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RegionsClient.ListBySku"); + using var scope = _clientDiagnostics.CreateScope("RegionsOperations.ListBySku"); scope.Start(); try { diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/RegionsRestClient.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/RegionsRestOperations.cs similarity index 97% rename from sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/RegionsRestClient.cs rename to sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/RegionsRestOperations.cs index 765dfa47443d7..d685a4d5c6ff5 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/RegionsRestClient.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/RegionsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.EventHubs { - internal partial class RegionsRestClient + internal partial class RegionsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of RegionsRestClient. + /// Initializes a new instance of RegionsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public RegionsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public RegionsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/OperationsRestClient.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/RestOperations.cs similarity index 96% rename from sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/OperationsRestClient.cs rename to sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/RestOperations.cs index c1b22420bd9d5..6a28ee098be84 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/OperationsRestClient.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/RestOperations.cs @@ -16,17 +16,17 @@ namespace Azure.ResourceManager.EventHubs { - internal partial class OperationsRestClient + internal partial class RestOperations { private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of OperationsRestClient. + /// Initializes a new instance of RestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// server parameter. - public OperationsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null) + public RestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null) { endpoint ??= new Uri("https://management.azure.com"); diff --git a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/KeyVaultManagementClient.cs b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/KeyVaultManagementClient.cs index 423b94fee2bff..d77c8edf38c44 100644 --- a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/KeyVaultManagementClient.cs +++ b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/KeyVaultManagementClient.cs @@ -53,28 +53,16 @@ public KeyVaultManagementClient(string subscriptionId, Uri endpoint, TokenCreden _endpoint = endpoint; } - /// Creates a new instance of VaultsClient. - public virtual VaultsClient GetVaultsClient() - { - return new VaultsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VaultsOperations. + public virtual VaultsOperations Vaults => new VaultsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of PrivateEndpointConnectionsClient. - public virtual PrivateEndpointConnectionsClient GetPrivateEndpointConnectionsClient() - { - return new PrivateEndpointConnectionsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of PrivateEndpointConnectionsOperations. + public virtual PrivateEndpointConnectionsOperations PrivateEndpointConnections => new PrivateEndpointConnectionsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of PrivateLinkResourcesClient. - public virtual PrivateLinkResourcesClient GetPrivateLinkResourcesClient() - { - return new PrivateLinkResourcesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of PrivateLinkResourcesOperations. + public virtual PrivateLinkResourcesOperations PrivateLinkResources => new PrivateLinkResourcesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of OperationsClient. - public virtual OperationsClient GetOperationsClient() - { - return new OperationsClient(_clientDiagnostics, _pipeline, _endpoint); - } + /// Returns an instance of Operations. + public virtual Operations Operations => new Operations(_clientDiagnostics, _pipeline, _endpoint); } } diff --git a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/OperationsClient.cs b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/Operations.cs similarity index 84% rename from sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/OperationsClient.cs rename to sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/Operations.cs index b84c23fbde426..68092dadf6177 100644 --- a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/OperationsClient.cs +++ b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/Operations.cs @@ -15,24 +15,24 @@ namespace Azure.ResourceManager.KeyVault { - /// The Operations service client. - public partial class OperationsClient + /// The service client. + public partial class Operations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal OperationsRestClient RestClient { get; } - /// Initializes a new instance of OperationsClient for mocking. - protected OperationsClient() + internal RestOperations RestClient { get; } + /// Initializes a new instance of Operations for mocking. + protected Operations() { } - /// Initializes a new instance of OperationsClient. + /// Initializes a new instance of Operations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// server parameter. /// Api Version. - internal OperationsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null, string apiVersion = "2019-09-01") + internal Operations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null, string apiVersion = "2019-09-01") { - RestClient = new OperationsRestClient(clientDiagnostics, pipeline, endpoint, apiVersion); + RestClient = new RestOperations(clientDiagnostics, pipeline, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ public virtual AsyncPageable ListAsync(CancellationToken cancellation { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("OperationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("Operations.List"); scope.Start(); try { @@ -58,7 +58,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("OperationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("Operations.List"); scope.Start(); try { @@ -80,7 +80,7 @@ public virtual Pageable List(CancellationToken cancellationToken = de { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("OperationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("Operations.List"); scope.Start(); try { @@ -95,7 +95,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("OperationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("Operations.List"); scope.Start(); try { diff --git a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/PrivateEndpointConnectionsClient.cs b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/PrivateEndpointConnectionsOperations.cs similarity index 91% rename from sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/PrivateEndpointConnectionsClient.cs rename to sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/PrivateEndpointConnectionsOperations.cs index 168772cd590cf..52fc4696303da 100644 --- a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/PrivateEndpointConnectionsClient.cs +++ b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/PrivateEndpointConnectionsOperations.cs @@ -15,24 +15,24 @@ namespace Azure.ResourceManager.KeyVault { /// The PrivateEndpointConnections service client. - public partial class PrivateEndpointConnectionsClient + public partial class PrivateEndpointConnectionsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal PrivateEndpointConnectionsRestClient RestClient { get; } - /// Initializes a new instance of PrivateEndpointConnectionsClient for mocking. - protected PrivateEndpointConnectionsClient() + internal PrivateEndpointConnectionsRestOperations RestClient { get; } + /// Initializes a new instance of PrivateEndpointConnectionsOperations for mocking. + protected PrivateEndpointConnectionsOperations() { } - /// Initializes a new instance of PrivateEndpointConnectionsClient. + /// Initializes a new instance of PrivateEndpointConnectionsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// Api Version. - internal PrivateEndpointConnectionsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-09-01") + internal PrivateEndpointConnectionsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-09-01") { - RestClient = new PrivateEndpointConnectionsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); + RestClient = new PrivateEndpointConnectionsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal PrivateEndpointConnectionsClient(ClientDiagnostics clientDiagnostics, H /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string vaultName, string privateEndpointConnectionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string r /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string vaultName, string privateEndpointConnectionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsOperations.Get"); scope.Start(); try { @@ -85,7 +85,7 @@ public virtual Response Get(string resourceGroupName, /// The cancellation token to use. public virtual async Task> PutAsync(string resourceGroupName, string vaultName, string privateEndpointConnectionName, PrivateEndpointConnection properties, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsClient.Put"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsOperations.Put"); scope.Start(); try { @@ -106,7 +106,7 @@ public virtual async Task> PutAsync(string r /// The cancellation token to use. public virtual Response Put(string resourceGroupName, string vaultName, string privateEndpointConnectionName, PrivateEndpointConnection properties, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsClient.Put"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsOperations.Put"); scope.Start(); try { @@ -139,7 +139,7 @@ public virtual async Task StartDelete throw new ArgumentNullException(nameof(privateEndpointConnectionName)); } - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsOperations.StartDelete"); scope.Start(); try { @@ -173,7 +173,7 @@ public virtual PrivateEndpointConnectionsDeleteOperation StartDelete(string reso throw new ArgumentNullException(nameof(privateEndpointConnectionName)); } - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/PrivateEndpointConnectionsRestClient.cs b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/PrivateEndpointConnectionsRestOperations.cs similarity index 98% rename from sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/PrivateEndpointConnectionsRestClient.cs rename to sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/PrivateEndpointConnectionsRestOperations.cs index 0fef31cdb2c8b..f065b4b423a66 100644 --- a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/PrivateEndpointConnectionsRestClient.cs +++ b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/PrivateEndpointConnectionsRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.ResourceManager.KeyVault { - internal partial class PrivateEndpointConnectionsRestClient + internal partial class PrivateEndpointConnectionsRestOperations { private string subscriptionId; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class PrivateEndpointConnectionsRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of PrivateEndpointConnectionsRestClient. + /// Initializes a new instance of PrivateEndpointConnectionsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public PrivateEndpointConnectionsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-09-01") + public PrivateEndpointConnectionsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-09-01") { if (subscriptionId == null) { diff --git a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/PrivateLinkResourcesClient.cs b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/PrivateLinkResourcesOperations.cs similarity index 82% rename from sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/PrivateLinkResourcesClient.cs rename to sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/PrivateLinkResourcesOperations.cs index b02407bf8b4ac..1ee1a3551b0f0 100644 --- a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/PrivateLinkResourcesClient.cs +++ b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/PrivateLinkResourcesOperations.cs @@ -15,24 +15,24 @@ namespace Azure.ResourceManager.KeyVault { /// The PrivateLinkResources service client. - public partial class PrivateLinkResourcesClient + public partial class PrivateLinkResourcesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal PrivateLinkResourcesRestClient RestClient { get; } - /// Initializes a new instance of PrivateLinkResourcesClient for mocking. - protected PrivateLinkResourcesClient() + internal PrivateLinkResourcesRestOperations RestClient { get; } + /// Initializes a new instance of PrivateLinkResourcesOperations for mocking. + protected PrivateLinkResourcesOperations() { } - /// Initializes a new instance of PrivateLinkResourcesClient. + /// Initializes a new instance of PrivateLinkResourcesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// Api Version. - internal PrivateLinkResourcesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-09-01") + internal PrivateLinkResourcesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-09-01") { - RestClient = new PrivateLinkResourcesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); + RestClient = new PrivateLinkResourcesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal PrivateLinkResourcesClient(ClientDiagnostics clientDiagnostics, HttpPip /// The cancellation token to use. public virtual async Task> ListByVaultAsync(string resourceGroupName, string vaultName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkResourcesClient.ListByVault"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkResourcesOperations.ListByVault"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> ListByVaultAs /// The cancellation token to use. public virtual Response ListByVault(string resourceGroupName, string vaultName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkResourcesClient.ListByVault"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkResourcesOperations.ListByVault"); scope.Start(); try { diff --git a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/PrivateLinkResourcesRestClient.cs b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/PrivateLinkResourcesRestOperations.cs similarity index 95% rename from sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/PrivateLinkResourcesRestClient.cs rename to sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/PrivateLinkResourcesRestOperations.cs index acb773531538c..e551995d4cfbb 100644 --- a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/PrivateLinkResourcesRestClient.cs +++ b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/PrivateLinkResourcesRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.ResourceManager.KeyVault { - internal partial class PrivateLinkResourcesRestClient + internal partial class PrivateLinkResourcesRestOperations { private string subscriptionId; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class PrivateLinkResourcesRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of PrivateLinkResourcesRestClient. + /// Initializes a new instance of PrivateLinkResourcesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public PrivateLinkResourcesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-09-01") + public PrivateLinkResourcesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-09-01") { if (subscriptionId == null) { diff --git a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/OperationsRestClient.cs b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/RestOperations.cs similarity index 96% rename from sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/OperationsRestClient.cs rename to sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/RestOperations.cs index be5f4d43508da..5a8dd182446df 100644 --- a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/OperationsRestClient.cs +++ b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/RestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.KeyVault { - internal partial class OperationsRestClient + internal partial class RestOperations { private Uri endpoint; private string apiVersion; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of OperationsRestClient. + /// Initializes a new instance of RestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public OperationsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null, string apiVersion = "2019-09-01") + public RestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null, string apiVersion = "2019-09-01") { endpoint ??= new Uri("https://management.azure.com"); if (apiVersion == null) diff --git a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/VaultsClient.cs b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/VaultsOperations.cs similarity index 95% rename from sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/VaultsClient.cs rename to sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/VaultsOperations.cs index 0db963515478a..df3390b8e8724 100644 --- a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/VaultsClient.cs +++ b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/VaultsOperations.cs @@ -16,24 +16,24 @@ namespace Azure.ResourceManager.KeyVault { /// The Vaults service client. - public partial class VaultsClient + public partial class VaultsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VaultsRestClient RestClient { get; } - /// Initializes a new instance of VaultsClient for mocking. - protected VaultsClient() + internal VaultsRestOperations RestClient { get; } + /// Initializes a new instance of VaultsOperations for mocking. + protected VaultsOperations() { } - /// Initializes a new instance of VaultsClient. + /// Initializes a new instance of VaultsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// Api Version. - internal VaultsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-09-01") + internal VaultsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-09-01") { - RestClient = new VaultsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); + RestClient = new VaultsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -45,7 +45,7 @@ internal VaultsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline /// The cancellation token to use. public virtual async Task> UpdateAsync(string resourceGroupName, string vaultName, VaultPatchParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VaultsClient.Update"); + using var scope = _clientDiagnostics.CreateScope("VaultsOperations.Update"); scope.Start(); try { @@ -65,7 +65,7 @@ public virtual async Task> UpdateAsync(string resourceGroupName, /// The cancellation token to use. public virtual Response Update(string resourceGroupName, string vaultName, VaultPatchParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VaultsClient.Update"); + using var scope = _clientDiagnostics.CreateScope("VaultsOperations.Update"); scope.Start(); try { @@ -84,7 +84,7 @@ public virtual Response Update(string resourceGroupName, string vaultName /// The cancellation token to use. public virtual async Task DeleteAsync(string resourceGroupName, string vaultName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VaultsClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("VaultsOperations.Delete"); scope.Start(); try { @@ -103,7 +103,7 @@ public virtual async Task DeleteAsync(string resourceGroupName, string /// The cancellation token to use. public virtual Response Delete(string resourceGroupName, string vaultName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VaultsClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("VaultsOperations.Delete"); scope.Start(); try { @@ -122,7 +122,7 @@ public virtual Response Delete(string resourceGroupName, string vaultName, Cance /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string vaultName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VaultsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VaultsOperations.Get"); scope.Start(); try { @@ -141,7 +141,7 @@ public virtual async Task> GetAsync(string resourceGroupName, st /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string vaultName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VaultsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VaultsOperations.Get"); scope.Start(); try { @@ -162,7 +162,7 @@ public virtual Response Get(string resourceGroupName, string vaultName, C /// The cancellation token to use. public virtual async Task> UpdateAccessPolicyAsync(string resourceGroupName, string vaultName, AccessPolicyUpdateKind operationKind, VaultAccessPolicyParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VaultsClient.UpdateAccessPolicy"); + using var scope = _clientDiagnostics.CreateScope("VaultsOperations.UpdateAccessPolicy"); scope.Start(); try { @@ -183,7 +183,7 @@ public virtual async Task> UpdateAccessPol /// The cancellation token to use. public virtual Response UpdateAccessPolicy(string resourceGroupName, string vaultName, AccessPolicyUpdateKind operationKind, VaultAccessPolicyParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VaultsClient.UpdateAccessPolicy"); + using var scope = _clientDiagnostics.CreateScope("VaultsOperations.UpdateAccessPolicy"); scope.Start(); try { @@ -202,7 +202,7 @@ public virtual Response UpdateAccessPolicy(string r /// The cancellation token to use. public virtual async Task> GetDeletedAsync(string vaultName, string location, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VaultsClient.GetDeleted"); + using var scope = _clientDiagnostics.CreateScope("VaultsOperations.GetDeleted"); scope.Start(); try { @@ -221,7 +221,7 @@ public virtual async Task> GetDeletedAsync(string vaultNa /// The cancellation token to use. public virtual Response GetDeleted(string vaultName, string location, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VaultsClient.GetDeleted"); + using var scope = _clientDiagnostics.CreateScope("VaultsOperations.GetDeleted"); scope.Start(); try { @@ -239,7 +239,7 @@ public virtual Response GetDeleted(string vaultName, string locati /// The cancellation token to use. public virtual async Task> CheckNameAvailabilityAsync(VaultCheckNameAvailabilityParameters vaultName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VaultsClient.CheckNameAvailability"); + using var scope = _clientDiagnostics.CreateScope("VaultsOperations.CheckNameAvailability"); scope.Start(); try { @@ -257,7 +257,7 @@ public virtual async Task> CheckNameAvaila /// The cancellation token to use. public virtual Response CheckNameAvailability(VaultCheckNameAvailabilityParameters vaultName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VaultsClient.CheckNameAvailability"); + using var scope = _clientDiagnostics.CreateScope("VaultsOperations.CheckNameAvailability"); scope.Start(); try { @@ -283,7 +283,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(string resourceGrou async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VaultsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VaultsOperations.ListByResourceGroup"); scope.Start(); try { @@ -298,7 +298,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VaultsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VaultsOperations.ListByResourceGroup"); scope.Start(); try { @@ -327,7 +327,7 @@ public virtual Pageable ListByResourceGroup(string resourceGroupName, int Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VaultsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VaultsOperations.ListByResourceGroup"); scope.Start(); try { @@ -342,7 +342,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VaultsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VaultsOperations.ListByResourceGroup"); scope.Start(); try { @@ -365,7 +365,7 @@ public virtual AsyncPageable ListBySubscriptionAsync(int? top = null, Can { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VaultsClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("VaultsOperations.ListBySubscription"); scope.Start(); try { @@ -380,7 +380,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VaultsClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("VaultsOperations.ListBySubscription"); scope.Start(); try { @@ -403,7 +403,7 @@ public virtual Pageable ListBySubscription(int? top = null, CancellationT { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VaultsClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("VaultsOperations.ListBySubscription"); scope.Start(); try { @@ -418,7 +418,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VaultsClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("VaultsOperations.ListBySubscription"); scope.Start(); try { @@ -440,7 +440,7 @@ public virtual AsyncPageable ListDeletedAsync(CancellationToken ca { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VaultsClient.ListDeleted"); + using var scope = _clientDiagnostics.CreateScope("VaultsOperations.ListDeleted"); scope.Start(); try { @@ -455,7 +455,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VaultsClient.ListDeleted"); + using var scope = _clientDiagnostics.CreateScope("VaultsOperations.ListDeleted"); scope.Start(); try { @@ -477,7 +477,7 @@ public virtual Pageable ListDeleted(CancellationToken cancellation { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VaultsClient.ListDeleted"); + using var scope = _clientDiagnostics.CreateScope("VaultsOperations.ListDeleted"); scope.Start(); try { @@ -492,7 +492,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VaultsClient.ListDeleted"); + using var scope = _clientDiagnostics.CreateScope("VaultsOperations.ListDeleted"); scope.Start(); try { @@ -515,7 +515,7 @@ public virtual AsyncPageable ListAsync(int? top = null, CancellationTo { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VaultsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VaultsOperations.List"); scope.Start(); try { @@ -530,7 +530,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VaultsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VaultsOperations.List"); scope.Start(); try { @@ -553,7 +553,7 @@ public virtual Pageable List(int? top = null, CancellationToken cancel { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VaultsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VaultsOperations.List"); scope.Start(); try { @@ -568,7 +568,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VaultsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VaultsOperations.List"); scope.Start(); try { @@ -604,7 +604,7 @@ public virtual async Task StartCreateOrUpdateAsyn throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VaultsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VaultsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -638,7 +638,7 @@ public virtual VaultsCreateOrUpdateOperation StartCreateOrUpdate(string resource throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VaultsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VaultsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -667,7 +667,7 @@ public virtual async Task StartPurgeDeletedAsync(st throw new ArgumentNullException(nameof(location)); } - using var scope = _clientDiagnostics.CreateScope("VaultsClient.StartPurgeDeleted"); + using var scope = _clientDiagnostics.CreateScope("VaultsOperations.StartPurgeDeleted"); scope.Start(); try { @@ -696,7 +696,7 @@ public virtual VaultsPurgeDeletedOperation StartPurgeDeleted(string vaultName, s throw new ArgumentNullException(nameof(location)); } - using var scope = _clientDiagnostics.CreateScope("VaultsClient.StartPurgeDeleted"); + using var scope = _clientDiagnostics.CreateScope("VaultsOperations.StartPurgeDeleted"); scope.Start(); try { diff --git a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/VaultsRestClient.cs b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/VaultsRestOperations.cs similarity index 99% rename from sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/VaultsRestClient.cs rename to sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/VaultsRestOperations.cs index 6e1a9798f7853..2d64404e693e1 100644 --- a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/VaultsRestClient.cs +++ b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/VaultsRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.ResourceManager.KeyVault { - internal partial class VaultsRestClient + internal partial class VaultsRestOperations { private string subscriptionId; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class VaultsRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of VaultsRestClient. + /// Initializes a new instance of VaultsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public VaultsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-09-01") + public VaultsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-09-01") { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ApplicationGatewaysClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ApplicationGatewaysOperations.cs similarity index 94% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/ApplicationGatewaysClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/ApplicationGatewaysOperations.cs index 8cebb6b182131..a41baef3de872 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ApplicationGatewaysClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ApplicationGatewaysOperations.cs @@ -17,23 +17,23 @@ namespace Azure.ResourceManager.Network { /// The ApplicationGateways service client. - public partial class ApplicationGatewaysClient + public partial class ApplicationGatewaysOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ApplicationGatewaysRestClient RestClient { get; } - /// Initializes a new instance of ApplicationGatewaysClient for mocking. - protected ApplicationGatewaysClient() + internal ApplicationGatewaysRestOperations RestClient { get; } + /// Initializes a new instance of ApplicationGatewaysOperations for mocking. + protected ApplicationGatewaysOperations() { } - /// Initializes a new instance of ApplicationGatewaysClient. + /// Initializes a new instance of ApplicationGatewaysOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ApplicationGatewaysClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ApplicationGatewaysOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ApplicationGatewaysRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ApplicationGatewaysRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal ApplicationGatewaysClient(ClientDiagnostics clientDiagnostics, HttpPipe /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string applicationGatewayName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.Get"); scope.Start(); try { @@ -63,7 +63,7 @@ public virtual async Task> GetAsync(string resource /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string applicationGatewayName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.Get"); scope.Start(); try { @@ -83,7 +83,7 @@ public virtual Response Get(string resourceGroupName, string /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string applicationGatewayName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.UpdateTags"); scope.Start(); try { @@ -103,7 +103,7 @@ public virtual async Task> UpdateTagsAsync(string r /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string applicationGatewayName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.UpdateTags"); scope.Start(); try { @@ -120,7 +120,7 @@ public virtual Response UpdateTags(string resourceGroupName, /// The cancellation token to use. public virtual async Task>> ListAvailableServerVariablesAsync(CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.ListAvailableServerVariables"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.ListAvailableServerVariables"); scope.Start(); try { @@ -137,7 +137,7 @@ public virtual async Task>> ListAvailableServerVa /// The cancellation token to use. public virtual Response> ListAvailableServerVariables(CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.ListAvailableServerVariables"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.ListAvailableServerVariables"); scope.Start(); try { @@ -154,7 +154,7 @@ public virtual Response> ListAvailableServerVariables(Canc /// The cancellation token to use. public virtual async Task>> ListAvailableRequestHeadersAsync(CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.ListAvailableRequestHeaders"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.ListAvailableRequestHeaders"); scope.Start(); try { @@ -171,7 +171,7 @@ public virtual async Task>> ListAvailableRequestH /// The cancellation token to use. public virtual Response> ListAvailableRequestHeaders(CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.ListAvailableRequestHeaders"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.ListAvailableRequestHeaders"); scope.Start(); try { @@ -188,7 +188,7 @@ public virtual Response> ListAvailableRequestHeaders(Cance /// The cancellation token to use. public virtual async Task>> ListAvailableResponseHeadersAsync(CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.ListAvailableResponseHeaders"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.ListAvailableResponseHeaders"); scope.Start(); try { @@ -205,7 +205,7 @@ public virtual async Task>> ListAvailableResponse /// The cancellation token to use. public virtual Response> ListAvailableResponseHeaders(CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.ListAvailableResponseHeaders"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.ListAvailableResponseHeaders"); scope.Start(); try { @@ -222,7 +222,7 @@ public virtual Response> ListAvailableResponseHeaders(Canc /// The cancellation token to use. public virtual async Task> ListAvailableWafRuleSetsAsync(CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.ListAvailableWafRuleSets"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.ListAvailableWafRuleSets"); scope.Start(); try { @@ -239,7 +239,7 @@ public virtual async Task /// The cancellation token to use. public virtual Response ListAvailableWafRuleSets(CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.ListAvailableWafRuleSets"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.ListAvailableWafRuleSets"); scope.Start(); try { @@ -256,7 +256,7 @@ public virtual Response ListAvaila /// The cancellation token to use. public virtual async Task> ListAvailableSslOptionsAsync(CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.ListAvailableSslOptions"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.ListAvailableSslOptions"); scope.Start(); try { @@ -273,7 +273,7 @@ public virtual async Task> ListA /// The cancellation token to use. public virtual Response ListAvailableSslOptions(CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.ListAvailableSslOptions"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.ListAvailableSslOptions"); scope.Start(); try { @@ -291,7 +291,7 @@ public virtual Response ListAvailableSslO /// The cancellation token to use. public virtual async Task> GetSslPredefinedPolicyAsync(string predefinedPolicyName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.GetSslPredefinedPolicy"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.GetSslPredefinedPolicy"); scope.Start(); try { @@ -309,7 +309,7 @@ public virtual async Task> GetSs /// The cancellation token to use. public virtual Response GetSslPredefinedPolicy(string predefinedPolicyName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.GetSslPredefinedPolicy"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.GetSslPredefinedPolicy"); scope.Start(); try { @@ -334,7 +334,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupN async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.List"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.List"); scope.Start(); try { @@ -349,7 +349,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.List"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.List"); scope.Start(); try { @@ -377,7 +377,7 @@ public virtual Pageable List(string resourceGroupName, Cance Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.List"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.List"); scope.Start(); try { @@ -392,7 +392,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.List"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.List"); scope.Start(); try { @@ -414,7 +414,7 @@ public virtual AsyncPageable ListAllAsync(CancellationToken { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.ListAll"); scope.Start(); try { @@ -429,7 +429,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.ListAll"); scope.Start(); try { @@ -451,7 +451,7 @@ public virtual Pageable ListAll(CancellationToken cancellati { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.ListAll"); scope.Start(); try { @@ -466,7 +466,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.ListAll"); scope.Start(); try { @@ -488,7 +488,7 @@ public virtual AsyncPageable ListAvailabl { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.ListAvailableSslPredefinedPolicies"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.ListAvailableSslPredefinedPolicies"); scope.Start(); try { @@ -503,7 +503,7 @@ async Task> FirstPageFunc(int? pageS } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.ListAvailableSslPredefinedPolicies"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.ListAvailableSslPredefinedPolicies"); scope.Start(); try { @@ -525,7 +525,7 @@ public virtual Pageable ListAvailableSslP { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.ListAvailableSslPredefinedPolicies"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.ListAvailableSslPredefinedPolicies"); scope.Start(); try { @@ -540,7 +540,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.ListAvailableSslPredefinedPolicies"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.ListAvailableSslPredefinedPolicies"); scope.Start(); try { @@ -571,7 +571,7 @@ public virtual async Task StartDeleteAsync(s throw new ArgumentNullException(nameof(applicationGatewayName)); } - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.StartDelete"); scope.Start(); try { @@ -600,7 +600,7 @@ public virtual ApplicationGatewaysDeleteOperation StartDelete(string resourceGro throw new ArgumentNullException(nameof(applicationGatewayName)); } - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.StartDelete"); scope.Start(); try { @@ -634,7 +634,7 @@ public virtual async Task StartCreat throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -668,7 +668,7 @@ public virtual ApplicationGatewaysCreateOrUpdateOperation StartCreateOrUpdate(st throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -697,7 +697,7 @@ public virtual async Task StartStartAsync(str throw new ArgumentNullException(nameof(applicationGatewayName)); } - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.StartStart"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.StartStart"); scope.Start(); try { @@ -726,7 +726,7 @@ public virtual ApplicationGatewaysStartOperation StartStart(string resourceGroup throw new ArgumentNullException(nameof(applicationGatewayName)); } - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.StartStart"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.StartStart"); scope.Start(); try { @@ -755,7 +755,7 @@ public virtual async Task StartStopAsync(strin throw new ArgumentNullException(nameof(applicationGatewayName)); } - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.StartStop"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.StartStop"); scope.Start(); try { @@ -784,7 +784,7 @@ public virtual ApplicationGatewaysStopOperation StartStop(string resourceGroupNa throw new ArgumentNullException(nameof(applicationGatewayName)); } - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.StartStop"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.StartStop"); scope.Start(); try { @@ -814,7 +814,7 @@ public virtual async Task StartBacken throw new ArgumentNullException(nameof(applicationGatewayName)); } - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.StartBackendHealth"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.StartBackendHealth"); scope.Start(); try { @@ -844,7 +844,7 @@ public virtual ApplicationGatewaysBackendHealthOperation StartBackendHealth(stri throw new ArgumentNullException(nameof(applicationGatewayName)); } - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.StartBackendHealth"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.StartBackendHealth"); scope.Start(); try { @@ -879,7 +879,7 @@ public virtual async Task Sta throw new ArgumentNullException(nameof(probeRequest)); } - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.StartBackendHealthOnDemand"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.StartBackendHealthOnDemand"); scope.Start(); try { @@ -914,7 +914,7 @@ public virtual ApplicationGatewaysBackendHealthOnDemandOperation StartBackendHea throw new ArgumentNullException(nameof(probeRequest)); } - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.StartBackendHealthOnDemand"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.StartBackendHealthOnDemand"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ApplicationGatewaysRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ApplicationGatewaysRestOperations.cs similarity index 99% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/ApplicationGatewaysRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/ApplicationGatewaysRestOperations.cs index d2562d7729b7e..3cf6d0106f909 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ApplicationGatewaysRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ApplicationGatewaysRestOperations.cs @@ -17,20 +17,20 @@ namespace Azure.ResourceManager.Network { - internal partial class ApplicationGatewaysRestClient + internal partial class ApplicationGatewaysRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ApplicationGatewaysRestClient. + /// Initializes a new instance of ApplicationGatewaysRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ApplicationGatewaysRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ApplicationGatewaysRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ApplicationSecurityGroupsClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ApplicationSecurityGroupsOperations.cs similarity index 93% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/ApplicationSecurityGroupsClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/ApplicationSecurityGroupsOperations.cs index 8d0ef7cde224f..b42253adff76c 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ApplicationSecurityGroupsClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ApplicationSecurityGroupsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The ApplicationSecurityGroups service client. - public partial class ApplicationSecurityGroupsClient + public partial class ApplicationSecurityGroupsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ApplicationSecurityGroupsRestClient RestClient { get; } - /// Initializes a new instance of ApplicationSecurityGroupsClient for mocking. - protected ApplicationSecurityGroupsClient() + internal ApplicationSecurityGroupsRestOperations RestClient { get; } + /// Initializes a new instance of ApplicationSecurityGroupsOperations for mocking. + protected ApplicationSecurityGroupsOperations() { } - /// Initializes a new instance of ApplicationSecurityGroupsClient. + /// Initializes a new instance of ApplicationSecurityGroupsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ApplicationSecurityGroupsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ApplicationSecurityGroupsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ApplicationSecurityGroupsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ApplicationSecurityGroupsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal ApplicationSecurityGroupsClient(ClientDiagnostics clientDiagnostics, Ht /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string applicationSecurityGroupName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string re /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string applicationSecurityGroupName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsOperations.Get"); scope.Start(); try { @@ -82,7 +82,7 @@ public virtual Response Get(string resourceGroupName, /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string applicationSecurityGroupName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsOperations.UpdateTags"); scope.Start(); try { @@ -102,7 +102,7 @@ public virtual async Task> UpdateTagsAsync(st /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string applicationSecurityGroupName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsOperations.UpdateTags"); scope.Start(); try { @@ -121,7 +121,7 @@ public virtual AsyncPageable ListAllAsync(Cancellation { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsOperations.ListAll"); scope.Start(); try { @@ -136,7 +136,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsOperations.ListAll"); scope.Start(); try { @@ -158,7 +158,7 @@ public virtual Pageable ListAll(CancellationToken canc { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsOperations.ListAll"); scope.Start(); try { @@ -173,7 +173,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsOperations.ListAll"); scope.Start(); try { @@ -201,7 +201,7 @@ public virtual AsyncPageable ListAsync(string resource async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsOperations.List"); scope.Start(); try { @@ -216,7 +216,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsOperations.List"); scope.Start(); try { @@ -244,7 +244,7 @@ public virtual Pageable List(string resourceGroupName, Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsOperations.List"); scope.Start(); try { @@ -259,7 +259,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsOperations.List"); scope.Start(); try { @@ -290,7 +290,7 @@ public virtual async Task StartDeleteA throw new ArgumentNullException(nameof(applicationSecurityGroupName)); } - using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsOperations.StartDelete"); scope.Start(); try { @@ -319,7 +319,7 @@ public virtual ApplicationSecurityGroupsDeleteOperation StartDelete(string resou throw new ArgumentNullException(nameof(applicationSecurityGroupName)); } - using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsOperations.StartDelete"); scope.Start(); try { @@ -353,7 +353,7 @@ public virtual async Task Star throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -387,7 +387,7 @@ public virtual ApplicationSecurityGroupsCreateOrUpdateOperation StartCreateOrUpd throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ApplicationSecurityGroupsRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ApplicationSecurityGroupsRestOperations.cs similarity index 99% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/ApplicationSecurityGroupsRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/ApplicationSecurityGroupsRestOperations.cs index 29a2b875a795d..e83a7fb3a2578 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ApplicationSecurityGroupsRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ApplicationSecurityGroupsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class ApplicationSecurityGroupsRestClient + internal partial class ApplicationSecurityGroupsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ApplicationSecurityGroupsRestClient. + /// Initializes a new instance of ApplicationSecurityGroupsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ApplicationSecurityGroupsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ApplicationSecurityGroupsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/AvailableDelegationsClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/AvailableDelegationsOperations.cs similarity index 88% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/AvailableDelegationsClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/AvailableDelegationsOperations.cs index 18ca143afbc40..ffbb4b49dcd76 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/AvailableDelegationsClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/AvailableDelegationsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The AvailableDelegations service client. - public partial class AvailableDelegationsClient + public partial class AvailableDelegationsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal AvailableDelegationsRestClient RestClient { get; } - /// Initializes a new instance of AvailableDelegationsClient for mocking. - protected AvailableDelegationsClient() + internal AvailableDelegationsRestOperations RestClient { get; } + /// Initializes a new instance of AvailableDelegationsOperations for mocking. + protected AvailableDelegationsOperations() { } - /// Initializes a new instance of AvailableDelegationsClient. + /// Initializes a new instance of AvailableDelegationsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal AvailableDelegationsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal AvailableDelegationsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new AvailableDelegationsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new AvailableDelegationsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -49,7 +49,7 @@ public virtual AsyncPageable ListAsync(string location, Can async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailableDelegationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("AvailableDelegationsOperations.List"); scope.Start(); try { @@ -64,7 +64,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailableDelegationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("AvailableDelegationsOperations.List"); scope.Start(); try { @@ -92,7 +92,7 @@ public virtual Pageable List(string location, CancellationT Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailableDelegationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("AvailableDelegationsOperations.List"); scope.Start(); try { @@ -107,7 +107,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailableDelegationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("AvailableDelegationsOperations.List"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/AvailableDelegationsRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/AvailableDelegationsRestOperations.cs similarity index 97% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/AvailableDelegationsRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/AvailableDelegationsRestOperations.cs index 0099600131935..a8dbfccb5f5ce 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/AvailableDelegationsRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/AvailableDelegationsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class AvailableDelegationsRestClient + internal partial class AvailableDelegationsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of AvailableDelegationsRestClient. + /// Initializes a new instance of AvailableDelegationsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public AvailableDelegationsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public AvailableDelegationsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/AvailableEndpointServicesClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/AvailableEndpointServicesOperations.cs similarity index 87% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/AvailableEndpointServicesClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/AvailableEndpointServicesOperations.cs index 8f8d88d63b0b1..e25f40adadae0 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/AvailableEndpointServicesClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/AvailableEndpointServicesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The AvailableEndpointServices service client. - public partial class AvailableEndpointServicesClient + public partial class AvailableEndpointServicesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal AvailableEndpointServicesRestClient RestClient { get; } - /// Initializes a new instance of AvailableEndpointServicesClient for mocking. - protected AvailableEndpointServicesClient() + internal AvailableEndpointServicesRestOperations RestClient { get; } + /// Initializes a new instance of AvailableEndpointServicesOperations for mocking. + protected AvailableEndpointServicesOperations() { } - /// Initializes a new instance of AvailableEndpointServicesClient. + /// Initializes a new instance of AvailableEndpointServicesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal AvailableEndpointServicesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal AvailableEndpointServicesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new AvailableEndpointServicesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new AvailableEndpointServicesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -49,7 +49,7 @@ public virtual AsyncPageable ListAsync(string location, C async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailableEndpointServicesClient.List"); + using var scope = _clientDiagnostics.CreateScope("AvailableEndpointServicesOperations.List"); scope.Start(); try { @@ -64,7 +64,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailableEndpointServicesClient.List"); + using var scope = _clientDiagnostics.CreateScope("AvailableEndpointServicesOperations.List"); scope.Start(); try { @@ -92,7 +92,7 @@ public virtual Pageable List(string location, Cancellatio Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailableEndpointServicesClient.List"); + using var scope = _clientDiagnostics.CreateScope("AvailableEndpointServicesOperations.List"); scope.Start(); try { @@ -107,7 +107,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailableEndpointServicesClient.List"); + using var scope = _clientDiagnostics.CreateScope("AvailableEndpointServicesOperations.List"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/AvailableEndpointServicesRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/AvailableEndpointServicesRestOperations.cs similarity index 97% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/AvailableEndpointServicesRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/AvailableEndpointServicesRestOperations.cs index 8f2a55b7043d0..e167562806805 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/AvailableEndpointServicesRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/AvailableEndpointServicesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class AvailableEndpointServicesRestClient + internal partial class AvailableEndpointServicesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of AvailableEndpointServicesRestClient. + /// Initializes a new instance of AvailableEndpointServicesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public AvailableEndpointServicesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public AvailableEndpointServicesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/AvailablePrivateEndpointTypesClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/AvailablePrivateEndpointTypesOperations.cs similarity index 90% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/AvailablePrivateEndpointTypesClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/AvailablePrivateEndpointTypesOperations.cs index df3267724d885..f7dd2a679ae24 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/AvailablePrivateEndpointTypesClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/AvailablePrivateEndpointTypesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The AvailablePrivateEndpointTypes service client. - public partial class AvailablePrivateEndpointTypesClient + public partial class AvailablePrivateEndpointTypesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal AvailablePrivateEndpointTypesRestClient RestClient { get; } - /// Initializes a new instance of AvailablePrivateEndpointTypesClient for mocking. - protected AvailablePrivateEndpointTypesClient() + internal AvailablePrivateEndpointTypesRestOperations RestClient { get; } + /// Initializes a new instance of AvailablePrivateEndpointTypesOperations for mocking. + protected AvailablePrivateEndpointTypesOperations() { } - /// Initializes a new instance of AvailablePrivateEndpointTypesClient. + /// Initializes a new instance of AvailablePrivateEndpointTypesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal AvailablePrivateEndpointTypesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal AvailablePrivateEndpointTypesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new AvailablePrivateEndpointTypesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new AvailablePrivateEndpointTypesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -49,7 +49,7 @@ public virtual AsyncPageable ListAsync(string loca async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailablePrivateEndpointTypesClient.List"); + using var scope = _clientDiagnostics.CreateScope("AvailablePrivateEndpointTypesOperations.List"); scope.Start(); try { @@ -64,7 +64,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailablePrivateEndpointTypesClient.List"); + using var scope = _clientDiagnostics.CreateScope("AvailablePrivateEndpointTypesOperations.List"); scope.Start(); try { @@ -92,7 +92,7 @@ public virtual Pageable List(string location, Canc Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailablePrivateEndpointTypesClient.List"); + using var scope = _clientDiagnostics.CreateScope("AvailablePrivateEndpointTypesOperations.List"); scope.Start(); try { @@ -107,7 +107,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailablePrivateEndpointTypesClient.List"); + using var scope = _clientDiagnostics.CreateScope("AvailablePrivateEndpointTypesOperations.List"); scope.Start(); try { @@ -140,7 +140,7 @@ public virtual AsyncPageable ListByResourceGroupAs async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailablePrivateEndpointTypesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("AvailablePrivateEndpointTypesOperations.ListByResourceGroup"); scope.Start(); try { @@ -155,7 +155,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailablePrivateEndpointTypesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("AvailablePrivateEndpointTypesOperations.ListByResourceGroup"); scope.Start(); try { @@ -188,7 +188,7 @@ public virtual Pageable ListByResourceGroup(string Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailablePrivateEndpointTypesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("AvailablePrivateEndpointTypesOperations.ListByResourceGroup"); scope.Start(); try { @@ -203,7 +203,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailablePrivateEndpointTypesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("AvailablePrivateEndpointTypesOperations.ListByResourceGroup"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/AvailablePrivateEndpointTypesRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/AvailablePrivateEndpointTypesRestOperations.cs similarity index 98% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/AvailablePrivateEndpointTypesRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/AvailablePrivateEndpointTypesRestOperations.cs index c34fb9bb7592b..8afc21071bafc 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/AvailablePrivateEndpointTypesRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/AvailablePrivateEndpointTypesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class AvailablePrivateEndpointTypesRestClient + internal partial class AvailablePrivateEndpointTypesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of AvailablePrivateEndpointTypesRestClient. + /// Initializes a new instance of AvailablePrivateEndpointTypesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public AvailablePrivateEndpointTypesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public AvailablePrivateEndpointTypesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/AvailableResourceGroupDelegationsClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/AvailableResourceGroupDelegationsOperations.cs similarity index 88% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/AvailableResourceGroupDelegationsClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/AvailableResourceGroupDelegationsOperations.cs index c228361bbf5d1..b177fa6040f9f 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/AvailableResourceGroupDelegationsClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/AvailableResourceGroupDelegationsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The AvailableResourceGroupDelegations service client. - public partial class AvailableResourceGroupDelegationsClient + public partial class AvailableResourceGroupDelegationsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal AvailableResourceGroupDelegationsRestClient RestClient { get; } - /// Initializes a new instance of AvailableResourceGroupDelegationsClient for mocking. - protected AvailableResourceGroupDelegationsClient() + internal AvailableResourceGroupDelegationsRestOperations RestClient { get; } + /// Initializes a new instance of AvailableResourceGroupDelegationsOperations for mocking. + protected AvailableResourceGroupDelegationsOperations() { } - /// Initializes a new instance of AvailableResourceGroupDelegationsClient. + /// Initializes a new instance of AvailableResourceGroupDelegationsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal AvailableResourceGroupDelegationsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal AvailableResourceGroupDelegationsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new AvailableResourceGroupDelegationsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new AvailableResourceGroupDelegationsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -54,7 +54,7 @@ public virtual AsyncPageable ListAsync(string location, str async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailableResourceGroupDelegationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("AvailableResourceGroupDelegationsOperations.List"); scope.Start(); try { @@ -69,7 +69,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailableResourceGroupDelegationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("AvailableResourceGroupDelegationsOperations.List"); scope.Start(); try { @@ -102,7 +102,7 @@ public virtual Pageable List(string location, string resour Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailableResourceGroupDelegationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("AvailableResourceGroupDelegationsOperations.List"); scope.Start(); try { @@ -117,7 +117,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailableResourceGroupDelegationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("AvailableResourceGroupDelegationsOperations.List"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/AvailableResourceGroupDelegationsRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/AvailableResourceGroupDelegationsRestOperations.cs similarity index 98% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/AvailableResourceGroupDelegationsRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/AvailableResourceGroupDelegationsRestOperations.cs index 6a23d204afdb3..205f52acba881 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/AvailableResourceGroupDelegationsRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/AvailableResourceGroupDelegationsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class AvailableResourceGroupDelegationsRestClient + internal partial class AvailableResourceGroupDelegationsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of AvailableResourceGroupDelegationsRestClient. + /// Initializes a new instance of AvailableResourceGroupDelegationsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public AvailableResourceGroupDelegationsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public AvailableResourceGroupDelegationsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/AvailableServiceAliasesClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/AvailableServiceAliasesOperations.cs similarity index 90% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/AvailableServiceAliasesClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/AvailableServiceAliasesOperations.cs index 105923f2acaf5..a43def6368845 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/AvailableServiceAliasesClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/AvailableServiceAliasesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The AvailableServiceAliases service client. - public partial class AvailableServiceAliasesClient + public partial class AvailableServiceAliasesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal AvailableServiceAliasesRestClient RestClient { get; } - /// Initializes a new instance of AvailableServiceAliasesClient for mocking. - protected AvailableServiceAliasesClient() + internal AvailableServiceAliasesRestOperations RestClient { get; } + /// Initializes a new instance of AvailableServiceAliasesOperations for mocking. + protected AvailableServiceAliasesOperations() { } - /// Initializes a new instance of AvailableServiceAliasesClient. + /// Initializes a new instance of AvailableServiceAliasesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal AvailableServiceAliasesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal AvailableServiceAliasesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new AvailableServiceAliasesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new AvailableServiceAliasesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -49,7 +49,7 @@ public virtual AsyncPageable ListAsync(string location, C async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailableServiceAliasesClient.List"); + using var scope = _clientDiagnostics.CreateScope("AvailableServiceAliasesOperations.List"); scope.Start(); try { @@ -64,7 +64,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailableServiceAliasesClient.List"); + using var scope = _clientDiagnostics.CreateScope("AvailableServiceAliasesOperations.List"); scope.Start(); try { @@ -92,7 +92,7 @@ public virtual Pageable List(string location, Cancellatio Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailableServiceAliasesClient.List"); + using var scope = _clientDiagnostics.CreateScope("AvailableServiceAliasesOperations.List"); scope.Start(); try { @@ -107,7 +107,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailableServiceAliasesClient.List"); + using var scope = _clientDiagnostics.CreateScope("AvailableServiceAliasesOperations.List"); scope.Start(); try { @@ -140,7 +140,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(str async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailableServiceAliasesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("AvailableServiceAliasesOperations.ListByResourceGroup"); scope.Start(); try { @@ -155,7 +155,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailableServiceAliasesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("AvailableServiceAliasesOperations.ListByResourceGroup"); scope.Start(); try { @@ -188,7 +188,7 @@ public virtual Pageable ListByResourceGroup(string resour Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailableServiceAliasesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("AvailableServiceAliasesOperations.ListByResourceGroup"); scope.Start(); try { @@ -203,7 +203,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailableServiceAliasesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("AvailableServiceAliasesOperations.ListByResourceGroup"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/AvailableServiceAliasesRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/AvailableServiceAliasesRestOperations.cs similarity index 98% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/AvailableServiceAliasesRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/AvailableServiceAliasesRestOperations.cs index a952ea72decbf..948f429a9f127 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/AvailableServiceAliasesRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/AvailableServiceAliasesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class AvailableServiceAliasesRestClient + internal partial class AvailableServiceAliasesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of AvailableServiceAliasesRestClient. + /// Initializes a new instance of AvailableServiceAliasesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public AvailableServiceAliasesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public AvailableServiceAliasesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/AzureFirewallFqdnTagsClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/AzureFirewallFqdnTagsOperations.cs similarity index 86% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/AzureFirewallFqdnTagsClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/AzureFirewallFqdnTagsOperations.cs index affa41de43adc..a31cd11b9de64 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/AzureFirewallFqdnTagsClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/AzureFirewallFqdnTagsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The AzureFirewallFqdnTags service client. - public partial class AzureFirewallFqdnTagsClient + public partial class AzureFirewallFqdnTagsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal AzureFirewallFqdnTagsRestClient RestClient { get; } - /// Initializes a new instance of AzureFirewallFqdnTagsClient for mocking. - protected AzureFirewallFqdnTagsClient() + internal AzureFirewallFqdnTagsRestOperations RestClient { get; } + /// Initializes a new instance of AzureFirewallFqdnTagsOperations for mocking. + protected AzureFirewallFqdnTagsOperations() { } - /// Initializes a new instance of AzureFirewallFqdnTagsClient. + /// Initializes a new instance of AzureFirewallFqdnTagsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal AzureFirewallFqdnTagsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal AzureFirewallFqdnTagsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new AzureFirewallFqdnTagsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new AzureFirewallFqdnTagsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ public virtual AsyncPageable ListAllAsync(CancellationToke { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AzureFirewallFqdnTagsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("AzureFirewallFqdnTagsOperations.ListAll"); scope.Start(); try { @@ -58,7 +58,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AzureFirewallFqdnTagsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("AzureFirewallFqdnTagsOperations.ListAll"); scope.Start(); try { @@ -80,7 +80,7 @@ public virtual Pageable ListAll(CancellationToken cancella { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AzureFirewallFqdnTagsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("AzureFirewallFqdnTagsOperations.ListAll"); scope.Start(); try { @@ -95,7 +95,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AzureFirewallFqdnTagsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("AzureFirewallFqdnTagsOperations.ListAll"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/AzureFirewallFqdnTagsRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/AzureFirewallFqdnTagsRestOperations.cs similarity index 97% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/AzureFirewallFqdnTagsRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/AzureFirewallFqdnTagsRestOperations.cs index 84909e3066bff..11293af771b05 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/AzureFirewallFqdnTagsRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/AzureFirewallFqdnTagsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class AzureFirewallFqdnTagsRestClient + internal partial class AzureFirewallFqdnTagsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of AzureFirewallFqdnTagsRestClient. + /// Initializes a new instance of AzureFirewallFqdnTagsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public AzureFirewallFqdnTagsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public AzureFirewallFqdnTagsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/AzureFirewallsClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/AzureFirewallsOperations.cs similarity index 94% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/AzureFirewallsClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/AzureFirewallsOperations.cs index 0dbef36a8533b..1a0d44af61a17 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/AzureFirewallsClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/AzureFirewallsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The AzureFirewalls service client. - public partial class AzureFirewallsClient + public partial class AzureFirewallsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal AzureFirewallsRestClient RestClient { get; } - /// Initializes a new instance of AzureFirewallsClient for mocking. - protected AzureFirewallsClient() + internal AzureFirewallsRestOperations RestClient { get; } + /// Initializes a new instance of AzureFirewallsOperations for mocking. + protected AzureFirewallsOperations() { } - /// Initializes a new instance of AzureFirewallsClient. + /// Initializes a new instance of AzureFirewallsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal AzureFirewallsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal AzureFirewallsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new AzureFirewallsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new AzureFirewallsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal AzureFirewallsClient(ClientDiagnostics clientDiagnostics, HttpPipeline /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string azureFirewallName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("AzureFirewallsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("AzureFirewallsOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string resourceGroup /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string azureFirewallName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("AzureFirewallsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("AzureFirewallsOperations.Get"); scope.Start(); try { @@ -87,7 +87,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName, async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AzureFirewallsClient.List"); + using var scope = _clientDiagnostics.CreateScope("AzureFirewallsOperations.List"); scope.Start(); try { @@ -102,7 +102,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AzureFirewallsClient.List"); + using var scope = _clientDiagnostics.CreateScope("AzureFirewallsOperations.List"); scope.Start(); try { @@ -130,7 +130,7 @@ public virtual Pageable List(string resourceGroupName, Cancellati Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AzureFirewallsClient.List"); + using var scope = _clientDiagnostics.CreateScope("AzureFirewallsOperations.List"); scope.Start(); try { @@ -145,7 +145,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AzureFirewallsClient.List"); + using var scope = _clientDiagnostics.CreateScope("AzureFirewallsOperations.List"); scope.Start(); try { @@ -167,7 +167,7 @@ public virtual AsyncPageable ListAllAsync(CancellationToken cance { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AzureFirewallsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("AzureFirewallsOperations.ListAll"); scope.Start(); try { @@ -182,7 +182,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AzureFirewallsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("AzureFirewallsOperations.ListAll"); scope.Start(); try { @@ -204,7 +204,7 @@ public virtual Pageable ListAll(CancellationToken cancellationTok { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AzureFirewallsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("AzureFirewallsOperations.ListAll"); scope.Start(); try { @@ -219,7 +219,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AzureFirewallsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("AzureFirewallsOperations.ListAll"); scope.Start(); try { @@ -250,7 +250,7 @@ public virtual async Task StartDeleteAsync(string throw new ArgumentNullException(nameof(azureFirewallName)); } - using var scope = _clientDiagnostics.CreateScope("AzureFirewallsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("AzureFirewallsOperations.StartDelete"); scope.Start(); try { @@ -279,7 +279,7 @@ public virtual AzureFirewallsDeleteOperation StartDelete(string resourceGroupNam throw new ArgumentNullException(nameof(azureFirewallName)); } - using var scope = _clientDiagnostics.CreateScope("AzureFirewallsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("AzureFirewallsOperations.StartDelete"); scope.Start(); try { @@ -313,7 +313,7 @@ public virtual async Task StartCreateOrUp throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("AzureFirewallsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("AzureFirewallsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -347,7 +347,7 @@ public virtual AzureFirewallsCreateOrUpdateOperation StartCreateOrUpdate(string throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("AzureFirewallsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("AzureFirewallsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -381,7 +381,7 @@ public virtual async Task StartUpdateTagsAsyn throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("AzureFirewallsClient.StartUpdateTags"); + using var scope = _clientDiagnostics.CreateScope("AzureFirewallsOperations.StartUpdateTags"); scope.Start(); try { @@ -415,7 +415,7 @@ public virtual AzureFirewallsUpdateTagsOperation StartUpdateTags(string resource throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("AzureFirewallsClient.StartUpdateTags"); + using var scope = _clientDiagnostics.CreateScope("AzureFirewallsOperations.StartUpdateTags"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/AzureFirewallsRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/AzureFirewallsRestOperations.cs similarity index 99% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/AzureFirewallsRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/AzureFirewallsRestOperations.cs index 46b87642a764c..5ee057c81f541 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/AzureFirewallsRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/AzureFirewallsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class AzureFirewallsRestClient + internal partial class AzureFirewallsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of AzureFirewallsRestClient. + /// Initializes a new instance of AzureFirewallsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public AzureFirewallsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public AzureFirewallsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/BastionHostsClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/BastionHostsOperations.cs similarity index 94% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/BastionHostsClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/BastionHostsOperations.cs index bff360101e226..82cd861b46327 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/BastionHostsClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/BastionHostsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The BastionHosts service client. - public partial class BastionHostsClient + public partial class BastionHostsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal BastionHostsRestClient RestClient { get; } - /// Initializes a new instance of BastionHostsClient for mocking. - protected BastionHostsClient() + internal BastionHostsRestOperations RestClient { get; } + /// Initializes a new instance of BastionHostsOperations for mocking. + protected BastionHostsOperations() { } - /// Initializes a new instance of BastionHostsClient. + /// Initializes a new instance of BastionHostsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal BastionHostsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal BastionHostsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new BastionHostsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new BastionHostsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal BastionHostsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pi /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string bastionHostName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BastionHostsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("BastionHostsOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string resourceGroupNa /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string bastionHostName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BastionHostsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("BastionHostsOperations.Get"); scope.Start(); try { @@ -81,7 +81,7 @@ public virtual AsyncPageable ListAsync(CancellationToken cancellati { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("BastionHostsClient.List"); + using var scope = _clientDiagnostics.CreateScope("BastionHostsOperations.List"); scope.Start(); try { @@ -96,7 +96,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("BastionHostsClient.List"); + using var scope = _clientDiagnostics.CreateScope("BastionHostsOperations.List"); scope.Start(); try { @@ -118,7 +118,7 @@ public virtual Pageable List(CancellationToken cancellationToken = { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("BastionHostsClient.List"); + using var scope = _clientDiagnostics.CreateScope("BastionHostsOperations.List"); scope.Start(); try { @@ -133,7 +133,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("BastionHostsClient.List"); + using var scope = _clientDiagnostics.CreateScope("BastionHostsOperations.List"); scope.Start(); try { @@ -161,7 +161,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(string resour async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("BastionHostsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("BastionHostsOperations.ListByResourceGroup"); scope.Start(); try { @@ -176,7 +176,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("BastionHostsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("BastionHostsOperations.ListByResourceGroup"); scope.Start(); try { @@ -204,7 +204,7 @@ public virtual Pageable ListByResourceGroup(string resourceGroupNam Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("BastionHostsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("BastionHostsOperations.ListByResourceGroup"); scope.Start(); try { @@ -219,7 +219,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("BastionHostsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("BastionHostsOperations.ListByResourceGroup"); scope.Start(); try { @@ -250,7 +250,7 @@ public virtual async Task StartDeleteAsync(string r throw new ArgumentNullException(nameof(bastionHostName)); } - using var scope = _clientDiagnostics.CreateScope("BastionHostsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("BastionHostsOperations.StartDelete"); scope.Start(); try { @@ -279,7 +279,7 @@ public virtual BastionHostsDeleteOperation StartDelete(string resourceGroupName, throw new ArgumentNullException(nameof(bastionHostName)); } - using var scope = _clientDiagnostics.CreateScope("BastionHostsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("BastionHostsOperations.StartDelete"); scope.Start(); try { @@ -313,7 +313,7 @@ public virtual async Task StartCreateOrUpda throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("BastionHostsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("BastionHostsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -347,7 +347,7 @@ public virtual BastionHostsCreateOrUpdateOperation StartCreateOrUpdate(string re throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("BastionHostsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("BastionHostsOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/BastionHostsRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/BastionHostsRestOperations.cs similarity index 99% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/BastionHostsRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/BastionHostsRestOperations.cs index a4ebe8894b415..0b20aadfe4250 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/BastionHostsRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/BastionHostsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class BastionHostsRestClient + internal partial class BastionHostsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of BastionHostsRestClient. + /// Initializes a new instance of BastionHostsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public BastionHostsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public BastionHostsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/BgpServiceCommunitiesClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/BgpServiceCommunitiesOperations.cs similarity index 86% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/BgpServiceCommunitiesClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/BgpServiceCommunitiesOperations.cs index 469e578816c3d..6bbef9ed19fe6 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/BgpServiceCommunitiesClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/BgpServiceCommunitiesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The BgpServiceCommunities service client. - public partial class BgpServiceCommunitiesClient + public partial class BgpServiceCommunitiesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal BgpServiceCommunitiesRestClient RestClient { get; } - /// Initializes a new instance of BgpServiceCommunitiesClient for mocking. - protected BgpServiceCommunitiesClient() + internal BgpServiceCommunitiesRestOperations RestClient { get; } + /// Initializes a new instance of BgpServiceCommunitiesOperations for mocking. + protected BgpServiceCommunitiesOperations() { } - /// Initializes a new instance of BgpServiceCommunitiesClient. + /// Initializes a new instance of BgpServiceCommunitiesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal BgpServiceCommunitiesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal BgpServiceCommunitiesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new BgpServiceCommunitiesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new BgpServiceCommunitiesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ public virtual AsyncPageable ListAsync(CancellationToken ca { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("BgpServiceCommunitiesClient.List"); + using var scope = _clientDiagnostics.CreateScope("BgpServiceCommunitiesOperations.List"); scope.Start(); try { @@ -58,7 +58,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("BgpServiceCommunitiesClient.List"); + using var scope = _clientDiagnostics.CreateScope("BgpServiceCommunitiesOperations.List"); scope.Start(); try { @@ -80,7 +80,7 @@ public virtual Pageable List(CancellationToken cancellation { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("BgpServiceCommunitiesClient.List"); + using var scope = _clientDiagnostics.CreateScope("BgpServiceCommunitiesOperations.List"); scope.Start(); try { @@ -95,7 +95,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("BgpServiceCommunitiesClient.List"); + using var scope = _clientDiagnostics.CreateScope("BgpServiceCommunitiesOperations.List"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/BgpServiceCommunitiesRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/BgpServiceCommunitiesRestOperations.cs similarity index 97% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/BgpServiceCommunitiesRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/BgpServiceCommunitiesRestOperations.cs index fa7c6f7fb8bdd..c4e8eff382fd6 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/BgpServiceCommunitiesRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/BgpServiceCommunitiesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class BgpServiceCommunitiesRestClient + internal partial class BgpServiceCommunitiesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of BgpServiceCommunitiesRestClient. + /// Initializes a new instance of BgpServiceCommunitiesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public BgpServiceCommunitiesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public BgpServiceCommunitiesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ConnectionMonitorsClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ConnectionMonitorsOperations.cs similarity index 95% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/ConnectionMonitorsClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/ConnectionMonitorsOperations.cs index b078c76f98f0d..73b0257b2d82d 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ConnectionMonitorsClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ConnectionMonitorsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The ConnectionMonitors service client. - public partial class ConnectionMonitorsClient + public partial class ConnectionMonitorsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ConnectionMonitorsRestClient RestClient { get; } - /// Initializes a new instance of ConnectionMonitorsClient for mocking. - protected ConnectionMonitorsClient() + internal ConnectionMonitorsRestOperations RestClient { get; } + /// Initializes a new instance of ConnectionMonitorsOperations for mocking. + protected ConnectionMonitorsOperations() { } - /// Initializes a new instance of ConnectionMonitorsClient. + /// Initializes a new instance of ConnectionMonitorsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ConnectionMonitorsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ConnectionMonitorsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ConnectionMonitorsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ConnectionMonitorsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal ConnectionMonitorsClient(ClientDiagnostics clientDiagnostics, HttpPipel /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string networkWatcherName, string connectionMonitorName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string res /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string networkWatcherName, string connectionMonitorName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsOperations.Get"); scope.Start(); try { @@ -85,7 +85,7 @@ public virtual Response Get(string resourceGroupName, s /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string networkWatcherName, string connectionMonitorName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsOperations.UpdateTags"); scope.Start(); try { @@ -106,7 +106,7 @@ public virtual async Task> UpdateTagsAsync(str /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string networkWatcherName, string connectionMonitorName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsOperations.UpdateTags"); scope.Start(); try { @@ -136,7 +136,7 @@ public virtual AsyncPageable ListAsync(string resourceG async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsOperations.List"); scope.Start(); try { @@ -169,7 +169,7 @@ public virtual Pageable List(string resourceGroupName, Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsOperations.List"); scope.Start(); try { @@ -210,7 +210,7 @@ public virtual async Task StartCreate throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -249,7 +249,7 @@ public virtual ConnectionMonitorsCreateOrUpdateOperation StartCreateOrUpdate(str throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -283,7 +283,7 @@ public virtual async Task StartDeleteAsync(st throw new ArgumentNullException(nameof(connectionMonitorName)); } - using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsOperations.StartDelete"); scope.Start(); try { @@ -317,7 +317,7 @@ public virtual ConnectionMonitorsDeleteOperation StartDelete(string resourceGrou throw new ArgumentNullException(nameof(connectionMonitorName)); } - using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsOperations.StartDelete"); scope.Start(); try { @@ -351,7 +351,7 @@ public virtual async Task StartStopAsync(string throw new ArgumentNullException(nameof(connectionMonitorName)); } - using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsClient.StartStop"); + using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsOperations.StartStop"); scope.Start(); try { @@ -385,7 +385,7 @@ public virtual ConnectionMonitorsStopOperation StartStop(string resourceGroupNam throw new ArgumentNullException(nameof(connectionMonitorName)); } - using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsClient.StartStop"); + using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsOperations.StartStop"); scope.Start(); try { @@ -419,7 +419,7 @@ public virtual async Task StartStartAsync(stri throw new ArgumentNullException(nameof(connectionMonitorName)); } - using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsClient.StartStart"); + using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsOperations.StartStart"); scope.Start(); try { @@ -453,7 +453,7 @@ public virtual ConnectionMonitorsStartOperation StartStart(string resourceGroupN throw new ArgumentNullException(nameof(connectionMonitorName)); } - using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsClient.StartStart"); + using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsOperations.StartStart"); scope.Start(); try { @@ -487,7 +487,7 @@ public virtual async Task StartQueryAsync(stri throw new ArgumentNullException(nameof(connectionMonitorName)); } - using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsClient.StartQuery"); + using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsOperations.StartQuery"); scope.Start(); try { @@ -521,7 +521,7 @@ public virtual ConnectionMonitorsQueryOperation StartQuery(string resourceGroupN throw new ArgumentNullException(nameof(connectionMonitorName)); } - using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsClient.StartQuery"); + using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsOperations.StartQuery"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ConnectionMonitorsRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ConnectionMonitorsRestOperations.cs similarity index 99% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/ConnectionMonitorsRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/ConnectionMonitorsRestOperations.cs index d099bcb487629..af2a3fae98d50 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ConnectionMonitorsRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ConnectionMonitorsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class ConnectionMonitorsRestClient + internal partial class ConnectionMonitorsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ConnectionMonitorsRestClient. + /// Initializes a new instance of ConnectionMonitorsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ConnectionMonitorsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ConnectionMonitorsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/DdosCustomPoliciesClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/DdosCustomPoliciesOperations.cs similarity index 93% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/DdosCustomPoliciesClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/DdosCustomPoliciesOperations.cs index f63ddff9bc46d..82635f9c7341e 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/DdosCustomPoliciesClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/DdosCustomPoliciesOperations.cs @@ -15,23 +15,23 @@ namespace Azure.ResourceManager.Network { /// The DdosCustomPolicies service client. - public partial class DdosCustomPoliciesClient + public partial class DdosCustomPoliciesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal DdosCustomPoliciesRestClient RestClient { get; } - /// Initializes a new instance of DdosCustomPoliciesClient for mocking. - protected DdosCustomPoliciesClient() + internal DdosCustomPoliciesRestOperations RestClient { get; } + /// Initializes a new instance of DdosCustomPoliciesOperations for mocking. + protected DdosCustomPoliciesOperations() { } - /// Initializes a new instance of DdosCustomPoliciesClient. + /// Initializes a new instance of DdosCustomPoliciesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal DdosCustomPoliciesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal DdosCustomPoliciesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new DdosCustomPoliciesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new DdosCustomPoliciesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -42,7 +42,7 @@ internal DdosCustomPoliciesClient(ClientDiagnostics clientDiagnostics, HttpPipel /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string ddosCustomPolicyName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DdosCustomPoliciesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("DdosCustomPoliciesOperations.Get"); scope.Start(); try { @@ -61,7 +61,7 @@ public virtual async Task> GetAsync(string resourceGr /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string ddosCustomPolicyName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DdosCustomPoliciesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("DdosCustomPoliciesOperations.Get"); scope.Start(); try { @@ -81,7 +81,7 @@ public virtual Response Get(string resourceGroupName, string d /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string ddosCustomPolicyName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DdosCustomPoliciesClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("DdosCustomPoliciesOperations.UpdateTags"); scope.Start(); try { @@ -101,7 +101,7 @@ public virtual async Task> UpdateTagsAsync(string res /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string ddosCustomPolicyName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DdosCustomPoliciesClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("DdosCustomPoliciesOperations.UpdateTags"); scope.Start(); try { @@ -129,7 +129,7 @@ public virtual async Task StartDeleteAsync(st throw new ArgumentNullException(nameof(ddosCustomPolicyName)); } - using var scope = _clientDiagnostics.CreateScope("DdosCustomPoliciesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("DdosCustomPoliciesOperations.StartDelete"); scope.Start(); try { @@ -158,7 +158,7 @@ public virtual DdosCustomPoliciesDeleteOperation StartDelete(string resourceGrou throw new ArgumentNullException(nameof(ddosCustomPolicyName)); } - using var scope = _clientDiagnostics.CreateScope("DdosCustomPoliciesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("DdosCustomPoliciesOperations.StartDelete"); scope.Start(); try { @@ -192,7 +192,7 @@ public virtual async Task StartCreate throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("DdosCustomPoliciesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("DdosCustomPoliciesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -226,7 +226,7 @@ public virtual DdosCustomPoliciesCreateOrUpdateOperation StartCreateOrUpdate(str throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("DdosCustomPoliciesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("DdosCustomPoliciesOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/DdosCustomPoliciesRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/DdosCustomPoliciesRestOperations.cs similarity index 98% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/DdosCustomPoliciesRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/DdosCustomPoliciesRestOperations.cs index c337d9a6619f4..828c15250199a 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/DdosCustomPoliciesRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/DdosCustomPoliciesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class DdosCustomPoliciesRestClient + internal partial class DdosCustomPoliciesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of DdosCustomPoliciesRestClient. + /// Initializes a new instance of DdosCustomPoliciesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public DdosCustomPoliciesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public DdosCustomPoliciesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/DdosProtectionPlansClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/DdosProtectionPlansOperations.cs similarity index 93% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/DdosProtectionPlansClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/DdosProtectionPlansOperations.cs index f32472bf079c8..518b5e900f5e9 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/DdosProtectionPlansClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/DdosProtectionPlansOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The DdosProtectionPlans service client. - public partial class DdosProtectionPlansClient + public partial class DdosProtectionPlansOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal DdosProtectionPlansRestClient RestClient { get; } - /// Initializes a new instance of DdosProtectionPlansClient for mocking. - protected DdosProtectionPlansClient() + internal DdosProtectionPlansRestOperations RestClient { get; } + /// Initializes a new instance of DdosProtectionPlansOperations for mocking. + protected DdosProtectionPlansOperations() { } - /// Initializes a new instance of DdosProtectionPlansClient. + /// Initializes a new instance of DdosProtectionPlansOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal DdosProtectionPlansClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal DdosProtectionPlansOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new DdosProtectionPlansRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new DdosProtectionPlansRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal DdosProtectionPlansClient(ClientDiagnostics clientDiagnostics, HttpPipe /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string ddosProtectionPlanName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansClient.Get"); + using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string resource /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string ddosProtectionPlanName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansClient.Get"); + using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansOperations.Get"); scope.Start(); try { @@ -82,7 +82,7 @@ public virtual Response Get(string resourceGroupName, string /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string ddosProtectionPlanName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansOperations.UpdateTags"); scope.Start(); try { @@ -102,7 +102,7 @@ public virtual async Task> UpdateTagsAsync(string r /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string ddosProtectionPlanName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansOperations.UpdateTags"); scope.Start(); try { @@ -121,7 +121,7 @@ public virtual AsyncPageable ListAsync(CancellationToken can { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansClient.List"); + using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansOperations.List"); scope.Start(); try { @@ -136,7 +136,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansClient.List"); + using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansOperations.List"); scope.Start(); try { @@ -158,7 +158,7 @@ public virtual Pageable List(CancellationToken cancellationT { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansClient.List"); + using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansOperations.List"); scope.Start(); try { @@ -173,7 +173,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansClient.List"); + using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansOperations.List"); scope.Start(); try { @@ -201,7 +201,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(string async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansOperations.ListByResourceGroup"); scope.Start(); try { @@ -216,7 +216,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansOperations.ListByResourceGroup"); scope.Start(); try { @@ -244,7 +244,7 @@ public virtual Pageable ListByResourceGroup(string resourceG Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansOperations.ListByResourceGroup"); scope.Start(); try { @@ -259,7 +259,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansOperations.ListByResourceGroup"); scope.Start(); try { @@ -290,7 +290,7 @@ public virtual async Task StartDeleteAsync(s throw new ArgumentNullException(nameof(ddosProtectionPlanName)); } - using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansOperations.StartDelete"); scope.Start(); try { @@ -319,7 +319,7 @@ public virtual DdosProtectionPlansDeleteOperation StartDelete(string resourceGro throw new ArgumentNullException(nameof(ddosProtectionPlanName)); } - using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansOperations.StartDelete"); scope.Start(); try { @@ -353,7 +353,7 @@ public virtual async Task StartCreat throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -387,7 +387,7 @@ public virtual DdosProtectionPlansCreateOrUpdateOperation StartCreateOrUpdate(st throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/DdosProtectionPlansRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/DdosProtectionPlansRestOperations.cs similarity index 99% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/DdosProtectionPlansRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/DdosProtectionPlansRestOperations.cs index 52d45c408477b..556a53c0eee68 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/DdosProtectionPlansRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/DdosProtectionPlansRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class DdosProtectionPlansRestClient + internal partial class DdosProtectionPlansRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of DdosProtectionPlansRestClient. + /// Initializes a new instance of DdosProtectionPlansRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public DdosProtectionPlansRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public DdosProtectionPlansRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/DefaultSecurityRulesClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/DefaultSecurityRulesOperations.cs similarity index 91% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/DefaultSecurityRulesClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/DefaultSecurityRulesOperations.cs index d2de692a13e7c..448c7efecd1b2 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/DefaultSecurityRulesClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/DefaultSecurityRulesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The DefaultSecurityRules service client. - public partial class DefaultSecurityRulesClient + public partial class DefaultSecurityRulesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal DefaultSecurityRulesRestClient RestClient { get; } - /// Initializes a new instance of DefaultSecurityRulesClient for mocking. - protected DefaultSecurityRulesClient() + internal DefaultSecurityRulesRestOperations RestClient { get; } + /// Initializes a new instance of DefaultSecurityRulesOperations for mocking. + protected DefaultSecurityRulesOperations() { } - /// Initializes a new instance of DefaultSecurityRulesClient. + /// Initializes a new instance of DefaultSecurityRulesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal DefaultSecurityRulesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal DefaultSecurityRulesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new DefaultSecurityRulesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new DefaultSecurityRulesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal DefaultSecurityRulesClient(ClientDiagnostics clientDiagnostics, HttpPip /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string networkSecurityGroupName, string defaultSecurityRuleName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DefaultSecurityRulesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("DefaultSecurityRulesOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGroupN /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string networkSecurityGroupName, string defaultSecurityRuleName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DefaultSecurityRulesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("DefaultSecurityRulesOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName, s async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DefaultSecurityRulesClient.List"); + using var scope = _clientDiagnostics.CreateScope("DefaultSecurityRulesOperations.List"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DefaultSecurityRulesClient.List"); + using var scope = _clientDiagnostics.CreateScope("DefaultSecurityRulesOperations.List"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable List(string resourceGroupName, string netw Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DefaultSecurityRulesClient.List"); + using var scope = _clientDiagnostics.CreateScope("DefaultSecurityRulesOperations.List"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DefaultSecurityRulesClient.List"); + using var scope = _clientDiagnostics.CreateScope("DefaultSecurityRulesOperations.List"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/DefaultSecurityRulesRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/DefaultSecurityRulesRestOperations.cs similarity index 98% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/DefaultSecurityRulesRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/DefaultSecurityRulesRestOperations.cs index a1dc1f8c36c85..d4b701aae206d 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/DefaultSecurityRulesRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/DefaultSecurityRulesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class DefaultSecurityRulesRestClient + internal partial class DefaultSecurityRulesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of DefaultSecurityRulesRestClient. + /// Initializes a new instance of DefaultSecurityRulesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public DefaultSecurityRulesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public DefaultSecurityRulesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitAuthorizationsClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitAuthorizationsOperations.cs similarity index 93% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitAuthorizationsClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitAuthorizationsOperations.cs index 53e7c1981cea5..5122757e636dd 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitAuthorizationsClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitAuthorizationsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The ExpressRouteCircuitAuthorizations service client. - public partial class ExpressRouteCircuitAuthorizationsClient + public partial class ExpressRouteCircuitAuthorizationsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ExpressRouteCircuitAuthorizationsRestClient RestClient { get; } - /// Initializes a new instance of ExpressRouteCircuitAuthorizationsClient for mocking. - protected ExpressRouteCircuitAuthorizationsClient() + internal ExpressRouteCircuitAuthorizationsRestOperations RestClient { get; } + /// Initializes a new instance of ExpressRouteCircuitAuthorizationsOperations for mocking. + protected ExpressRouteCircuitAuthorizationsOperations() { } - /// Initializes a new instance of ExpressRouteCircuitAuthorizationsClient. + /// Initializes a new instance of ExpressRouteCircuitAuthorizationsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ExpressRouteCircuitAuthorizationsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ExpressRouteCircuitAuthorizationsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ExpressRouteCircuitAuthorizationsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ExpressRouteCircuitAuthorizationsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal ExpressRouteCircuitAuthorizationsClient(ClientDiagnostics clientDiagnos /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string circuitName, string authorizationName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitAuthorizationsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitAuthorizationsOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(s /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string circuitName, string authorizationName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitAuthorizationsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitAuthorizationsOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListAsync(string async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitAuthorizationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitAuthorizationsOperations.List"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHi } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitAuthorizationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitAuthorizationsOperations.List"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable List(string resourceGr Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitAuthorizationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitAuthorizationsOperations.List"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitAuthorizationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitAuthorizationsOperations.List"); scope.Start(); try { @@ -193,7 +193,7 @@ public virtual async Task Star throw new ArgumentNullException(nameof(authorizationName)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitAuthorizationsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitAuthorizationsOperations.StartDelete"); scope.Start(); try { @@ -227,7 +227,7 @@ public virtual ExpressRouteCircuitAuthorizationsDeleteOperation StartDelete(stri throw new ArgumentNullException(nameof(authorizationName)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitAuthorizationsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitAuthorizationsOperations.StartDelete"); scope.Start(); try { @@ -266,7 +266,7 @@ public virtual async Task Initializes a new instance of ExpressRouteCircuitAuthorizationsRestClient. + /// Initializes a new instance of ExpressRouteCircuitAuthorizationsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ExpressRouteCircuitAuthorizationsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ExpressRouteCircuitAuthorizationsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitConnectionsClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitConnectionsOperations.cs similarity index 94% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitConnectionsClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitConnectionsOperations.cs index 6ef9e0961d7bf..12a9d9585540a 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitConnectionsClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitConnectionsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The ExpressRouteCircuitConnections service client. - public partial class ExpressRouteCircuitConnectionsClient + public partial class ExpressRouteCircuitConnectionsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ExpressRouteCircuitConnectionsRestClient RestClient { get; } - /// Initializes a new instance of ExpressRouteCircuitConnectionsClient for mocking. - protected ExpressRouteCircuitConnectionsClient() + internal ExpressRouteCircuitConnectionsRestOperations RestClient { get; } + /// Initializes a new instance of ExpressRouteCircuitConnectionsOperations for mocking. + protected ExpressRouteCircuitConnectionsOperations() { } - /// Initializes a new instance of ExpressRouteCircuitConnectionsClient. + /// Initializes a new instance of ExpressRouteCircuitConnectionsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ExpressRouteCircuitConnectionsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ExpressRouteCircuitConnectionsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ExpressRouteCircuitConnectionsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ExpressRouteCircuitConnectionsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -45,7 +45,7 @@ internal ExpressRouteCircuitConnectionsClient(ClientDiagnostics clientDiagnostic /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string circuitName, string peeringName, string connectionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitConnectionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitConnectionsOperations.Get"); scope.Start(); try { @@ -66,7 +66,7 @@ public virtual async Task> GetAsync(stri /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string circuitName, string peeringName, string connectionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitConnectionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitConnectionsOperations.Get"); scope.Start(); try { @@ -101,7 +101,7 @@ public virtual AsyncPageable ListAsync(string res async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitConnectionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitConnectionsOperations.List"); scope.Start(); try { @@ -116,7 +116,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitConnectionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitConnectionsOperations.List"); scope.Start(); try { @@ -154,7 +154,7 @@ public virtual Pageable List(string resourceGroup Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitConnectionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitConnectionsOperations.List"); scope.Start(); try { @@ -169,7 +169,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitConnectionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitConnectionsOperations.List"); scope.Start(); try { @@ -210,7 +210,7 @@ public virtual async Task StartDe throw new ArgumentNullException(nameof(connectionName)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitConnectionsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitConnectionsOperations.StartDelete"); scope.Start(); try { @@ -249,7 +249,7 @@ public virtual ExpressRouteCircuitConnectionsDeleteOperation StartDelete(string throw new ArgumentNullException(nameof(connectionName)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitConnectionsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitConnectionsOperations.StartDelete"); scope.Start(); try { @@ -293,7 +293,7 @@ public virtual async Task throw new ArgumentNullException(nameof(expressRouteCircuitConnectionParameters)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitConnectionsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitConnectionsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -337,7 +337,7 @@ public virtual ExpressRouteCircuitConnectionsCreateOrUpdateOperation StartCreate throw new ArgumentNullException(nameof(expressRouteCircuitConnectionParameters)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitConnectionsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitConnectionsOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitConnectionsRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitConnectionsRestOperations.cs similarity index 99% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitConnectionsRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitConnectionsRestOperations.cs index ae2b15b766545..45ae3d59cceaa 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitConnectionsRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitConnectionsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class ExpressRouteCircuitConnectionsRestClient + internal partial class ExpressRouteCircuitConnectionsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ExpressRouteCircuitConnectionsRestClient. + /// Initializes a new instance of ExpressRouteCircuitConnectionsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ExpressRouteCircuitConnectionsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ExpressRouteCircuitConnectionsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitPeeringsClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitPeeringsOperations.cs similarity index 93% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitPeeringsClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitPeeringsOperations.cs index b3ea38e912612..b5338b2f82273 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitPeeringsClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitPeeringsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The ExpressRouteCircuitPeerings service client. - public partial class ExpressRouteCircuitPeeringsClient + public partial class ExpressRouteCircuitPeeringsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ExpressRouteCircuitPeeringsRestClient RestClient { get; } - /// Initializes a new instance of ExpressRouteCircuitPeeringsClient for mocking. - protected ExpressRouteCircuitPeeringsClient() + internal ExpressRouteCircuitPeeringsRestOperations RestClient { get; } + /// Initializes a new instance of ExpressRouteCircuitPeeringsOperations for mocking. + protected ExpressRouteCircuitPeeringsOperations() { } - /// Initializes a new instance of ExpressRouteCircuitPeeringsClient. + /// Initializes a new instance of ExpressRouteCircuitPeeringsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ExpressRouteCircuitPeeringsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ExpressRouteCircuitPeeringsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ExpressRouteCircuitPeeringsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ExpressRouteCircuitPeeringsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal ExpressRouteCircuitPeeringsClient(ClientDiagnostics clientDiagnostics, /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string circuitName, string peeringName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitPeeringsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitPeeringsOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string circuitName, string peeringName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitPeeringsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitPeeringsOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListAsync(string resour async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitPeeringsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitPeeringsOperations.List"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitPeeringsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitPeeringsOperations.List"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable List(string resourceGroupNam Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitPeeringsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitPeeringsOperations.List"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitPeeringsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitPeeringsOperations.List"); scope.Start(); try { @@ -193,7 +193,7 @@ public virtual async Task StartDelet throw new ArgumentNullException(nameof(peeringName)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitPeeringsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitPeeringsOperations.StartDelete"); scope.Start(); try { @@ -227,7 +227,7 @@ public virtual ExpressRouteCircuitPeeringsDeleteOperation StartDelete(string res throw new ArgumentNullException(nameof(peeringName)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitPeeringsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitPeeringsOperations.StartDelete"); scope.Start(); try { @@ -266,7 +266,7 @@ public virtual async Task St throw new ArgumentNullException(nameof(peeringParameters)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitPeeringsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitPeeringsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -305,7 +305,7 @@ public virtual ExpressRouteCircuitPeeringsCreateOrUpdateOperation StartCreateOrU throw new ArgumentNullException(nameof(peeringParameters)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitPeeringsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitPeeringsOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitPeeringsRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitPeeringsRestOperations.cs similarity index 98% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitPeeringsRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitPeeringsRestOperations.cs index 82c9d5f58b75e..829260c14c11e 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitPeeringsRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitPeeringsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class ExpressRouteCircuitPeeringsRestClient + internal partial class ExpressRouteCircuitPeeringsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ExpressRouteCircuitPeeringsRestClient. + /// Initializes a new instance of ExpressRouteCircuitPeeringsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ExpressRouteCircuitPeeringsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ExpressRouteCircuitPeeringsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitsClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitsOperations.cs similarity index 95% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitsClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitsOperations.cs index 8544a4d65554e..5e2341bfbc6af 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitsClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The ExpressRouteCircuits service client. - public partial class ExpressRouteCircuitsClient + public partial class ExpressRouteCircuitsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ExpressRouteCircuitsRestClient RestClient { get; } - /// Initializes a new instance of ExpressRouteCircuitsClient for mocking. - protected ExpressRouteCircuitsClient() + internal ExpressRouteCircuitsRestOperations RestClient { get; } + /// Initializes a new instance of ExpressRouteCircuitsOperations for mocking. + protected ExpressRouteCircuitsOperations() { } - /// Initializes a new instance of ExpressRouteCircuitsClient. + /// Initializes a new instance of ExpressRouteCircuitsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ExpressRouteCircuitsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ExpressRouteCircuitsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ExpressRouteCircuitsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ExpressRouteCircuitsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal ExpressRouteCircuitsClient(ClientDiagnostics clientDiagnostics, HttpPip /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string circuitName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string resourc /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string circuitName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.Get"); scope.Start(); try { @@ -82,7 +82,7 @@ public virtual Response Get(string resourceGroupName, strin /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string circuitName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.UpdateTags"); scope.Start(); try { @@ -102,7 +102,7 @@ public virtual async Task> UpdateTagsAsync(string /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string circuitName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.UpdateTags"); scope.Start(); try { @@ -121,7 +121,7 @@ public virtual Response UpdateTags(string resourceGroupName /// The cancellation token to use. public virtual async Task> GetStatsAsync(string resourceGroupName, string circuitName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.GetStats"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.GetStats"); scope.Start(); try { @@ -140,7 +140,7 @@ public virtual async Task> GetStatsAsync(stri /// The cancellation token to use. public virtual Response GetStats(string resourceGroupName, string circuitName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.GetStats"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.GetStats"); scope.Start(); try { @@ -160,7 +160,7 @@ public virtual Response GetStats(string resourceGroupN /// The cancellation token to use. public virtual async Task> GetPeeringStatsAsync(string resourceGroupName, string circuitName, string peeringName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.GetPeeringStats"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.GetPeeringStats"); scope.Start(); try { @@ -180,7 +180,7 @@ public virtual async Task> GetPeeringStatsAsy /// The cancellation token to use. public virtual Response GetPeeringStats(string resourceGroupName, string circuitName, string peeringName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.GetPeeringStats"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.GetPeeringStats"); scope.Start(); try { @@ -205,7 +205,7 @@ public virtual AsyncPageable ListAsync(string resourceGroup async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.List"); scope.Start(); try { @@ -220,7 +220,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.List"); scope.Start(); try { @@ -248,7 +248,7 @@ public virtual Pageable List(string resourceGroupName, Canc Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.List"); scope.Start(); try { @@ -263,7 +263,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.List"); scope.Start(); try { @@ -285,7 +285,7 @@ public virtual AsyncPageable ListAllAsync(CancellationToken { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.ListAll"); scope.Start(); try { @@ -300,7 +300,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.ListAll"); scope.Start(); try { @@ -322,7 +322,7 @@ public virtual Pageable ListAll(CancellationToken cancellat { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.ListAll"); scope.Start(); try { @@ -337,7 +337,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.ListAll"); scope.Start(); try { @@ -368,7 +368,7 @@ public virtual async Task StartDeleteAsync( throw new ArgumentNullException(nameof(circuitName)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.StartDelete"); scope.Start(); try { @@ -397,7 +397,7 @@ public virtual ExpressRouteCircuitsDeleteOperation StartDelete(string resourceGr throw new ArgumentNullException(nameof(circuitName)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.StartDelete"); scope.Start(); try { @@ -431,7 +431,7 @@ public virtual async Task StartCrea throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -465,7 +465,7 @@ public virtual ExpressRouteCircuitsCreateOrUpdateOperation StartCreateOrUpdate(s throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -504,7 +504,7 @@ public virtual async Task StartListAr throw new ArgumentNullException(nameof(devicePath)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.StartListArpTable"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.StartListArpTable"); scope.Start(); try { @@ -543,7 +543,7 @@ public virtual ExpressRouteCircuitsListArpTableOperation StartListArpTable(strin throw new ArgumentNullException(nameof(devicePath)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.StartListArpTable"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.StartListArpTable"); scope.Start(); try { @@ -582,7 +582,7 @@ public virtual async Task StartLis throw new ArgumentNullException(nameof(devicePath)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.StartListRoutesTable"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.StartListRoutesTable"); scope.Start(); try { @@ -621,7 +621,7 @@ public virtual ExpressRouteCircuitsListRoutesTableOperation StartListRoutesTable throw new ArgumentNullException(nameof(devicePath)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.StartListRoutesTable"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.StartListRoutesTable"); scope.Start(); try { @@ -660,7 +660,7 @@ public virtual async Task S throw new ArgumentNullException(nameof(devicePath)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.StartListRoutesTableSummary"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.StartListRoutesTableSummary"); scope.Start(); try { @@ -699,7 +699,7 @@ public virtual ExpressRouteCircuitsListRoutesTableSummaryOperation StartListRout throw new ArgumentNullException(nameof(devicePath)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.StartListRoutesTableSummary"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.StartListRoutesTableSummary"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitsRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitsRestOperations.cs similarity index 99% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitsRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitsRestOperations.cs index 1df1a26dcc342..736f10ef3d772 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitsRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class ExpressRouteCircuitsRestClient + internal partial class ExpressRouteCircuitsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ExpressRouteCircuitsRestClient. + /// Initializes a new instance of ExpressRouteCircuitsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ExpressRouteCircuitsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ExpressRouteCircuitsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteConnectionsClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteConnectionsOperations.cs similarity index 93% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteConnectionsClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteConnectionsOperations.cs index 5b5c7af341793..aedebf26853e6 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteConnectionsClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteConnectionsOperations.cs @@ -15,23 +15,23 @@ namespace Azure.ResourceManager.Network { /// The ExpressRouteConnections service client. - public partial class ExpressRouteConnectionsClient + public partial class ExpressRouteConnectionsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ExpressRouteConnectionsRestClient RestClient { get; } - /// Initializes a new instance of ExpressRouteConnectionsClient for mocking. - protected ExpressRouteConnectionsClient() + internal ExpressRouteConnectionsRestOperations RestClient { get; } + /// Initializes a new instance of ExpressRouteConnectionsOperations for mocking. + protected ExpressRouteConnectionsOperations() { } - /// Initializes a new instance of ExpressRouteConnectionsClient. + /// Initializes a new instance of ExpressRouteConnectionsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ExpressRouteConnectionsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ExpressRouteConnectionsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ExpressRouteConnectionsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ExpressRouteConnectionsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal ExpressRouteConnectionsClient(ClientDiagnostics clientDiagnostics, Http /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string expressRouteGatewayName, string connectionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteConnectionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteConnectionsOperations.Get"); scope.Start(); try { @@ -63,7 +63,7 @@ public virtual async Task> GetAsync(string reso /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string expressRouteGatewayName, string connectionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteConnectionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteConnectionsOperations.Get"); scope.Start(); try { @@ -82,7 +82,7 @@ public virtual Response Get(string resourceGroupName, st /// The cancellation token to use. public virtual async Task> ListAsync(string resourceGroupName, string expressRouteGatewayName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteConnectionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteConnectionsOperations.List"); scope.Start(); try { @@ -101,7 +101,7 @@ public virtual async Task> ListAsync(string /// The cancellation token to use. public virtual Response List(string resourceGroupName, string expressRouteGatewayName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteConnectionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteConnectionsOperations.List"); scope.Start(); try { @@ -139,7 +139,7 @@ public virtual async Task StartC throw new ArgumentNullException(nameof(putExpressRouteConnectionParameters)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteConnectionsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteConnectionsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -178,7 +178,7 @@ public virtual ExpressRouteConnectionsCreateOrUpdateOperation StartCreateOrUpdat throw new ArgumentNullException(nameof(putExpressRouteConnectionParameters)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteConnectionsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteConnectionsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -212,7 +212,7 @@ public virtual async Task StartDeleteAsy throw new ArgumentNullException(nameof(connectionName)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteConnectionsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteConnectionsOperations.StartDelete"); scope.Start(); try { @@ -246,7 +246,7 @@ public virtual ExpressRouteConnectionsDeleteOperation StartDelete(string resourc throw new ArgumentNullException(nameof(connectionName)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteConnectionsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteConnectionsOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteConnectionsRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteConnectionsRestOperations.cs similarity index 98% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteConnectionsRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteConnectionsRestOperations.cs index 996786c39233e..5f14dd755060b 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteConnectionsRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteConnectionsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class ExpressRouteConnectionsRestClient + internal partial class ExpressRouteConnectionsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ExpressRouteConnectionsRestClient. + /// Initializes a new instance of ExpressRouteConnectionsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ExpressRouteConnectionsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ExpressRouteConnectionsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCrossConnectionPeeringsClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCrossConnectionPeeringsOperations.cs similarity index 93% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCrossConnectionPeeringsClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCrossConnectionPeeringsOperations.cs index 637a43ea6cb9d..1bbba09f12202 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCrossConnectionPeeringsClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCrossConnectionPeeringsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The ExpressRouteCrossConnectionPeerings service client. - public partial class ExpressRouteCrossConnectionPeeringsClient + public partial class ExpressRouteCrossConnectionPeeringsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ExpressRouteCrossConnectionPeeringsRestClient RestClient { get; } - /// Initializes a new instance of ExpressRouteCrossConnectionPeeringsClient for mocking. - protected ExpressRouteCrossConnectionPeeringsClient() + internal ExpressRouteCrossConnectionPeeringsRestOperations RestClient { get; } + /// Initializes a new instance of ExpressRouteCrossConnectionPeeringsOperations for mocking. + protected ExpressRouteCrossConnectionPeeringsOperations() { } - /// Initializes a new instance of ExpressRouteCrossConnectionPeeringsClient. + /// Initializes a new instance of ExpressRouteCrossConnectionPeeringsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ExpressRouteCrossConnectionPeeringsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ExpressRouteCrossConnectionPeeringsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ExpressRouteCrossConnectionPeeringsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ExpressRouteCrossConnectionPeeringsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal ExpressRouteCrossConnectionPeeringsClient(ClientDiagnostics clientDiagn /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string crossConnectionName, string peeringName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionPeeringsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionPeeringsOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string crossConnectionName, string peeringName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionPeeringsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionPeeringsOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListAsync(strin async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionPeeringsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionPeeringsOperations.List"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSize } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionPeeringsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionPeeringsOperations.List"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable List(string resource Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionPeeringsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionPeeringsOperations.List"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionPeeringsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionPeeringsOperations.List"); scope.Start(); try { @@ -193,7 +193,7 @@ public virtual async Task St throw new ArgumentNullException(nameof(peeringName)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionPeeringsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionPeeringsOperations.StartDelete"); scope.Start(); try { @@ -227,7 +227,7 @@ public virtual ExpressRouteCrossConnectionPeeringsDeleteOperation StartDelete(st throw new ArgumentNullException(nameof(peeringName)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionPeeringsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionPeeringsOperations.StartDelete"); scope.Start(); try { @@ -266,7 +266,7 @@ public virtual async Task Initializes a new instance of ExpressRouteCrossConnectionPeeringsRestClient. + /// Initializes a new instance of ExpressRouteCrossConnectionPeeringsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ExpressRouteCrossConnectionPeeringsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ExpressRouteCrossConnectionPeeringsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCrossConnectionsClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCrossConnectionsOperations.cs similarity index 94% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCrossConnectionsClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCrossConnectionsOperations.cs index 402e076608f03..7aaa61e3356cc 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCrossConnectionsClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCrossConnectionsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The ExpressRouteCrossConnections service client. - public partial class ExpressRouteCrossConnectionsClient + public partial class ExpressRouteCrossConnectionsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ExpressRouteCrossConnectionsRestClient RestClient { get; } - /// Initializes a new instance of ExpressRouteCrossConnectionsClient for mocking. - protected ExpressRouteCrossConnectionsClient() + internal ExpressRouteCrossConnectionsRestOperations RestClient { get; } + /// Initializes a new instance of ExpressRouteCrossConnectionsOperations for mocking. + protected ExpressRouteCrossConnectionsOperations() { } - /// Initializes a new instance of ExpressRouteCrossConnectionsClient. + /// Initializes a new instance of ExpressRouteCrossConnectionsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ExpressRouteCrossConnectionsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ExpressRouteCrossConnectionsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ExpressRouteCrossConnectionsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ExpressRouteCrossConnectionsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal ExpressRouteCrossConnectionsClient(ClientDiagnostics clientDiagnostics, /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string crossConnectionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string crossConnectionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsOperations.Get"); scope.Start(); try { @@ -82,7 +82,7 @@ public virtual Response Get(string resourceGroupNam /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string crossConnectionName, TagsObject crossConnectionParameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsOperations.UpdateTags"); scope.Start(); try { @@ -102,7 +102,7 @@ public virtual async Task> UpdateTagsAsync /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string crossConnectionName, TagsObject crossConnectionParameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsOperations.UpdateTags"); scope.Start(); try { @@ -121,7 +121,7 @@ public virtual AsyncPageable ListAsync(Cancellation { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsOperations.List"); scope.Start(); try { @@ -136,7 +136,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsOperations.List"); scope.Start(); try { @@ -158,7 +158,7 @@ public virtual Pageable List(CancellationToken canc { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsOperations.List"); scope.Start(); try { @@ -173,7 +173,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsOperations.List"); scope.Start(); try { @@ -201,7 +201,7 @@ public virtual AsyncPageable ListByResourceGroupAsy async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsOperations.ListByResourceGroup"); scope.Start(); try { @@ -216,7 +216,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsOperations.ListByResourceGroup"); scope.Start(); try { @@ -244,7 +244,7 @@ public virtual Pageable ListByResourceGroup(string Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsOperations.ListByResourceGroup"); scope.Start(); try { @@ -259,7 +259,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsOperations.ListByResourceGroup"); scope.Start(); try { @@ -295,7 +295,7 @@ public virtual async Task S throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -329,7 +329,7 @@ public virtual ExpressRouteCrossConnectionsCreateOrUpdateOperation StartCreateOr throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -368,7 +368,7 @@ public virtual async Task Sta throw new ArgumentNullException(nameof(devicePath)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsClient.StartListArpTable"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsOperations.StartListArpTable"); scope.Start(); try { @@ -407,7 +407,7 @@ public virtual ExpressRouteCrossConnectionsListArpTableOperation StartListArpTab throw new ArgumentNullException(nameof(devicePath)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsClient.StartListArpTable"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsOperations.StartListArpTable"); scope.Start(); try { @@ -446,7 +446,7 @@ public virtual async Task throw new ArgumentNullException(nameof(devicePath)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsClient.StartListRoutesTable"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsOperations.StartListRoutesTable"); scope.Start(); try { @@ -563,7 +563,7 @@ public virtual ExpressRouteCrossConnectionsListRoutesTableOperation StartListRou throw new ArgumentNullException(nameof(devicePath)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsClient.StartListRoutesTable"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsOperations.StartListRoutesTable"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCrossConnectionsRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCrossConnectionsRestOperations.cs similarity index 99% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCrossConnectionsRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCrossConnectionsRestOperations.cs index f22a35aaab29c..be50e7954322f 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCrossConnectionsRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCrossConnectionsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class ExpressRouteCrossConnectionsRestClient + internal partial class ExpressRouteCrossConnectionsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ExpressRouteCrossConnectionsRestClient. + /// Initializes a new instance of ExpressRouteCrossConnectionsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ExpressRouteCrossConnectionsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ExpressRouteCrossConnectionsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteGatewaysClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteGatewaysOperations.cs similarity index 92% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteGatewaysClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteGatewaysOperations.cs index a45bfbce948c6..66bb1566e60fb 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteGatewaysClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteGatewaysOperations.cs @@ -15,23 +15,23 @@ namespace Azure.ResourceManager.Network { /// The ExpressRouteGateways service client. - public partial class ExpressRouteGatewaysClient + public partial class ExpressRouteGatewaysOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ExpressRouteGatewaysRestClient RestClient { get; } - /// Initializes a new instance of ExpressRouteGatewaysClient for mocking. - protected ExpressRouteGatewaysClient() + internal ExpressRouteGatewaysRestOperations RestClient { get; } + /// Initializes a new instance of ExpressRouteGatewaysOperations for mocking. + protected ExpressRouteGatewaysOperations() { } - /// Initializes a new instance of ExpressRouteGatewaysClient. + /// Initializes a new instance of ExpressRouteGatewaysOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ExpressRouteGatewaysClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ExpressRouteGatewaysOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ExpressRouteGatewaysRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ExpressRouteGatewaysRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -40,7 +40,7 @@ internal ExpressRouteGatewaysClient(ClientDiagnostics clientDiagnostics, HttpPip /// The cancellation token to use. public virtual async Task> ListBySubscriptionAsync(CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteGatewaysClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteGatewaysOperations.ListBySubscription"); scope.Start(); try { @@ -57,7 +57,7 @@ public virtual async Task> ListBySubscriptionA /// The cancellation token to use. public virtual Response ListBySubscription(CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteGatewaysClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteGatewaysOperations.ListBySubscription"); scope.Start(); try { @@ -75,7 +75,7 @@ public virtual Response ListBySubscription(Cancellation /// The cancellation token to use. public virtual async Task> ListByResourceGroupAsync(string resourceGroupName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteGatewaysClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteGatewaysOperations.ListByResourceGroup"); scope.Start(); try { @@ -93,7 +93,7 @@ public virtual async Task> ListByResourceGroup /// The cancellation token to use. public virtual Response ListByResourceGroup(string resourceGroupName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteGatewaysClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteGatewaysOperations.ListByResourceGroup"); scope.Start(); try { @@ -112,7 +112,7 @@ public virtual Response ListByResourceGroup(string reso /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string expressRouteGatewayName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteGatewaysClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteGatewaysOperations.Get"); scope.Start(); try { @@ -131,7 +131,7 @@ public virtual async Task> GetAsync(string resourc /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string expressRouteGatewayName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteGatewaysClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteGatewaysOperations.Get"); scope.Start(); try { @@ -164,7 +164,7 @@ public virtual async Task StartCrea throw new ArgumentNullException(nameof(putExpressRouteGatewayParameters)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteGatewaysClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteGatewaysOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -198,7 +198,7 @@ public virtual ExpressRouteGatewaysCreateOrUpdateOperation StartCreateOrUpdate(s throw new ArgumentNullException(nameof(putExpressRouteGatewayParameters)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteGatewaysClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteGatewaysOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -227,7 +227,7 @@ public virtual async Task StartDeleteAsync( throw new ArgumentNullException(nameof(expressRouteGatewayName)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteGatewaysClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteGatewaysOperations.StartDelete"); scope.Start(); try { @@ -256,7 +256,7 @@ public virtual ExpressRouteGatewaysDeleteOperation StartDelete(string resourceGr throw new ArgumentNullException(nameof(expressRouteGatewayName)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteGatewaysClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteGatewaysOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteGatewaysRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteGatewaysRestOperations.cs similarity index 98% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteGatewaysRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteGatewaysRestOperations.cs index e8979644c6ac1..c3be4e50f4d6d 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteGatewaysRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteGatewaysRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class ExpressRouteGatewaysRestClient + internal partial class ExpressRouteGatewaysRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ExpressRouteGatewaysRestClient. + /// Initializes a new instance of ExpressRouteGatewaysRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ExpressRouteGatewaysRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ExpressRouteGatewaysRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteLinksClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteLinksOperations.cs similarity index 91% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteLinksClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteLinksOperations.cs index 5eba8fbcd3c03..aca938f05a2bf 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteLinksClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteLinksOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The ExpressRouteLinks service client. - public partial class ExpressRouteLinksClient + public partial class ExpressRouteLinksOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ExpressRouteLinksRestClient RestClient { get; } - /// Initializes a new instance of ExpressRouteLinksClient for mocking. - protected ExpressRouteLinksClient() + internal ExpressRouteLinksRestOperations RestClient { get; } + /// Initializes a new instance of ExpressRouteLinksOperations for mocking. + protected ExpressRouteLinksOperations() { } - /// Initializes a new instance of ExpressRouteLinksClient. + /// Initializes a new instance of ExpressRouteLinksOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ExpressRouteLinksClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ExpressRouteLinksOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ExpressRouteLinksRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ExpressRouteLinksRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal ExpressRouteLinksClient(ClientDiagnostics clientDiagnostics, HttpPipeli /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string expressRoutePortName, string linkName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteLinksClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteLinksOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGr /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string expressRoutePortName, string linkName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteLinksClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteLinksOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupNam async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteLinksClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteLinksOperations.List"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteLinksClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteLinksOperations.List"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable List(string resourceGroupName, string Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteLinksClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteLinksOperations.List"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteLinksClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteLinksOperations.List"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteLinksRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteLinksRestOperations.cs similarity index 98% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteLinksRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteLinksRestOperations.cs index 49e9dc0ec1d3e..69b20b62ee448 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteLinksRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteLinksRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class ExpressRouteLinksRestClient + internal partial class ExpressRouteLinksRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ExpressRouteLinksRestClient. + /// Initializes a new instance of ExpressRouteLinksRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ExpressRouteLinksRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ExpressRouteLinksRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRoutePortsLocationsClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRoutePortsLocationsOperations.cs similarity index 88% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRoutePortsLocationsClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRoutePortsLocationsOperations.cs index a89b546af5763..0c035bbd2dfe8 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRoutePortsLocationsClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRoutePortsLocationsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The ExpressRoutePortsLocations service client. - public partial class ExpressRoutePortsLocationsClient + public partial class ExpressRoutePortsLocationsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ExpressRoutePortsLocationsRestClient RestClient { get; } - /// Initializes a new instance of ExpressRoutePortsLocationsClient for mocking. - protected ExpressRoutePortsLocationsClient() + internal ExpressRoutePortsLocationsRestOperations RestClient { get; } + /// Initializes a new instance of ExpressRoutePortsLocationsOperations for mocking. + protected ExpressRoutePortsLocationsOperations() { } - /// Initializes a new instance of ExpressRoutePortsLocationsClient. + /// Initializes a new instance of ExpressRoutePortsLocationsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ExpressRoutePortsLocationsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ExpressRoutePortsLocationsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ExpressRoutePortsLocationsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ExpressRoutePortsLocationsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -42,7 +42,7 @@ internal ExpressRoutePortsLocationsClient(ClientDiagnostics clientDiagnostics, H /// The cancellation token to use. public virtual async Task> GetAsync(string locationName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsLocationsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsLocationsOperations.Get"); scope.Start(); try { @@ -60,7 +60,7 @@ public virtual async Task> GetAsync(string l /// The cancellation token to use. public virtual Response Get(string locationName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsLocationsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsLocationsOperations.Get"); scope.Start(); try { @@ -79,7 +79,7 @@ public virtual AsyncPageable ListAsync(CancellationTo { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsLocationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsLocationsOperations.List"); scope.Start(); try { @@ -94,7 +94,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsLocationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsLocationsOperations.List"); scope.Start(); try { @@ -116,7 +116,7 @@ public virtual Pageable List(CancellationToken cancel { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsLocationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsLocationsOperations.List"); scope.Start(); try { @@ -131,7 +131,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsLocationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsLocationsOperations.List"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRoutePortsLocationsRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRoutePortsLocationsRestOperations.cs similarity index 98% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRoutePortsLocationsRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRoutePortsLocationsRestOperations.cs index db594400d6735..9869b58f1457e 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRoutePortsLocationsRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRoutePortsLocationsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class ExpressRoutePortsLocationsRestClient + internal partial class ExpressRoutePortsLocationsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ExpressRoutePortsLocationsRestClient. + /// Initializes a new instance of ExpressRoutePortsLocationsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ExpressRoutePortsLocationsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ExpressRoutePortsLocationsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRoutePortsClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRoutePortsOperations.cs similarity index 94% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRoutePortsClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRoutePortsOperations.cs index 59893e299ae15..32689a3ab5f95 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRoutePortsClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRoutePortsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The ExpressRoutePorts service client. - public partial class ExpressRoutePortsClient + public partial class ExpressRoutePortsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ExpressRoutePortsRestClient RestClient { get; } - /// Initializes a new instance of ExpressRoutePortsClient for mocking. - protected ExpressRoutePortsClient() + internal ExpressRoutePortsRestOperations RestClient { get; } + /// Initializes a new instance of ExpressRoutePortsOperations for mocking. + protected ExpressRoutePortsOperations() { } - /// Initializes a new instance of ExpressRoutePortsClient. + /// Initializes a new instance of ExpressRoutePortsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ExpressRoutePortsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ExpressRoutePortsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ExpressRoutePortsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ExpressRoutePortsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal ExpressRoutePortsClient(ClientDiagnostics clientDiagnostics, HttpPipeli /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string expressRoutePortName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string resourceGr /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string expressRoutePortName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsOperations.Get"); scope.Start(); try { @@ -82,7 +82,7 @@ public virtual Response Get(string resourceGroupName, string e /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string expressRoutePortName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsOperations.UpdateTags"); scope.Start(); try { @@ -102,7 +102,7 @@ public virtual async Task> UpdateTagsAsync(string res /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string expressRoutePortName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsOperations.UpdateTags"); scope.Start(); try { @@ -127,7 +127,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(string r async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsOperations.ListByResourceGroup"); scope.Start(); try { @@ -142,7 +142,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsOperations.ListByResourceGroup"); scope.Start(); try { @@ -170,7 +170,7 @@ public virtual Pageable ListByResourceGroup(string resourceGro Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsOperations.ListByResourceGroup"); scope.Start(); try { @@ -185,7 +185,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsOperations.ListByResourceGroup"); scope.Start(); try { @@ -207,7 +207,7 @@ public virtual AsyncPageable ListAsync(CancellationToken cance { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsOperations.List"); scope.Start(); try { @@ -222,7 +222,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsOperations.List"); scope.Start(); try { @@ -244,7 +244,7 @@ public virtual Pageable List(CancellationToken cancellationTok { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsOperations.List"); scope.Start(); try { @@ -259,7 +259,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsOperations.List"); scope.Start(); try { @@ -290,7 +290,7 @@ public virtual async Task StartDeleteAsync(str throw new ArgumentNullException(nameof(expressRoutePortName)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsOperations.StartDelete"); scope.Start(); try { @@ -319,7 +319,7 @@ public virtual ExpressRoutePortsDeleteOperation StartDelete(string resourceGroup throw new ArgumentNullException(nameof(expressRoutePortName)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsOperations.StartDelete"); scope.Start(); try { @@ -353,7 +353,7 @@ public virtual async Task StartCreateO throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -387,7 +387,7 @@ public virtual ExpressRoutePortsCreateOrUpdateOperation StartCreateOrUpdate(stri throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRoutePortsRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRoutePortsRestOperations.cs similarity index 99% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRoutePortsRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRoutePortsRestOperations.cs index 965b39544e14a..e9aa8788e3da9 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRoutePortsRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRoutePortsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class ExpressRoutePortsRestClient + internal partial class ExpressRoutePortsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ExpressRoutePortsRestClient. + /// Initializes a new instance of ExpressRoutePortsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ExpressRoutePortsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ExpressRoutePortsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteServiceProvidersClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteServiceProvidersOperations.cs similarity index 85% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteServiceProvidersClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteServiceProvidersOperations.cs index 40c5524db9203..59ccf7e7f0e6b 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteServiceProvidersClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteServiceProvidersOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The ExpressRouteServiceProviders service client. - public partial class ExpressRouteServiceProvidersClient + public partial class ExpressRouteServiceProvidersOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ExpressRouteServiceProvidersRestClient RestClient { get; } - /// Initializes a new instance of ExpressRouteServiceProvidersClient for mocking. - protected ExpressRouteServiceProvidersClient() + internal ExpressRouteServiceProvidersRestOperations RestClient { get; } + /// Initializes a new instance of ExpressRouteServiceProvidersOperations for mocking. + protected ExpressRouteServiceProvidersOperations() { } - /// Initializes a new instance of ExpressRouteServiceProvidersClient. + /// Initializes a new instance of ExpressRouteServiceProvidersOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ExpressRouteServiceProvidersClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ExpressRouteServiceProvidersOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ExpressRouteServiceProvidersRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ExpressRouteServiceProvidersRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ public virtual AsyncPageable ListAsync(Cancellation { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteServiceProvidersClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteServiceProvidersOperations.List"); scope.Start(); try { @@ -58,7 +58,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteServiceProvidersClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteServiceProvidersOperations.List"); scope.Start(); try { @@ -80,7 +80,7 @@ public virtual Pageable List(CancellationToken canc { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteServiceProvidersClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteServiceProvidersOperations.List"); scope.Start(); try { @@ -95,7 +95,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteServiceProvidersClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteServiceProvidersOperations.List"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteServiceProvidersRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteServiceProvidersRestOperations.cs similarity index 96% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteServiceProvidersRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteServiceProvidersRestOperations.cs index 11b5cdd20a4b5..5de865fe83366 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteServiceProvidersRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteServiceProvidersRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class ExpressRouteServiceProvidersRestClient + internal partial class ExpressRouteServiceProvidersRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ExpressRouteServiceProvidersRestClient. + /// Initializes a new instance of ExpressRouteServiceProvidersRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ExpressRouteServiceProvidersRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ExpressRouteServiceProvidersRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/FirewallPoliciesClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/FirewallPoliciesOperations.cs similarity index 94% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/FirewallPoliciesClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/FirewallPoliciesOperations.cs index 9b6425db6ca71..72b48928da3c8 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/FirewallPoliciesClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/FirewallPoliciesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The FirewallPolicies service client. - public partial class FirewallPoliciesClient + public partial class FirewallPoliciesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal FirewallPoliciesRestClient RestClient { get; } - /// Initializes a new instance of FirewallPoliciesClient for mocking. - protected FirewallPoliciesClient() + internal FirewallPoliciesRestOperations RestClient { get; } + /// Initializes a new instance of FirewallPoliciesOperations for mocking. + protected FirewallPoliciesOperations() { } - /// Initializes a new instance of FirewallPoliciesClient. + /// Initializes a new instance of FirewallPoliciesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal FirewallPoliciesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal FirewallPoliciesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new FirewallPoliciesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new FirewallPoliciesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal FirewallPoliciesClient(ClientDiagnostics clientDiagnostics, HttpPipelin /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string firewallPolicyName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGrou /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string firewallPolicyName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesOperations.Get"); scope.Start(); try { @@ -89,7 +89,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName, async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesClient.List"); + using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesOperations.List"); scope.Start(); try { @@ -104,7 +104,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesClient.List"); + using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesOperations.List"); scope.Start(); try { @@ -132,7 +132,7 @@ public virtual Pageable List(string resourceGroupName, Cancellat Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesClient.List"); + using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesOperations.List"); scope.Start(); try { @@ -147,7 +147,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesClient.List"); + using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesOperations.List"); scope.Start(); try { @@ -169,7 +169,7 @@ public virtual AsyncPageable ListAllAsync(CancellationToken canc { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesOperations.ListAll"); scope.Start(); try { @@ -184,7 +184,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesOperations.ListAll"); scope.Start(); try { @@ -206,7 +206,7 @@ public virtual Pageable ListAll(CancellationToken cancellationTo { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesOperations.ListAll"); scope.Start(); try { @@ -221,7 +221,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesOperations.ListAll"); scope.Start(); try { @@ -252,7 +252,7 @@ public virtual async Task StartDeleteAsync(stri throw new ArgumentNullException(nameof(firewallPolicyName)); } - using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesOperations.StartDelete"); scope.Start(); try { @@ -281,7 +281,7 @@ public virtual FirewallPoliciesDeleteOperation StartDelete(string resourceGroupN throw new ArgumentNullException(nameof(firewallPolicyName)); } - using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesOperations.StartDelete"); scope.Start(); try { @@ -315,7 +315,7 @@ public virtual async Task StartCreateOr throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -349,7 +349,7 @@ public virtual FirewallPoliciesCreateOrUpdateOperation StartCreateOrUpdate(strin throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/FirewallPoliciesRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/FirewallPoliciesRestOperations.cs similarity index 99% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/FirewallPoliciesRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/FirewallPoliciesRestOperations.cs index e28c41669b25e..65657c35dfc76 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/FirewallPoliciesRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/FirewallPoliciesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class FirewallPoliciesRestClient + internal partial class FirewallPoliciesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of FirewallPoliciesRestClient. + /// Initializes a new instance of FirewallPoliciesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public FirewallPoliciesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public FirewallPoliciesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/FirewallPolicyRuleGroupsClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/FirewallPolicyRuleGroupsOperations.cs similarity index 93% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/FirewallPolicyRuleGroupsClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/FirewallPolicyRuleGroupsOperations.cs index fa567d8ddf85e..31ad2d609b2e7 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/FirewallPolicyRuleGroupsClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/FirewallPolicyRuleGroupsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The FirewallPolicyRuleGroups service client. - public partial class FirewallPolicyRuleGroupsClient + public partial class FirewallPolicyRuleGroupsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal FirewallPolicyRuleGroupsRestClient RestClient { get; } - /// Initializes a new instance of FirewallPolicyRuleGroupsClient for mocking. - protected FirewallPolicyRuleGroupsClient() + internal FirewallPolicyRuleGroupsRestOperations RestClient { get; } + /// Initializes a new instance of FirewallPolicyRuleGroupsOperations for mocking. + protected FirewallPolicyRuleGroupsOperations() { } - /// Initializes a new instance of FirewallPolicyRuleGroupsClient. + /// Initializes a new instance of FirewallPolicyRuleGroupsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal FirewallPolicyRuleGroupsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal FirewallPolicyRuleGroupsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new FirewallPolicyRuleGroupsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new FirewallPolicyRuleGroupsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal FirewallPolicyRuleGroupsClient(ClientDiagnostics clientDiagnostics, Htt /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string firewallPolicyName, string ruleGroupName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("FirewallPolicyRuleGroupsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("FirewallPolicyRuleGroupsOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string res /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string firewallPolicyName, string ruleGroupName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("FirewallPolicyRuleGroupsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("FirewallPolicyRuleGroupsOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListAsync(string resourceG async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("FirewallPolicyRuleGroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("FirewallPolicyRuleGroupsOperations.List"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("FirewallPolicyRuleGroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("FirewallPolicyRuleGroupsOperations.List"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable List(string resourceGroupName, Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("FirewallPolicyRuleGroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("FirewallPolicyRuleGroupsOperations.List"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("FirewallPolicyRuleGroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("FirewallPolicyRuleGroupsOperations.List"); scope.Start(); try { @@ -193,7 +193,7 @@ public virtual async Task StartDeleteAs throw new ArgumentNullException(nameof(ruleGroupName)); } - using var scope = _clientDiagnostics.CreateScope("FirewallPolicyRuleGroupsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("FirewallPolicyRuleGroupsOperations.StartDelete"); scope.Start(); try { @@ -227,7 +227,7 @@ public virtual FirewallPolicyRuleGroupsDeleteOperation StartDelete(string resour throw new ArgumentNullException(nameof(ruleGroupName)); } - using var scope = _clientDiagnostics.CreateScope("FirewallPolicyRuleGroupsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("FirewallPolicyRuleGroupsOperations.StartDelete"); scope.Start(); try { @@ -266,7 +266,7 @@ public virtual async Task Start throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("FirewallPolicyRuleGroupsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("FirewallPolicyRuleGroupsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -305,7 +305,7 @@ public virtual FirewallPolicyRuleGroupsCreateOrUpdateOperation StartCreateOrUpda throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("FirewallPolicyRuleGroupsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("FirewallPolicyRuleGroupsOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/FirewallPolicyRuleGroupsRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/FirewallPolicyRuleGroupsRestOperations.cs similarity index 98% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/FirewallPolicyRuleGroupsRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/FirewallPolicyRuleGroupsRestOperations.cs index 5d018900f010c..efcbba3cdf43b 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/FirewallPolicyRuleGroupsRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/FirewallPolicyRuleGroupsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class FirewallPolicyRuleGroupsRestClient + internal partial class FirewallPolicyRuleGroupsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of FirewallPolicyRuleGroupsRestClient. + /// Initializes a new instance of FirewallPolicyRuleGroupsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public FirewallPolicyRuleGroupsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public FirewallPolicyRuleGroupsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/FlowLogsClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/FlowLogsOperations.cs similarity index 94% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/FlowLogsClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/FlowLogsOperations.cs index f460fcd2e02f6..8c4b76a5656c9 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/FlowLogsClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/FlowLogsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The FlowLogs service client. - public partial class FlowLogsClient + public partial class FlowLogsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal FlowLogsRestClient RestClient { get; } - /// Initializes a new instance of FlowLogsClient for mocking. - protected FlowLogsClient() + internal FlowLogsRestOperations RestClient { get; } + /// Initializes a new instance of FlowLogsOperations for mocking. + protected FlowLogsOperations() { } - /// Initializes a new instance of FlowLogsClient. + /// Initializes a new instance of FlowLogsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal FlowLogsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal FlowLogsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new FlowLogsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new FlowLogsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal FlowLogsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeli /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string networkWatcherName, string flowLogName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("FlowLogsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("FlowLogsOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGroupName, /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string networkWatcherName, string flowLogName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("FlowLogsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("FlowLogsOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName, string async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("FlowLogsClient.List"); + using var scope = _clientDiagnostics.CreateScope("FlowLogsOperations.List"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("FlowLogsClient.List"); + using var scope = _clientDiagnostics.CreateScope("FlowLogsOperations.List"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable List(string resourceGroupName, string networkWa Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("FlowLogsClient.List"); + using var scope = _clientDiagnostics.CreateScope("FlowLogsOperations.List"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("FlowLogsClient.List"); + using var scope = _clientDiagnostics.CreateScope("FlowLogsOperations.List"); scope.Start(); try { @@ -198,7 +198,7 @@ public virtual async Task StartCreateOrUpdateAs throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("FlowLogsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("FlowLogsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -237,7 +237,7 @@ public virtual FlowLogsCreateOrUpdateOperation StartCreateOrUpdate(string resour throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("FlowLogsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("FlowLogsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -271,7 +271,7 @@ public virtual async Task StartDeleteAsync(string resou throw new ArgumentNullException(nameof(flowLogName)); } - using var scope = _clientDiagnostics.CreateScope("FlowLogsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("FlowLogsOperations.StartDelete"); scope.Start(); try { @@ -305,7 +305,7 @@ public virtual FlowLogsDeleteOperation StartDelete(string resourceGroupName, str throw new ArgumentNullException(nameof(flowLogName)); } - using var scope = _clientDiagnostics.CreateScope("FlowLogsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("FlowLogsOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/FlowLogsRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/FlowLogsRestOperations.cs similarity index 99% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/FlowLogsRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/FlowLogsRestOperations.cs index 17a71cacc9385..ae552cce6fca6 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/FlowLogsRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/FlowLogsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class FlowLogsRestClient + internal partial class FlowLogsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of FlowLogsRestClient. + /// Initializes a new instance of FlowLogsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public FlowLogsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public FlowLogsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/HubRouteTablesClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/HubRouteTablesOperations.cs similarity index 94% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/HubRouteTablesClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/HubRouteTablesOperations.cs index fcbb100cc16fc..b81866f074ea4 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/HubRouteTablesClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/HubRouteTablesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The HubRouteTables service client. - public partial class HubRouteTablesClient + public partial class HubRouteTablesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal HubRouteTablesRestClient RestClient { get; } - /// Initializes a new instance of HubRouteTablesClient for mocking. - protected HubRouteTablesClient() + internal HubRouteTablesRestOperations RestClient { get; } + /// Initializes a new instance of HubRouteTablesOperations for mocking. + protected HubRouteTablesOperations() { } - /// Initializes a new instance of HubRouteTablesClient. + /// Initializes a new instance of HubRouteTablesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal HubRouteTablesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal HubRouteTablesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new HubRouteTablesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new HubRouteTablesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal HubRouteTablesClient(ClientDiagnostics clientDiagnostics, HttpPipeline /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string virtualHubName, string routeTableName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("HubRouteTablesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("HubRouteTablesOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGroup /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string virtualHubName, string routeTableName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("HubRouteTablesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("HubRouteTablesOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName, async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("HubRouteTablesClient.List"); + using var scope = _clientDiagnostics.CreateScope("HubRouteTablesOperations.List"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("HubRouteTablesClient.List"); + using var scope = _clientDiagnostics.CreateScope("HubRouteTablesOperations.List"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable List(string resourceGroupName, string vir Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("HubRouteTablesClient.List"); + using var scope = _clientDiagnostics.CreateScope("HubRouteTablesOperations.List"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("HubRouteTablesClient.List"); + using var scope = _clientDiagnostics.CreateScope("HubRouteTablesOperations.List"); scope.Start(); try { @@ -198,7 +198,7 @@ public virtual async Task StartCreateOrUp throw new ArgumentNullException(nameof(routeTableParameters)); } - using var scope = _clientDiagnostics.CreateScope("HubRouteTablesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("HubRouteTablesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -237,7 +237,7 @@ public virtual HubRouteTablesCreateOrUpdateOperation StartCreateOrUpdate(string throw new ArgumentNullException(nameof(routeTableParameters)); } - using var scope = _clientDiagnostics.CreateScope("HubRouteTablesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("HubRouteTablesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -271,7 +271,7 @@ public virtual async Task StartDeleteAsync(string throw new ArgumentNullException(nameof(routeTableName)); } - using var scope = _clientDiagnostics.CreateScope("HubRouteTablesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("HubRouteTablesOperations.StartDelete"); scope.Start(); try { @@ -305,7 +305,7 @@ public virtual HubRouteTablesDeleteOperation StartDelete(string resourceGroupNam throw new ArgumentNullException(nameof(routeTableName)); } - using var scope = _clientDiagnostics.CreateScope("HubRouteTablesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("HubRouteTablesOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/HubRouteTablesRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/HubRouteTablesRestOperations.cs similarity index 99% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/HubRouteTablesRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/HubRouteTablesRestOperations.cs index 62a7894e8de3e..9c233022fbaa1 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/HubRouteTablesRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/HubRouteTablesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class HubRouteTablesRestClient + internal partial class HubRouteTablesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of HubRouteTablesRestClient. + /// Initializes a new instance of HubRouteTablesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public HubRouteTablesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public HubRouteTablesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/HubVirtualNetworkConnectionsClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/HubVirtualNetworkConnectionsOperations.cs similarity index 90% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/HubVirtualNetworkConnectionsClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/HubVirtualNetworkConnectionsOperations.cs index 149988a920b09..ea1f50b1c5b67 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/HubVirtualNetworkConnectionsClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/HubVirtualNetworkConnectionsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The HubVirtualNetworkConnections service client. - public partial class HubVirtualNetworkConnectionsClient + public partial class HubVirtualNetworkConnectionsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal HubVirtualNetworkConnectionsRestClient RestClient { get; } - /// Initializes a new instance of HubVirtualNetworkConnectionsClient for mocking. - protected HubVirtualNetworkConnectionsClient() + internal HubVirtualNetworkConnectionsRestOperations RestClient { get; } + /// Initializes a new instance of HubVirtualNetworkConnectionsOperations for mocking. + protected HubVirtualNetworkConnectionsOperations() { } - /// Initializes a new instance of HubVirtualNetworkConnectionsClient. + /// Initializes a new instance of HubVirtualNetworkConnectionsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal HubVirtualNetworkConnectionsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal HubVirtualNetworkConnectionsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new HubVirtualNetworkConnectionsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new HubVirtualNetworkConnectionsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal HubVirtualNetworkConnectionsClient(ClientDiagnostics clientDiagnostics, /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string virtualHubName, string connectionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("HubVirtualNetworkConnectionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("HubVirtualNetworkConnectionsOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string virtualHubName, string connectionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("HubVirtualNetworkConnectionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("HubVirtualNetworkConnectionsOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListAsync(string resou async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("HubVirtualNetworkConnectionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("HubVirtualNetworkConnectionsOperations.List"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("HubVirtualNetworkConnectionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("HubVirtualNetworkConnectionsOperations.List"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable List(string resourceGroupNa Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("HubVirtualNetworkConnectionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("HubVirtualNetworkConnectionsOperations.List"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("HubVirtualNetworkConnectionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("HubVirtualNetworkConnectionsOperations.List"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/HubVirtualNetworkConnectionsRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/HubVirtualNetworkConnectionsRestOperations.cs similarity index 98% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/HubVirtualNetworkConnectionsRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/HubVirtualNetworkConnectionsRestOperations.cs index a465bcc16a934..555bb1789343c 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/HubVirtualNetworkConnectionsRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/HubVirtualNetworkConnectionsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class HubVirtualNetworkConnectionsRestClient + internal partial class HubVirtualNetworkConnectionsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of HubVirtualNetworkConnectionsRestClient. + /// Initializes a new instance of HubVirtualNetworkConnectionsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public HubVirtualNetworkConnectionsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public HubVirtualNetworkConnectionsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/InboundNatRulesClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/InboundNatRulesOperations.cs similarity index 94% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/InboundNatRulesClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/InboundNatRulesOperations.cs index 77ecd1487dc3d..6655d6ade6838 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/InboundNatRulesClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/InboundNatRulesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The InboundNatRules service client. - public partial class InboundNatRulesClient + public partial class InboundNatRulesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal InboundNatRulesRestClient RestClient { get; } - /// Initializes a new instance of InboundNatRulesClient for mocking. - protected InboundNatRulesClient() + internal InboundNatRulesRestOperations RestClient { get; } + /// Initializes a new instance of InboundNatRulesOperations for mocking. + protected InboundNatRulesOperations() { } - /// Initializes a new instance of InboundNatRulesClient. + /// Initializes a new instance of InboundNatRulesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal InboundNatRulesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal InboundNatRulesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new InboundNatRulesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new InboundNatRulesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -45,7 +45,7 @@ internal InboundNatRulesClient(ClientDiagnostics clientDiagnostics, HttpPipeline /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string loadBalancerName, string inboundNatRuleName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("InboundNatRulesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("InboundNatRulesOperations.Get"); scope.Start(); try { @@ -66,7 +66,7 @@ public virtual async Task> GetAsync(string resourceGrou /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string loadBalancerName, string inboundNatRuleName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("InboundNatRulesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("InboundNatRulesOperations.Get"); scope.Start(); try { @@ -96,7 +96,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName, async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("InboundNatRulesClient.List"); + using var scope = _clientDiagnostics.CreateScope("InboundNatRulesOperations.List"); scope.Start(); try { @@ -111,7 +111,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("InboundNatRulesClient.List"); + using var scope = _clientDiagnostics.CreateScope("InboundNatRulesOperations.List"); scope.Start(); try { @@ -144,7 +144,7 @@ public virtual Pageable List(string resourceGroupName, string lo Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("InboundNatRulesClient.List"); + using var scope = _clientDiagnostics.CreateScope("InboundNatRulesOperations.List"); scope.Start(); try { @@ -159,7 +159,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("InboundNatRulesClient.List"); + using var scope = _clientDiagnostics.CreateScope("InboundNatRulesOperations.List"); scope.Start(); try { @@ -195,7 +195,7 @@ public virtual async Task StartDeleteAsync(strin throw new ArgumentNullException(nameof(inboundNatRuleName)); } - using var scope = _clientDiagnostics.CreateScope("InboundNatRulesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("InboundNatRulesOperations.StartDelete"); scope.Start(); try { @@ -229,7 +229,7 @@ public virtual InboundNatRulesDeleteOperation StartDelete(string resourceGroupNa throw new ArgumentNullException(nameof(inboundNatRuleName)); } - using var scope = _clientDiagnostics.CreateScope("InboundNatRulesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("InboundNatRulesOperations.StartDelete"); scope.Start(); try { @@ -268,7 +268,7 @@ public virtual async Task StartCreateOrU throw new ArgumentNullException(nameof(inboundNatRuleParameters)); } - using var scope = _clientDiagnostics.CreateScope("InboundNatRulesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("InboundNatRulesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -307,7 +307,7 @@ public virtual InboundNatRulesCreateOrUpdateOperation StartCreateOrUpdate(string throw new ArgumentNullException(nameof(inboundNatRuleParameters)); } - using var scope = _clientDiagnostics.CreateScope("InboundNatRulesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("InboundNatRulesOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/InboundNatRulesRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/InboundNatRulesRestOperations.cs similarity index 99% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/InboundNatRulesRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/InboundNatRulesRestOperations.cs index c39d721f3755f..8739bf3ca5349 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/InboundNatRulesRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/InboundNatRulesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class InboundNatRulesRestClient + internal partial class InboundNatRulesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of InboundNatRulesRestClient. + /// Initializes a new instance of InboundNatRulesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public InboundNatRulesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public InboundNatRulesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/IpAllocationsClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/IpAllocationsOperations.cs similarity index 94% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/IpAllocationsClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/IpAllocationsOperations.cs index 02e2ebe1b6618..71786f699b892 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/IpAllocationsClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/IpAllocationsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The IpAllocations service client. - public partial class IpAllocationsClient + public partial class IpAllocationsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal IpAllocationsRestClient RestClient { get; } - /// Initializes a new instance of IpAllocationsClient for mocking. - protected IpAllocationsClient() + internal IpAllocationsRestOperations RestClient { get; } + /// Initializes a new instance of IpAllocationsOperations for mocking. + protected IpAllocationsOperations() { } - /// Initializes a new instance of IpAllocationsClient. + /// Initializes a new instance of IpAllocationsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal IpAllocationsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal IpAllocationsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new IpAllocationsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new IpAllocationsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal IpAllocationsClient(ClientDiagnostics clientDiagnostics, HttpPipeline p /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string ipAllocationName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("IpAllocationsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("IpAllocationsOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGroupN /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string ipAllocationName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("IpAllocationsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("IpAllocationsOperations.Get"); scope.Start(); try { @@ -84,7 +84,7 @@ public virtual Response Get(string resourceGroupName, string ipAll /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string ipAllocationName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("IpAllocationsClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("IpAllocationsOperations.UpdateTags"); scope.Start(); try { @@ -104,7 +104,7 @@ public virtual async Task> UpdateTagsAsync(string resourc /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string ipAllocationName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("IpAllocationsClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("IpAllocationsOperations.UpdateTags"); scope.Start(); try { @@ -123,7 +123,7 @@ public virtual AsyncPageable ListAsync(CancellationToken cancellat { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("IpAllocationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("IpAllocationsOperations.List"); scope.Start(); try { @@ -138,7 +138,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("IpAllocationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("IpAllocationsOperations.List"); scope.Start(); try { @@ -160,7 +160,7 @@ public virtual Pageable List(CancellationToken cancellationToken = { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("IpAllocationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("IpAllocationsOperations.List"); scope.Start(); try { @@ -175,7 +175,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("IpAllocationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("IpAllocationsOperations.List"); scope.Start(); try { @@ -203,7 +203,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(string resou async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("IpAllocationsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("IpAllocationsOperations.ListByResourceGroup"); scope.Start(); try { @@ -218,7 +218,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("IpAllocationsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("IpAllocationsOperations.ListByResourceGroup"); scope.Start(); try { @@ -246,7 +246,7 @@ public virtual Pageable ListByResourceGroup(string resourceGroupNa Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("IpAllocationsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("IpAllocationsOperations.ListByResourceGroup"); scope.Start(); try { @@ -261,7 +261,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("IpAllocationsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("IpAllocationsOperations.ListByResourceGroup"); scope.Start(); try { @@ -292,7 +292,7 @@ public virtual async Task StartDeleteAsync(string throw new ArgumentNullException(nameof(ipAllocationName)); } - using var scope = _clientDiagnostics.CreateScope("IpAllocationsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("IpAllocationsOperations.StartDelete"); scope.Start(); try { @@ -321,7 +321,7 @@ public virtual IpAllocationsDeleteOperation StartDelete(string resourceGroupName throw new ArgumentNullException(nameof(ipAllocationName)); } - using var scope = _clientDiagnostics.CreateScope("IpAllocationsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("IpAllocationsOperations.StartDelete"); scope.Start(); try { @@ -355,7 +355,7 @@ public virtual async Task StartCreateOrUpd throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("IpAllocationsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("IpAllocationsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -389,7 +389,7 @@ public virtual IpAllocationsCreateOrUpdateOperation StartCreateOrUpdate(string r throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("IpAllocationsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("IpAllocationsOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/IpAllocationsRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/IpAllocationsRestOperations.cs similarity index 99% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/IpAllocationsRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/IpAllocationsRestOperations.cs index ee07c961d5a9e..45997158bf012 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/IpAllocationsRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/IpAllocationsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class IpAllocationsRestClient + internal partial class IpAllocationsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of IpAllocationsRestClient. + /// Initializes a new instance of IpAllocationsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public IpAllocationsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public IpAllocationsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/IpGroupsClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/IpGroupsOperations.cs similarity index 94% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/IpGroupsClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/IpGroupsOperations.cs index 07accb017e2f8..495f49324c9c9 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/IpGroupsClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/IpGroupsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The IpGroups service client. - public partial class IpGroupsClient + public partial class IpGroupsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal IpGroupsRestClient RestClient { get; } - /// Initializes a new instance of IpGroupsClient for mocking. - protected IpGroupsClient() + internal IpGroupsRestOperations RestClient { get; } + /// Initializes a new instance of IpGroupsOperations for mocking. + protected IpGroupsOperations() { } - /// Initializes a new instance of IpGroupsClient. + /// Initializes a new instance of IpGroupsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal IpGroupsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal IpGroupsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new IpGroupsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new IpGroupsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal IpGroupsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeli /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string ipGroupsName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("IpGroupsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("IpGroupsOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGroupName, /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string ipGroupsName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("IpGroupsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("IpGroupsOperations.Get"); scope.Start(); try { @@ -84,7 +84,7 @@ public virtual Response Get(string resourceGroupName, string ipGroupsNa /// The cancellation token to use. public virtual async Task> UpdateGroupsAsync(string resourceGroupName, string ipGroupsName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("IpGroupsClient.UpdateGroups"); + using var scope = _clientDiagnostics.CreateScope("IpGroupsOperations.UpdateGroups"); scope.Start(); try { @@ -104,7 +104,7 @@ public virtual async Task> UpdateGroupsAsync(string resourceGr /// The cancellation token to use. public virtual Response UpdateGroups(string resourceGroupName, string ipGroupsName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("IpGroupsClient.UpdateGroups"); + using var scope = _clientDiagnostics.CreateScope("IpGroupsOperations.UpdateGroups"); scope.Start(); try { @@ -129,7 +129,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(string resourceGr async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("IpGroupsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("IpGroupsOperations.ListByResourceGroup"); scope.Start(); try { @@ -144,7 +144,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("IpGroupsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("IpGroupsOperations.ListByResourceGroup"); scope.Start(); try { @@ -172,7 +172,7 @@ public virtual Pageable ListByResourceGroup(string resourceGroupName, C Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("IpGroupsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("IpGroupsOperations.ListByResourceGroup"); scope.Start(); try { @@ -187,7 +187,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("IpGroupsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("IpGroupsOperations.ListByResourceGroup"); scope.Start(); try { @@ -209,7 +209,7 @@ public virtual AsyncPageable ListAsync(CancellationToken cancellationTo { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("IpGroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("IpGroupsOperations.List"); scope.Start(); try { @@ -224,7 +224,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("IpGroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("IpGroupsOperations.List"); scope.Start(); try { @@ -246,7 +246,7 @@ public virtual Pageable List(CancellationToken cancellationToken = defa { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("IpGroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("IpGroupsOperations.List"); scope.Start(); try { @@ -261,7 +261,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("IpGroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("IpGroupsOperations.List"); scope.Start(); try { @@ -297,7 +297,7 @@ public virtual async Task StartCreateOrUpdateAs throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("IpGroupsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("IpGroupsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -331,7 +331,7 @@ public virtual IpGroupsCreateOrUpdateOperation StartCreateOrUpdate(string resour throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("IpGroupsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("IpGroupsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -360,7 +360,7 @@ public virtual async Task StartDeleteAsync(string resou throw new ArgumentNullException(nameof(ipGroupsName)); } - using var scope = _clientDiagnostics.CreateScope("IpGroupsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("IpGroupsOperations.StartDelete"); scope.Start(); try { @@ -389,7 +389,7 @@ public virtual IpGroupsDeleteOperation StartDelete(string resourceGroupName, str throw new ArgumentNullException(nameof(ipGroupsName)); } - using var scope = _clientDiagnostics.CreateScope("IpGroupsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("IpGroupsOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/IpGroupsRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/IpGroupsRestOperations.cs similarity index 99% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/IpGroupsRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/IpGroupsRestOperations.cs index e488d32726a47..352dc626b7350 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/IpGroupsRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/IpGroupsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class IpGroupsRestClient + internal partial class IpGroupsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of IpGroupsRestClient. + /// Initializes a new instance of IpGroupsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public IpGroupsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public IpGroupsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerBackendAddressPoolsClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerBackendAddressPoolsOperations.cs similarity index 93% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerBackendAddressPoolsClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerBackendAddressPoolsOperations.cs index 6a5c8b7ae0730..5987a595dc67d 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerBackendAddressPoolsClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerBackendAddressPoolsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The LoadBalancerBackendAddressPools service client. - public partial class LoadBalancerBackendAddressPoolsClient + public partial class LoadBalancerBackendAddressPoolsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal LoadBalancerBackendAddressPoolsRestClient RestClient { get; } - /// Initializes a new instance of LoadBalancerBackendAddressPoolsClient for mocking. - protected LoadBalancerBackendAddressPoolsClient() + internal LoadBalancerBackendAddressPoolsRestOperations RestClient { get; } + /// Initializes a new instance of LoadBalancerBackendAddressPoolsOperations for mocking. + protected LoadBalancerBackendAddressPoolsOperations() { } - /// Initializes a new instance of LoadBalancerBackendAddressPoolsClient. + /// Initializes a new instance of LoadBalancerBackendAddressPoolsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal LoadBalancerBackendAddressPoolsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal LoadBalancerBackendAddressPoolsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new LoadBalancerBackendAddressPoolsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new LoadBalancerBackendAddressPoolsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal LoadBalancerBackendAddressPoolsClient(ClientDiagnostics clientDiagnosti /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string loadBalancerName, string backendAddressPoolName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerBackendAddressPoolsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerBackendAddressPoolsOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resource /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string loadBalancerName, string backendAddressPoolName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerBackendAddressPoolsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerBackendAddressPoolsOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupN async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerBackendAddressPoolsClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerBackendAddressPoolsOperations.List"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerBackendAddressPoolsClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerBackendAddressPoolsOperations.List"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable List(string resourceGroupName, strin Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerBackendAddressPoolsClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerBackendAddressPoolsOperations.List"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerBackendAddressPoolsClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerBackendAddressPoolsOperations.List"); scope.Start(); try { @@ -198,7 +198,7 @@ public virtual async Task StartD throw new ArgumentNullException(nameof(backendAddressPoolName)); } - using var scope = _clientDiagnostics.CreateScope("LoadBalancerBackendAddressPoolsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerBackendAddressPoolsOperations.StartDelete"); scope.Start(); try { @@ -305,7 +305,7 @@ public virtual LoadBalancerBackendAddressPoolsDeleteOperation StartDelete(string throw new ArgumentNullException(nameof(backendAddressPoolName)); } - using var scope = _clientDiagnostics.CreateScope("LoadBalancerBackendAddressPoolsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerBackendAddressPoolsOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerBackendAddressPoolsRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerBackendAddressPoolsRestOperations.cs similarity index 98% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerBackendAddressPoolsRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerBackendAddressPoolsRestOperations.cs index 999b17e467d96..c6c0855da2925 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerBackendAddressPoolsRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerBackendAddressPoolsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class LoadBalancerBackendAddressPoolsRestClient + internal partial class LoadBalancerBackendAddressPoolsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of LoadBalancerBackendAddressPoolsRestClient. + /// Initializes a new instance of LoadBalancerBackendAddressPoolsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public LoadBalancerBackendAddressPoolsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public LoadBalancerBackendAddressPoolsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerFrontendIPConfigurationsClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerFrontendIPConfigurationsOperations.cs similarity index 89% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerFrontendIPConfigurationsClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerFrontendIPConfigurationsOperations.cs index 1fb867c172522..9fb073e491a4d 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerFrontendIPConfigurationsClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerFrontendIPConfigurationsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The LoadBalancerFrontendIPConfigurations service client. - public partial class LoadBalancerFrontendIPConfigurationsClient + public partial class LoadBalancerFrontendIPConfigurationsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal LoadBalancerFrontendIPConfigurationsRestClient RestClient { get; } - /// Initializes a new instance of LoadBalancerFrontendIPConfigurationsClient for mocking. - protected LoadBalancerFrontendIPConfigurationsClient() + internal LoadBalancerFrontendIPConfigurationsRestOperations RestClient { get; } + /// Initializes a new instance of LoadBalancerFrontendIPConfigurationsOperations for mocking. + protected LoadBalancerFrontendIPConfigurationsOperations() { } - /// Initializes a new instance of LoadBalancerFrontendIPConfigurationsClient. + /// Initializes a new instance of LoadBalancerFrontendIPConfigurationsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal LoadBalancerFrontendIPConfigurationsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal LoadBalancerFrontendIPConfigurationsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new LoadBalancerFrontendIPConfigurationsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new LoadBalancerFrontendIPConfigurationsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal LoadBalancerFrontendIPConfigurationsClient(ClientDiagnostics clientDiag /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string loadBalancerName, string frontendIPConfigurationName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerFrontendIPConfigurationsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerFrontendIPConfigurationsOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string res /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string loadBalancerName, string frontendIPConfigurationName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerFrontendIPConfigurationsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerFrontendIPConfigurationsOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListAsync(string resourceG async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerFrontendIPConfigurationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerFrontendIPConfigurationsOperations.List"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerFrontendIPConfigurationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerFrontendIPConfigurationsOperations.List"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable List(string resourceGroupName, Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerFrontendIPConfigurationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerFrontendIPConfigurationsOperations.List"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerFrontendIPConfigurationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerFrontendIPConfigurationsOperations.List"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerFrontendIPConfigurationsRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerFrontendIPConfigurationsRestOperations.cs similarity index 98% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerFrontendIPConfigurationsRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerFrontendIPConfigurationsRestOperations.cs index 52257e581be23..4d23c94115e63 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerFrontendIPConfigurationsRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerFrontendIPConfigurationsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class LoadBalancerFrontendIPConfigurationsRestClient + internal partial class LoadBalancerFrontendIPConfigurationsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of LoadBalancerFrontendIPConfigurationsRestClient. + /// Initializes a new instance of LoadBalancerFrontendIPConfigurationsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public LoadBalancerFrontendIPConfigurationsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public LoadBalancerFrontendIPConfigurationsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerLoadBalancingRulesClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerLoadBalancingRulesOperations.cs similarity index 89% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerLoadBalancingRulesClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerLoadBalancingRulesOperations.cs index 0b1fe666a40a0..5653dcb463ec2 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerLoadBalancingRulesClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerLoadBalancingRulesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The LoadBalancerLoadBalancingRules service client. - public partial class LoadBalancerLoadBalancingRulesClient + public partial class LoadBalancerLoadBalancingRulesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal LoadBalancerLoadBalancingRulesRestClient RestClient { get; } - /// Initializes a new instance of LoadBalancerLoadBalancingRulesClient for mocking. - protected LoadBalancerLoadBalancingRulesClient() + internal LoadBalancerLoadBalancingRulesRestOperations RestClient { get; } + /// Initializes a new instance of LoadBalancerLoadBalancingRulesOperations for mocking. + protected LoadBalancerLoadBalancingRulesOperations() { } - /// Initializes a new instance of LoadBalancerLoadBalancingRulesClient. + /// Initializes a new instance of LoadBalancerLoadBalancingRulesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal LoadBalancerLoadBalancingRulesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal LoadBalancerLoadBalancingRulesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new LoadBalancerLoadBalancingRulesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new LoadBalancerLoadBalancingRulesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal LoadBalancerLoadBalancingRulesClient(ClientDiagnostics clientDiagnostic /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string loadBalancerName, string loadBalancingRuleName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerLoadBalancingRulesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerLoadBalancingRulesOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceG /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string loadBalancerName, string loadBalancingRuleName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerLoadBalancingRulesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerLoadBalancingRulesOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupNa async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerLoadBalancingRulesClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerLoadBalancingRulesOperations.List"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerLoadBalancingRulesClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerLoadBalancingRulesOperations.List"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable List(string resourceGroupName, string Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerLoadBalancingRulesClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerLoadBalancingRulesOperations.List"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerLoadBalancingRulesClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerLoadBalancingRulesOperations.List"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerLoadBalancingRulesRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerLoadBalancingRulesRestOperations.cs similarity index 98% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerLoadBalancingRulesRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerLoadBalancingRulesRestOperations.cs index 2f68da15b8052..f39db7d1868ff 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerLoadBalancingRulesRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerLoadBalancingRulesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class LoadBalancerLoadBalancingRulesRestClient + internal partial class LoadBalancerLoadBalancingRulesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of LoadBalancerLoadBalancingRulesRestClient. + /// Initializes a new instance of LoadBalancerLoadBalancingRulesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public LoadBalancerLoadBalancingRulesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public LoadBalancerLoadBalancingRulesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerNetworkInterfacesClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerNetworkInterfacesOperations.cs similarity index 87% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerNetworkInterfacesClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerNetworkInterfacesOperations.cs index 7f973ac0c5601..cda06540df440 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerNetworkInterfacesClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerNetworkInterfacesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The LoadBalancerNetworkInterfaces service client. - public partial class LoadBalancerNetworkInterfacesClient + public partial class LoadBalancerNetworkInterfacesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal LoadBalancerNetworkInterfacesRestClient RestClient { get; } - /// Initializes a new instance of LoadBalancerNetworkInterfacesClient for mocking. - protected LoadBalancerNetworkInterfacesClient() + internal LoadBalancerNetworkInterfacesRestOperations RestClient { get; } + /// Initializes a new instance of LoadBalancerNetworkInterfacesOperations for mocking. + protected LoadBalancerNetworkInterfacesOperations() { } - /// Initializes a new instance of LoadBalancerNetworkInterfacesClient. + /// Initializes a new instance of LoadBalancerNetworkInterfacesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal LoadBalancerNetworkInterfacesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal LoadBalancerNetworkInterfacesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new LoadBalancerNetworkInterfacesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new LoadBalancerNetworkInterfacesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -54,7 +54,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupNam async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerNetworkInterfacesClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerNetworkInterfacesOperations.List"); scope.Start(); try { @@ -69,7 +69,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerNetworkInterfacesClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerNetworkInterfacesOperations.List"); scope.Start(); try { @@ -102,7 +102,7 @@ public virtual Pageable List(string resourceGroupName, string Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerNetworkInterfacesClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerNetworkInterfacesOperations.List"); scope.Start(); try { @@ -117,7 +117,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerNetworkInterfacesClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerNetworkInterfacesOperations.List"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerNetworkInterfacesRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerNetworkInterfacesRestOperations.cs similarity index 97% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerNetworkInterfacesRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerNetworkInterfacesRestOperations.cs index 2f98739a2b626..be2d8ca09b529 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerNetworkInterfacesRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerNetworkInterfacesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class LoadBalancerNetworkInterfacesRestClient + internal partial class LoadBalancerNetworkInterfacesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of LoadBalancerNetworkInterfacesRestClient. + /// Initializes a new instance of LoadBalancerNetworkInterfacesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public LoadBalancerNetworkInterfacesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public LoadBalancerNetworkInterfacesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerOutboundRulesClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerOutboundRulesOperations.cs similarity index 90% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerOutboundRulesClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerOutboundRulesOperations.cs index 8b708315440e6..0a4cad6b41f63 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerOutboundRulesClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerOutboundRulesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The LoadBalancerOutboundRules service client. - public partial class LoadBalancerOutboundRulesClient + public partial class LoadBalancerOutboundRulesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal LoadBalancerOutboundRulesRestClient RestClient { get; } - /// Initializes a new instance of LoadBalancerOutboundRulesClient for mocking. - protected LoadBalancerOutboundRulesClient() + internal LoadBalancerOutboundRulesRestOperations RestClient { get; } + /// Initializes a new instance of LoadBalancerOutboundRulesOperations for mocking. + protected LoadBalancerOutboundRulesOperations() { } - /// Initializes a new instance of LoadBalancerOutboundRulesClient. + /// Initializes a new instance of LoadBalancerOutboundRulesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal LoadBalancerOutboundRulesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal LoadBalancerOutboundRulesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new LoadBalancerOutboundRulesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new LoadBalancerOutboundRulesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal LoadBalancerOutboundRulesClient(ClientDiagnostics clientDiagnostics, Ht /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string loadBalancerName, string outboundRuleName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerOutboundRulesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerOutboundRulesOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGroupN /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string loadBalancerName, string outboundRuleName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerOutboundRulesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerOutboundRulesOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName, s async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerOutboundRulesClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerOutboundRulesOperations.List"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerOutboundRulesClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerOutboundRulesOperations.List"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable List(string resourceGroupName, string load Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerOutboundRulesClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerOutboundRulesOperations.List"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerOutboundRulesClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerOutboundRulesOperations.List"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerOutboundRulesRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerOutboundRulesRestOperations.cs similarity index 98% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerOutboundRulesRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerOutboundRulesRestOperations.cs index 5693ebcab7f40..e1f53e98dc252 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerOutboundRulesRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerOutboundRulesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class LoadBalancerOutboundRulesRestClient + internal partial class LoadBalancerOutboundRulesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of LoadBalancerOutboundRulesRestClient. + /// Initializes a new instance of LoadBalancerOutboundRulesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public LoadBalancerOutboundRulesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public LoadBalancerOutboundRulesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerProbesClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerProbesOperations.cs similarity index 91% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerProbesClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerProbesOperations.cs index 538fb513692eb..38678c0fb49f6 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerProbesClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerProbesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The LoadBalancerProbes service client. - public partial class LoadBalancerProbesClient + public partial class LoadBalancerProbesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal LoadBalancerProbesRestClient RestClient { get; } - /// Initializes a new instance of LoadBalancerProbesClient for mocking. - protected LoadBalancerProbesClient() + internal LoadBalancerProbesRestOperations RestClient { get; } + /// Initializes a new instance of LoadBalancerProbesOperations for mocking. + protected LoadBalancerProbesOperations() { } - /// Initializes a new instance of LoadBalancerProbesClient. + /// Initializes a new instance of LoadBalancerProbesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal LoadBalancerProbesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal LoadBalancerProbesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new LoadBalancerProbesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new LoadBalancerProbesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal LoadBalancerProbesClient(ClientDiagnostics clientDiagnostics, HttpPipel /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string loadBalancerName, string probeName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerProbesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerProbesOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGroupName, st /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string loadBalancerName, string probeName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerProbesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerProbesOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName, string l async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerProbesClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerProbesOperations.List"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerProbesClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerProbesOperations.List"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable List(string resourceGroupName, string loadBalance Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerProbesClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerProbesOperations.List"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerProbesClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerProbesOperations.List"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerProbesRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerProbesRestOperations.cs similarity index 98% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerProbesRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerProbesRestOperations.cs index 27972c28821e8..4ec324475246e 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerProbesRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerProbesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class LoadBalancerProbesRestClient + internal partial class LoadBalancerProbesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of LoadBalancerProbesRestClient. + /// Initializes a new instance of LoadBalancerProbesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public LoadBalancerProbesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public LoadBalancerProbesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancersClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancersOperations.cs similarity index 94% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancersClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancersOperations.cs index cf34d44b77e0a..857c7f30d4770 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancersClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancersOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The LoadBalancers service client. - public partial class LoadBalancersClient + public partial class LoadBalancersOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal LoadBalancersRestClient RestClient { get; } - /// Initializes a new instance of LoadBalancersClient for mocking. - protected LoadBalancersClient() + internal LoadBalancersRestOperations RestClient { get; } + /// Initializes a new instance of LoadBalancersOperations for mocking. + protected LoadBalancersOperations() { } - /// Initializes a new instance of LoadBalancersClient. + /// Initializes a new instance of LoadBalancersOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal LoadBalancersClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal LoadBalancersOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new LoadBalancersRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new LoadBalancersRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal LoadBalancersClient(ClientDiagnostics clientDiagnostics, HttpPipeline p /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string loadBalancerName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancersClient.Get"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancersOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGroupN /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string loadBalancerName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancersClient.Get"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancersOperations.Get"); scope.Start(); try { @@ -84,7 +84,7 @@ public virtual Response Get(string resourceGroupName, string loadB /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string loadBalancerName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancersClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancersOperations.UpdateTags"); scope.Start(); try { @@ -104,7 +104,7 @@ public virtual async Task> UpdateTagsAsync(string resourc /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string loadBalancerName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancersClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancersOperations.UpdateTags"); scope.Start(); try { @@ -123,7 +123,7 @@ public virtual AsyncPageable ListAllAsync(CancellationToken cancel { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancersClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancersOperations.ListAll"); scope.Start(); try { @@ -138,7 +138,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancersClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancersOperations.ListAll"); scope.Start(); try { @@ -160,7 +160,7 @@ public virtual Pageable ListAll(CancellationToken cancellationToke { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancersClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancersOperations.ListAll"); scope.Start(); try { @@ -175,7 +175,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancersClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancersOperations.ListAll"); scope.Start(); try { @@ -203,7 +203,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName, C async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancersClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancersOperations.List"); scope.Start(); try { @@ -218,7 +218,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancersClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancersOperations.List"); scope.Start(); try { @@ -246,7 +246,7 @@ public virtual Pageable List(string resourceGroupName, Cancellatio Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancersClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancersOperations.List"); scope.Start(); try { @@ -261,7 +261,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancersClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancersOperations.List"); scope.Start(); try { @@ -292,7 +292,7 @@ public virtual async Task StartDeleteAsync(string throw new ArgumentNullException(nameof(loadBalancerName)); } - using var scope = _clientDiagnostics.CreateScope("LoadBalancersClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancersOperations.StartDelete"); scope.Start(); try { @@ -321,7 +321,7 @@ public virtual LoadBalancersDeleteOperation StartDelete(string resourceGroupName throw new ArgumentNullException(nameof(loadBalancerName)); } - using var scope = _clientDiagnostics.CreateScope("LoadBalancersClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancersOperations.StartDelete"); scope.Start(); try { @@ -355,7 +355,7 @@ public virtual async Task StartCreateOrUpd throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("LoadBalancersClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancersOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -389,7 +389,7 @@ public virtual LoadBalancersCreateOrUpdateOperation StartCreateOrUpdate(string r throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("LoadBalancersClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancersOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancersRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancersRestOperations.cs similarity index 99% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancersRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancersRestOperations.cs index 42217178d6d3e..c0a20fbaa5aef 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancersRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancersRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class LoadBalancersRestClient + internal partial class LoadBalancersRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of LoadBalancersRestClient. + /// Initializes a new instance of LoadBalancersRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public LoadBalancersRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public LoadBalancersRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/LocalNetworkGatewaysClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/LocalNetworkGatewaysOperations.cs similarity index 93% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/LocalNetworkGatewaysClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/LocalNetworkGatewaysOperations.cs index b3dae0612ece7..d5cfe037fca11 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/LocalNetworkGatewaysClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/LocalNetworkGatewaysOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The LocalNetworkGateways service client. - public partial class LocalNetworkGatewaysClient + public partial class LocalNetworkGatewaysOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal LocalNetworkGatewaysRestClient RestClient { get; } - /// Initializes a new instance of LocalNetworkGatewaysClient for mocking. - protected LocalNetworkGatewaysClient() + internal LocalNetworkGatewaysRestOperations RestClient { get; } + /// Initializes a new instance of LocalNetworkGatewaysOperations for mocking. + protected LocalNetworkGatewaysOperations() { } - /// Initializes a new instance of LocalNetworkGatewaysClient. + /// Initializes a new instance of LocalNetworkGatewaysOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal LocalNetworkGatewaysClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal LocalNetworkGatewaysOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new LocalNetworkGatewaysRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new LocalNetworkGatewaysRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal LocalNetworkGatewaysClient(ClientDiagnostics clientDiagnostics, HttpPip /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string localNetworkGatewayName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("LocalNetworkGatewaysClient.Get"); + using var scope = _clientDiagnostics.CreateScope("LocalNetworkGatewaysOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string resourc /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string localNetworkGatewayName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("LocalNetworkGatewaysClient.Get"); + using var scope = _clientDiagnostics.CreateScope("LocalNetworkGatewaysOperations.Get"); scope.Start(); try { @@ -82,7 +82,7 @@ public virtual Response Get(string resourceGroupName, strin /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string localNetworkGatewayName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("LocalNetworkGatewaysClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("LocalNetworkGatewaysOperations.UpdateTags"); scope.Start(); try { @@ -102,7 +102,7 @@ public virtual async Task> UpdateTagsAsync(string /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string localNetworkGatewayName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("LocalNetworkGatewaysClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("LocalNetworkGatewaysOperations.UpdateTags"); scope.Start(); try { @@ -127,7 +127,7 @@ public virtual AsyncPageable ListAsync(string resourceGroup async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LocalNetworkGatewaysClient.List"); + using var scope = _clientDiagnostics.CreateScope("LocalNetworkGatewaysOperations.List"); scope.Start(); try { @@ -142,7 +142,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LocalNetworkGatewaysClient.List"); + using var scope = _clientDiagnostics.CreateScope("LocalNetworkGatewaysOperations.List"); scope.Start(); try { @@ -170,7 +170,7 @@ public virtual Pageable List(string resourceGroupName, Canc Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LocalNetworkGatewaysClient.List"); + using var scope = _clientDiagnostics.CreateScope("LocalNetworkGatewaysOperations.List"); scope.Start(); try { @@ -185,7 +185,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LocalNetworkGatewaysClient.List"); + using var scope = _clientDiagnostics.CreateScope("LocalNetworkGatewaysOperations.List"); scope.Start(); try { @@ -221,7 +221,7 @@ public virtual async Task StartCrea throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("LocalNetworkGatewaysClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("LocalNetworkGatewaysOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -255,7 +255,7 @@ public virtual LocalNetworkGatewaysCreateOrUpdateOperation StartCreateOrUpdate(s throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("LocalNetworkGatewaysClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("LocalNetworkGatewaysOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -284,7 +284,7 @@ public virtual async Task StartDeleteAsync( throw new ArgumentNullException(nameof(localNetworkGatewayName)); } - using var scope = _clientDiagnostics.CreateScope("LocalNetworkGatewaysClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("LocalNetworkGatewaysOperations.StartDelete"); scope.Start(); try { @@ -313,7 +313,7 @@ public virtual LocalNetworkGatewaysDeleteOperation StartDelete(string resourceGr throw new ArgumentNullException(nameof(localNetworkGatewayName)); } - using var scope = _clientDiagnostics.CreateScope("LocalNetworkGatewaysClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("LocalNetworkGatewaysOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/LocalNetworkGatewaysRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/LocalNetworkGatewaysRestOperations.cs similarity index 99% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/LocalNetworkGatewaysRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/LocalNetworkGatewaysRestOperations.cs index da6856adc0893..89a11fdaba5a7 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/LocalNetworkGatewaysRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/LocalNetworkGatewaysRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class LocalNetworkGatewaysRestClient + internal partial class LocalNetworkGatewaysRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of LocalNetworkGatewaysRestClient. + /// Initializes a new instance of LocalNetworkGatewaysRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public LocalNetworkGatewaysRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public LocalNetworkGatewaysRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/NatGatewaysClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/NatGatewaysOperations.cs similarity index 94% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/NatGatewaysClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/NatGatewaysOperations.cs index 85a71b3b5e995..4cc5f024752b8 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/NatGatewaysClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/NatGatewaysOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The NatGateways service client. - public partial class NatGatewaysClient + public partial class NatGatewaysOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal NatGatewaysRestClient RestClient { get; } - /// Initializes a new instance of NatGatewaysClient for mocking. - protected NatGatewaysClient() + internal NatGatewaysRestOperations RestClient { get; } + /// Initializes a new instance of NatGatewaysOperations for mocking. + protected NatGatewaysOperations() { } - /// Initializes a new instance of NatGatewaysClient. + /// Initializes a new instance of NatGatewaysOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal NatGatewaysClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal NatGatewaysOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new NatGatewaysRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new NatGatewaysRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal NatGatewaysClient(ClientDiagnostics clientDiagnostics, HttpPipeline pip /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string natGatewayName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NatGatewaysClient.Get"); + using var scope = _clientDiagnostics.CreateScope("NatGatewaysOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGroupNam /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string natGatewayName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NatGatewaysClient.Get"); + using var scope = _clientDiagnostics.CreateScope("NatGatewaysOperations.Get"); scope.Start(); try { @@ -84,7 +84,7 @@ public virtual Response Get(string resourceGroupName, string natGate /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string natGatewayName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NatGatewaysClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("NatGatewaysOperations.UpdateTags"); scope.Start(); try { @@ -104,7 +104,7 @@ public virtual async Task> UpdateTagsAsync(string resourceG /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string natGatewayName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NatGatewaysClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("NatGatewaysOperations.UpdateTags"); scope.Start(); try { @@ -123,7 +123,7 @@ public virtual AsyncPageable ListAllAsync(CancellationToken cancella { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NatGatewaysClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("NatGatewaysOperations.ListAll"); scope.Start(); try { @@ -138,7 +138,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NatGatewaysClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("NatGatewaysOperations.ListAll"); scope.Start(); try { @@ -160,7 +160,7 @@ public virtual Pageable ListAll(CancellationToken cancellationToken { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NatGatewaysClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("NatGatewaysOperations.ListAll"); scope.Start(); try { @@ -175,7 +175,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NatGatewaysClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("NatGatewaysOperations.ListAll"); scope.Start(); try { @@ -203,7 +203,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName, Can async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NatGatewaysClient.List"); + using var scope = _clientDiagnostics.CreateScope("NatGatewaysOperations.List"); scope.Start(); try { @@ -218,7 +218,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NatGatewaysClient.List"); + using var scope = _clientDiagnostics.CreateScope("NatGatewaysOperations.List"); scope.Start(); try { @@ -246,7 +246,7 @@ public virtual Pageable List(string resourceGroupName, CancellationT Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NatGatewaysClient.List"); + using var scope = _clientDiagnostics.CreateScope("NatGatewaysOperations.List"); scope.Start(); try { @@ -261,7 +261,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NatGatewaysClient.List"); + using var scope = _clientDiagnostics.CreateScope("NatGatewaysOperations.List"); scope.Start(); try { @@ -292,7 +292,7 @@ public virtual async Task StartDeleteAsync(string re throw new ArgumentNullException(nameof(natGatewayName)); } - using var scope = _clientDiagnostics.CreateScope("NatGatewaysClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("NatGatewaysOperations.StartDelete"); scope.Start(); try { @@ -321,7 +321,7 @@ public virtual NatGatewaysDeleteOperation StartDelete(string resourceGroupName, throw new ArgumentNullException(nameof(natGatewayName)); } - using var scope = _clientDiagnostics.CreateScope("NatGatewaysClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("NatGatewaysOperations.StartDelete"); scope.Start(); try { @@ -355,7 +355,7 @@ public virtual async Task StartCreateOrUpdat throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NatGatewaysClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("NatGatewaysOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -389,7 +389,7 @@ public virtual NatGatewaysCreateOrUpdateOperation StartCreateOrUpdate(string res throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NatGatewaysClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("NatGatewaysOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/NatGatewaysRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/NatGatewaysRestOperations.cs similarity index 99% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/NatGatewaysRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/NatGatewaysRestOperations.cs index 08d69b77b4913..67e9e0bc42dd0 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/NatGatewaysRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/NatGatewaysRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class NatGatewaysRestClient + internal partial class NatGatewaysRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of NatGatewaysRestClient. + /// Initializes a new instance of NatGatewaysRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public NatGatewaysRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public NatGatewaysRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkInterfaceIPConfigurationsClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkInterfaceIPConfigurationsOperations.cs similarity index 90% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkInterfaceIPConfigurationsClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkInterfaceIPConfigurationsOperations.cs index 618c1622c73e7..7885b300a0f07 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkInterfaceIPConfigurationsClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkInterfaceIPConfigurationsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The NetworkInterfaceIPConfigurations service client. - public partial class NetworkInterfaceIPConfigurationsClient + public partial class NetworkInterfaceIPConfigurationsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal NetworkInterfaceIPConfigurationsRestClient RestClient { get; } - /// Initializes a new instance of NetworkInterfaceIPConfigurationsClient for mocking. - protected NetworkInterfaceIPConfigurationsClient() + internal NetworkInterfaceIPConfigurationsRestOperations RestClient { get; } + /// Initializes a new instance of NetworkInterfaceIPConfigurationsOperations for mocking. + protected NetworkInterfaceIPConfigurationsOperations() { } - /// Initializes a new instance of NetworkInterfaceIPConfigurationsClient. + /// Initializes a new instance of NetworkInterfaceIPConfigurationsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal NetworkInterfaceIPConfigurationsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal NetworkInterfaceIPConfigurationsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new NetworkInterfaceIPConfigurationsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new NetworkInterfaceIPConfigurationsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal NetworkInterfaceIPConfigurationsClient(ClientDiagnostics clientDiagnost /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string networkInterfaceName, string ipConfigurationName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceIPConfigurationsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceIPConfigurationsOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(st /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string networkInterfaceName, string ipConfigurationName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceIPConfigurationsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceIPConfigurationsOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListAsync(string r async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceIPConfigurationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceIPConfigurationsOperations.List"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHin } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceIPConfigurationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceIPConfigurationsOperations.List"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable List(string resourceGro Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceIPConfigurationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceIPConfigurationsOperations.List"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceIPConfigurationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceIPConfigurationsOperations.List"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkInterfaceIPConfigurationsRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkInterfaceIPConfigurationsRestOperations.cs similarity index 98% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkInterfaceIPConfigurationsRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkInterfaceIPConfigurationsRestOperations.cs index 81183c0825554..4c000d36eb988 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkInterfaceIPConfigurationsRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkInterfaceIPConfigurationsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class NetworkInterfaceIPConfigurationsRestClient + internal partial class NetworkInterfaceIPConfigurationsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of NetworkInterfaceIPConfigurationsRestClient. + /// Initializes a new instance of NetworkInterfaceIPConfigurationsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public NetworkInterfaceIPConfigurationsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public NetworkInterfaceIPConfigurationsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkInterfaceLoadBalancersClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkInterfaceLoadBalancersOperations.cs similarity index 87% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkInterfaceLoadBalancersClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkInterfaceLoadBalancersOperations.cs index 956bdbd9dfb4a..4467ff6e4c4f5 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkInterfaceLoadBalancersClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkInterfaceLoadBalancersOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The NetworkInterfaceLoadBalancers service client. - public partial class NetworkInterfaceLoadBalancersClient + public partial class NetworkInterfaceLoadBalancersOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal NetworkInterfaceLoadBalancersRestClient RestClient { get; } - /// Initializes a new instance of NetworkInterfaceLoadBalancersClient for mocking. - protected NetworkInterfaceLoadBalancersClient() + internal NetworkInterfaceLoadBalancersRestOperations RestClient { get; } + /// Initializes a new instance of NetworkInterfaceLoadBalancersOperations for mocking. + protected NetworkInterfaceLoadBalancersOperations() { } - /// Initializes a new instance of NetworkInterfaceLoadBalancersClient. + /// Initializes a new instance of NetworkInterfaceLoadBalancersOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal NetworkInterfaceLoadBalancersClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal NetworkInterfaceLoadBalancersOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new NetworkInterfaceLoadBalancersRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new NetworkInterfaceLoadBalancersRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -54,7 +54,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName, s async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceLoadBalancersClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceLoadBalancersOperations.List"); scope.Start(); try { @@ -69,7 +69,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceLoadBalancersClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceLoadBalancersOperations.List"); scope.Start(); try { @@ -102,7 +102,7 @@ public virtual Pageable List(string resourceGroupName, string netw Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceLoadBalancersClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceLoadBalancersOperations.List"); scope.Start(); try { @@ -117,7 +117,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceLoadBalancersClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceLoadBalancersOperations.List"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkInterfaceLoadBalancersRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkInterfaceLoadBalancersRestOperations.cs similarity index 97% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkInterfaceLoadBalancersRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkInterfaceLoadBalancersRestOperations.cs index 63103ab0fa897..aba8950f9c926 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkInterfaceLoadBalancersRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkInterfaceLoadBalancersRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class NetworkInterfaceLoadBalancersRestClient + internal partial class NetworkInterfaceLoadBalancersRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of NetworkInterfaceLoadBalancersRestClient. + /// Initializes a new instance of NetworkInterfaceLoadBalancersRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public NetworkInterfaceLoadBalancersRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public NetworkInterfaceLoadBalancersRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkInterfaceTapConfigurationsClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkInterfaceTapConfigurationsOperations.cs similarity index 93% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkInterfaceTapConfigurationsClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkInterfaceTapConfigurationsOperations.cs index a6e556cf04556..6856807fe534d 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkInterfaceTapConfigurationsClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkInterfaceTapConfigurationsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The NetworkInterfaceTapConfigurations service client. - public partial class NetworkInterfaceTapConfigurationsClient + public partial class NetworkInterfaceTapConfigurationsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal NetworkInterfaceTapConfigurationsRestClient RestClient { get; } - /// Initializes a new instance of NetworkInterfaceTapConfigurationsClient for mocking. - protected NetworkInterfaceTapConfigurationsClient() + internal NetworkInterfaceTapConfigurationsRestOperations RestClient { get; } + /// Initializes a new instance of NetworkInterfaceTapConfigurationsOperations for mocking. + protected NetworkInterfaceTapConfigurationsOperations() { } - /// Initializes a new instance of NetworkInterfaceTapConfigurationsClient. + /// Initializes a new instance of NetworkInterfaceTapConfigurationsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal NetworkInterfaceTapConfigurationsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal NetworkInterfaceTapConfigurationsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new NetworkInterfaceTapConfigurationsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new NetworkInterfaceTapConfigurationsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal NetworkInterfaceTapConfigurationsClient(ClientDiagnostics clientDiagnos /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string networkInterfaceName, string tapConfigurationName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceTapConfigurationsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceTapConfigurationsOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(s /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string networkInterfaceName, string tapConfigurationName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceTapConfigurationsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceTapConfigurationsOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListAsync(string async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceTapConfigurationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceTapConfigurationsOperations.List"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHi } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceTapConfigurationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceTapConfigurationsOperations.List"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable List(string resourceGr Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceTapConfigurationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceTapConfigurationsOperations.List"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceTapConfigurationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceTapConfigurationsOperations.List"); scope.Start(); try { @@ -193,7 +193,7 @@ public virtual async Task Star throw new ArgumentNullException(nameof(tapConfigurationName)); } - using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceTapConfigurationsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceTapConfigurationsOperations.StartDelete"); scope.Start(); try { @@ -227,7 +227,7 @@ public virtual NetworkInterfaceTapConfigurationsDeleteOperation StartDelete(stri throw new ArgumentNullException(nameof(tapConfigurationName)); } - using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceTapConfigurationsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceTapConfigurationsOperations.StartDelete"); scope.Start(); try { @@ -266,7 +266,7 @@ public virtual async Task Initializes a new instance of NetworkInterfaceTapConfigurationsRestClient. + /// Initializes a new instance of NetworkInterfaceTapConfigurationsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public NetworkInterfaceTapConfigurationsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public NetworkInterfaceTapConfigurationsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkInterfacesClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkInterfacesOperations.cs similarity index 94% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkInterfacesClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkInterfacesOperations.cs index 8c8a795c03497..061568b2ad65b 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkInterfacesClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkInterfacesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The NetworkInterfaces service client. - public partial class NetworkInterfacesClient + public partial class NetworkInterfacesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal NetworkInterfacesRestClient RestClient { get; } - /// Initializes a new instance of NetworkInterfacesClient for mocking. - protected NetworkInterfacesClient() + internal NetworkInterfacesRestOperations RestClient { get; } + /// Initializes a new instance of NetworkInterfacesOperations for mocking. + protected NetworkInterfacesOperations() { } - /// Initializes a new instance of NetworkInterfacesClient. + /// Initializes a new instance of NetworkInterfacesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal NetworkInterfacesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal NetworkInterfacesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new NetworkInterfacesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new NetworkInterfacesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal NetworkInterfacesClient(ClientDiagnostics clientDiagnostics, HttpPipeli /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string networkInterfaceName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGr /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string networkInterfaceName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.Get"); scope.Start(); try { @@ -84,7 +84,7 @@ public virtual Response Get(string resourceGroupName, string n /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string networkInterfaceName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.UpdateTags"); scope.Start(); try { @@ -104,7 +104,7 @@ public virtual async Task> UpdateTagsAsync(string res /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string networkInterfaceName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.UpdateTags"); scope.Start(); try { @@ -126,7 +126,7 @@ public virtual Response UpdateTags(string resourceGroupName, s /// The cancellation token to use. public virtual async Task> GetVirtualMachineScaleSetNetworkInterfaceAsync(string resourceGroupName, string virtualMachineScaleSetName, string virtualmachineIndex, string networkInterfaceName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.GetVirtualMachineScaleSetNetworkInterface"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.GetVirtualMachineScaleSetNetworkInterface"); scope.Start(); try { @@ -148,7 +148,7 @@ public virtual async Task> GetVirtualMachineScaleSetN /// The cancellation token to use. public virtual Response GetVirtualMachineScaleSetNetworkInterface(string resourceGroupName, string virtualMachineScaleSetName, string virtualmachineIndex, string networkInterfaceName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.GetVirtualMachineScaleSetNetworkInterface"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.GetVirtualMachineScaleSetNetworkInterface"); scope.Start(); try { @@ -171,7 +171,7 @@ public virtual Response GetVirtualMachineScaleSetNetworkInterf /// The cancellation token to use. public virtual async Task> GetVirtualMachineScaleSetIpConfigurationAsync(string resourceGroupName, string virtualMachineScaleSetName, string virtualmachineIndex, string networkInterfaceName, string ipConfigurationName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.GetVirtualMachineScaleSetIpConfiguration"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.GetVirtualMachineScaleSetIpConfiguration"); scope.Start(); try { @@ -194,7 +194,7 @@ public virtual async Task> GetVirtualM /// The cancellation token to use. public virtual Response GetVirtualMachineScaleSetIpConfiguration(string resourceGroupName, string virtualMachineScaleSetName, string virtualmachineIndex, string networkInterfaceName, string ipConfigurationName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.GetVirtualMachineScaleSetIpConfiguration"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.GetVirtualMachineScaleSetIpConfiguration"); scope.Start(); try { @@ -213,7 +213,7 @@ public virtual AsyncPageable ListAllAsync(CancellationToken ca { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.ListAll"); scope.Start(); try { @@ -228,7 +228,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.ListAll"); scope.Start(); try { @@ -250,7 +250,7 @@ public virtual Pageable ListAll(CancellationToken cancellation { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.ListAll"); scope.Start(); try { @@ -265,7 +265,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.ListAll"); scope.Start(); try { @@ -293,7 +293,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupNam async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.List"); scope.Start(); try { @@ -308,7 +308,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.List"); scope.Start(); try { @@ -336,7 +336,7 @@ public virtual Pageable List(string resourceGroupName, Cancell Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.List"); scope.Start(); try { @@ -351,7 +351,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.List"); scope.Start(); try { @@ -389,7 +389,7 @@ public virtual AsyncPageable ListVirtualMachineScaleSetVMNetwo async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.ListVirtualMachineScaleSetVMNetworkInterfaces"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.ListVirtualMachineScaleSetVMNetworkInterfaces"); scope.Start(); try { @@ -404,7 +404,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.ListVirtualMachineScaleSetVMNetworkInterfaces"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.ListVirtualMachineScaleSetVMNetworkInterfaces"); scope.Start(); try { @@ -442,7 +442,7 @@ public virtual Pageable ListVirtualMachineScaleSetVMNetworkInt Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.ListVirtualMachineScaleSetVMNetworkInterfaces"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.ListVirtualMachineScaleSetVMNetworkInterfaces"); scope.Start(); try { @@ -457,7 +457,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.ListVirtualMachineScaleSetVMNetworkInterfaces"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.ListVirtualMachineScaleSetVMNetworkInterfaces"); scope.Start(); try { @@ -490,7 +490,7 @@ public virtual AsyncPageable ListVirtualMachineScaleSetNetwork async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.ListVirtualMachineScaleSetNetworkInterfaces"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.ListVirtualMachineScaleSetNetworkInterfaces"); scope.Start(); try { @@ -505,7 +505,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.ListVirtualMachineScaleSetNetworkInterfaces"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.ListVirtualMachineScaleSetNetworkInterfaces"); scope.Start(); try { @@ -538,7 +538,7 @@ public virtual Pageable ListVirtualMachineScaleSetNetworkInter Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.ListVirtualMachineScaleSetNetworkInterfaces"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.ListVirtualMachineScaleSetNetworkInterfaces"); scope.Start(); try { @@ -553,7 +553,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.ListVirtualMachineScaleSetNetworkInterfaces"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.ListVirtualMachineScaleSetNetworkInterfaces"); scope.Start(); try { @@ -597,7 +597,7 @@ public virtual AsyncPageable ListVirtualMachine async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.ListVirtualMachineScaleSetIpConfigurations"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.ListVirtualMachineScaleSetIpConfigurations"); scope.Start(); try { @@ -612,7 +612,7 @@ async Task> FirstPageFunc(int? pageSizeHin } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.ListVirtualMachineScaleSetIpConfigurations"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.ListVirtualMachineScaleSetIpConfigurations"); scope.Start(); try { @@ -656,7 +656,7 @@ public virtual Pageable ListVirtualMachineScale Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.ListVirtualMachineScaleSetIpConfigurations"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.ListVirtualMachineScaleSetIpConfigurations"); scope.Start(); try { @@ -671,7 +671,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.ListVirtualMachineScaleSetIpConfigurations"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.ListVirtualMachineScaleSetIpConfigurations"); scope.Start(); try { @@ -702,7 +702,7 @@ public virtual async Task StartDeleteAsync(str throw new ArgumentNullException(nameof(networkInterfaceName)); } - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.StartDelete"); scope.Start(); try { @@ -731,7 +731,7 @@ public virtual NetworkInterfacesDeleteOperation StartDelete(string resourceGroup throw new ArgumentNullException(nameof(networkInterfaceName)); } - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.StartDelete"); scope.Start(); try { @@ -765,7 +765,7 @@ public virtual async Task StartCreateO throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -799,7 +799,7 @@ public virtual NetworkInterfacesCreateOrUpdateOperation StartCreateOrUpdate(stri throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -828,7 +828,7 @@ public virtual async Task Star throw new ArgumentNullException(nameof(networkInterfaceName)); } - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.StartGetEffectiveRouteTable"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.StartGetEffectiveRouteTable"); scope.Start(); try { @@ -857,7 +857,7 @@ public virtual NetworkInterfacesGetEffectiveRouteTableOperation StartGetEffectiv throw new ArgumentNullException(nameof(networkInterfaceName)); } - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.StartGetEffectiveRouteTable"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.StartGetEffectiveRouteTable"); scope.Start(); try { @@ -886,7 +886,7 @@ public virtual async Task Initializes a new instance of NetworkInterfacesRestClient. + /// Initializes a new instance of NetworkInterfacesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public NetworkInterfacesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public NetworkInterfacesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkManagementClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkManagementClient.cs index 911aeb056ec9e..69af82afc89c4 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkManagementClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkManagementClient.cs @@ -53,574 +53,289 @@ public NetworkManagementClient(string subscriptionId, Uri endpoint, TokenCredent _endpoint = endpoint; } - /// Creates a new instance of ApplicationGatewaysClient. - public virtual ApplicationGatewaysClient GetApplicationGatewaysClient() - { - return new ApplicationGatewaysClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ApplicationGatewaysOperations. + public virtual ApplicationGatewaysOperations ApplicationGateways => new ApplicationGatewaysOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ApplicationSecurityGroupsClient. - public virtual ApplicationSecurityGroupsClient GetApplicationSecurityGroupsClient() - { - return new ApplicationSecurityGroupsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ApplicationSecurityGroupsOperations. + public virtual ApplicationSecurityGroupsOperations ApplicationSecurityGroups => new ApplicationSecurityGroupsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of AvailableDelegationsClient. - public virtual AvailableDelegationsClient GetAvailableDelegationsClient() - { - return new AvailableDelegationsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of AvailableDelegationsOperations. + public virtual AvailableDelegationsOperations AvailableDelegations => new AvailableDelegationsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of AvailableResourceGroupDelegationsClient. - public virtual AvailableResourceGroupDelegationsClient GetAvailableResourceGroupDelegationsClient() - { - return new AvailableResourceGroupDelegationsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of AvailableResourceGroupDelegationsOperations. + public virtual AvailableResourceGroupDelegationsOperations AvailableResourceGroupDelegations => new AvailableResourceGroupDelegationsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of AvailableServiceAliasesClient. - public virtual AvailableServiceAliasesClient GetAvailableServiceAliasesClient() - { - return new AvailableServiceAliasesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of AvailableServiceAliasesOperations. + public virtual AvailableServiceAliasesOperations AvailableServiceAliases => new AvailableServiceAliasesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of AzureFirewallsClient. - public virtual AzureFirewallsClient GetAzureFirewallsClient() - { - return new AzureFirewallsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of AzureFirewallsOperations. + public virtual AzureFirewallsOperations AzureFirewalls => new AzureFirewallsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of AzureFirewallFqdnTagsClient. - public virtual AzureFirewallFqdnTagsClient GetAzureFirewallFqdnTagsClient() - { - return new AzureFirewallFqdnTagsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of AzureFirewallFqdnTagsOperations. + public virtual AzureFirewallFqdnTagsOperations AzureFirewallFqdnTags => new AzureFirewallFqdnTagsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of BastionHostsClient. - public virtual BastionHostsClient GetBastionHostsClient() - { - return new BastionHostsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of BastionHostsOperations. + public virtual BastionHostsOperations BastionHosts => new BastionHostsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ServiceClient. - public virtual ServiceClient GetServiceClient() - { - return new ServiceClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ServiceOperations. + public virtual ServiceOperations Service => new ServiceOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of DdosCustomPoliciesClient. - public virtual DdosCustomPoliciesClient GetDdosCustomPoliciesClient() - { - return new DdosCustomPoliciesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of DdosCustomPoliciesOperations. + public virtual DdosCustomPoliciesOperations DdosCustomPolicies => new DdosCustomPoliciesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of DdosProtectionPlansClient. - public virtual DdosProtectionPlansClient GetDdosProtectionPlansClient() - { - return new DdosProtectionPlansClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of DdosProtectionPlansOperations. + public virtual DdosProtectionPlansOperations DdosProtectionPlans => new DdosProtectionPlansOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of AvailableEndpointServicesClient. - public virtual AvailableEndpointServicesClient GetAvailableEndpointServicesClient() - { - return new AvailableEndpointServicesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of AvailableEndpointServicesOperations. + public virtual AvailableEndpointServicesOperations AvailableEndpointServices => new AvailableEndpointServicesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ExpressRouteCircuitAuthorizationsClient. - public virtual ExpressRouteCircuitAuthorizationsClient GetExpressRouteCircuitAuthorizationsClient() - { - return new ExpressRouteCircuitAuthorizationsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ExpressRouteCircuitAuthorizationsOperations. + public virtual ExpressRouteCircuitAuthorizationsOperations ExpressRouteCircuitAuthorizations => new ExpressRouteCircuitAuthorizationsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ExpressRouteCircuitPeeringsClient. - public virtual ExpressRouteCircuitPeeringsClient GetExpressRouteCircuitPeeringsClient() - { - return new ExpressRouteCircuitPeeringsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ExpressRouteCircuitPeeringsOperations. + public virtual ExpressRouteCircuitPeeringsOperations ExpressRouteCircuitPeerings => new ExpressRouteCircuitPeeringsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ExpressRouteCircuitConnectionsClient. - public virtual ExpressRouteCircuitConnectionsClient GetExpressRouteCircuitConnectionsClient() - { - return new ExpressRouteCircuitConnectionsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ExpressRouteCircuitConnectionsOperations. + public virtual ExpressRouteCircuitConnectionsOperations ExpressRouteCircuitConnections => new ExpressRouteCircuitConnectionsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of PeerExpressRouteCircuitConnectionsClient. - public virtual PeerExpressRouteCircuitConnectionsClient GetPeerExpressRouteCircuitConnectionsClient() - { - return new PeerExpressRouteCircuitConnectionsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of PeerExpressRouteCircuitConnectionsOperations. + public virtual PeerExpressRouteCircuitConnectionsOperations PeerExpressRouteCircuitConnections => new PeerExpressRouteCircuitConnectionsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ExpressRouteCircuitsClient. - public virtual ExpressRouteCircuitsClient GetExpressRouteCircuitsClient() - { - return new ExpressRouteCircuitsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ExpressRouteCircuitsOperations. + public virtual ExpressRouteCircuitsOperations ExpressRouteCircuits => new ExpressRouteCircuitsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ExpressRouteServiceProvidersClient. - public virtual ExpressRouteServiceProvidersClient GetExpressRouteServiceProvidersClient() - { - return new ExpressRouteServiceProvidersClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ExpressRouteServiceProvidersOperations. + public virtual ExpressRouteServiceProvidersOperations ExpressRouteServiceProviders => new ExpressRouteServiceProvidersOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ExpressRouteCrossConnectionsClient. - public virtual ExpressRouteCrossConnectionsClient GetExpressRouteCrossConnectionsClient() - { - return new ExpressRouteCrossConnectionsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ExpressRouteCrossConnectionsOperations. + public virtual ExpressRouteCrossConnectionsOperations ExpressRouteCrossConnections => new ExpressRouteCrossConnectionsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ExpressRouteCrossConnectionPeeringsClient. - public virtual ExpressRouteCrossConnectionPeeringsClient GetExpressRouteCrossConnectionPeeringsClient() - { - return new ExpressRouteCrossConnectionPeeringsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ExpressRouteCrossConnectionPeeringsOperations. + public virtual ExpressRouteCrossConnectionPeeringsOperations ExpressRouteCrossConnectionPeerings => new ExpressRouteCrossConnectionPeeringsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ExpressRoutePortsLocationsClient. - public virtual ExpressRoutePortsLocationsClient GetExpressRoutePortsLocationsClient() - { - return new ExpressRoutePortsLocationsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ExpressRoutePortsLocationsOperations. + public virtual ExpressRoutePortsLocationsOperations ExpressRoutePortsLocations => new ExpressRoutePortsLocationsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ExpressRoutePortsClient. - public virtual ExpressRoutePortsClient GetExpressRoutePortsClient() - { - return new ExpressRoutePortsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ExpressRoutePortsOperations. + public virtual ExpressRoutePortsOperations ExpressRoutePorts => new ExpressRoutePortsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ExpressRouteLinksClient. - public virtual ExpressRouteLinksClient GetExpressRouteLinksClient() - { - return new ExpressRouteLinksClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ExpressRouteLinksOperations. + public virtual ExpressRouteLinksOperations ExpressRouteLinks => new ExpressRouteLinksOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of FirewallPoliciesClient. - public virtual FirewallPoliciesClient GetFirewallPoliciesClient() - { - return new FirewallPoliciesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of FirewallPoliciesOperations. + public virtual FirewallPoliciesOperations FirewallPolicies => new FirewallPoliciesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of FirewallPolicyRuleGroupsClient. - public virtual FirewallPolicyRuleGroupsClient GetFirewallPolicyRuleGroupsClient() - { - return new FirewallPolicyRuleGroupsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of FirewallPolicyRuleGroupsOperations. + public virtual FirewallPolicyRuleGroupsOperations FirewallPolicyRuleGroups => new FirewallPolicyRuleGroupsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of IpAllocationsClient. - public virtual IpAllocationsClient GetIpAllocationsClient() - { - return new IpAllocationsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of IpAllocationsOperations. + public virtual IpAllocationsOperations IpAllocations => new IpAllocationsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of IpGroupsClient. - public virtual IpGroupsClient GetIpGroupsClient() - { - return new IpGroupsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of IpGroupsOperations. + public virtual IpGroupsOperations IpGroups => new IpGroupsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of LoadBalancersClient. - public virtual LoadBalancersClient GetLoadBalancersClient() - { - return new LoadBalancersClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of LoadBalancersOperations. + public virtual LoadBalancersOperations LoadBalancers => new LoadBalancersOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of LoadBalancerBackendAddressPoolsClient. - public virtual LoadBalancerBackendAddressPoolsClient GetLoadBalancerBackendAddressPoolsClient() - { - return new LoadBalancerBackendAddressPoolsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of LoadBalancerBackendAddressPoolsOperations. + public virtual LoadBalancerBackendAddressPoolsOperations LoadBalancerBackendAddressPools => new LoadBalancerBackendAddressPoolsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of LoadBalancerFrontendIPConfigurationsClient. - public virtual LoadBalancerFrontendIPConfigurationsClient GetLoadBalancerFrontendIPConfigurationsClient() - { - return new LoadBalancerFrontendIPConfigurationsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of LoadBalancerFrontendIPConfigurationsOperations. + public virtual LoadBalancerFrontendIPConfigurationsOperations LoadBalancerFrontendIPConfigurations => new LoadBalancerFrontendIPConfigurationsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of InboundNatRulesClient. - public virtual InboundNatRulesClient GetInboundNatRulesClient() - { - return new InboundNatRulesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of InboundNatRulesOperations. + public virtual InboundNatRulesOperations InboundNatRules => new InboundNatRulesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of LoadBalancerLoadBalancingRulesClient. - public virtual LoadBalancerLoadBalancingRulesClient GetLoadBalancerLoadBalancingRulesClient() - { - return new LoadBalancerLoadBalancingRulesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of LoadBalancerLoadBalancingRulesOperations. + public virtual LoadBalancerLoadBalancingRulesOperations LoadBalancerLoadBalancingRules => new LoadBalancerLoadBalancingRulesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of LoadBalancerOutboundRulesClient. - public virtual LoadBalancerOutboundRulesClient GetLoadBalancerOutboundRulesClient() - { - return new LoadBalancerOutboundRulesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of LoadBalancerOutboundRulesOperations. + public virtual LoadBalancerOutboundRulesOperations LoadBalancerOutboundRules => new LoadBalancerOutboundRulesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of LoadBalancerNetworkInterfacesClient. - public virtual LoadBalancerNetworkInterfacesClient GetLoadBalancerNetworkInterfacesClient() - { - return new LoadBalancerNetworkInterfacesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of LoadBalancerNetworkInterfacesOperations. + public virtual LoadBalancerNetworkInterfacesOperations LoadBalancerNetworkInterfaces => new LoadBalancerNetworkInterfacesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of LoadBalancerProbesClient. - public virtual LoadBalancerProbesClient GetLoadBalancerProbesClient() - { - return new LoadBalancerProbesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of LoadBalancerProbesOperations. + public virtual LoadBalancerProbesOperations LoadBalancerProbes => new LoadBalancerProbesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of NatGatewaysClient. - public virtual NatGatewaysClient GetNatGatewaysClient() - { - return new NatGatewaysClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of NatGatewaysOperations. + public virtual NatGatewaysOperations NatGateways => new NatGatewaysOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of NetworkInterfacesClient. - public virtual NetworkInterfacesClient GetNetworkInterfacesClient() - { - return new NetworkInterfacesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of NetworkInterfacesOperations. + public virtual NetworkInterfacesOperations NetworkInterfaces => new NetworkInterfacesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of NetworkInterfaceIPConfigurationsClient. - public virtual NetworkInterfaceIPConfigurationsClient GetNetworkInterfaceIPConfigurationsClient() - { - return new NetworkInterfaceIPConfigurationsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of NetworkInterfaceIPConfigurationsOperations. + public virtual NetworkInterfaceIPConfigurationsOperations NetworkInterfaceIPConfigurations => new NetworkInterfaceIPConfigurationsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of NetworkInterfaceLoadBalancersClient. - public virtual NetworkInterfaceLoadBalancersClient GetNetworkInterfaceLoadBalancersClient() - { - return new NetworkInterfaceLoadBalancersClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of NetworkInterfaceLoadBalancersOperations. + public virtual NetworkInterfaceLoadBalancersOperations NetworkInterfaceLoadBalancers => new NetworkInterfaceLoadBalancersOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of NetworkInterfaceTapConfigurationsClient. - public virtual NetworkInterfaceTapConfigurationsClient GetNetworkInterfaceTapConfigurationsClient() - { - return new NetworkInterfaceTapConfigurationsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of NetworkInterfaceTapConfigurationsOperations. + public virtual NetworkInterfaceTapConfigurationsOperations NetworkInterfaceTapConfigurations => new NetworkInterfaceTapConfigurationsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of NetworkProfilesClient. - public virtual NetworkProfilesClient GetNetworkProfilesClient() - { - return new NetworkProfilesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of NetworkProfilesOperations. + public virtual NetworkProfilesOperations NetworkProfiles => new NetworkProfilesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of NetworkSecurityGroupsClient. - public virtual NetworkSecurityGroupsClient GetNetworkSecurityGroupsClient() - { - return new NetworkSecurityGroupsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of NetworkSecurityGroupsOperations. + public virtual NetworkSecurityGroupsOperations NetworkSecurityGroups => new NetworkSecurityGroupsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of SecurityRulesClient. - public virtual SecurityRulesClient GetSecurityRulesClient() - { - return new SecurityRulesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of SecurityRulesOperations. + public virtual SecurityRulesOperations SecurityRules => new SecurityRulesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of DefaultSecurityRulesClient. - public virtual DefaultSecurityRulesClient GetDefaultSecurityRulesClient() - { - return new DefaultSecurityRulesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of DefaultSecurityRulesOperations. + public virtual DefaultSecurityRulesOperations DefaultSecurityRules => new DefaultSecurityRulesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of NetworkVirtualAppliancesClient. - public virtual NetworkVirtualAppliancesClient GetNetworkVirtualAppliancesClient() - { - return new NetworkVirtualAppliancesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of NetworkVirtualAppliancesOperations. + public virtual NetworkVirtualAppliancesOperations NetworkVirtualAppliances => new NetworkVirtualAppliancesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of NetworkWatchersClient. - public virtual NetworkWatchersClient GetNetworkWatchersClient() - { - return new NetworkWatchersClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of NetworkWatchersOperations. + public virtual NetworkWatchersOperations NetworkWatchers => new NetworkWatchersOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of PacketCapturesClient. - public virtual PacketCapturesClient GetPacketCapturesClient() - { - return new PacketCapturesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of PacketCapturesOperations. + public virtual PacketCapturesOperations PacketCaptures => new PacketCapturesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ConnectionMonitorsClient. - public virtual ConnectionMonitorsClient GetConnectionMonitorsClient() - { - return new ConnectionMonitorsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ConnectionMonitorsOperations. + public virtual ConnectionMonitorsOperations ConnectionMonitors => new ConnectionMonitorsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of FlowLogsClient. - public virtual FlowLogsClient GetFlowLogsClient() - { - return new FlowLogsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of FlowLogsOperations. + public virtual FlowLogsOperations FlowLogs => new FlowLogsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of OperationsClient. - public virtual OperationsClient GetOperationsClient() - { - return new OperationsClient(_clientDiagnostics, _pipeline, _endpoint); - } + /// Returns an instance of Operations. + public virtual Operations Operations => new Operations(_clientDiagnostics, _pipeline, _endpoint); - /// Creates a new instance of PrivateEndpointsClient. - public virtual PrivateEndpointsClient GetPrivateEndpointsClient() - { - return new PrivateEndpointsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of PrivateEndpointsOperations. + public virtual PrivateEndpointsOperations PrivateEndpoints => new PrivateEndpointsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of AvailablePrivateEndpointTypesClient. - public virtual AvailablePrivateEndpointTypesClient GetAvailablePrivateEndpointTypesClient() - { - return new AvailablePrivateEndpointTypesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of AvailablePrivateEndpointTypesOperations. + public virtual AvailablePrivateEndpointTypesOperations AvailablePrivateEndpointTypes => new AvailablePrivateEndpointTypesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of PrivateDnsZoneGroupsClient. - public virtual PrivateDnsZoneGroupsClient GetPrivateDnsZoneGroupsClient() - { - return new PrivateDnsZoneGroupsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of PrivateDnsZoneGroupsOperations. + public virtual PrivateDnsZoneGroupsOperations PrivateDnsZoneGroups => new PrivateDnsZoneGroupsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of PrivateLinkServicesClient. - public virtual PrivateLinkServicesClient GetPrivateLinkServicesClient() - { - return new PrivateLinkServicesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of PrivateLinkServicesOperations. + public virtual PrivateLinkServicesOperations PrivateLinkServices => new PrivateLinkServicesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of PublicIPAddressesClient. - public virtual PublicIPAddressesClient GetPublicIPAddressesClient() - { - return new PublicIPAddressesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of PublicIPAddressesOperations. + public virtual PublicIPAddressesOperations PublicIPAddresses => new PublicIPAddressesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of PublicIPPrefixesClient. - public virtual PublicIPPrefixesClient GetPublicIPPrefixesClient() - { - return new PublicIPPrefixesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of PublicIPPrefixesOperations. + public virtual PublicIPPrefixesOperations PublicIPPrefixes => new PublicIPPrefixesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of RouteFiltersClient. - public virtual RouteFiltersClient GetRouteFiltersClient() - { - return new RouteFiltersClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of RouteFiltersOperations. + public virtual RouteFiltersOperations RouteFilters => new RouteFiltersOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of RouteFilterRulesClient. - public virtual RouteFilterRulesClient GetRouteFilterRulesClient() - { - return new RouteFilterRulesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of RouteFilterRulesOperations. + public virtual RouteFilterRulesOperations RouteFilterRules => new RouteFilterRulesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of RouteTablesClient. - public virtual RouteTablesClient GetRouteTablesClient() - { - return new RouteTablesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of RouteTablesOperations. + public virtual RouteTablesOperations RouteTables => new RouteTablesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of RoutesClient. - public virtual RoutesClient GetRoutesClient() - { - return new RoutesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of RoutesOperations. + public virtual RoutesOperations Routes => new RoutesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of SecurityPartnerProvidersClient. - public virtual SecurityPartnerProvidersClient GetSecurityPartnerProvidersClient() - { - return new SecurityPartnerProvidersClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of SecurityPartnerProvidersOperations. + public virtual SecurityPartnerProvidersOperations SecurityPartnerProviders => new SecurityPartnerProvidersOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of BgpServiceCommunitiesClient. - public virtual BgpServiceCommunitiesClient GetBgpServiceCommunitiesClient() - { - return new BgpServiceCommunitiesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of BgpServiceCommunitiesOperations. + public virtual BgpServiceCommunitiesOperations BgpServiceCommunities => new BgpServiceCommunitiesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ServiceEndpointPoliciesClient. - public virtual ServiceEndpointPoliciesClient GetServiceEndpointPoliciesClient() - { - return new ServiceEndpointPoliciesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ServiceEndpointPoliciesOperations. + public virtual ServiceEndpointPoliciesOperations ServiceEndpointPolicies => new ServiceEndpointPoliciesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ServiceEndpointPolicyDefinitionsClient. - public virtual ServiceEndpointPolicyDefinitionsClient GetServiceEndpointPolicyDefinitionsClient() - { - return new ServiceEndpointPolicyDefinitionsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ServiceEndpointPolicyDefinitionsOperations. + public virtual ServiceEndpointPolicyDefinitionsOperations ServiceEndpointPolicyDefinitions => new ServiceEndpointPolicyDefinitionsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ServiceTagsClient. - public virtual ServiceTagsClient GetServiceTagsClient() - { - return new ServiceTagsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ServiceTagsOperations. + public virtual ServiceTagsOperations ServiceTags => new ServiceTagsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of UsagesClient. - public virtual UsagesClient GetUsagesClient() - { - return new UsagesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of UsagesOperations. + public virtual UsagesOperations Usages => new UsagesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VirtualNetworksClient. - public virtual VirtualNetworksClient GetVirtualNetworksClient() - { - return new VirtualNetworksClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VirtualNetworksOperations. + public virtual VirtualNetworksOperations VirtualNetworks => new VirtualNetworksOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of SubnetsClient. - public virtual SubnetsClient GetSubnetsClient() - { - return new SubnetsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of SubnetsOperations. + public virtual SubnetsOperations Subnets => new SubnetsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ResourceNavigationLinksClient. - public virtual ResourceNavigationLinksClient GetResourceNavigationLinksClient() - { - return new ResourceNavigationLinksClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ResourceNavigationLinksOperations. + public virtual ResourceNavigationLinksOperations ResourceNavigationLinks => new ResourceNavigationLinksOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ServiceAssociationLinksClient. - public virtual ServiceAssociationLinksClient GetServiceAssociationLinksClient() - { - return new ServiceAssociationLinksClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ServiceAssociationLinksOperations. + public virtual ServiceAssociationLinksOperations ServiceAssociationLinks => new ServiceAssociationLinksOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VirtualNetworkPeeringsClient. - public virtual VirtualNetworkPeeringsClient GetVirtualNetworkPeeringsClient() - { - return new VirtualNetworkPeeringsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VirtualNetworkPeeringsOperations. + public virtual VirtualNetworkPeeringsOperations VirtualNetworkPeerings => new VirtualNetworkPeeringsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VirtualNetworkGatewaysClient. - public virtual VirtualNetworkGatewaysClient GetVirtualNetworkGatewaysClient() - { - return new VirtualNetworkGatewaysClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VirtualNetworkGatewaysOperations. + public virtual VirtualNetworkGatewaysOperations VirtualNetworkGateways => new VirtualNetworkGatewaysOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VirtualNetworkGatewayConnectionsClient. - public virtual VirtualNetworkGatewayConnectionsClient GetVirtualNetworkGatewayConnectionsClient() - { - return new VirtualNetworkGatewayConnectionsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VirtualNetworkGatewayConnectionsOperations. + public virtual VirtualNetworkGatewayConnectionsOperations VirtualNetworkGatewayConnections => new VirtualNetworkGatewayConnectionsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of LocalNetworkGatewaysClient. - public virtual LocalNetworkGatewaysClient GetLocalNetworkGatewaysClient() - { - return new LocalNetworkGatewaysClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of LocalNetworkGatewaysOperations. + public virtual LocalNetworkGatewaysOperations LocalNetworkGateways => new LocalNetworkGatewaysOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VirtualNetworkTapsClient. - public virtual VirtualNetworkTapsClient GetVirtualNetworkTapsClient() - { - return new VirtualNetworkTapsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VirtualNetworkTapsOperations. + public virtual VirtualNetworkTapsOperations VirtualNetworkTaps => new VirtualNetworkTapsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VirtualRoutersClient. - public virtual VirtualRoutersClient GetVirtualRoutersClient() - { - return new VirtualRoutersClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VirtualRoutersOperations. + public virtual VirtualRoutersOperations VirtualRouters => new VirtualRoutersOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VirtualRouterPeeringsClient. - public virtual VirtualRouterPeeringsClient GetVirtualRouterPeeringsClient() - { - return new VirtualRouterPeeringsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VirtualRouterPeeringsOperations. + public virtual VirtualRouterPeeringsOperations VirtualRouterPeerings => new VirtualRouterPeeringsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VirtualWansClient. - public virtual VirtualWansClient GetVirtualWansClient() - { - return new VirtualWansClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VirtualWansOperations. + public virtual VirtualWansOperations VirtualWans => new VirtualWansOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VpnSitesClient. - public virtual VpnSitesClient GetVpnSitesClient() - { - return new VpnSitesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VpnSitesOperations. + public virtual VpnSitesOperations VpnSites => new VpnSitesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VpnSiteLinksClient. - public virtual VpnSiteLinksClient GetVpnSiteLinksClient() - { - return new VpnSiteLinksClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VpnSiteLinksOperations. + public virtual VpnSiteLinksOperations VpnSiteLinks => new VpnSiteLinksOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VpnSitesConfigurationClient. - public virtual VpnSitesConfigurationClient GetVpnSitesConfigurationClient() - { - return new VpnSitesConfigurationClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VpnSitesConfigurationOperations. + public virtual VpnSitesConfigurationOperations VpnSitesConfiguration => new VpnSitesConfigurationOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VpnServerConfigurationsClient. - public virtual VpnServerConfigurationsClient GetVpnServerConfigurationsClient() - { - return new VpnServerConfigurationsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VpnServerConfigurationsOperations. + public virtual VpnServerConfigurationsOperations VpnServerConfigurations => new VpnServerConfigurationsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VirtualHubsClient. - public virtual VirtualHubsClient GetVirtualHubsClient() - { - return new VirtualHubsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VirtualHubsOperations. + public virtual VirtualHubsOperations VirtualHubs => new VirtualHubsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of HubVirtualNetworkConnectionsClient. - public virtual HubVirtualNetworkConnectionsClient GetHubVirtualNetworkConnectionsClient() - { - return new HubVirtualNetworkConnectionsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of HubVirtualNetworkConnectionsOperations. + public virtual HubVirtualNetworkConnectionsOperations HubVirtualNetworkConnections => new HubVirtualNetworkConnectionsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VpnGatewaysClient. - public virtual VpnGatewaysClient GetVpnGatewaysClient() - { - return new VpnGatewaysClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VpnGatewaysOperations. + public virtual VpnGatewaysOperations VpnGateways => new VpnGatewaysOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VpnConnectionsClient. - public virtual VpnConnectionsClient GetVpnConnectionsClient() - { - return new VpnConnectionsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VpnConnectionsOperations. + public virtual VpnConnectionsOperations VpnConnections => new VpnConnectionsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VpnSiteLinkConnectionsClient. - public virtual VpnSiteLinkConnectionsClient GetVpnSiteLinkConnectionsClient() - { - return new VpnSiteLinkConnectionsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VpnSiteLinkConnectionsOperations. + public virtual VpnSiteLinkConnectionsOperations VpnSiteLinkConnections => new VpnSiteLinkConnectionsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VpnLinkConnectionsClient. - public virtual VpnLinkConnectionsClient GetVpnLinkConnectionsClient() - { - return new VpnLinkConnectionsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VpnLinkConnectionsOperations. + public virtual VpnLinkConnectionsOperations VpnLinkConnections => new VpnLinkConnectionsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of P2SVpnGatewaysClient. - public virtual P2SVpnGatewaysClient GetP2SVpnGatewaysClient() - { - return new P2SVpnGatewaysClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of P2SVpnGatewaysOperations. + public virtual P2SVpnGatewaysOperations P2SVpnGateways => new P2SVpnGatewaysOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VpnServerConfigurationsAssociatedWithVirtualWanClient. - public virtual VpnServerConfigurationsAssociatedWithVirtualWanClient GetVpnServerConfigurationsAssociatedWithVirtualWanClient() - { - return new VpnServerConfigurationsAssociatedWithVirtualWanClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VpnServerConfigurationsAssociatedWithVirtualWanOperations. + public virtual VpnServerConfigurationsAssociatedWithVirtualWanOperations VpnServerConfigurationsAssociatedWithVirtualWan => new VpnServerConfigurationsAssociatedWithVirtualWanOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VirtualHubRouteTableV2SClient. - public virtual VirtualHubRouteTableV2SClient GetVirtualHubRouteTableV2SClient() - { - return new VirtualHubRouteTableV2SClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VirtualHubRouteTableV2SOperations. + public virtual VirtualHubRouteTableV2SOperations VirtualHubRouteTableV2S => new VirtualHubRouteTableV2SOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ExpressRouteGatewaysClient. - public virtual ExpressRouteGatewaysClient GetExpressRouteGatewaysClient() - { - return new ExpressRouteGatewaysClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ExpressRouteGatewaysOperations. + public virtual ExpressRouteGatewaysOperations ExpressRouteGateways => new ExpressRouteGatewaysOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ExpressRouteConnectionsClient. - public virtual ExpressRouteConnectionsClient GetExpressRouteConnectionsClient() - { - return new ExpressRouteConnectionsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ExpressRouteConnectionsOperations. + public virtual ExpressRouteConnectionsOperations ExpressRouteConnections => new ExpressRouteConnectionsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of HubRouteTablesClient. - public virtual HubRouteTablesClient GetHubRouteTablesClient() - { - return new HubRouteTablesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of HubRouteTablesOperations. + public virtual HubRouteTablesOperations HubRouteTables => new HubRouteTablesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of WebApplicationFirewallPoliciesClient. - public virtual WebApplicationFirewallPoliciesClient GetWebApplicationFirewallPoliciesClient() - { - return new WebApplicationFirewallPoliciesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of WebApplicationFirewallPoliciesOperations. + public virtual WebApplicationFirewallPoliciesOperations WebApplicationFirewallPolicies => new WebApplicationFirewallPoliciesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); } } diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkProfilesClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkProfilesOperations.cs similarity index 94% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkProfilesClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkProfilesOperations.cs index 11cc898c4e3e4..e1b0885381249 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkProfilesClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkProfilesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The NetworkProfiles service client. - public partial class NetworkProfilesClient + public partial class NetworkProfilesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal NetworkProfilesRestClient RestClient { get; } - /// Initializes a new instance of NetworkProfilesClient for mocking. - protected NetworkProfilesClient() + internal NetworkProfilesRestOperations RestClient { get; } + /// Initializes a new instance of NetworkProfilesOperations for mocking. + protected NetworkProfilesOperations() { } - /// Initializes a new instance of NetworkProfilesClient. + /// Initializes a new instance of NetworkProfilesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal NetworkProfilesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal NetworkProfilesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new NetworkProfilesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new NetworkProfilesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal NetworkProfilesClient(ClientDiagnostics clientDiagnostics, HttpPipeline /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string networkProfileName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkProfilesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("NetworkProfilesOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGrou /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string networkProfileName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkProfilesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("NetworkProfilesOperations.Get"); scope.Start(); try { @@ -84,7 +84,7 @@ public virtual Response Get(string resourceGroupName, string net /// The cancellation token to use. public virtual async Task> CreateOrUpdateAsync(string resourceGroupName, string networkProfileName, NetworkProfile parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkProfilesClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("NetworkProfilesOperations.CreateOrUpdate"); scope.Start(); try { @@ -104,7 +104,7 @@ public virtual async Task> CreateOrUpdateAsync(string r /// The cancellation token to use. public virtual Response CreateOrUpdate(string resourceGroupName, string networkProfileName, NetworkProfile parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkProfilesClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("NetworkProfilesOperations.CreateOrUpdate"); scope.Start(); try { @@ -124,7 +124,7 @@ public virtual Response CreateOrUpdate(string resourceGroupName, /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string networkProfileName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkProfilesClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("NetworkProfilesOperations.UpdateTags"); scope.Start(); try { @@ -144,7 +144,7 @@ public virtual async Task> UpdateTagsAsync(string resou /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string networkProfileName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkProfilesClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("NetworkProfilesOperations.UpdateTags"); scope.Start(); try { @@ -163,7 +163,7 @@ public virtual AsyncPageable ListAllAsync(CancellationToken canc { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkProfilesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("NetworkProfilesOperations.ListAll"); scope.Start(); try { @@ -178,7 +178,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkProfilesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("NetworkProfilesOperations.ListAll"); scope.Start(); try { @@ -200,7 +200,7 @@ public virtual Pageable ListAll(CancellationToken cancellationTo { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkProfilesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("NetworkProfilesOperations.ListAll"); scope.Start(); try { @@ -215,7 +215,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkProfilesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("NetworkProfilesOperations.ListAll"); scope.Start(); try { @@ -243,7 +243,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName, async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkProfilesClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkProfilesOperations.List"); scope.Start(); try { @@ -258,7 +258,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkProfilesClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkProfilesOperations.List"); scope.Start(); try { @@ -286,7 +286,7 @@ public virtual Pageable List(string resourceGroupName, Cancellat Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkProfilesClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkProfilesOperations.List"); scope.Start(); try { @@ -301,7 +301,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkProfilesClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkProfilesOperations.List"); scope.Start(); try { @@ -332,7 +332,7 @@ public virtual async Task StartDeleteAsync(strin throw new ArgumentNullException(nameof(networkProfileName)); } - using var scope = _clientDiagnostics.CreateScope("NetworkProfilesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("NetworkProfilesOperations.StartDelete"); scope.Start(); try { @@ -361,7 +361,7 @@ public virtual NetworkProfilesDeleteOperation StartDelete(string resourceGroupNa throw new ArgumentNullException(nameof(networkProfileName)); } - using var scope = _clientDiagnostics.CreateScope("NetworkProfilesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("NetworkProfilesOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkProfilesRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkProfilesRestOperations.cs similarity index 99% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkProfilesRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkProfilesRestOperations.cs index e0aa5804d2812..16a53fa47371f 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkProfilesRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkProfilesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class NetworkProfilesRestClient + internal partial class NetworkProfilesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of NetworkProfilesRestClient. + /// Initializes a new instance of NetworkProfilesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public NetworkProfilesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public NetworkProfilesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkSecurityGroupsClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkSecurityGroupsOperations.cs similarity index 93% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkSecurityGroupsClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkSecurityGroupsOperations.cs index c47a7bbf51743..f452c9e10385c 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkSecurityGroupsClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkSecurityGroupsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The NetworkSecurityGroups service client. - public partial class NetworkSecurityGroupsClient + public partial class NetworkSecurityGroupsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal NetworkSecurityGroupsRestClient RestClient { get; } - /// Initializes a new instance of NetworkSecurityGroupsClient for mocking. - protected NetworkSecurityGroupsClient() + internal NetworkSecurityGroupsRestOperations RestClient { get; } + /// Initializes a new instance of NetworkSecurityGroupsOperations for mocking. + protected NetworkSecurityGroupsOperations() { } - /// Initializes a new instance of NetworkSecurityGroupsClient. + /// Initializes a new instance of NetworkSecurityGroupsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal NetworkSecurityGroupsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal NetworkSecurityGroupsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new NetworkSecurityGroupsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new NetworkSecurityGroupsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal NetworkSecurityGroupsClient(ClientDiagnostics clientDiagnostics, HttpPi /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string networkSecurityGroupName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resour /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string networkSecurityGroupName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsOperations.Get"); scope.Start(); try { @@ -84,7 +84,7 @@ public virtual Response Get(string resourceGroupName, stri /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string networkSecurityGroupName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsOperations.UpdateTags"); scope.Start(); try { @@ -104,7 +104,7 @@ public virtual async Task> UpdateTagsAsync(string /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string networkSecurityGroupName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsOperations.UpdateTags"); scope.Start(); try { @@ -123,7 +123,7 @@ public virtual AsyncPageable ListAllAsync(CancellationToke { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsOperations.ListAll"); scope.Start(); try { @@ -138,7 +138,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsOperations.ListAll"); scope.Start(); try { @@ -160,7 +160,7 @@ public virtual Pageable ListAll(CancellationToken cancella { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsOperations.ListAll"); scope.Start(); try { @@ -175,7 +175,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsOperations.ListAll"); scope.Start(); try { @@ -203,7 +203,7 @@ public virtual AsyncPageable ListAsync(string resourceGrou async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsOperations.List"); scope.Start(); try { @@ -218,7 +218,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsOperations.List"); scope.Start(); try { @@ -246,7 +246,7 @@ public virtual Pageable List(string resourceGroupName, Can Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsOperations.List"); scope.Start(); try { @@ -261,7 +261,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsOperations.List"); scope.Start(); try { @@ -292,7 +292,7 @@ public virtual async Task StartDeleteAsync throw new ArgumentNullException(nameof(networkSecurityGroupName)); } - using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsOperations.StartDelete"); scope.Start(); try { @@ -321,7 +321,7 @@ public virtual NetworkSecurityGroupsDeleteOperation StartDelete(string resourceG throw new ArgumentNullException(nameof(networkSecurityGroupName)); } - using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsOperations.StartDelete"); scope.Start(); try { @@ -355,7 +355,7 @@ public virtual async Task StartCre throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -389,7 +389,7 @@ public virtual NetworkSecurityGroupsCreateOrUpdateOperation StartCreateOrUpdate( throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkSecurityGroupsRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkSecurityGroupsRestOperations.cs similarity index 99% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkSecurityGroupsRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkSecurityGroupsRestOperations.cs index 9a198d9a28e9d..183de0dea60c5 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkSecurityGroupsRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkSecurityGroupsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class NetworkSecurityGroupsRestClient + internal partial class NetworkSecurityGroupsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of NetworkSecurityGroupsRestClient. + /// Initializes a new instance of NetworkSecurityGroupsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public NetworkSecurityGroupsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public NetworkSecurityGroupsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkVirtualAppliancesClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkVirtualAppliancesOperations.cs similarity index 93% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkVirtualAppliancesClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkVirtualAppliancesOperations.cs index 29d1fcbeb0340..0efc8a4743736 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkVirtualAppliancesClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkVirtualAppliancesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The NetworkVirtualAppliances service client. - public partial class NetworkVirtualAppliancesClient + public partial class NetworkVirtualAppliancesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal NetworkVirtualAppliancesRestClient RestClient { get; } - /// Initializes a new instance of NetworkVirtualAppliancesClient for mocking. - protected NetworkVirtualAppliancesClient() + internal NetworkVirtualAppliancesRestOperations RestClient { get; } + /// Initializes a new instance of NetworkVirtualAppliancesOperations for mocking. + protected NetworkVirtualAppliancesOperations() { } - /// Initializes a new instance of NetworkVirtualAppliancesClient. + /// Initializes a new instance of NetworkVirtualAppliancesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal NetworkVirtualAppliancesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal NetworkVirtualAppliancesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new NetworkVirtualAppliancesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new NetworkVirtualAppliancesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal NetworkVirtualAppliancesClient(ClientDiagnostics clientDiagnostics, Htt /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string networkVirtualApplianceName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string res /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string networkVirtualApplianceName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesOperations.Get"); scope.Start(); try { @@ -84,7 +84,7 @@ public virtual Response Get(string resourceGroupName, s /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string networkVirtualApplianceName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesOperations.UpdateTags"); scope.Start(); try { @@ -104,7 +104,7 @@ public virtual async Task> UpdateTagsAsync(str /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string networkVirtualApplianceName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesOperations.UpdateTags"); scope.Start(); try { @@ -129,7 +129,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(s async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesOperations.ListByResourceGroup"); scope.Start(); try { @@ -144,7 +144,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesOperations.ListByResourceGroup"); scope.Start(); try { @@ -172,7 +172,7 @@ public virtual Pageable ListByResourceGroup(string reso Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesOperations.ListByResourceGroup"); scope.Start(); try { @@ -187,7 +187,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesOperations.ListByResourceGroup"); scope.Start(); try { @@ -209,7 +209,7 @@ public virtual AsyncPageable ListAsync(CancellationToke { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesOperations.List"); scope.Start(); try { @@ -224,7 +224,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesOperations.List"); scope.Start(); try { @@ -246,7 +246,7 @@ public virtual Pageable List(CancellationToken cancella { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesOperations.List"); scope.Start(); try { @@ -261,7 +261,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesOperations.List"); scope.Start(); try { @@ -292,7 +292,7 @@ public virtual async Task StartDeleteAs throw new ArgumentNullException(nameof(networkVirtualApplianceName)); } - using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesOperations.StartDelete"); scope.Start(); try { @@ -321,7 +321,7 @@ public virtual NetworkVirtualAppliancesDeleteOperation StartDelete(string resour throw new ArgumentNullException(nameof(networkVirtualApplianceName)); } - using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesOperations.StartDelete"); scope.Start(); try { @@ -355,7 +355,7 @@ public virtual async Task Start throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -389,7 +389,7 @@ public virtual NetworkVirtualAppliancesCreateOrUpdateOperation StartCreateOrUpda throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkVirtualAppliancesRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkVirtualAppliancesRestOperations.cs similarity index 99% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkVirtualAppliancesRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkVirtualAppliancesRestOperations.cs index 50a8a00f4dd65..485d9c68cc9b0 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkVirtualAppliancesRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkVirtualAppliancesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class NetworkVirtualAppliancesRestClient + internal partial class NetworkVirtualAppliancesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of NetworkVirtualAppliancesRestClient. + /// Initializes a new instance of NetworkVirtualAppliancesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public NetworkVirtualAppliancesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public NetworkVirtualAppliancesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkWatchersClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkWatchersOperations.cs similarity index 96% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkWatchersClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkWatchersOperations.cs index 099b7b4d8e483..ec58931e0f65b 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkWatchersClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkWatchersOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The NetworkWatchers service client. - public partial class NetworkWatchersClient + public partial class NetworkWatchersOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal NetworkWatchersRestClient RestClient { get; } - /// Initializes a new instance of NetworkWatchersClient for mocking. - protected NetworkWatchersClient() + internal NetworkWatchersRestOperations RestClient { get; } + /// Initializes a new instance of NetworkWatchersOperations for mocking. + protected NetworkWatchersOperations() { } - /// Initializes a new instance of NetworkWatchersClient. + /// Initializes a new instance of NetworkWatchersOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal NetworkWatchersClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal NetworkWatchersOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new NetworkWatchersRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new NetworkWatchersRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal NetworkWatchersClient(ClientDiagnostics clientDiagnostics, HttpPipeline /// The cancellation token to use. public virtual async Task> CreateOrUpdateAsync(string resourceGroupName, string networkWatcherName, NetworkWatcher parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.CreateOrUpdate"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> CreateOrUpdateAsync(string r /// The cancellation token to use. public virtual Response CreateOrUpdate(string resourceGroupName, string networkWatcherName, NetworkWatcher parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.CreateOrUpdate"); scope.Start(); try { @@ -83,7 +83,7 @@ public virtual Response CreateOrUpdate(string resourceGroupName, /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string networkWatcherName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.Get"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.Get"); scope.Start(); try { @@ -102,7 +102,7 @@ public virtual async Task> GetAsync(string resourceGrou /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string networkWatcherName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.Get"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.Get"); scope.Start(); try { @@ -122,7 +122,7 @@ public virtual Response Get(string resourceGroupName, string net /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string networkWatcherName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.UpdateTags"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual async Task> UpdateTagsAsync(string resou /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string networkWatcherName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.UpdateTags"); scope.Start(); try { @@ -162,7 +162,7 @@ public virtual Response UpdateTags(string resourceGroupName, str /// The cancellation token to use. public virtual async Task> GetTopologyAsync(string resourceGroupName, string networkWatcherName, TopologyParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.GetTopology"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.GetTopology"); scope.Start(); try { @@ -182,7 +182,7 @@ public virtual async Task> GetTopologyAsync(string resourceGr /// The cancellation token to use. public virtual Response GetTopology(string resourceGroupName, string networkWatcherName, TopologyParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.GetTopology"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.GetTopology"); scope.Start(); try { @@ -207,7 +207,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName, async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.List"); scope.Start(); try { @@ -235,7 +235,7 @@ public virtual Pageable List(string resourceGroupName, Cancellat Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.List"); scope.Start(); try { @@ -257,7 +257,7 @@ public virtual AsyncPageable ListAllAsync(CancellationToken canc { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.ListAll"); scope.Start(); try { @@ -279,7 +279,7 @@ public virtual Pageable ListAll(CancellationToken cancellationTo { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.ListAll"); scope.Start(); try { @@ -310,7 +310,7 @@ public virtual async Task StartDeleteAsync(strin throw new ArgumentNullException(nameof(networkWatcherName)); } - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.StartDelete"); scope.Start(); try { @@ -339,7 +339,7 @@ public virtual NetworkWatchersDeleteOperation StartDelete(string resourceGroupNa throw new ArgumentNullException(nameof(networkWatcherName)); } - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.StartDelete"); scope.Start(); try { @@ -373,7 +373,7 @@ public virtual async Task StartVerifyIPFlo throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.StartVerifyIPFlow"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.StartVerifyIPFlow"); scope.Start(); try { @@ -407,7 +407,7 @@ public virtual NetworkWatchersVerifyIPFlowOperation StartVerifyIPFlow(string res throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.StartVerifyIPFlow"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.StartVerifyIPFlow"); scope.Start(); try { @@ -441,7 +441,7 @@ public virtual async Task StartGetNextHopAsy throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.StartGetNextHop"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.StartGetNextHop"); scope.Start(); try { @@ -475,7 +475,7 @@ public virtual NetworkWatchersGetNextHopOperation StartGetNextHop(string resourc throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.StartGetNextHop"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.StartGetNextHop"); scope.Start(); try { @@ -509,7 +509,7 @@ public virtual async Task StartGetVM throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.StartGetVMSecurityRules"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.StartGetVMSecurityRules"); scope.Start(); try { @@ -543,7 +543,7 @@ public virtual NetworkWatchersGetVMSecurityRulesOperation StartGetVMSecurityRule throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.StartGetVMSecurityRules"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.StartGetVMSecurityRules"); scope.Start(); try { @@ -577,7 +577,7 @@ public virtual async Task StartGetTr throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.StartGetTroubleshooting"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.StartGetTroubleshooting"); scope.Start(); try { @@ -611,7 +611,7 @@ public virtual NetworkWatchersGetTroubleshootingOperation StartGetTroubleshootin throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.StartGetTroubleshooting"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.StartGetTroubleshooting"); scope.Start(); try { @@ -645,7 +645,7 @@ public virtual async Task Star throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.StartGetTroubleshootingResult"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.StartGetTroubleshootingResult"); scope.Start(); try { @@ -679,7 +679,7 @@ public virtual NetworkWatchersGetTroubleshootingResultOperation StartGetTroubles throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.StartGetTroubleshootingResult"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.StartGetTroubleshootingResult"); scope.Start(); try { @@ -713,7 +713,7 @@ public virtual async Task Start throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.StartSetFlowLogConfiguration"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.StartSetFlowLogConfiguration"); scope.Start(); try { @@ -747,7 +747,7 @@ public virtual NetworkWatchersSetFlowLogConfigurationOperation StartSetFlowLogCo throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.StartSetFlowLogConfiguration"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.StartSetFlowLogConfiguration"); scope.Start(); try { @@ -781,7 +781,7 @@ public virtual async Task StartGetFlow throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.StartGetFlowLogStatus"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.StartGetFlowLogStatus"); scope.Start(); try { @@ -815,7 +815,7 @@ public virtual NetworkWatchersGetFlowLogStatusOperation StartGetFlowLogStatus(st throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.StartGetFlowLogStatus"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.StartGetFlowLogStatus"); scope.Start(); try { @@ -849,7 +849,7 @@ public virtual async Task StartCheckC throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.StartCheckConnectivity"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.StartCheckConnectivity"); scope.Start(); try { @@ -883,7 +883,7 @@ public virtual NetworkWatchersCheckConnectivityOperation StartCheckConnectivity( throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.StartCheckConnectivity"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.StartCheckConnectivity"); scope.Start(); try { @@ -917,7 +917,7 @@ public virtual async Task St throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.StartGetAzureReachabilityReport"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.StartGetAzureReachabilityReport"); scope.Start(); try { @@ -951,7 +951,7 @@ public virtual NetworkWatchersGetAzureReachabilityReportOperation StartGetAzureR throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.StartGetAzureReachabilityReport"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.StartGetAzureReachabilityReport"); scope.Start(); try { @@ -985,7 +985,7 @@ public virtual async Task StartL throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.StartListAvailableProviders"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.StartListAvailableProviders"); scope.Start(); try { @@ -1019,7 +1019,7 @@ public virtual NetworkWatchersListAvailableProvidersOperation StartListAvailable throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.StartListAvailableProviders"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.StartListAvailableProviders"); scope.Start(); try { @@ -1053,7 +1053,7 @@ public virtual async Task Initializes a new instance of NetworkWatchersRestClient. + /// Initializes a new instance of NetworkWatchersRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public NetworkWatchersRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public NetworkWatchersRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/OperationsClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Operations.cs similarity index 85% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/OperationsClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/Operations.cs index b87b2c07daff0..e38ac91b2d41b 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/OperationsClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Operations.cs @@ -15,23 +15,23 @@ namespace Azure.ResourceManager.Network { - /// The Operations service client. - public partial class OperationsClient + /// The service client. + public partial class Operations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal OperationsRestClient RestClient { get; } - /// Initializes a new instance of OperationsClient for mocking. - protected OperationsClient() + internal RestOperations RestClient { get; } + /// Initializes a new instance of Operations for mocking. + protected Operations() { } - /// Initializes a new instance of OperationsClient. + /// Initializes a new instance of Operations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// server parameter. - internal OperationsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null) + internal Operations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null) { - RestClient = new OperationsRestClient(clientDiagnostics, pipeline, endpoint); + RestClient = new RestOperations(clientDiagnostics, pipeline, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -42,7 +42,7 @@ public virtual AsyncPageable ListAsync(CancellationToken cancellation { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("OperationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("Operations.List"); scope.Start(); try { @@ -57,7 +57,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("OperationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("Operations.List"); scope.Start(); try { @@ -79,7 +79,7 @@ public virtual Pageable List(CancellationToken cancellationToken = de { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("OperationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("Operations.List"); scope.Start(); try { @@ -94,7 +94,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("OperationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("Operations.List"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/P2SVpnGatewaysClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/P2SVpnGatewaysOperations.cs similarity index 95% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/P2SVpnGatewaysClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/P2SVpnGatewaysOperations.cs index e82abd671a1a7..bbdfc259ac018 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/P2SVpnGatewaysClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/P2SVpnGatewaysOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The P2SVpnGateways service client. - public partial class P2SVpnGatewaysClient + public partial class P2SVpnGatewaysOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal P2SVpnGatewaysRestClient RestClient { get; } - /// Initializes a new instance of P2SVpnGatewaysClient for mocking. - protected P2SVpnGatewaysClient() + internal P2SVpnGatewaysRestOperations RestClient { get; } + /// Initializes a new instance of P2SVpnGatewaysOperations for mocking. + protected P2SVpnGatewaysOperations() { } - /// Initializes a new instance of P2SVpnGatewaysClient. + /// Initializes a new instance of P2SVpnGatewaysOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal P2SVpnGatewaysClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal P2SVpnGatewaysOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new P2SVpnGatewaysRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new P2SVpnGatewaysRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal P2SVpnGatewaysClient(ClientDiagnostics clientDiagnostics, HttpPipeline /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string gatewayName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysClient.Get"); + using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string resourceGroup /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string gatewayName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysClient.Get"); + using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysOperations.Get"); scope.Start(); try { @@ -82,7 +82,7 @@ public virtual Response Get(string resourceGroupName, string gate /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string gatewayName, TagsObject p2SVpnGatewayParameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysOperations.UpdateTags"); scope.Start(); try { @@ -102,7 +102,7 @@ public virtual async Task> UpdateTagsAsync(string resour /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string gatewayName, TagsObject p2SVpnGatewayParameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysOperations.UpdateTags"); scope.Start(); try { @@ -127,7 +127,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(string reso async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysOperations.ListByResourceGroup"); scope.Start(); try { @@ -142,7 +142,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysOperations.ListByResourceGroup"); scope.Start(); try { @@ -170,7 +170,7 @@ public virtual Pageable ListByResourceGroup(string resourceGroupN Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysOperations.ListByResourceGroup"); scope.Start(); try { @@ -185,7 +185,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysOperations.ListByResourceGroup"); scope.Start(); try { @@ -207,7 +207,7 @@ public virtual AsyncPageable ListAsync(CancellationToken cancella { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysClient.List"); + using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysOperations.List"); scope.Start(); try { @@ -222,7 +222,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysClient.List"); + using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysOperations.List"); scope.Start(); try { @@ -244,7 +244,7 @@ public virtual Pageable List(CancellationToken cancellationToken { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysClient.List"); + using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysOperations.List"); scope.Start(); try { @@ -259,7 +259,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysClient.List"); + using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysOperations.List"); scope.Start(); try { @@ -295,7 +295,7 @@ public virtual async Task StartCreateOrUp throw new ArgumentNullException(nameof(p2SVpnGatewayParameters)); } - using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -329,7 +329,7 @@ public virtual P2SVpnGatewaysCreateOrUpdateOperation StartCreateOrUpdate(string throw new ArgumentNullException(nameof(p2SVpnGatewayParameters)); } - using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -358,7 +358,7 @@ public virtual async Task StartDeleteAsync(string throw new ArgumentNullException(nameof(gatewayName)); } - using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysOperations.StartDelete"); scope.Start(); try { @@ -387,7 +387,7 @@ public virtual P2SVpnGatewaysDeleteOperation StartDelete(string resourceGroupNam throw new ArgumentNullException(nameof(gatewayName)); } - using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysOperations.StartDelete"); scope.Start(); try { @@ -421,7 +421,7 @@ public virtual async Task StartGenera throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysClient.StartGenerateVpnProfile"); + using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysOperations.StartGenerateVpnProfile"); scope.Start(); try { @@ -455,7 +455,7 @@ public virtual P2SVpnGatewaysGenerateVpnProfileOperation StartGenerateVpnProfile throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysClient.StartGenerateVpnProfile"); + using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysOperations.StartGenerateVpnProfile"); scope.Start(); try { @@ -484,7 +484,7 @@ public virtual async Task Star throw new ArgumentNullException(nameof(gatewayName)); } - using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysClient.StartGetP2SVpnConnectionHealth"); + using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysOperations.StartGetP2SVpnConnectionHealth"); scope.Start(); try { @@ -513,7 +513,7 @@ public virtual P2SVpnGatewaysGetP2SVpnConnectionHealthOperation StartGetP2SVpnCo throw new ArgumentNullException(nameof(gatewayName)); } - using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysClient.StartGetP2SVpnConnectionHealth"); + using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysOperations.StartGetP2SVpnConnectionHealth"); scope.Start(); try { @@ -547,7 +547,7 @@ public virtual async Task St throw new ArgumentNullException(nameof(request)); } - using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysClient.StartDisconnectP2SVpnConnections"); + using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysOperations.StartDisconnectP2SVpnConnections"); scope.Start(); try { @@ -649,7 +649,7 @@ public virtual P2SVpnGatewaysDisconnectP2SVpnConnectionsOperation StartDisconnec throw new ArgumentNullException(nameof(request)); } - using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysClient.StartDisconnectP2SVpnConnections"); + using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysOperations.StartDisconnectP2SVpnConnections"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/P2SVpnGatewaysRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/P2SVpnGatewaysRestOperations.cs similarity index 99% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/P2SVpnGatewaysRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/P2SVpnGatewaysRestOperations.cs index 9a185656c0da8..50dc35706ec26 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/P2SVpnGatewaysRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/P2SVpnGatewaysRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class P2SVpnGatewaysRestClient + internal partial class P2SVpnGatewaysRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of P2SVpnGatewaysRestClient. + /// Initializes a new instance of P2SVpnGatewaysRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public P2SVpnGatewaysRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public P2SVpnGatewaysRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/PacketCapturesClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/PacketCapturesOperations.cs similarity index 95% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/PacketCapturesClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/PacketCapturesOperations.cs index 7cc34d9a2a3b9..9b29c8cbe0be1 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/PacketCapturesClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/PacketCapturesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The PacketCaptures service client. - public partial class PacketCapturesClient + public partial class PacketCapturesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal PacketCapturesRestClient RestClient { get; } - /// Initializes a new instance of PacketCapturesClient for mocking. - protected PacketCapturesClient() + internal PacketCapturesRestOperations RestClient { get; } + /// Initializes a new instance of PacketCapturesOperations for mocking. + protected PacketCapturesOperations() { } - /// Initializes a new instance of PacketCapturesClient. + /// Initializes a new instance of PacketCapturesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal PacketCapturesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal PacketCapturesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new PacketCapturesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new PacketCapturesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal PacketCapturesClient(ClientDiagnostics clientDiagnostics, HttpPipeline /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string networkWatcherName, string packetCaptureName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PacketCapturesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("PacketCapturesOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourc /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string networkWatcherName, string packetCaptureName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PacketCapturesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("PacketCapturesOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListAsync(string resourceGroup async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PacketCapturesClient.List"); + using var scope = _clientDiagnostics.CreateScope("PacketCapturesOperations.List"); scope.Start(); try { @@ -127,7 +127,7 @@ public virtual Pageable List(string resourceGroupName, stri Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PacketCapturesClient.List"); + using var scope = _clientDiagnostics.CreateScope("PacketCapturesOperations.List"); scope.Start(); try { @@ -168,7 +168,7 @@ public virtual async Task StartCreateAsync(string throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("PacketCapturesClient.StartCreate"); + using var scope = _clientDiagnostics.CreateScope("PacketCapturesOperations.StartCreate"); scope.Start(); try { @@ -207,7 +207,7 @@ public virtual PacketCapturesCreateOperation StartCreate(string resourceGroupNam throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("PacketCapturesClient.StartCreate"); + using var scope = _clientDiagnostics.CreateScope("PacketCapturesOperations.StartCreate"); scope.Start(); try { @@ -241,7 +241,7 @@ public virtual async Task StartDeleteAsync(string throw new ArgumentNullException(nameof(packetCaptureName)); } - using var scope = _clientDiagnostics.CreateScope("PacketCapturesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("PacketCapturesOperations.StartDelete"); scope.Start(); try { @@ -275,7 +275,7 @@ public virtual PacketCapturesDeleteOperation StartDelete(string resourceGroupNam throw new ArgumentNullException(nameof(packetCaptureName)); } - using var scope = _clientDiagnostics.CreateScope("PacketCapturesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("PacketCapturesOperations.StartDelete"); scope.Start(); try { @@ -309,7 +309,7 @@ public virtual async Task StartStopAsync(string res throw new ArgumentNullException(nameof(packetCaptureName)); } - using var scope = _clientDiagnostics.CreateScope("PacketCapturesClient.StartStop"); + using var scope = _clientDiagnostics.CreateScope("PacketCapturesOperations.StartStop"); scope.Start(); try { @@ -343,7 +343,7 @@ public virtual PacketCapturesStopOperation StartStop(string resourceGroupName, s throw new ArgumentNullException(nameof(packetCaptureName)); } - using var scope = _clientDiagnostics.CreateScope("PacketCapturesClient.StartStop"); + using var scope = _clientDiagnostics.CreateScope("PacketCapturesOperations.StartStop"); scope.Start(); try { @@ -377,7 +377,7 @@ public virtual async Task StartGetStatusAsync( throw new ArgumentNullException(nameof(packetCaptureName)); } - using var scope = _clientDiagnostics.CreateScope("PacketCapturesClient.StartGetStatus"); + using var scope = _clientDiagnostics.CreateScope("PacketCapturesOperations.StartGetStatus"); scope.Start(); try { @@ -411,7 +411,7 @@ public virtual PacketCapturesGetStatusOperation StartGetStatus(string resourceGr throw new ArgumentNullException(nameof(packetCaptureName)); } - using var scope = _clientDiagnostics.CreateScope("PacketCapturesClient.StartGetStatus"); + using var scope = _clientDiagnostics.CreateScope("PacketCapturesOperations.StartGetStatus"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/PacketCapturesRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/PacketCapturesRestOperations.cs similarity index 99% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/PacketCapturesRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/PacketCapturesRestOperations.cs index 08d40283cf1ed..ebc37a893e6b0 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/PacketCapturesRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/PacketCapturesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class PacketCapturesRestClient + internal partial class PacketCapturesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of PacketCapturesRestClient. + /// Initializes a new instance of PacketCapturesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public PacketCapturesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public PacketCapturesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/PeerExpressRouteCircuitConnectionsClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/PeerExpressRouteCircuitConnectionsOperations.cs similarity index 90% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/PeerExpressRouteCircuitConnectionsClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/PeerExpressRouteCircuitConnectionsOperations.cs index 8b6883e8f2ffd..9eaf7bbd85c92 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/PeerExpressRouteCircuitConnectionsClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/PeerExpressRouteCircuitConnectionsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The PeerExpressRouteCircuitConnections service client. - public partial class PeerExpressRouteCircuitConnectionsClient + public partial class PeerExpressRouteCircuitConnectionsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal PeerExpressRouteCircuitConnectionsRestClient RestClient { get; } - /// Initializes a new instance of PeerExpressRouteCircuitConnectionsClient for mocking. - protected PeerExpressRouteCircuitConnectionsClient() + internal PeerExpressRouteCircuitConnectionsRestOperations RestClient { get; } + /// Initializes a new instance of PeerExpressRouteCircuitConnectionsOperations for mocking. + protected PeerExpressRouteCircuitConnectionsOperations() { } - /// Initializes a new instance of PeerExpressRouteCircuitConnectionsClient. + /// Initializes a new instance of PeerExpressRouteCircuitConnectionsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal PeerExpressRouteCircuitConnectionsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal PeerExpressRouteCircuitConnectionsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new PeerExpressRouteCircuitConnectionsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new PeerExpressRouteCircuitConnectionsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -45,7 +45,7 @@ internal PeerExpressRouteCircuitConnectionsClient(ClientDiagnostics clientDiagno /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string circuitName, string peeringName, string connectionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PeerExpressRouteCircuitConnectionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("PeerExpressRouteCircuitConnectionsOperations.Get"); scope.Start(); try { @@ -66,7 +66,7 @@ public virtual async Task> GetAsync( /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string circuitName, string peeringName, string connectionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PeerExpressRouteCircuitConnectionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("PeerExpressRouteCircuitConnectionsOperations.Get"); scope.Start(); try { @@ -101,7 +101,7 @@ public virtual AsyncPageable ListAsync(string async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PeerExpressRouteCircuitConnectionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("PeerExpressRouteCircuitConnectionsOperations.List"); scope.Start(); try { @@ -116,7 +116,7 @@ async Task> FirstPageFunc(int? pageSizeH } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PeerExpressRouteCircuitConnectionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("PeerExpressRouteCircuitConnectionsOperations.List"); scope.Start(); try { @@ -154,7 +154,7 @@ public virtual Pageable List(string resourceG Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PeerExpressRouteCircuitConnectionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("PeerExpressRouteCircuitConnectionsOperations.List"); scope.Start(); try { @@ -169,7 +169,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PeerExpressRouteCircuitConnectionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("PeerExpressRouteCircuitConnectionsOperations.List"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/PeerExpressRouteCircuitConnectionsRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/PeerExpressRouteCircuitConnectionsRestOperations.cs similarity index 98% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/PeerExpressRouteCircuitConnectionsRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/PeerExpressRouteCircuitConnectionsRestOperations.cs index 16b4b6990fbda..1e198836bcc96 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/PeerExpressRouteCircuitConnectionsRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/PeerExpressRouteCircuitConnectionsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class PeerExpressRouteCircuitConnectionsRestClient + internal partial class PeerExpressRouteCircuitConnectionsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of PeerExpressRouteCircuitConnectionsRestClient. + /// Initializes a new instance of PeerExpressRouteCircuitConnectionsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public PeerExpressRouteCircuitConnectionsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public PeerExpressRouteCircuitConnectionsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/PrivateDnsZoneGroupsClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/PrivateDnsZoneGroupsOperations.cs similarity index 94% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/PrivateDnsZoneGroupsClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/PrivateDnsZoneGroupsOperations.cs index 0d52120ef314c..5c6fe1f003dd6 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/PrivateDnsZoneGroupsClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/PrivateDnsZoneGroupsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The PrivateDnsZoneGroups service client. - public partial class PrivateDnsZoneGroupsClient + public partial class PrivateDnsZoneGroupsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal PrivateDnsZoneGroupsRestClient RestClient { get; } - /// Initializes a new instance of PrivateDnsZoneGroupsClient for mocking. - protected PrivateDnsZoneGroupsClient() + internal PrivateDnsZoneGroupsRestOperations RestClient { get; } + /// Initializes a new instance of PrivateDnsZoneGroupsOperations for mocking. + protected PrivateDnsZoneGroupsOperations() { } - /// Initializes a new instance of PrivateDnsZoneGroupsClient. + /// Initializes a new instance of PrivateDnsZoneGroupsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal PrivateDnsZoneGroupsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal PrivateDnsZoneGroupsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new PrivateDnsZoneGroupsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new PrivateDnsZoneGroupsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal PrivateDnsZoneGroupsClient(ClientDiagnostics clientDiagnostics, HttpPip /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string privateEndpointName, string privateDnsZoneGroupName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateDnsZoneGroupsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("PrivateDnsZoneGroupsOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourc /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string privateEndpointName, string privateDnsZoneGroupName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateDnsZoneGroupsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("PrivateDnsZoneGroupsOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListAsync(string privateEndpoi async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateDnsZoneGroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("PrivateDnsZoneGroupsOperations.List"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateDnsZoneGroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("PrivateDnsZoneGroupsOperations.List"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable List(string privateEndpointName, st Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateDnsZoneGroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("PrivateDnsZoneGroupsOperations.List"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateDnsZoneGroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("PrivateDnsZoneGroupsOperations.List"); scope.Start(); try { @@ -193,7 +193,7 @@ public virtual async Task StartDeleteAsync( throw new ArgumentNullException(nameof(privateDnsZoneGroupName)); } - using var scope = _clientDiagnostics.CreateScope("PrivateDnsZoneGroupsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("PrivateDnsZoneGroupsOperations.StartDelete"); scope.Start(); try { @@ -227,7 +227,7 @@ public virtual PrivateDnsZoneGroupsDeleteOperation StartDelete(string resourceGr throw new ArgumentNullException(nameof(privateDnsZoneGroupName)); } - using var scope = _clientDiagnostics.CreateScope("PrivateDnsZoneGroupsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("PrivateDnsZoneGroupsOperations.StartDelete"); scope.Start(); try { @@ -266,7 +266,7 @@ public virtual async Task StartCrea throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("PrivateDnsZoneGroupsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("PrivateDnsZoneGroupsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -305,7 +305,7 @@ public virtual PrivateDnsZoneGroupsCreateOrUpdateOperation StartCreateOrUpdate(s throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("PrivateDnsZoneGroupsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("PrivateDnsZoneGroupsOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/PrivateDnsZoneGroupsRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/PrivateDnsZoneGroupsRestOperations.cs similarity index 99% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/PrivateDnsZoneGroupsRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/PrivateDnsZoneGroupsRestOperations.cs index 2e2c521b29412..ad9206b4c0209 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/PrivateDnsZoneGroupsRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/PrivateDnsZoneGroupsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class PrivateDnsZoneGroupsRestClient + internal partial class PrivateDnsZoneGroupsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of PrivateDnsZoneGroupsRestClient. + /// Initializes a new instance of PrivateDnsZoneGroupsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public PrivateDnsZoneGroupsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public PrivateDnsZoneGroupsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/PrivateEndpointsClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/PrivateEndpointsOperations.cs similarity index 93% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/PrivateEndpointsClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/PrivateEndpointsOperations.cs index 72fce6cd25eea..84eec4a54b48d 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/PrivateEndpointsClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/PrivateEndpointsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The PrivateEndpoints service client. - public partial class PrivateEndpointsClient + public partial class PrivateEndpointsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal PrivateEndpointsRestClient RestClient { get; } - /// Initializes a new instance of PrivateEndpointsClient for mocking. - protected PrivateEndpointsClient() + internal PrivateEndpointsRestOperations RestClient { get; } + /// Initializes a new instance of PrivateEndpointsOperations for mocking. + protected PrivateEndpointsOperations() { } - /// Initializes a new instance of PrivateEndpointsClient. + /// Initializes a new instance of PrivateEndpointsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal PrivateEndpointsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal PrivateEndpointsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new PrivateEndpointsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new PrivateEndpointsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal PrivateEndpointsClient(ClientDiagnostics clientDiagnostics, HttpPipelin /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string privateEndpointName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGro /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string privateEndpointName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsOperations.Get"); scope.Start(); try { @@ -89,7 +89,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsClient.List"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsOperations.List"); scope.Start(); try { @@ -104,7 +104,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsClient.List"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsOperations.List"); scope.Start(); try { @@ -132,7 +132,7 @@ public virtual Pageable List(string resourceGroupName, Cancella Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsClient.List"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsOperations.List"); scope.Start(); try { @@ -147,7 +147,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsClient.List"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsOperations.List"); scope.Start(); try { @@ -169,7 +169,7 @@ public virtual AsyncPageable ListBySubscriptionAsync(Cancellati { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsOperations.ListBySubscription"); scope.Start(); try { @@ -184,7 +184,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsOperations.ListBySubscription"); scope.Start(); try { @@ -206,7 +206,7 @@ public virtual Pageable ListBySubscription(CancellationToken ca { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsOperations.ListBySubscription"); scope.Start(); try { @@ -221,7 +221,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsOperations.ListBySubscription"); scope.Start(); try { @@ -252,7 +252,7 @@ public virtual async Task StartDeleteAsync(stri throw new ArgumentNullException(nameof(privateEndpointName)); } - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsOperations.StartDelete"); scope.Start(); try { @@ -281,7 +281,7 @@ public virtual PrivateEndpointsDeleteOperation StartDelete(string resourceGroupN throw new ArgumentNullException(nameof(privateEndpointName)); } - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsOperations.StartDelete"); scope.Start(); try { @@ -315,7 +315,7 @@ public virtual async Task StartCreateOr throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -349,7 +349,7 @@ public virtual PrivateEndpointsCreateOrUpdateOperation StartCreateOrUpdate(strin throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/PrivateEndpointsRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/PrivateEndpointsRestOperations.cs similarity index 99% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/PrivateEndpointsRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/PrivateEndpointsRestOperations.cs index 17f81755d93bd..734c4fad235f1 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/PrivateEndpointsRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/PrivateEndpointsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class PrivateEndpointsRestClient + internal partial class PrivateEndpointsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of PrivateEndpointsRestClient. + /// Initializes a new instance of PrivateEndpointsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public PrivateEndpointsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public PrivateEndpointsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/PrivateLinkServicesClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/PrivateLinkServicesOperations.cs similarity index 94% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/PrivateLinkServicesClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/PrivateLinkServicesOperations.cs index d7d8543f42c05..387b087f252c6 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/PrivateLinkServicesClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/PrivateLinkServicesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The PrivateLinkServices service client. - public partial class PrivateLinkServicesClient + public partial class PrivateLinkServicesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal PrivateLinkServicesRestClient RestClient { get; } - /// Initializes a new instance of PrivateLinkServicesClient for mocking. - protected PrivateLinkServicesClient() + internal PrivateLinkServicesRestOperations RestClient { get; } + /// Initializes a new instance of PrivateLinkServicesOperations for mocking. + protected PrivateLinkServicesOperations() { } - /// Initializes a new instance of PrivateLinkServicesClient. + /// Initializes a new instance of PrivateLinkServicesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal PrivateLinkServicesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal PrivateLinkServicesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new PrivateLinkServicesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new PrivateLinkServicesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal PrivateLinkServicesClient(ClientDiagnostics clientDiagnostics, HttpPipe /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string serviceName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resource /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string serviceName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.Get"); scope.Start(); try { @@ -85,7 +85,7 @@ public virtual Response Get(string resourceGroupName, string /// The cancellation token to use. public virtual async Task> GetPrivateEndpointConnectionAsync(string resourceGroupName, string serviceName, string peConnectionName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.GetPrivateEndpointConnection"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.GetPrivateEndpointConnection"); scope.Start(); try { @@ -106,7 +106,7 @@ public virtual async Task> GetPrivateEndpoin /// The cancellation token to use. public virtual Response GetPrivateEndpointConnection(string resourceGroupName, string serviceName, string peConnectionName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.GetPrivateEndpointConnection"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.GetPrivateEndpointConnection"); scope.Start(); try { @@ -127,7 +127,7 @@ public virtual Response GetPrivateEndpointConnection( /// The cancellation token to use. public virtual async Task> UpdatePrivateEndpointConnectionAsync(string resourceGroupName, string serviceName, string peConnectionName, PrivateEndpointConnection parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.UpdatePrivateEndpointConnection"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.UpdatePrivateEndpointConnection"); scope.Start(); try { @@ -148,7 +148,7 @@ public virtual async Task> UpdatePrivateEndp /// The cancellation token to use. public virtual Response UpdatePrivateEndpointConnection(string resourceGroupName, string serviceName, string peConnectionName, PrivateEndpointConnection parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.UpdatePrivateEndpointConnection"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.UpdatePrivateEndpointConnection"); scope.Start(); try { @@ -167,7 +167,7 @@ public virtual Response UpdatePrivateEndpointConnecti /// The cancellation token to use. public virtual async Task> CheckPrivateLinkServiceVisibilityAsync(string location, CheckPrivateLinkServiceVisibilityRequest parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.CheckPrivateLinkServiceVisibility"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.CheckPrivateLinkServiceVisibility"); scope.Start(); try { @@ -186,7 +186,7 @@ public virtual async Task> CheckPrivateLi /// The cancellation token to use. public virtual Response CheckPrivateLinkServiceVisibility(string location, CheckPrivateLinkServiceVisibilityRequest parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.CheckPrivateLinkServiceVisibility"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.CheckPrivateLinkServiceVisibility"); scope.Start(); try { @@ -206,7 +206,7 @@ public virtual Response CheckPrivateLinkServiceVis /// The cancellation token to use. public virtual async Task> CheckPrivateLinkServiceVisibilityByResourceGroupAsync(string location, string resourceGroupName, CheckPrivateLinkServiceVisibilityRequest parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.CheckPrivateLinkServiceVisibilityByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.CheckPrivateLinkServiceVisibilityByResourceGroup"); scope.Start(); try { @@ -226,7 +226,7 @@ public virtual async Task> CheckPrivateLi /// The cancellation token to use. public virtual Response CheckPrivateLinkServiceVisibilityByResourceGroup(string location, string resourceGroupName, CheckPrivateLinkServiceVisibilityRequest parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.CheckPrivateLinkServiceVisibilityByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.CheckPrivateLinkServiceVisibilityByResourceGroup"); scope.Start(); try { @@ -251,7 +251,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupN async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.List"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.List"); scope.Start(); try { @@ -266,7 +266,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.List"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.List"); scope.Start(); try { @@ -294,7 +294,7 @@ public virtual Pageable List(string resourceGroupName, Cance Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.List"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.List"); scope.Start(); try { @@ -309,7 +309,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.List"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.List"); scope.Start(); try { @@ -331,7 +331,7 @@ public virtual AsyncPageable ListBySubscriptionAsync(Cancell { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.ListBySubscription"); scope.Start(); try { @@ -346,7 +346,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.ListBySubscription"); scope.Start(); try { @@ -368,7 +368,7 @@ public virtual Pageable ListBySubscription(CancellationToken { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.ListBySubscription"); scope.Start(); try { @@ -383,7 +383,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.ListBySubscription"); scope.Start(); try { @@ -416,7 +416,7 @@ public virtual AsyncPageable ListPrivateEndpointConne async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.ListPrivateEndpointConnections"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.ListPrivateEndpointConnections"); scope.Start(); try { @@ -431,7 +431,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.ListPrivateEndpointConnections"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.ListPrivateEndpointConnections"); scope.Start(); try { @@ -464,7 +464,7 @@ public virtual Pageable ListPrivateEndpointConnection Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.ListPrivateEndpointConnections"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.ListPrivateEndpointConnections"); scope.Start(); try { @@ -479,7 +479,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.ListPrivateEndpointConnections"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.ListPrivateEndpointConnections"); scope.Start(); try { @@ -507,7 +507,7 @@ public virtual AsyncPageable ListAutoApprovedPri async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.ListAutoApprovedPrivateLinkServices"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.ListAutoApprovedPrivateLinkServices"); scope.Start(); try { @@ -522,7 +522,7 @@ async Task> FirstPageFunc(int? pageSizeHint } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.ListAutoApprovedPrivateLinkServices"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.ListAutoApprovedPrivateLinkServices"); scope.Start(); try { @@ -550,7 +550,7 @@ public virtual Pageable ListAutoApprovedPrivateL Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.ListAutoApprovedPrivateLinkServices"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.ListAutoApprovedPrivateLinkServices"); scope.Start(); try { @@ -565,7 +565,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.ListAutoApprovedPrivateLinkServices"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.ListAutoApprovedPrivateLinkServices"); scope.Start(); try { @@ -598,7 +598,7 @@ public virtual AsyncPageable ListAutoApprovedPri async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.ListAutoApprovedPrivateLinkServicesByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.ListAutoApprovedPrivateLinkServicesByResourceGroup"); scope.Start(); try { @@ -613,7 +613,7 @@ async Task> FirstPageFunc(int? pageSizeHint } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.ListAutoApprovedPrivateLinkServicesByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.ListAutoApprovedPrivateLinkServicesByResourceGroup"); scope.Start(); try { @@ -646,7 +646,7 @@ public virtual Pageable ListAutoApprovedPrivateL Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.ListAutoApprovedPrivateLinkServicesByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.ListAutoApprovedPrivateLinkServicesByResourceGroup"); scope.Start(); try { @@ -661,7 +661,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.ListAutoApprovedPrivateLinkServicesByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.ListAutoApprovedPrivateLinkServicesByResourceGroup"); scope.Start(); try { @@ -692,7 +692,7 @@ public virtual async Task StartDeleteAsync(s throw new ArgumentNullException(nameof(serviceName)); } - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.StartDelete"); scope.Start(); try { @@ -721,7 +721,7 @@ public virtual PrivateLinkServicesDeleteOperation StartDelete(string resourceGro throw new ArgumentNullException(nameof(serviceName)); } - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.StartDelete"); scope.Start(); try { @@ -755,7 +755,7 @@ public virtual async Task StartCreat throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -789,7 +789,7 @@ public virtual PrivateLinkServicesCreateOrUpdateOperation StartCreateOrUpdate(st throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -823,7 +823,7 @@ public virtual async Task Initializes a new instance of PrivateLinkServicesRestClient. + /// Initializes a new instance of PrivateLinkServicesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public PrivateLinkServicesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public PrivateLinkServicesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/PublicIPAddressesClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/PublicIPAddressesOperations.cs similarity index 94% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/PublicIPAddressesClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/PublicIPAddressesOperations.cs index c79c0000b3f5f..66fbe2d7c5725 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/PublicIPAddressesClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/PublicIPAddressesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The PublicIPAddresses service client. - public partial class PublicIPAddressesClient + public partial class PublicIPAddressesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal PublicIPAddressesRestClient RestClient { get; } - /// Initializes a new instance of PublicIPAddressesClient for mocking. - protected PublicIPAddressesClient() + internal PublicIPAddressesRestOperations RestClient { get; } + /// Initializes a new instance of PublicIPAddressesOperations for mocking. + protected PublicIPAddressesOperations() { } - /// Initializes a new instance of PublicIPAddressesClient. + /// Initializes a new instance of PublicIPAddressesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal PublicIPAddressesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal PublicIPAddressesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new PublicIPAddressesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new PublicIPAddressesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal PublicIPAddressesClient(ClientDiagnostics clientDiagnostics, HttpPipeli /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string publicIpAddressName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGro /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string publicIpAddressName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.Get"); scope.Start(); try { @@ -84,7 +84,7 @@ public virtual Response Get(string resourceGroupName, string pu /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string publicIpAddressName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.UpdateTags"); scope.Start(); try { @@ -104,7 +104,7 @@ public virtual async Task> UpdateTagsAsync(string reso /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string publicIpAddressName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.UpdateTags"); scope.Start(); try { @@ -128,7 +128,7 @@ public virtual Response UpdateTags(string resourceGroupName, st /// The cancellation token to use. public virtual async Task> GetVirtualMachineScaleSetPublicIPAddressAsync(string resourceGroupName, string virtualMachineScaleSetName, string virtualmachineIndex, string networkInterfaceName, string ipConfigurationName, string publicIpAddressName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.GetVirtualMachineScaleSetPublicIPAddress"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.GetVirtualMachineScaleSetPublicIPAddress"); scope.Start(); try { @@ -152,7 +152,7 @@ public virtual async Task> GetVirtualMachineScaleSetPu /// The cancellation token to use. public virtual Response GetVirtualMachineScaleSetPublicIPAddress(string resourceGroupName, string virtualMachineScaleSetName, string virtualmachineIndex, string networkInterfaceName, string ipConfigurationName, string publicIpAddressName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.GetVirtualMachineScaleSetPublicIPAddress"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.GetVirtualMachineScaleSetPublicIPAddress"); scope.Start(); try { @@ -171,7 +171,7 @@ public virtual AsyncPageable ListAllAsync(CancellationToken can { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.ListAll"); scope.Start(); try { @@ -186,7 +186,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.ListAll"); scope.Start(); try { @@ -208,7 +208,7 @@ public virtual Pageable ListAll(CancellationToken cancellationT { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.ListAll"); scope.Start(); try { @@ -223,7 +223,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.ListAll"); scope.Start(); try { @@ -251,7 +251,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.List"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.List"); scope.Start(); try { @@ -266,7 +266,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.List"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.List"); scope.Start(); try { @@ -294,7 +294,7 @@ public virtual Pageable List(string resourceGroupName, Cancella Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.List"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.List"); scope.Start(); try { @@ -309,7 +309,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.List"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.List"); scope.Start(); try { @@ -342,7 +342,7 @@ public virtual AsyncPageable ListVirtualMachineScaleSetPublicIP async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.ListVirtualMachineScaleSetPublicIPAddresses"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.ListVirtualMachineScaleSetPublicIPAddresses"); scope.Start(); try { @@ -357,7 +357,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.ListVirtualMachineScaleSetPublicIPAddresses"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.ListVirtualMachineScaleSetPublicIPAddresses"); scope.Start(); try { @@ -390,7 +390,7 @@ public virtual Pageable ListVirtualMachineScaleSetPublicIPAddre Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.ListVirtualMachineScaleSetPublicIPAddresses"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.ListVirtualMachineScaleSetPublicIPAddresses"); scope.Start(); try { @@ -405,7 +405,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.ListVirtualMachineScaleSetPublicIPAddresses"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.ListVirtualMachineScaleSetPublicIPAddresses"); scope.Start(); try { @@ -453,7 +453,7 @@ public virtual AsyncPageable ListVirtualMachineScaleSetVMPublic async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.ListVirtualMachineScaleSetVMPublicIPAddresses"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.ListVirtualMachineScaleSetVMPublicIPAddresses"); scope.Start(); try { @@ -468,7 +468,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.ListVirtualMachineScaleSetVMPublicIPAddresses"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.ListVirtualMachineScaleSetVMPublicIPAddresses"); scope.Start(); try { @@ -516,7 +516,7 @@ public virtual Pageable ListVirtualMachineScaleSetVMPublicIPAdd Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.ListVirtualMachineScaleSetVMPublicIPAddresses"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.ListVirtualMachineScaleSetVMPublicIPAddresses"); scope.Start(); try { @@ -531,7 +531,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.ListVirtualMachineScaleSetVMPublicIPAddresses"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.ListVirtualMachineScaleSetVMPublicIPAddresses"); scope.Start(); try { @@ -562,7 +562,7 @@ public virtual async Task StartDeleteAsync(str throw new ArgumentNullException(nameof(publicIpAddressName)); } - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.StartDelete"); scope.Start(); try { @@ -591,7 +591,7 @@ public virtual PublicIPAddressesDeleteOperation StartDelete(string resourceGroup throw new ArgumentNullException(nameof(publicIpAddressName)); } - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.StartDelete"); scope.Start(); try { @@ -625,7 +625,7 @@ public virtual async Task StartCreateO throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -659,7 +659,7 @@ public virtual PublicIPAddressesCreateOrUpdateOperation StartCreateOrUpdate(stri throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/PublicIPAddressesRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/PublicIPAddressesRestOperations.cs similarity index 99% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/PublicIPAddressesRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/PublicIPAddressesRestOperations.cs index b390faa795232..932be43fdbd28 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/PublicIPAddressesRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/PublicIPAddressesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class PublicIPAddressesRestClient + internal partial class PublicIPAddressesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of PublicIPAddressesRestClient. + /// Initializes a new instance of PublicIPAddressesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public PublicIPAddressesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public PublicIPAddressesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/PublicIPPrefixesClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/PublicIPPrefixesOperations.cs similarity index 94% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/PublicIPPrefixesClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/PublicIPPrefixesOperations.cs index 2f77f9e4a7e12..f93c87cc037ad 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/PublicIPPrefixesClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/PublicIPPrefixesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The PublicIPPrefixes service client. - public partial class PublicIPPrefixesClient + public partial class PublicIPPrefixesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal PublicIPPrefixesRestClient RestClient { get; } - /// Initializes a new instance of PublicIPPrefixesClient for mocking. - protected PublicIPPrefixesClient() + internal PublicIPPrefixesRestOperations RestClient { get; } + /// Initializes a new instance of PublicIPPrefixesOperations for mocking. + protected PublicIPPrefixesOperations() { } - /// Initializes a new instance of PublicIPPrefixesClient. + /// Initializes a new instance of PublicIPPrefixesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal PublicIPPrefixesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal PublicIPPrefixesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new PublicIPPrefixesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new PublicIPPrefixesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal PublicIPPrefixesClient(ClientDiagnostics clientDiagnostics, HttpPipelin /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string publicIpPrefixName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGrou /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string publicIpPrefixName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesOperations.Get"); scope.Start(); try { @@ -84,7 +84,7 @@ public virtual Response Get(string resourceGroupName, string pub /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string publicIpPrefixName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesOperations.UpdateTags"); scope.Start(); try { @@ -104,7 +104,7 @@ public virtual async Task> UpdateTagsAsync(string resou /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string publicIpPrefixName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesOperations.UpdateTags"); scope.Start(); try { @@ -123,7 +123,7 @@ public virtual AsyncPageable ListAllAsync(CancellationToken canc { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesOperations.ListAll"); scope.Start(); try { @@ -138,7 +138,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesOperations.ListAll"); scope.Start(); try { @@ -160,7 +160,7 @@ public virtual Pageable ListAll(CancellationToken cancellationTo { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesOperations.ListAll"); scope.Start(); try { @@ -175,7 +175,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesOperations.ListAll"); scope.Start(); try { @@ -203,7 +203,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName, async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesClient.List"); + using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesOperations.List"); scope.Start(); try { @@ -218,7 +218,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesClient.List"); + using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesOperations.List"); scope.Start(); try { @@ -246,7 +246,7 @@ public virtual Pageable List(string resourceGroupName, Cancellat Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesClient.List"); + using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesOperations.List"); scope.Start(); try { @@ -261,7 +261,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesClient.List"); + using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesOperations.List"); scope.Start(); try { @@ -292,7 +292,7 @@ public virtual async Task StartDeleteAsync(stri throw new ArgumentNullException(nameof(publicIpPrefixName)); } - using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesOperations.StartDelete"); scope.Start(); try { @@ -321,7 +321,7 @@ public virtual PublicIPPrefixesDeleteOperation StartDelete(string resourceGroupN throw new ArgumentNullException(nameof(publicIpPrefixName)); } - using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesOperations.StartDelete"); scope.Start(); try { @@ -355,7 +355,7 @@ public virtual async Task StartCreateOr throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -389,7 +389,7 @@ public virtual PublicIPPrefixesCreateOrUpdateOperation StartCreateOrUpdate(strin throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/PublicIPPrefixesRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/PublicIPPrefixesRestOperations.cs similarity index 99% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/PublicIPPrefixesRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/PublicIPPrefixesRestOperations.cs index f1dbe05120047..28840f4e4ffae 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/PublicIPPrefixesRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/PublicIPPrefixesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class PublicIPPrefixesRestClient + internal partial class PublicIPPrefixesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of PublicIPPrefixesRestClient. + /// Initializes a new instance of PublicIPPrefixesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public PublicIPPrefixesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public PublicIPPrefixesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ResourceNavigationLinksClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ResourceNavigationLinksOperations.cs similarity index 84% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/ResourceNavigationLinksClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/ResourceNavigationLinksOperations.cs index 7823ae7e4f435..407926ea311d9 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ResourceNavigationLinksClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ResourceNavigationLinksOperations.cs @@ -15,23 +15,23 @@ namespace Azure.ResourceManager.Network { /// The ResourceNavigationLinks service client. - public partial class ResourceNavigationLinksClient + public partial class ResourceNavigationLinksOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ResourceNavigationLinksRestClient RestClient { get; } - /// Initializes a new instance of ResourceNavigationLinksClient for mocking. - protected ResourceNavigationLinksClient() + internal ResourceNavigationLinksRestOperations RestClient { get; } + /// Initializes a new instance of ResourceNavigationLinksOperations for mocking. + protected ResourceNavigationLinksOperations() { } - /// Initializes a new instance of ResourceNavigationLinksClient. + /// Initializes a new instance of ResourceNavigationLinksOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ResourceNavigationLinksClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ResourceNavigationLinksOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ResourceNavigationLinksRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ResourceNavigationLinksRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal ResourceNavigationLinksClient(ClientDiagnostics clientDiagnostics, Http /// The cancellation token to use. public virtual async Task> ListAsync(string resourceGroupName, string virtualNetworkName, string subnetName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ResourceNavigationLinksClient.List"); + using var scope = _clientDiagnostics.CreateScope("ResourceNavigationLinksOperations.List"); scope.Start(); try { @@ -63,7 +63,7 @@ public virtual async Task> ListAsync /// The cancellation token to use. public virtual Response List(string resourceGroupName, string virtualNetworkName, string subnetName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ResourceNavigationLinksClient.List"); + using var scope = _clientDiagnostics.CreateScope("ResourceNavigationLinksOperations.List"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ResourceNavigationLinksRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ResourceNavigationLinksRestOperations.cs similarity index 96% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/ResourceNavigationLinksRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/ResourceNavigationLinksRestOperations.cs index 4031a9d88e46d..8a69d14735216 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ResourceNavigationLinksRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ResourceNavigationLinksRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class ResourceNavigationLinksRestClient + internal partial class ResourceNavigationLinksRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ResourceNavigationLinksRestClient. + /// Initializes a new instance of ResourceNavigationLinksRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ResourceNavigationLinksRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ResourceNavigationLinksRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/OperationsRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/RestOperations.cs similarity index 96% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/OperationsRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/RestOperations.cs index 59e4691d36526..55ff305ce2505 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/OperationsRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/RestOperations.cs @@ -16,17 +16,17 @@ namespace Azure.ResourceManager.Network { - internal partial class OperationsRestClient + internal partial class RestOperations { private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of OperationsRestClient. + /// Initializes a new instance of RestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// server parameter. - public OperationsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null) + public RestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null) { endpoint ??= new Uri("https://management.azure.com"); diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/RouteFilterRulesClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/RouteFilterRulesOperations.cs similarity index 94% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/RouteFilterRulesClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/RouteFilterRulesOperations.cs index 907eae83b0895..2f372f6bc5579 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/RouteFilterRulesClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/RouteFilterRulesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The RouteFilterRules service client. - public partial class RouteFilterRulesClient + public partial class RouteFilterRulesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal RouteFilterRulesRestClient RestClient { get; } - /// Initializes a new instance of RouteFilterRulesClient for mocking. - protected RouteFilterRulesClient() + internal RouteFilterRulesRestOperations RestClient { get; } + /// Initializes a new instance of RouteFilterRulesOperations for mocking. + protected RouteFilterRulesOperations() { } - /// Initializes a new instance of RouteFilterRulesClient. + /// Initializes a new instance of RouteFilterRulesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal RouteFilterRulesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal RouteFilterRulesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new RouteFilterRulesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new RouteFilterRulesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal RouteFilterRulesClient(ClientDiagnostics clientDiagnostics, HttpPipelin /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string routeFilterName, string ruleName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("RouteFilterRulesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("RouteFilterRulesOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGro /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string routeFilterName, string ruleName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("RouteFilterRulesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("RouteFilterRulesOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListByRouteFilterAsync(string reso async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RouteFilterRulesClient.ListByRouteFilter"); + using var scope = _clientDiagnostics.CreateScope("RouteFilterRulesOperations.ListByRouteFilter"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RouteFilterRulesClient.ListByRouteFilter"); + using var scope = _clientDiagnostics.CreateScope("RouteFilterRulesOperations.ListByRouteFilter"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable ListByRouteFilter(string resourceGroupN Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RouteFilterRulesClient.ListByRouteFilter"); + using var scope = _clientDiagnostics.CreateScope("RouteFilterRulesOperations.ListByRouteFilter"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RouteFilterRulesClient.ListByRouteFilter"); + using var scope = _clientDiagnostics.CreateScope("RouteFilterRulesOperations.ListByRouteFilter"); scope.Start(); try { @@ -193,7 +193,7 @@ public virtual async Task StartDeleteAsync(stri throw new ArgumentNullException(nameof(ruleName)); } - using var scope = _clientDiagnostics.CreateScope("RouteFilterRulesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("RouteFilterRulesOperations.StartDelete"); scope.Start(); try { @@ -227,7 +227,7 @@ public virtual RouteFilterRulesDeleteOperation StartDelete(string resourceGroupN throw new ArgumentNullException(nameof(ruleName)); } - using var scope = _clientDiagnostics.CreateScope("RouteFilterRulesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("RouteFilterRulesOperations.StartDelete"); scope.Start(); try { @@ -266,7 +266,7 @@ public virtual async Task StartCreateOr throw new ArgumentNullException(nameof(routeFilterRuleParameters)); } - using var scope = _clientDiagnostics.CreateScope("RouteFilterRulesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("RouteFilterRulesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -305,7 +305,7 @@ public virtual RouteFilterRulesCreateOrUpdateOperation StartCreateOrUpdate(strin throw new ArgumentNullException(nameof(routeFilterRuleParameters)); } - using var scope = _clientDiagnostics.CreateScope("RouteFilterRulesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("RouteFilterRulesOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/RouteFilterRulesRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/RouteFilterRulesRestOperations.cs similarity index 99% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/RouteFilterRulesRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/RouteFilterRulesRestOperations.cs index 025f7b0cb4f65..51ba4dbdc7a82 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/RouteFilterRulesRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/RouteFilterRulesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class RouteFilterRulesRestClient + internal partial class RouteFilterRulesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of RouteFilterRulesRestClient. + /// Initializes a new instance of RouteFilterRulesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public RouteFilterRulesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public RouteFilterRulesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/RouteFiltersClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/RouteFiltersOperations.cs similarity index 94% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/RouteFiltersClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/RouteFiltersOperations.cs index 92b5f6ca63620..e6c20a7d1e92a 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/RouteFiltersClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/RouteFiltersOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The RouteFilters service client. - public partial class RouteFiltersClient + public partial class RouteFiltersOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal RouteFiltersRestClient RestClient { get; } - /// Initializes a new instance of RouteFiltersClient for mocking. - protected RouteFiltersClient() + internal RouteFiltersRestOperations RestClient { get; } + /// Initializes a new instance of RouteFiltersOperations for mocking. + protected RouteFiltersOperations() { } - /// Initializes a new instance of RouteFiltersClient. + /// Initializes a new instance of RouteFiltersOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal RouteFiltersClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal RouteFiltersOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new RouteFiltersRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new RouteFiltersRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal RouteFiltersClient(ClientDiagnostics clientDiagnostics, HttpPipeline pi /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string routeFilterName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("RouteFiltersClient.Get"); + using var scope = _clientDiagnostics.CreateScope("RouteFiltersOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGroupNa /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string routeFilterName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("RouteFiltersClient.Get"); + using var scope = _clientDiagnostics.CreateScope("RouteFiltersOperations.Get"); scope.Start(); try { @@ -84,7 +84,7 @@ public virtual Response Get(string resourceGroupName, string routeF /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string routeFilterName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("RouteFiltersClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("RouteFiltersOperations.UpdateTags"); scope.Start(); try { @@ -104,7 +104,7 @@ public virtual async Task> UpdateTagsAsync(string resource /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string routeFilterName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("RouteFiltersClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("RouteFiltersOperations.UpdateTags"); scope.Start(); try { @@ -129,7 +129,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(string resour async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RouteFiltersClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("RouteFiltersOperations.ListByResourceGroup"); scope.Start(); try { @@ -144,7 +144,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RouteFiltersClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("RouteFiltersOperations.ListByResourceGroup"); scope.Start(); try { @@ -172,7 +172,7 @@ public virtual Pageable ListByResourceGroup(string resourceGroupNam Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RouteFiltersClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("RouteFiltersOperations.ListByResourceGroup"); scope.Start(); try { @@ -187,7 +187,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RouteFiltersClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("RouteFiltersOperations.ListByResourceGroup"); scope.Start(); try { @@ -209,7 +209,7 @@ public virtual AsyncPageable ListAsync(CancellationToken cancellati { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RouteFiltersClient.List"); + using var scope = _clientDiagnostics.CreateScope("RouteFiltersOperations.List"); scope.Start(); try { @@ -224,7 +224,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RouteFiltersClient.List"); + using var scope = _clientDiagnostics.CreateScope("RouteFiltersOperations.List"); scope.Start(); try { @@ -246,7 +246,7 @@ public virtual Pageable List(CancellationToken cancellationToken = { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RouteFiltersClient.List"); + using var scope = _clientDiagnostics.CreateScope("RouteFiltersOperations.List"); scope.Start(); try { @@ -261,7 +261,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RouteFiltersClient.List"); + using var scope = _clientDiagnostics.CreateScope("RouteFiltersOperations.List"); scope.Start(); try { @@ -292,7 +292,7 @@ public virtual async Task StartDeleteAsync(string r throw new ArgumentNullException(nameof(routeFilterName)); } - using var scope = _clientDiagnostics.CreateScope("RouteFiltersClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("RouteFiltersOperations.StartDelete"); scope.Start(); try { @@ -321,7 +321,7 @@ public virtual RouteFiltersDeleteOperation StartDelete(string resourceGroupName, throw new ArgumentNullException(nameof(routeFilterName)); } - using var scope = _clientDiagnostics.CreateScope("RouteFiltersClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("RouteFiltersOperations.StartDelete"); scope.Start(); try { @@ -355,7 +355,7 @@ public virtual async Task StartCreateOrUpda throw new ArgumentNullException(nameof(routeFilterParameters)); } - using var scope = _clientDiagnostics.CreateScope("RouteFiltersClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("RouteFiltersOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -389,7 +389,7 @@ public virtual RouteFiltersCreateOrUpdateOperation StartCreateOrUpdate(string re throw new ArgumentNullException(nameof(routeFilterParameters)); } - using var scope = _clientDiagnostics.CreateScope("RouteFiltersClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("RouteFiltersOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/RouteFiltersRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/RouteFiltersRestOperations.cs similarity index 99% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/RouteFiltersRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/RouteFiltersRestOperations.cs index dd5180be7b788..4e2f40a3c48d1 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/RouteFiltersRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/RouteFiltersRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class RouteFiltersRestClient + internal partial class RouteFiltersRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of RouteFiltersRestClient. + /// Initializes a new instance of RouteFiltersRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public RouteFiltersRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public RouteFiltersRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/RouteTablesClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/RouteTablesOperations.cs similarity index 94% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/RouteTablesClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/RouteTablesOperations.cs index 95a98ba861bb0..3a14ef2e9b158 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/RouteTablesClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/RouteTablesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The RouteTables service client. - public partial class RouteTablesClient + public partial class RouteTablesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal RouteTablesRestClient RestClient { get; } - /// Initializes a new instance of RouteTablesClient for mocking. - protected RouteTablesClient() + internal RouteTablesRestOperations RestClient { get; } + /// Initializes a new instance of RouteTablesOperations for mocking. + protected RouteTablesOperations() { } - /// Initializes a new instance of RouteTablesClient. + /// Initializes a new instance of RouteTablesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal RouteTablesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal RouteTablesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new RouteTablesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new RouteTablesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal RouteTablesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pip /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string routeTableName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("RouteTablesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("RouteTablesOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGroupNam /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string routeTableName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("RouteTablesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("RouteTablesOperations.Get"); scope.Start(); try { @@ -84,7 +84,7 @@ public virtual Response Get(string resourceGroupName, string routeTa /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string routeTableName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("RouteTablesClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("RouteTablesOperations.UpdateTags"); scope.Start(); try { @@ -104,7 +104,7 @@ public virtual async Task> UpdateTagsAsync(string resourceG /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string routeTableName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("RouteTablesClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("RouteTablesOperations.UpdateTags"); scope.Start(); try { @@ -129,7 +129,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName, Can async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RouteTablesClient.List"); + using var scope = _clientDiagnostics.CreateScope("RouteTablesOperations.List"); scope.Start(); try { @@ -144,7 +144,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RouteTablesClient.List"); + using var scope = _clientDiagnostics.CreateScope("RouteTablesOperations.List"); scope.Start(); try { @@ -172,7 +172,7 @@ public virtual Pageable List(string resourceGroupName, CancellationT Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RouteTablesClient.List"); + using var scope = _clientDiagnostics.CreateScope("RouteTablesOperations.List"); scope.Start(); try { @@ -187,7 +187,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RouteTablesClient.List"); + using var scope = _clientDiagnostics.CreateScope("RouteTablesOperations.List"); scope.Start(); try { @@ -209,7 +209,7 @@ public virtual AsyncPageable ListAllAsync(CancellationToken cancella { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RouteTablesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("RouteTablesOperations.ListAll"); scope.Start(); try { @@ -224,7 +224,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RouteTablesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("RouteTablesOperations.ListAll"); scope.Start(); try { @@ -246,7 +246,7 @@ public virtual Pageable ListAll(CancellationToken cancellationToken { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RouteTablesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("RouteTablesOperations.ListAll"); scope.Start(); try { @@ -261,7 +261,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RouteTablesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("RouteTablesOperations.ListAll"); scope.Start(); try { @@ -292,7 +292,7 @@ public virtual async Task StartDeleteAsync(string re throw new ArgumentNullException(nameof(routeTableName)); } - using var scope = _clientDiagnostics.CreateScope("RouteTablesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("RouteTablesOperations.StartDelete"); scope.Start(); try { @@ -321,7 +321,7 @@ public virtual RouteTablesDeleteOperation StartDelete(string resourceGroupName, throw new ArgumentNullException(nameof(routeTableName)); } - using var scope = _clientDiagnostics.CreateScope("RouteTablesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("RouteTablesOperations.StartDelete"); scope.Start(); try { @@ -355,7 +355,7 @@ public virtual async Task StartCreateOrUpdat throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("RouteTablesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("RouteTablesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -389,7 +389,7 @@ public virtual RouteTablesCreateOrUpdateOperation StartCreateOrUpdate(string res throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("RouteTablesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("RouteTablesOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/RouteTablesRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/RouteTablesRestOperations.cs similarity index 99% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/RouteTablesRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/RouteTablesRestOperations.cs index 5ddfe947af88c..e3b130d01759e 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/RouteTablesRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/RouteTablesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class RouteTablesRestClient + internal partial class RouteTablesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of RouteTablesRestClient. + /// Initializes a new instance of RouteTablesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public RouteTablesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public RouteTablesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/RoutesClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/RoutesOperations.cs similarity index 94% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/RoutesClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/RoutesOperations.cs index 104783f44d388..6d466deadad8d 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/RoutesClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/RoutesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The Routes service client. - public partial class RoutesClient + public partial class RoutesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal RoutesRestClient RestClient { get; } - /// Initializes a new instance of RoutesClient for mocking. - protected RoutesClient() + internal RoutesRestOperations RestClient { get; } + /// Initializes a new instance of RoutesOperations for mocking. + protected RoutesOperations() { } - /// Initializes a new instance of RoutesClient. + /// Initializes a new instance of RoutesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal RoutesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal RoutesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new RoutesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new RoutesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal RoutesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string routeTableName, string routeName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("RoutesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("RoutesOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGroupName, st /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string routeTableName, string routeName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("RoutesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("RoutesOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName, string r async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RoutesClient.List"); + using var scope = _clientDiagnostics.CreateScope("RoutesOperations.List"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RoutesClient.List"); + using var scope = _clientDiagnostics.CreateScope("RoutesOperations.List"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable List(string resourceGroupName, string routeTableN Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RoutesClient.List"); + using var scope = _clientDiagnostics.CreateScope("RoutesOperations.List"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RoutesClient.List"); + using var scope = _clientDiagnostics.CreateScope("RoutesOperations.List"); scope.Start(); try { @@ -193,7 +193,7 @@ public virtual async Task StartDeleteAsync(string resourc throw new ArgumentNullException(nameof(routeName)); } - using var scope = _clientDiagnostics.CreateScope("RoutesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("RoutesOperations.StartDelete"); scope.Start(); try { @@ -227,7 +227,7 @@ public virtual RoutesDeleteOperation StartDelete(string resourceGroupName, strin throw new ArgumentNullException(nameof(routeName)); } - using var scope = _clientDiagnostics.CreateScope("RoutesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("RoutesOperations.StartDelete"); scope.Start(); try { @@ -266,7 +266,7 @@ public virtual async Task StartCreateOrUpdateAsyn throw new ArgumentNullException(nameof(routeParameters)); } - using var scope = _clientDiagnostics.CreateScope("RoutesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("RoutesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -305,7 +305,7 @@ public virtual RoutesCreateOrUpdateOperation StartCreateOrUpdate(string resource throw new ArgumentNullException(nameof(routeParameters)); } - using var scope = _clientDiagnostics.CreateScope("RoutesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("RoutesOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/RoutesRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/RoutesRestOperations.cs similarity index 98% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/RoutesRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/RoutesRestOperations.cs index 80275ffdd97b1..95cbf5f5c2ae0 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/RoutesRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/RoutesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class RoutesRestClient + internal partial class RoutesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of RoutesRestClient. + /// Initializes a new instance of RoutesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public RoutesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public RoutesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/SecurityPartnerProvidersClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/SecurityPartnerProvidersOperations.cs similarity index 93% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/SecurityPartnerProvidersClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/SecurityPartnerProvidersOperations.cs index 41578b08ebe38..142992dac11be 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/SecurityPartnerProvidersClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/SecurityPartnerProvidersOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The SecurityPartnerProviders service client. - public partial class SecurityPartnerProvidersClient + public partial class SecurityPartnerProvidersOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal SecurityPartnerProvidersRestClient RestClient { get; } - /// Initializes a new instance of SecurityPartnerProvidersClient for mocking. - protected SecurityPartnerProvidersClient() + internal SecurityPartnerProvidersRestOperations RestClient { get; } + /// Initializes a new instance of SecurityPartnerProvidersOperations for mocking. + protected SecurityPartnerProvidersOperations() { } - /// Initializes a new instance of SecurityPartnerProvidersClient. + /// Initializes a new instance of SecurityPartnerProvidersOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal SecurityPartnerProvidersClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal SecurityPartnerProvidersOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new SecurityPartnerProvidersRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new SecurityPartnerProvidersRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal SecurityPartnerProvidersClient(ClientDiagnostics clientDiagnostics, Htt /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string securityPartnerProviderName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersClient.Get"); + using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string res /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string securityPartnerProviderName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersClient.Get"); + using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersOperations.Get"); scope.Start(); try { @@ -82,7 +82,7 @@ public virtual Response Get(string resourceGroupName, s /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string securityPartnerProviderName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersOperations.UpdateTags"); scope.Start(); try { @@ -102,7 +102,7 @@ public virtual async Task> UpdateTagsAsync(str /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string securityPartnerProviderName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersOperations.UpdateTags"); scope.Start(); try { @@ -127,7 +127,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(s async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersOperations.ListByResourceGroup"); scope.Start(); try { @@ -142,7 +142,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersOperations.ListByResourceGroup"); scope.Start(); try { @@ -170,7 +170,7 @@ public virtual Pageable ListByResourceGroup(string reso Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersOperations.ListByResourceGroup"); scope.Start(); try { @@ -185,7 +185,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersOperations.ListByResourceGroup"); scope.Start(); try { @@ -207,7 +207,7 @@ public virtual AsyncPageable ListAsync(CancellationToke { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersClient.List"); + using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersOperations.List"); scope.Start(); try { @@ -222,7 +222,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersClient.List"); + using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersOperations.List"); scope.Start(); try { @@ -244,7 +244,7 @@ public virtual Pageable List(CancellationToken cancella { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersClient.List"); + using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersOperations.List"); scope.Start(); try { @@ -259,7 +259,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersClient.List"); + using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersOperations.List"); scope.Start(); try { @@ -290,7 +290,7 @@ public virtual async Task StartDeleteAs throw new ArgumentNullException(nameof(securityPartnerProviderName)); } - using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersOperations.StartDelete"); scope.Start(); try { @@ -319,7 +319,7 @@ public virtual SecurityPartnerProvidersDeleteOperation StartDelete(string resour throw new ArgumentNullException(nameof(securityPartnerProviderName)); } - using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersOperations.StartDelete"); scope.Start(); try { @@ -353,7 +353,7 @@ public virtual async Task Start throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -387,7 +387,7 @@ public virtual SecurityPartnerProvidersCreateOrUpdateOperation StartCreateOrUpda throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/SecurityPartnerProvidersRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/SecurityPartnerProvidersRestOperations.cs similarity index 99% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/SecurityPartnerProvidersRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/SecurityPartnerProvidersRestOperations.cs index 85653b5daf210..a4d3820f73671 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/SecurityPartnerProvidersRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/SecurityPartnerProvidersRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class SecurityPartnerProvidersRestClient + internal partial class SecurityPartnerProvidersRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of SecurityPartnerProvidersRestClient. + /// Initializes a new instance of SecurityPartnerProvidersRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public SecurityPartnerProvidersRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public SecurityPartnerProvidersRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/SecurityRulesClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/SecurityRulesOperations.cs similarity index 94% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/SecurityRulesClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/SecurityRulesOperations.cs index 81ec2b8a8c3e3..5d8327dbfd3e0 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/SecurityRulesClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/SecurityRulesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The SecurityRules service client. - public partial class SecurityRulesClient + public partial class SecurityRulesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal SecurityRulesRestClient RestClient { get; } - /// Initializes a new instance of SecurityRulesClient for mocking. - protected SecurityRulesClient() + internal SecurityRulesRestOperations RestClient { get; } + /// Initializes a new instance of SecurityRulesOperations for mocking. + protected SecurityRulesOperations() { } - /// Initializes a new instance of SecurityRulesClient. + /// Initializes a new instance of SecurityRulesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal SecurityRulesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal SecurityRulesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new SecurityRulesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new SecurityRulesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal SecurityRulesClient(ClientDiagnostics clientDiagnostics, HttpPipeline p /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string networkSecurityGroupName, string securityRuleName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("SecurityRulesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("SecurityRulesOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGroupN /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string networkSecurityGroupName, string securityRuleName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("SecurityRulesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("SecurityRulesOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName, s async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SecurityRulesClient.List"); + using var scope = _clientDiagnostics.CreateScope("SecurityRulesOperations.List"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SecurityRulesClient.List"); + using var scope = _clientDiagnostics.CreateScope("SecurityRulesOperations.List"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable List(string resourceGroupName, string netw Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SecurityRulesClient.List"); + using var scope = _clientDiagnostics.CreateScope("SecurityRulesOperations.List"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SecurityRulesClient.List"); + using var scope = _clientDiagnostics.CreateScope("SecurityRulesOperations.List"); scope.Start(); try { @@ -193,7 +193,7 @@ public virtual async Task StartDeleteAsync(string throw new ArgumentNullException(nameof(securityRuleName)); } - using var scope = _clientDiagnostics.CreateScope("SecurityRulesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("SecurityRulesOperations.StartDelete"); scope.Start(); try { @@ -227,7 +227,7 @@ public virtual SecurityRulesDeleteOperation StartDelete(string resourceGroupName throw new ArgumentNullException(nameof(securityRuleName)); } - using var scope = _clientDiagnostics.CreateScope("SecurityRulesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("SecurityRulesOperations.StartDelete"); scope.Start(); try { @@ -266,7 +266,7 @@ public virtual async Task StartCreateOrUpd throw new ArgumentNullException(nameof(securityRuleParameters)); } - using var scope = _clientDiagnostics.CreateScope("SecurityRulesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("SecurityRulesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -305,7 +305,7 @@ public virtual SecurityRulesCreateOrUpdateOperation StartCreateOrUpdate(string r throw new ArgumentNullException(nameof(securityRuleParameters)); } - using var scope = _clientDiagnostics.CreateScope("SecurityRulesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("SecurityRulesOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/SecurityRulesRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/SecurityRulesRestOperations.cs similarity index 99% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/SecurityRulesRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/SecurityRulesRestOperations.cs index a55aa41cfb4b4..990206f570827 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/SecurityRulesRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/SecurityRulesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class SecurityRulesRestClient + internal partial class SecurityRulesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of SecurityRulesRestClient. + /// Initializes a new instance of SecurityRulesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public SecurityRulesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public SecurityRulesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceAssociationLinksClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceAssociationLinksOperations.cs similarity index 84% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceAssociationLinksClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceAssociationLinksOperations.cs index 9d15e13ffec60..45f0b4c66bcbd 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceAssociationLinksClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceAssociationLinksOperations.cs @@ -15,23 +15,23 @@ namespace Azure.ResourceManager.Network { /// The ServiceAssociationLinks service client. - public partial class ServiceAssociationLinksClient + public partial class ServiceAssociationLinksOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ServiceAssociationLinksRestClient RestClient { get; } - /// Initializes a new instance of ServiceAssociationLinksClient for mocking. - protected ServiceAssociationLinksClient() + internal ServiceAssociationLinksRestOperations RestClient { get; } + /// Initializes a new instance of ServiceAssociationLinksOperations for mocking. + protected ServiceAssociationLinksOperations() { } - /// Initializes a new instance of ServiceAssociationLinksClient. + /// Initializes a new instance of ServiceAssociationLinksOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ServiceAssociationLinksClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ServiceAssociationLinksOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ServiceAssociationLinksRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ServiceAssociationLinksRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal ServiceAssociationLinksClient(ClientDiagnostics clientDiagnostics, Http /// The cancellation token to use. public virtual async Task> ListAsync(string resourceGroupName, string virtualNetworkName, string subnetName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ServiceAssociationLinksClient.List"); + using var scope = _clientDiagnostics.CreateScope("ServiceAssociationLinksOperations.List"); scope.Start(); try { @@ -63,7 +63,7 @@ public virtual async Task> ListAsync /// The cancellation token to use. public virtual Response List(string resourceGroupName, string virtualNetworkName, string subnetName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ServiceAssociationLinksClient.List"); + using var scope = _clientDiagnostics.CreateScope("ServiceAssociationLinksOperations.List"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceAssociationLinksRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceAssociationLinksRestOperations.cs similarity index 96% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceAssociationLinksRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceAssociationLinksRestOperations.cs index ecb3dfbe20a69..f386fde09958d 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceAssociationLinksRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceAssociationLinksRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class ServiceAssociationLinksRestClient + internal partial class ServiceAssociationLinksRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ServiceAssociationLinksRestClient. + /// Initializes a new instance of ServiceAssociationLinksRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ServiceAssociationLinksRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ServiceAssociationLinksRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceEndpointPoliciesClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceEndpointPoliciesOperations.cs similarity index 93% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceEndpointPoliciesClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceEndpointPoliciesOperations.cs index 7715cab0c84e0..c83be68023a9a 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceEndpointPoliciesClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceEndpointPoliciesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The ServiceEndpointPolicies service client. - public partial class ServiceEndpointPoliciesClient + public partial class ServiceEndpointPoliciesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ServiceEndpointPoliciesRestClient RestClient { get; } - /// Initializes a new instance of ServiceEndpointPoliciesClient for mocking. - protected ServiceEndpointPoliciesClient() + internal ServiceEndpointPoliciesRestOperations RestClient { get; } + /// Initializes a new instance of ServiceEndpointPoliciesOperations for mocking. + protected ServiceEndpointPoliciesOperations() { } - /// Initializes a new instance of ServiceEndpointPoliciesClient. + /// Initializes a new instance of ServiceEndpointPoliciesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ServiceEndpointPoliciesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ServiceEndpointPoliciesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ServiceEndpointPoliciesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ServiceEndpointPoliciesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal ServiceEndpointPoliciesClient(ClientDiagnostics clientDiagnostics, Http /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string serviceEndpointPolicyName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resou /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string serviceEndpointPolicyName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesOperations.Get"); scope.Start(); try { @@ -84,7 +84,7 @@ public virtual Response Get(string resourceGroupName, str /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string serviceEndpointPolicyName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesOperations.UpdateTags"); scope.Start(); try { @@ -104,7 +104,7 @@ public virtual async Task> UpdateTagsAsync(strin /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string serviceEndpointPolicyName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesOperations.UpdateTags"); scope.Start(); try { @@ -123,7 +123,7 @@ public virtual AsyncPageable ListAsync(CancellationToken { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesClient.List"); + using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesOperations.List"); scope.Start(); try { @@ -138,7 +138,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesClient.List"); + using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesOperations.List"); scope.Start(); try { @@ -160,7 +160,7 @@ public virtual Pageable List(CancellationToken cancellati { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesClient.List"); + using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesOperations.List"); scope.Start(); try { @@ -175,7 +175,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesClient.List"); + using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesOperations.List"); scope.Start(); try { @@ -203,7 +203,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(str async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesOperations.ListByResourceGroup"); scope.Start(); try { @@ -218,7 +218,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesOperations.ListByResourceGroup"); scope.Start(); try { @@ -246,7 +246,7 @@ public virtual Pageable ListByResourceGroup(string resour Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesOperations.ListByResourceGroup"); scope.Start(); try { @@ -261,7 +261,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesOperations.ListByResourceGroup"); scope.Start(); try { @@ -292,7 +292,7 @@ public virtual async Task StartDeleteAsy throw new ArgumentNullException(nameof(serviceEndpointPolicyName)); } - using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesOperations.StartDelete"); scope.Start(); try { @@ -321,7 +321,7 @@ public virtual ServiceEndpointPoliciesDeleteOperation StartDelete(string resourc throw new ArgumentNullException(nameof(serviceEndpointPolicyName)); } - using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesOperations.StartDelete"); scope.Start(); try { @@ -355,7 +355,7 @@ public virtual async Task StartC throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -389,7 +389,7 @@ public virtual ServiceEndpointPoliciesCreateOrUpdateOperation StartCreateOrUpdat throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceEndpointPoliciesRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceEndpointPoliciesRestOperations.cs similarity index 99% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceEndpointPoliciesRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceEndpointPoliciesRestOperations.cs index c9b02b9a01029..523c529db996b 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceEndpointPoliciesRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceEndpointPoliciesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class ServiceEndpointPoliciesRestClient + internal partial class ServiceEndpointPoliciesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ServiceEndpointPoliciesRestClient. + /// Initializes a new instance of ServiceEndpointPoliciesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ServiceEndpointPoliciesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ServiceEndpointPoliciesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceEndpointPolicyDefinitionsClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceEndpointPolicyDefinitionsOperations.cs similarity index 93% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceEndpointPolicyDefinitionsClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceEndpointPolicyDefinitionsOperations.cs index 7a2171f97726a..94b4e99e6030f 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceEndpointPolicyDefinitionsClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceEndpointPolicyDefinitionsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The ServiceEndpointPolicyDefinitions service client. - public partial class ServiceEndpointPolicyDefinitionsClient + public partial class ServiceEndpointPolicyDefinitionsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ServiceEndpointPolicyDefinitionsRestClient RestClient { get; } - /// Initializes a new instance of ServiceEndpointPolicyDefinitionsClient for mocking. - protected ServiceEndpointPolicyDefinitionsClient() + internal ServiceEndpointPolicyDefinitionsRestOperations RestClient { get; } + /// Initializes a new instance of ServiceEndpointPolicyDefinitionsOperations for mocking. + protected ServiceEndpointPolicyDefinitionsOperations() { } - /// Initializes a new instance of ServiceEndpointPolicyDefinitionsClient. + /// Initializes a new instance of ServiceEndpointPolicyDefinitionsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ServiceEndpointPolicyDefinitionsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ServiceEndpointPolicyDefinitionsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ServiceEndpointPolicyDefinitionsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ServiceEndpointPolicyDefinitionsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal ServiceEndpointPolicyDefinitionsClient(ClientDiagnostics clientDiagnost /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string serviceEndpointPolicyName, string serviceEndpointPolicyDefinitionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPolicyDefinitionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPolicyDefinitionsOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(st /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string serviceEndpointPolicyName, string serviceEndpointPolicyDefinitionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPolicyDefinitionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPolicyDefinitionsOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListByResourceGrou async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPolicyDefinitionsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPolicyDefinitionsOperations.ListByResourceGroup"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHin } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPolicyDefinitionsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPolicyDefinitionsOperations.ListByResourceGroup"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable ListByResourceGroup(str Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPolicyDefinitionsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPolicyDefinitionsOperations.ListByResourceGroup"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPolicyDefinitionsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPolicyDefinitionsOperations.ListByResourceGroup"); scope.Start(); try { @@ -193,7 +193,7 @@ public virtual async Task Start throw new ArgumentNullException(nameof(serviceEndpointPolicyDefinitionName)); } - using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPolicyDefinitionsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPolicyDefinitionsOperations.StartDelete"); scope.Start(); try { @@ -227,7 +227,7 @@ public virtual ServiceEndpointPolicyDefinitionsDeleteOperation StartDelete(strin throw new ArgumentNullException(nameof(serviceEndpointPolicyDefinitionName)); } - using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPolicyDefinitionsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPolicyDefinitionsOperations.StartDelete"); scope.Start(); try { @@ -266,7 +266,7 @@ public virtual async Task Initializes a new instance of ServiceEndpointPolicyDefinitionsRestClient. + /// Initializes a new instance of ServiceEndpointPolicyDefinitionsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ServiceEndpointPolicyDefinitionsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ServiceEndpointPolicyDefinitionsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceOperations.cs similarity index 95% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceOperations.cs index ea78b713385c3..871f31e076ddb 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The Service service client. - public partial class ServiceClient + public partial class ServiceOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ServiceRestClient RestClient { get; } - /// Initializes a new instance of ServiceClient for mocking. - protected ServiceClient() + internal ServiceRestOperations RestClient { get; } + /// Initializes a new instance of ServiceOperations for mocking. + protected ServiceOperations() { } - /// Initializes a new instance of ServiceClient. + /// Initializes a new instance of ServiceOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ServiceClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ServiceOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ServiceRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ServiceRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal ServiceClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipelin /// The cancellation token to use. public virtual async Task> CheckDnsNameAvailabilityAsync(string location, string domainNameLabel, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ServiceClient.CheckDnsNameAvailability"); + using var scope = _clientDiagnostics.CreateScope("ServiceOperations.CheckDnsNameAvailability"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> CheckDnsNameAvail /// The cancellation token to use. public virtual Response CheckDnsNameAvailability(string location, string domainNameLabel, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ServiceClient.CheckDnsNameAvailability"); + using var scope = _clientDiagnostics.CreateScope("ServiceOperations.CheckDnsNameAvailability"); scope.Start(); try { @@ -81,7 +81,7 @@ public virtual Response CheckDnsNameAvailability(stri /// The cancellation token to use. public virtual async Task> SupportedSecurityProvidersAsync(string resourceGroupName, string virtualWANName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ServiceClient.SupportedSecurityProviders"); + using var scope = _clientDiagnostics.CreateScope("ServiceOperations.SupportedSecurityProviders"); scope.Start(); try { @@ -100,7 +100,7 @@ public virtual async Task> SupportedSecuri /// The cancellation token to use. public virtual Response SupportedSecurityProviders(string resourceGroupName, string virtualWANName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ServiceClient.SupportedSecurityProviders"); + using var scope = _clientDiagnostics.CreateScope("ServiceOperations.SupportedSecurityProviders"); scope.Start(); try { @@ -135,7 +135,7 @@ public virtual AsyncPageable GetBastionShareableLinkAsync( async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServiceClient.GetBastionShareableLink"); + using var scope = _clientDiagnostics.CreateScope("ServiceOperations.GetBastionShareableLink"); scope.Start(); try { @@ -150,7 +150,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServiceClient.GetBastionShareableLink"); + using var scope = _clientDiagnostics.CreateScope("ServiceOperations.GetBastionShareableLink"); scope.Start(); try { @@ -188,7 +188,7 @@ public virtual Pageable GetBastionShareableLink(string res Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServiceClient.GetBastionShareableLink"); + using var scope = _clientDiagnostics.CreateScope("ServiceOperations.GetBastionShareableLink"); scope.Start(); try { @@ -203,7 +203,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServiceClient.GetBastionShareableLink"); + using var scope = _clientDiagnostics.CreateScope("ServiceOperations.GetBastionShareableLink"); scope.Start(); try { @@ -241,7 +241,7 @@ public virtual AsyncPageable DisconnectActiveSessionsAsync( async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServiceClient.DisconnectActiveSessions"); + using var scope = _clientDiagnostics.CreateScope("ServiceOperations.DisconnectActiveSessions"); scope.Start(); try { @@ -256,7 +256,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServiceClient.DisconnectActiveSessions"); + using var scope = _clientDiagnostics.CreateScope("ServiceOperations.DisconnectActiveSessions"); scope.Start(); try { @@ -294,7 +294,7 @@ public virtual Pageable DisconnectActiveSessions(string res Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServiceClient.DisconnectActiveSessions"); + using var scope = _clientDiagnostics.CreateScope("ServiceOperations.DisconnectActiveSessions"); scope.Start(); try { @@ -309,7 +309,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServiceClient.DisconnectActiveSessions"); + using var scope = _clientDiagnostics.CreateScope("ServiceOperations.DisconnectActiveSessions"); scope.Start(); try { @@ -345,7 +345,7 @@ public virtual async Task StartPutBasti throw new ArgumentNullException(nameof(bslRequest)); } - using var scope = _clientDiagnostics.CreateScope("ServiceClient.StartPutBastionShareableLink"); + using var scope = _clientDiagnostics.CreateScope("ServiceOperations.StartPutBastionShareableLink"); scope.Start(); try { @@ -379,7 +379,7 @@ public virtual ServicePutBastionShareableLinkOperation StartPutBastionShareableL throw new ArgumentNullException(nameof(bslRequest)); } - using var scope = _clientDiagnostics.CreateScope("ServiceClient.StartPutBastionShareableLink"); + using var scope = _clientDiagnostics.CreateScope("ServiceOperations.StartPutBastionShareableLink"); scope.Start(); try { @@ -413,7 +413,7 @@ public virtual async Task StartDelet throw new ArgumentNullException(nameof(bslRequest)); } - using var scope = _clientDiagnostics.CreateScope("ServiceClient.StartDeleteBastionShareableLink"); + using var scope = _clientDiagnostics.CreateScope("ServiceOperations.StartDeleteBastionShareableLink"); scope.Start(); try { @@ -447,7 +447,7 @@ public virtual ServiceDeleteBastionShareableLinkOperation StartDeleteBastionShar throw new ArgumentNullException(nameof(bslRequest)); } - using var scope = _clientDiagnostics.CreateScope("ServiceClient.StartDeleteBastionShareableLink"); + using var scope = _clientDiagnostics.CreateScope("ServiceOperations.StartDeleteBastionShareableLink"); scope.Start(); try { @@ -476,7 +476,7 @@ public virtual async Task StartGetActiveSessi throw new ArgumentNullException(nameof(bastionHostName)); } - using var scope = _clientDiagnostics.CreateScope("ServiceClient.StartGetActiveSessions"); + using var scope = _clientDiagnostics.CreateScope("ServiceOperations.StartGetActiveSessions"); scope.Start(); try { @@ -505,7 +505,7 @@ public virtual ServiceGetActiveSessionsOperation StartGetActiveSessions(string r throw new ArgumentNullException(nameof(bastionHostName)); } - using var scope = _clientDiagnostics.CreateScope("ServiceClient.StartGetActiveSessions"); + using var scope = _clientDiagnostics.CreateScope("ServiceOperations.StartGetActiveSessions"); scope.Start(); try { @@ -539,7 +539,7 @@ public virtual async Task Initializes a new instance of ServiceRestClient. + /// Initializes a new instance of ServiceRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ServiceRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ServiceRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceTagsClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceTagsOperations.cs similarity index 82% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceTagsClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceTagsOperations.cs index f7ac1265df698..e929273d3b79d 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceTagsClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceTagsOperations.cs @@ -15,23 +15,23 @@ namespace Azure.ResourceManager.Network { /// The ServiceTags service client. - public partial class ServiceTagsClient + public partial class ServiceTagsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ServiceTagsRestClient RestClient { get; } - /// Initializes a new instance of ServiceTagsClient for mocking. - protected ServiceTagsClient() + internal ServiceTagsRestOperations RestClient { get; } + /// Initializes a new instance of ServiceTagsOperations for mocking. + protected ServiceTagsOperations() { } - /// Initializes a new instance of ServiceTagsClient. + /// Initializes a new instance of ServiceTagsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ServiceTagsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ServiceTagsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ServiceTagsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ServiceTagsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -41,7 +41,7 @@ internal ServiceTagsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pip /// The cancellation token to use. public virtual async Task> ListAsync(string location, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ServiceTagsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ServiceTagsOperations.List"); scope.Start(); try { @@ -59,7 +59,7 @@ public virtual async Task> ListAsync(string loca /// The cancellation token to use. public virtual Response List(string location, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ServiceTagsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ServiceTagsOperations.List"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceTagsRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceTagsRestOperations.cs similarity index 96% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceTagsRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceTagsRestOperations.cs index 6ed7fc5eb45b0..50d8bac6ed31e 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceTagsRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceTagsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class ServiceTagsRestClient + internal partial class ServiceTagsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ServiceTagsRestClient. + /// Initializes a new instance of ServiceTagsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ServiceTagsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ServiceTagsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/SubnetsClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/SubnetsOperations.cs similarity index 95% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/SubnetsClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/SubnetsOperations.cs index 023089a5dbcff..a26bb383bc056 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/SubnetsClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/SubnetsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The Subnets service client. - public partial class SubnetsClient + public partial class SubnetsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal SubnetsRestClient RestClient { get; } - /// Initializes a new instance of SubnetsClient for mocking. - protected SubnetsClient() + internal SubnetsRestOperations RestClient { get; } + /// Initializes a new instance of SubnetsOperations for mocking. + protected SubnetsOperations() { } - /// Initializes a new instance of SubnetsClient. + /// Initializes a new instance of SubnetsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal SubnetsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal SubnetsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new SubnetsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new SubnetsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -45,7 +45,7 @@ internal SubnetsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipelin /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string virtualNetworkName, string subnetName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("SubnetsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("SubnetsOperations.Get"); scope.Start(); try { @@ -66,7 +66,7 @@ public virtual async Task> GetAsync(string resourceGroupName, s /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string virtualNetworkName, string subnetName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("SubnetsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("SubnetsOperations.Get"); scope.Start(); try { @@ -96,7 +96,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName, string async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SubnetsClient.List"); + using var scope = _clientDiagnostics.CreateScope("SubnetsOperations.List"); scope.Start(); try { @@ -111,7 +111,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SubnetsClient.List"); + using var scope = _clientDiagnostics.CreateScope("SubnetsOperations.List"); scope.Start(); try { @@ -144,7 +144,7 @@ public virtual Pageable List(string resourceGroupName, string virtualNet Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SubnetsClient.List"); + using var scope = _clientDiagnostics.CreateScope("SubnetsOperations.List"); scope.Start(); try { @@ -159,7 +159,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SubnetsClient.List"); + using var scope = _clientDiagnostics.CreateScope("SubnetsOperations.List"); scope.Start(); try { @@ -195,7 +195,7 @@ public virtual async Task StartDeleteAsync(string resour throw new ArgumentNullException(nameof(subnetName)); } - using var scope = _clientDiagnostics.CreateScope("SubnetsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("SubnetsOperations.StartDelete"); scope.Start(); try { @@ -229,7 +229,7 @@ public virtual SubnetsDeleteOperation StartDelete(string resourceGroupName, stri throw new ArgumentNullException(nameof(subnetName)); } - using var scope = _clientDiagnostics.CreateScope("SubnetsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("SubnetsOperations.StartDelete"); scope.Start(); try { @@ -268,7 +268,7 @@ public virtual async Task StartCreateOrUpdateAsy throw new ArgumentNullException(nameof(subnetParameters)); } - using var scope = _clientDiagnostics.CreateScope("SubnetsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("SubnetsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -307,7 +307,7 @@ public virtual SubnetsCreateOrUpdateOperation StartCreateOrUpdate(string resourc throw new ArgumentNullException(nameof(subnetParameters)); } - using var scope = _clientDiagnostics.CreateScope("SubnetsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("SubnetsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -346,7 +346,7 @@ public virtual async Task StartPrepareNe throw new ArgumentNullException(nameof(prepareNetworkPoliciesRequestParameters)); } - using var scope = _clientDiagnostics.CreateScope("SubnetsClient.StartPrepareNetworkPolicies"); + using var scope = _clientDiagnostics.CreateScope("SubnetsOperations.StartPrepareNetworkPolicies"); scope.Start(); try { @@ -385,7 +385,7 @@ public virtual SubnetsPrepareNetworkPoliciesOperation StartPrepareNetworkPolicie throw new ArgumentNullException(nameof(prepareNetworkPoliciesRequestParameters)); } - using var scope = _clientDiagnostics.CreateScope("SubnetsClient.StartPrepareNetworkPolicies"); + using var scope = _clientDiagnostics.CreateScope("SubnetsOperations.StartPrepareNetworkPolicies"); scope.Start(); try { @@ -424,7 +424,7 @@ public virtual async Task StartUnprepa throw new ArgumentNullException(nameof(unprepareNetworkPoliciesRequestParameters)); } - using var scope = _clientDiagnostics.CreateScope("SubnetsClient.StartUnprepareNetworkPolicies"); + using var scope = _clientDiagnostics.CreateScope("SubnetsOperations.StartUnprepareNetworkPolicies"); scope.Start(); try { @@ -463,7 +463,7 @@ public virtual SubnetsUnprepareNetworkPoliciesOperation StartUnprepareNetworkPol throw new ArgumentNullException(nameof(unprepareNetworkPoliciesRequestParameters)); } - using var scope = _clientDiagnostics.CreateScope("SubnetsClient.StartUnprepareNetworkPolicies"); + using var scope = _clientDiagnostics.CreateScope("SubnetsOperations.StartUnprepareNetworkPolicies"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/SubnetsRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/SubnetsRestOperations.cs similarity index 99% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/SubnetsRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/SubnetsRestOperations.cs index 091c5219e3c29..f0048c538bea0 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/SubnetsRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/SubnetsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class SubnetsRestClient + internal partial class SubnetsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of SubnetsRestClient. + /// Initializes a new instance of SubnetsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public SubnetsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public SubnetsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/UsagesClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/UsagesOperations.cs similarity index 87% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/UsagesClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/UsagesOperations.cs index bbb7b00ccb526..689e22d7c79ad 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/UsagesClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/UsagesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The Usages service client. - public partial class UsagesClient + public partial class UsagesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal UsagesRestClient RestClient { get; } - /// Initializes a new instance of UsagesClient for mocking. - protected UsagesClient() + internal UsagesRestOperations RestClient { get; } + /// Initializes a new instance of UsagesOperations for mocking. + protected UsagesOperations() { } - /// Initializes a new instance of UsagesClient. + /// Initializes a new instance of UsagesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal UsagesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal UsagesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new UsagesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new UsagesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -49,7 +49,7 @@ public virtual AsyncPageable ListAsync(string location, CancellationToken async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("UsagesClient.List"); + using var scope = _clientDiagnostics.CreateScope("UsagesOperations.List"); scope.Start(); try { @@ -64,7 +64,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("UsagesClient.List"); + using var scope = _clientDiagnostics.CreateScope("UsagesOperations.List"); scope.Start(); try { @@ -92,7 +92,7 @@ public virtual Pageable List(string location, CancellationToken cancellat Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("UsagesClient.List"); + using var scope = _clientDiagnostics.CreateScope("UsagesOperations.List"); scope.Start(); try { @@ -107,7 +107,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("UsagesClient.List"); + using var scope = _clientDiagnostics.CreateScope("UsagesOperations.List"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/UsagesRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/UsagesRestOperations.cs similarity index 97% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/UsagesRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/UsagesRestOperations.cs index ad50bfd9a59d3..e36e72833e2ad 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/UsagesRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/UsagesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class UsagesRestClient + internal partial class UsagesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of UsagesRestClient. + /// Initializes a new instance of UsagesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public UsagesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public UsagesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualHubRouteTableV2SClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualHubRouteTableV2SOperations.cs similarity index 93% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualHubRouteTableV2SClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualHubRouteTableV2SOperations.cs index 1b6c9ae323028..de93717467314 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualHubRouteTableV2SClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualHubRouteTableV2SOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The VirtualHubRouteTableV2S service client. - public partial class VirtualHubRouteTableV2SClient + public partial class VirtualHubRouteTableV2SOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VirtualHubRouteTableV2SRestClient RestClient { get; } - /// Initializes a new instance of VirtualHubRouteTableV2SClient for mocking. - protected VirtualHubRouteTableV2SClient() + internal VirtualHubRouteTableV2SRestOperations RestClient { get; } + /// Initializes a new instance of VirtualHubRouteTableV2SOperations for mocking. + protected VirtualHubRouteTableV2SOperations() { } - /// Initializes a new instance of VirtualHubRouteTableV2SClient. + /// Initializes a new instance of VirtualHubRouteTableV2SOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VirtualHubRouteTableV2SClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VirtualHubRouteTableV2SOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VirtualHubRouteTableV2SRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VirtualHubRouteTableV2SRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal VirtualHubRouteTableV2SClient(ClientDiagnostics clientDiagnostics, Http /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string virtualHubName, string routeTableName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualHubRouteTableV2SClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubRouteTableV2SOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string reso /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string virtualHubName, string routeTableName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualHubRouteTableV2SClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubRouteTableV2SOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListAsync(string resourceGr async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualHubRouteTableV2SClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubRouteTableV2SOperations.List"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualHubRouteTableV2SClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubRouteTableV2SOperations.List"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable List(string resourceGroupName, s Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualHubRouteTableV2SClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubRouteTableV2SOperations.List"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualHubRouteTableV2SClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubRouteTableV2SOperations.List"); scope.Start(); try { @@ -198,7 +198,7 @@ public virtual async Task StartC throw new ArgumentNullException(nameof(virtualHubRouteTableV2Parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualHubRouteTableV2SClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubRouteTableV2SOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -237,7 +237,7 @@ public virtual VirtualHubRouteTableV2SCreateOrUpdateOperation StartCreateOrUpdat throw new ArgumentNullException(nameof(virtualHubRouteTableV2Parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualHubRouteTableV2SClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubRouteTableV2SOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -271,7 +271,7 @@ public virtual async Task StartDeleteAsy throw new ArgumentNullException(nameof(routeTableName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualHubRouteTableV2SClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubRouteTableV2SOperations.StartDelete"); scope.Start(); try { @@ -305,7 +305,7 @@ public virtual VirtualHubRouteTableV2SDeleteOperation StartDelete(string resourc throw new ArgumentNullException(nameof(routeTableName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualHubRouteTableV2SClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubRouteTableV2SOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualHubRouteTableV2SRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualHubRouteTableV2SRestOperations.cs similarity index 99% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualHubRouteTableV2SRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualHubRouteTableV2SRestOperations.cs index 5cd977a9bd79d..c89eb45a7c18f 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualHubRouteTableV2SRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualHubRouteTableV2SRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class VirtualHubRouteTableV2SRestClient + internal partial class VirtualHubRouteTableV2SRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of VirtualHubRouteTableV2SRestClient. + /// Initializes a new instance of VirtualHubRouteTableV2SRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VirtualHubRouteTableV2SRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VirtualHubRouteTableV2SRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualHubsClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualHubsOperations.cs similarity index 93% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualHubsClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualHubsOperations.cs index 987d350a55ffc..e20d97e08ea3f 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualHubsClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualHubsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The VirtualHubs service client. - public partial class VirtualHubsClient + public partial class VirtualHubsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VirtualHubsRestClient RestClient { get; } - /// Initializes a new instance of VirtualHubsClient for mocking. - protected VirtualHubsClient() + internal VirtualHubsRestOperations RestClient { get; } + /// Initializes a new instance of VirtualHubsOperations for mocking. + protected VirtualHubsOperations() { } - /// Initializes a new instance of VirtualHubsClient. + /// Initializes a new instance of VirtualHubsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VirtualHubsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VirtualHubsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VirtualHubsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VirtualHubsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal VirtualHubsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pip /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string virtualHubName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualHubsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubsOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string resourceGroupNam /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string virtualHubName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualHubsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubsOperations.Get"); scope.Start(); try { @@ -82,7 +82,7 @@ public virtual Response Get(string resourceGroupName, string virtual /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string virtualHubName, TagsObject virtualHubParameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualHubsClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubsOperations.UpdateTags"); scope.Start(); try { @@ -102,7 +102,7 @@ public virtual async Task> UpdateTagsAsync(string resourceG /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string virtualHubName, TagsObject virtualHubParameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualHubsClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubsOperations.UpdateTags"); scope.Start(); try { @@ -127,7 +127,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(string resourc async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualHubsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubsOperations.ListByResourceGroup"); scope.Start(); try { @@ -142,7 +142,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualHubsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubsOperations.ListByResourceGroup"); scope.Start(); try { @@ -170,7 +170,7 @@ public virtual Pageable ListByResourceGroup(string resourceGroupName Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualHubsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubsOperations.ListByResourceGroup"); scope.Start(); try { @@ -185,7 +185,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualHubsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubsOperations.ListByResourceGroup"); scope.Start(); try { @@ -207,7 +207,7 @@ public virtual AsyncPageable ListAsync(CancellationToken cancellatio { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualHubsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubsOperations.List"); scope.Start(); try { @@ -222,7 +222,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualHubsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubsOperations.List"); scope.Start(); try { @@ -244,7 +244,7 @@ public virtual Pageable List(CancellationToken cancellationToken = d { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualHubsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubsOperations.List"); scope.Start(); try { @@ -259,7 +259,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualHubsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubsOperations.List"); scope.Start(); try { @@ -295,7 +295,7 @@ public virtual async Task StartCreateOrUpdat throw new ArgumentNullException(nameof(virtualHubParameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualHubsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -329,7 +329,7 @@ public virtual VirtualHubsCreateOrUpdateOperation StartCreateOrUpdate(string res throw new ArgumentNullException(nameof(virtualHubParameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualHubsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -358,7 +358,7 @@ public virtual async Task StartDeleteAsync(string re throw new ArgumentNullException(nameof(virtualHubName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualHubsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubsOperations.StartDelete"); scope.Start(); try { @@ -387,7 +387,7 @@ public virtual VirtualHubsDeleteOperation StartDelete(string resourceGroupName, throw new ArgumentNullException(nameof(virtualHubName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualHubsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubsOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualHubsRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualHubsRestOperations.cs similarity index 99% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualHubsRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualHubsRestOperations.cs index 612fb3f3677ac..93ced7d250a18 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualHubsRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualHubsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class VirtualHubsRestClient + internal partial class VirtualHubsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of VirtualHubsRestClient. + /// Initializes a new instance of VirtualHubsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VirtualHubsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VirtualHubsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkGatewayConnectionsClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkGatewayConnectionsOperations.cs similarity index 95% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkGatewayConnectionsClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkGatewayConnectionsOperations.cs index 51a7c3363c1bf..d08f36f43e667 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkGatewayConnectionsClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkGatewayConnectionsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The VirtualNetworkGatewayConnections service client. - public partial class VirtualNetworkGatewayConnectionsClient + public partial class VirtualNetworkGatewayConnectionsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VirtualNetworkGatewayConnectionsRestClient RestClient { get; } - /// Initializes a new instance of VirtualNetworkGatewayConnectionsClient for mocking. - protected VirtualNetworkGatewayConnectionsClient() + internal VirtualNetworkGatewayConnectionsRestOperations RestClient { get; } + /// Initializes a new instance of VirtualNetworkGatewayConnectionsOperations for mocking. + protected VirtualNetworkGatewayConnectionsOperations() { } - /// Initializes a new instance of VirtualNetworkGatewayConnectionsClient. + /// Initializes a new instance of VirtualNetworkGatewayConnectionsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VirtualNetworkGatewayConnectionsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VirtualNetworkGatewayConnectionsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VirtualNetworkGatewayConnectionsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VirtualNetworkGatewayConnectionsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal VirtualNetworkGatewayConnectionsClient(ClientDiagnostics clientDiagnost /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string virtualNetworkGatewayConnectionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(st /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string virtualNetworkGatewayConnectionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsOperations.Get"); scope.Start(); try { @@ -81,7 +81,7 @@ public virtual Response Get(string resourceGrou /// The cancellation token to use. public virtual async Task> GetSharedKeyAsync(string resourceGroupName, string virtualNetworkGatewayConnectionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsClient.GetSharedKey"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsOperations.GetSharedKey"); scope.Start(); try { @@ -100,7 +100,7 @@ public virtual async Task> GetSharedKeyAsync(strin /// The cancellation token to use. public virtual Response GetSharedKey(string resourceGroupName, string virtualNetworkGatewayConnectionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsClient.GetSharedKey"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsOperations.GetSharedKey"); scope.Start(); try { @@ -125,7 +125,7 @@ public virtual AsyncPageable ListAsync(string r async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsOperations.List"); scope.Start(); try { @@ -140,7 +140,7 @@ async Task> FirstPageFunc(int? pageSizeHin } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsOperations.List"); scope.Start(); try { @@ -168,7 +168,7 @@ public virtual Pageable List(string resourceGro Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsOperations.List"); scope.Start(); try { @@ -183,7 +183,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsOperations.List"); scope.Start(); try { @@ -219,7 +219,7 @@ public virtual async Task Start throw new ArgumentNullException(nameof(virtualNetworkGatewayConnectionName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsOperations.StartDelete"); scope.Start(); try { @@ -311,7 +311,7 @@ public virtual VirtualNetworkGatewayConnectionsDeleteOperation StartDelete(strin throw new ArgumentNullException(nameof(virtualNetworkGatewayConnectionName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsOperations.StartDelete"); scope.Start(); try { @@ -345,7 +345,7 @@ public virtual async Task S throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsClient.StartUpdateTags"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsOperations.StartUpdateTags"); scope.Start(); try { @@ -379,7 +379,7 @@ public virtual VirtualNetworkGatewayConnectionsUpdateTagsOperation StartUpdateTa throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsClient.StartUpdateTags"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsOperations.StartUpdateTags"); scope.Start(); try { @@ -413,7 +413,7 @@ public virtual async Task throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsClient.StartSetSharedKey"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsOperations.StartSetSharedKey"); scope.Start(); try { @@ -447,7 +447,7 @@ public virtual VirtualNetworkGatewayConnectionsSetSharedKeyOperation StartSetSha throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsClient.StartSetSharedKey"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsOperations.StartSetSharedKey"); scope.Start(); try { @@ -481,7 +481,7 @@ public virtual async Task Initializes a new instance of VirtualNetworkGatewayConnectionsRestClient. + /// Initializes a new instance of VirtualNetworkGatewayConnectionsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VirtualNetworkGatewayConnectionsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VirtualNetworkGatewayConnectionsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkGatewaysClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkGatewaysOperations.cs similarity index 95% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkGatewaysClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkGatewaysOperations.cs index 1c285155c4809..70c3977580c00 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkGatewaysClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkGatewaysOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The VirtualNetworkGateways service client. - public partial class VirtualNetworkGatewaysClient + public partial class VirtualNetworkGatewaysOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VirtualNetworkGatewaysRestClient RestClient { get; } - /// Initializes a new instance of VirtualNetworkGatewaysClient for mocking. - protected VirtualNetworkGatewaysClient() + internal VirtualNetworkGatewaysRestOperations RestClient { get; } + /// Initializes a new instance of VirtualNetworkGatewaysOperations for mocking. + protected VirtualNetworkGatewaysOperations() { } - /// Initializes a new instance of VirtualNetworkGatewaysClient. + /// Initializes a new instance of VirtualNetworkGatewaysOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VirtualNetworkGatewaysClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VirtualNetworkGatewaysOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VirtualNetworkGatewaysRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VirtualNetworkGatewaysRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal VirtualNetworkGatewaysClient(ClientDiagnostics clientDiagnostics, HttpP /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string virtualNetworkGatewayName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string resou /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string virtualNetworkGatewayName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.Get"); scope.Start(); try { @@ -81,7 +81,7 @@ public virtual Response Get(string resourceGroupName, str /// The cancellation token to use. public virtual async Task> SupportedVpnDevicesAsync(string resourceGroupName, string virtualNetworkGatewayName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.SupportedVpnDevices"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.SupportedVpnDevices"); scope.Start(); try { @@ -100,7 +100,7 @@ public virtual async Task> SupportedVpnDevicesAsync(string reso /// The cancellation token to use. public virtual Response SupportedVpnDevices(string resourceGroupName, string virtualNetworkGatewayName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.SupportedVpnDevices"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.SupportedVpnDevices"); scope.Start(); try { @@ -120,7 +120,7 @@ public virtual Response SupportedVpnDevices(string resourceGroupName, st /// The cancellation token to use. public virtual async Task> VpnDeviceConfigurationScriptAsync(string resourceGroupName, string virtualNetworkGatewayConnectionName, VpnDeviceScriptParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.VpnDeviceConfigurationScript"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.VpnDeviceConfigurationScript"); scope.Start(); try { @@ -140,7 +140,7 @@ public virtual async Task> VpnDeviceConfigurationScriptAsync(st /// The cancellation token to use. public virtual Response VpnDeviceConfigurationScript(string resourceGroupName, string virtualNetworkGatewayConnectionName, VpnDeviceScriptParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.VpnDeviceConfigurationScript"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.VpnDeviceConfigurationScript"); scope.Start(); try { @@ -165,7 +165,7 @@ public virtual AsyncPageable ListAsync(string resourceGro async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.List"); scope.Start(); try { @@ -180,7 +180,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.List"); scope.Start(); try { @@ -208,7 +208,7 @@ public virtual Pageable List(string resourceGroupName, Ca Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.List"); scope.Start(); try { @@ -223,7 +223,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.List"); scope.Start(); try { @@ -256,7 +256,7 @@ public virtual AsyncPageable ListConn async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.ListConnections"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.ListConnections"); scope.Start(); try { @@ -271,7 +271,7 @@ async Task> FirstPageFunc(int? p } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.ListConnections"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.ListConnections"); scope.Start(); try { @@ -304,7 +304,7 @@ public virtual Pageable ListConnectio Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.ListConnections"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.ListConnections"); scope.Start(); try { @@ -319,7 +319,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.ListConnections"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.ListConnections"); scope.Start(); try { @@ -355,7 +355,7 @@ public virtual async Task StartCr throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -389,7 +389,7 @@ public virtual VirtualNetworkGatewaysCreateOrUpdateOperation StartCreateOrUpdate throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -418,7 +418,7 @@ public virtual async Task StartDeleteAsyn throw new ArgumentNullException(nameof(virtualNetworkGatewayName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.StartDelete"); scope.Start(); try { @@ -447,7 +447,7 @@ public virtual VirtualNetworkGatewaysDeleteOperation StartDelete(string resource throw new ArgumentNullException(nameof(virtualNetworkGatewayName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.StartDelete"); scope.Start(); try { @@ -481,7 +481,7 @@ public virtual async Task StartUpdate throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.StartUpdateTags"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.StartUpdateTags"); scope.Start(); try { @@ -515,7 +515,7 @@ public virtual VirtualNetworkGatewaysUpdateTagsOperation StartUpdateTags(string throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.StartUpdateTags"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.StartUpdateTags"); scope.Start(); try { @@ -545,7 +545,7 @@ public virtual async Task StartResetAsync( throw new ArgumentNullException(nameof(virtualNetworkGatewayName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.StartReset"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.StartReset"); scope.Start(); try { @@ -575,7 +575,7 @@ public virtual VirtualNetworkGatewaysResetOperation StartReset(string resourceGr throw new ArgumentNullException(nameof(virtualNetworkGatewayName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.StartReset"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.StartReset"); scope.Start(); try { @@ -604,7 +604,7 @@ public virtual async Task Sta throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.StartGenerateVpnProfile"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.StartGenerateVpnProfile"); scope.Start(); try { @@ -769,7 +769,7 @@ public virtual VirtualNetworkGatewaysGenerateVpnProfileOperation StartGenerateVp throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.StartGenerateVpnProfile"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.StartGenerateVpnProfile"); scope.Start(); try { @@ -798,7 +798,7 @@ public virtual async Task Start throw new ArgumentNullException(nameof(virtualNetworkGatewayName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.StartGetBgpPeerStatus"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.StartGetBgpPeerStatus"); scope.Start(); try { @@ -887,7 +887,7 @@ public virtual VirtualNetworkGatewaysGetBgpPeerStatusOperation StartGetBgpPeerSt throw new ArgumentNullException(nameof(virtualNetworkGatewayName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.StartGetBgpPeerStatus"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.StartGetBgpPeerStatus"); scope.Start(); try { @@ -916,7 +916,7 @@ public virtual async Task Start throw new ArgumentNullException(nameof(virtualNetworkGatewayName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.StartGetLearnedRoutes"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.StartGetLearnedRoutes"); scope.Start(); try { @@ -945,7 +945,7 @@ public virtual VirtualNetworkGatewaysGetLearnedRoutesOperation StartGetLearnedRo throw new ArgumentNullException(nameof(virtualNetworkGatewayName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.StartGetLearnedRoutes"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.StartGetLearnedRoutes"); scope.Start(); try { @@ -979,7 +979,7 @@ public virtual async Task St throw new ArgumentNullException(nameof(peer)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.StartGetAdvertisedRoutes"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.StartGetAdvertisedRoutes"); scope.Start(); try { @@ -1013,7 +1013,7 @@ public virtual VirtualNetworkGatewaysGetAdvertisedRoutesOperation StartGetAdvert throw new ArgumentNullException(nameof(peer)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.StartGetAdvertisedRoutes"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.StartGetAdvertisedRoutes"); scope.Start(); try { @@ -1047,7 +1047,7 @@ public virtual async Task Sta throw new ArgumentNullException(nameof(virtualNetworkGatewayName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.StartStartPacketCapture"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.StartStartPacketCapture"); scope.Start(); try { @@ -1199,7 +1199,7 @@ public virtual VirtualNetworkGatewaysStartPacketCaptureOperation StartStartPacke throw new ArgumentNullException(nameof(virtualNetworkGatewayName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.StartStartPacketCapture"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.StartStartPacketCapture"); scope.Start(); try { @@ -1233,7 +1233,7 @@ public virtual async Task Star throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.StartStopPacketCapture"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.StartStopPacketCapture"); scope.Start(); try { @@ -1267,7 +1267,7 @@ public virtual VirtualNetworkGatewaysStopPacketCaptureOperation StartStopPacketC throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.StartStopPacketCapture"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.StartStopPacketCapture"); scope.Start(); try { @@ -1296,7 +1296,7 @@ public virtual async Task Initializes a new instance of VirtualNetworkGatewaysRestClient. + /// Initializes a new instance of VirtualNetworkGatewaysRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VirtualNetworkGatewaysRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VirtualNetworkGatewaysRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkPeeringsClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkPeeringsOperations.cs similarity index 94% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkPeeringsClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkPeeringsOperations.cs index d0291ecb9d0a5..00238d155a58e 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkPeeringsClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkPeeringsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The VirtualNetworkPeerings service client. - public partial class VirtualNetworkPeeringsClient + public partial class VirtualNetworkPeeringsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VirtualNetworkPeeringsRestClient RestClient { get; } - /// Initializes a new instance of VirtualNetworkPeeringsClient for mocking. - protected VirtualNetworkPeeringsClient() + internal VirtualNetworkPeeringsRestOperations RestClient { get; } + /// Initializes a new instance of VirtualNetworkPeeringsOperations for mocking. + protected VirtualNetworkPeeringsOperations() { } - /// Initializes a new instance of VirtualNetworkPeeringsClient. + /// Initializes a new instance of VirtualNetworkPeeringsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VirtualNetworkPeeringsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VirtualNetworkPeeringsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VirtualNetworkPeeringsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VirtualNetworkPeeringsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal VirtualNetworkPeeringsClient(ClientDiagnostics clientDiagnostics, HttpP /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string virtualNetworkName, string virtualNetworkPeeringName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkPeeringsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkPeeringsOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resou /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string virtualNetworkName, string virtualNetworkPeeringName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkPeeringsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkPeeringsOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListAsync(string resourceGro async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkPeeringsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkPeeringsOperations.List"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkPeeringsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkPeeringsOperations.List"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable List(string resourceGroupName, st Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkPeeringsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkPeeringsOperations.List"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkPeeringsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkPeeringsOperations.List"); scope.Start(); try { @@ -193,7 +193,7 @@ public virtual async Task StartDeleteAsyn throw new ArgumentNullException(nameof(virtualNetworkPeeringName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkPeeringsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkPeeringsOperations.StartDelete"); scope.Start(); try { @@ -227,7 +227,7 @@ public virtual VirtualNetworkPeeringsDeleteOperation StartDelete(string resource throw new ArgumentNullException(nameof(virtualNetworkPeeringName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkPeeringsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkPeeringsOperations.StartDelete"); scope.Start(); try { @@ -266,7 +266,7 @@ public virtual async Task StartCr throw new ArgumentNullException(nameof(virtualNetworkPeeringParameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkPeeringsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkPeeringsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -305,7 +305,7 @@ public virtual VirtualNetworkPeeringsCreateOrUpdateOperation StartCreateOrUpdate throw new ArgumentNullException(nameof(virtualNetworkPeeringParameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkPeeringsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkPeeringsOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkPeeringsRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkPeeringsRestOperations.cs similarity index 99% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkPeeringsRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkPeeringsRestOperations.cs index 54293e179f4e2..83bead4a22983 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkPeeringsRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkPeeringsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class VirtualNetworkPeeringsRestClient + internal partial class VirtualNetworkPeeringsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of VirtualNetworkPeeringsRestClient. + /// Initializes a new instance of VirtualNetworkPeeringsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VirtualNetworkPeeringsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VirtualNetworkPeeringsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkTapsClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkTapsOperations.cs similarity index 93% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkTapsClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkTapsOperations.cs index c4ea812b14608..7f61675a4fad2 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkTapsClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkTapsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The VirtualNetworkTaps service client. - public partial class VirtualNetworkTapsClient + public partial class VirtualNetworkTapsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VirtualNetworkTapsRestClient RestClient { get; } - /// Initializes a new instance of VirtualNetworkTapsClient for mocking. - protected VirtualNetworkTapsClient() + internal VirtualNetworkTapsRestOperations RestClient { get; } + /// Initializes a new instance of VirtualNetworkTapsOperations for mocking. + protected VirtualNetworkTapsOperations() { } - /// Initializes a new instance of VirtualNetworkTapsClient. + /// Initializes a new instance of VirtualNetworkTapsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VirtualNetworkTapsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VirtualNetworkTapsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VirtualNetworkTapsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VirtualNetworkTapsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal VirtualNetworkTapsClient(ClientDiagnostics clientDiagnostics, HttpPipel /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string tapName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string resourceG /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string tapName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsOperations.Get"); scope.Start(); try { @@ -82,7 +82,7 @@ public virtual Response Get(string resourceGroupName, string /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string tapName, TagsObject tapParameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsOperations.UpdateTags"); scope.Start(); try { @@ -102,7 +102,7 @@ public virtual async Task> UpdateTagsAsync(string re /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string tapName, TagsObject tapParameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsOperations.UpdateTags"); scope.Start(); try { @@ -121,7 +121,7 @@ public virtual AsyncPageable ListAllAsync(CancellationToken c { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsOperations.ListAll"); scope.Start(); try { @@ -136,7 +136,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsOperations.ListAll"); scope.Start(); try { @@ -158,7 +158,7 @@ public virtual Pageable ListAll(CancellationToken cancellatio { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsOperations.ListAll"); scope.Start(); try { @@ -173,7 +173,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsOperations.ListAll"); scope.Start(); try { @@ -201,7 +201,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(string async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsOperations.ListByResourceGroup"); scope.Start(); try { @@ -216,7 +216,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsOperations.ListByResourceGroup"); scope.Start(); try { @@ -244,7 +244,7 @@ public virtual Pageable ListByResourceGroup(string resourceGr Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsOperations.ListByResourceGroup"); scope.Start(); try { @@ -259,7 +259,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsOperations.ListByResourceGroup"); scope.Start(); try { @@ -290,7 +290,7 @@ public virtual async Task StartDeleteAsync(st throw new ArgumentNullException(nameof(tapName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsOperations.StartDelete"); scope.Start(); try { @@ -319,7 +319,7 @@ public virtual VirtualNetworkTapsDeleteOperation StartDelete(string resourceGrou throw new ArgumentNullException(nameof(tapName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsOperations.StartDelete"); scope.Start(); try { @@ -353,7 +353,7 @@ public virtual async Task StartCreate throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -387,7 +387,7 @@ public virtual VirtualNetworkTapsCreateOrUpdateOperation StartCreateOrUpdate(str throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkTapsRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkTapsRestOperations.cs similarity index 99% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkTapsRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkTapsRestOperations.cs index aaa0fd07b93e5..fa496a628156d 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkTapsRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkTapsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class VirtualNetworkTapsRestClient + internal partial class VirtualNetworkTapsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of VirtualNetworkTapsRestClient. + /// Initializes a new instance of VirtualNetworkTapsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VirtualNetworkTapsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VirtualNetworkTapsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworksClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworksOperations.cs similarity index 94% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworksClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworksOperations.cs index 032ef12a03302..ac83c0dc2d394 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworksClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworksOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The VirtualNetworks service client. - public partial class VirtualNetworksClient + public partial class VirtualNetworksOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VirtualNetworksRestClient RestClient { get; } - /// Initializes a new instance of VirtualNetworksClient for mocking. - protected VirtualNetworksClient() + internal VirtualNetworksRestOperations RestClient { get; } + /// Initializes a new instance of VirtualNetworksOperations for mocking. + protected VirtualNetworksOperations() { } - /// Initializes a new instance of VirtualNetworksClient. + /// Initializes a new instance of VirtualNetworksOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VirtualNetworksClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VirtualNetworksOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VirtualNetworksRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VirtualNetworksRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal VirtualNetworksClient(ClientDiagnostics clientDiagnostics, HttpPipeline /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string virtualNetworkName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworksClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworksOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGrou /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string virtualNetworkName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworksClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworksOperations.Get"); scope.Start(); try { @@ -84,7 +84,7 @@ public virtual Response Get(string resourceGroupName, string vir /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string virtualNetworkName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworksClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworksOperations.UpdateTags"); scope.Start(); try { @@ -104,7 +104,7 @@ public virtual async Task> UpdateTagsAsync(string resou /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string virtualNetworkName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworksClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworksOperations.UpdateTags"); scope.Start(); try { @@ -124,7 +124,7 @@ public virtual Response UpdateTags(string resourceGroupName, str /// The cancellation token to use. public virtual async Task> CheckIPAddressAvailabilityAsync(string resourceGroupName, string virtualNetworkName, string ipAddress, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworksClient.CheckIPAddressAvailability"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworksOperations.CheckIPAddressAvailability"); scope.Start(); try { @@ -144,7 +144,7 @@ public virtual async Task> CheckIPAddressA /// The cancellation token to use. public virtual Response CheckIPAddressAvailability(string resourceGroupName, string virtualNetworkName, string ipAddress, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworksClient.CheckIPAddressAvailability"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworksOperations.CheckIPAddressAvailability"); scope.Start(); try { @@ -163,7 +163,7 @@ public virtual AsyncPageable ListAllAsync(CancellationToken canc { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworksClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworksOperations.ListAll"); scope.Start(); try { @@ -178,7 +178,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworksClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworksOperations.ListAll"); scope.Start(); try { @@ -200,7 +200,7 @@ public virtual Pageable ListAll(CancellationToken cancellationTo { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworksClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworksOperations.ListAll"); scope.Start(); try { @@ -215,7 +215,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworksClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworksOperations.ListAll"); scope.Start(); try { @@ -243,7 +243,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName, async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworksClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworksOperations.List"); scope.Start(); try { @@ -258,7 +258,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworksClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworksOperations.List"); scope.Start(); try { @@ -286,7 +286,7 @@ public virtual Pageable List(string resourceGroupName, Cancellat Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworksClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworksOperations.List"); scope.Start(); try { @@ -301,7 +301,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworksClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworksOperations.List"); scope.Start(); try { @@ -334,7 +334,7 @@ public virtual AsyncPageable ListUsageAsync(string resource async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworksClient.ListUsage"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworksOperations.ListUsage"); scope.Start(); try { @@ -349,7 +349,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworksClient.ListUsage"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworksOperations.ListUsage"); scope.Start(); try { @@ -382,7 +382,7 @@ public virtual Pageable ListUsage(string resourceGroupName, Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworksClient.ListUsage"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworksOperations.ListUsage"); scope.Start(); try { @@ -397,7 +397,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworksClient.ListUsage"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworksOperations.ListUsage"); scope.Start(); try { @@ -428,7 +428,7 @@ public virtual async Task StartDeleteAsync(strin throw new ArgumentNullException(nameof(virtualNetworkName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworksClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworksOperations.StartDelete"); scope.Start(); try { @@ -457,7 +457,7 @@ public virtual VirtualNetworksDeleteOperation StartDelete(string resourceGroupNa throw new ArgumentNullException(nameof(virtualNetworkName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworksClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworksOperations.StartDelete"); scope.Start(); try { @@ -491,7 +491,7 @@ public virtual async Task StartCreateOrU throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworksClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworksOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -525,7 +525,7 @@ public virtual VirtualNetworksCreateOrUpdateOperation StartCreateOrUpdate(string throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworksClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworksOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworksRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworksRestOperations.cs similarity index 99% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworksRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworksRestOperations.cs index d4aeeb6d91f77..205be776219bd 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworksRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworksRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class VirtualNetworksRestClient + internal partial class VirtualNetworksRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of VirtualNetworksRestClient. + /// Initializes a new instance of VirtualNetworksRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VirtualNetworksRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VirtualNetworksRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualRouterPeeringsClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualRouterPeeringsOperations.cs similarity index 93% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualRouterPeeringsClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualRouterPeeringsOperations.cs index f32286f753496..c8b28e1a8bf2a 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualRouterPeeringsClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualRouterPeeringsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The VirtualRouterPeerings service client. - public partial class VirtualRouterPeeringsClient + public partial class VirtualRouterPeeringsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VirtualRouterPeeringsRestClient RestClient { get; } - /// Initializes a new instance of VirtualRouterPeeringsClient for mocking. - protected VirtualRouterPeeringsClient() + internal VirtualRouterPeeringsRestOperations RestClient { get; } + /// Initializes a new instance of VirtualRouterPeeringsOperations for mocking. + protected VirtualRouterPeeringsOperations() { } - /// Initializes a new instance of VirtualRouterPeeringsClient. + /// Initializes a new instance of VirtualRouterPeeringsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VirtualRouterPeeringsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VirtualRouterPeeringsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VirtualRouterPeeringsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VirtualRouterPeeringsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal VirtualRouterPeeringsClient(ClientDiagnostics clientDiagnostics, HttpPi /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string virtualRouterName, string peeringName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualRouterPeeringsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualRouterPeeringsOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resour /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string virtualRouterName, string peeringName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualRouterPeeringsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualRouterPeeringsOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListAsync(string resourceGrou async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualRouterPeeringsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualRouterPeeringsOperations.List"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualRouterPeeringsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualRouterPeeringsOperations.List"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable List(string resourceGroupName, str Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualRouterPeeringsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualRouterPeeringsOperations.List"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualRouterPeeringsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualRouterPeeringsOperations.List"); scope.Start(); try { @@ -193,7 +193,7 @@ public virtual async Task StartDeleteAsync throw new ArgumentNullException(nameof(peeringName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualRouterPeeringsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualRouterPeeringsOperations.StartDelete"); scope.Start(); try { @@ -227,7 +227,7 @@ public virtual VirtualRouterPeeringsDeleteOperation StartDelete(string resourceG throw new ArgumentNullException(nameof(peeringName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualRouterPeeringsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualRouterPeeringsOperations.StartDelete"); scope.Start(); try { @@ -266,7 +266,7 @@ public virtual async Task StartCre throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualRouterPeeringsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualRouterPeeringsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -305,7 +305,7 @@ public virtual VirtualRouterPeeringsCreateOrUpdateOperation StartCreateOrUpdate( throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualRouterPeeringsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualRouterPeeringsOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualRouterPeeringsRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualRouterPeeringsRestOperations.cs similarity index 99% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualRouterPeeringsRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualRouterPeeringsRestOperations.cs index e06eea60fa3c6..6bb550774ce07 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualRouterPeeringsRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualRouterPeeringsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class VirtualRouterPeeringsRestClient + internal partial class VirtualRouterPeeringsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of VirtualRouterPeeringsRestClient. + /// Initializes a new instance of VirtualRouterPeeringsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VirtualRouterPeeringsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VirtualRouterPeeringsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualRoutersClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualRoutersOperations.cs similarity index 94% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualRoutersClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualRoutersOperations.cs index 47f4f48ee55d6..e4ee0ef2a0114 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualRoutersClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualRoutersOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The VirtualRouters service client. - public partial class VirtualRoutersClient + public partial class VirtualRoutersOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VirtualRoutersRestClient RestClient { get; } - /// Initializes a new instance of VirtualRoutersClient for mocking. - protected VirtualRoutersClient() + internal VirtualRoutersRestOperations RestClient { get; } + /// Initializes a new instance of VirtualRoutersOperations for mocking. + protected VirtualRoutersOperations() { } - /// Initializes a new instance of VirtualRoutersClient. + /// Initializes a new instance of VirtualRoutersOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VirtualRoutersClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VirtualRoutersOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VirtualRoutersRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VirtualRoutersRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal VirtualRoutersClient(ClientDiagnostics clientDiagnostics, HttpPipeline /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string virtualRouterName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualRoutersClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualRoutersOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGroup /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string virtualRouterName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualRoutersClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualRoutersOperations.Get"); scope.Start(); try { @@ -89,7 +89,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(string reso async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualRoutersClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VirtualRoutersOperations.ListByResourceGroup"); scope.Start(); try { @@ -104,7 +104,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualRoutersClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VirtualRoutersOperations.ListByResourceGroup"); scope.Start(); try { @@ -132,7 +132,7 @@ public virtual Pageable ListByResourceGroup(string resourceGroupN Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualRoutersClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VirtualRoutersOperations.ListByResourceGroup"); scope.Start(); try { @@ -147,7 +147,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualRoutersClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VirtualRoutersOperations.ListByResourceGroup"); scope.Start(); try { @@ -169,7 +169,7 @@ public virtual AsyncPageable ListAsync(CancellationToken cancella { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualRoutersClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualRoutersOperations.List"); scope.Start(); try { @@ -184,7 +184,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualRoutersClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualRoutersOperations.List"); scope.Start(); try { @@ -206,7 +206,7 @@ public virtual Pageable List(CancellationToken cancellationToken { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualRoutersClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualRoutersOperations.List"); scope.Start(); try { @@ -221,7 +221,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualRoutersClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualRoutersOperations.List"); scope.Start(); try { @@ -252,7 +252,7 @@ public virtual async Task StartDeleteAsync(string throw new ArgumentNullException(nameof(virtualRouterName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualRoutersClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualRoutersOperations.StartDelete"); scope.Start(); try { @@ -281,7 +281,7 @@ public virtual VirtualRoutersDeleteOperation StartDelete(string resourceGroupNam throw new ArgumentNullException(nameof(virtualRouterName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualRoutersClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualRoutersOperations.StartDelete"); scope.Start(); try { @@ -315,7 +315,7 @@ public virtual async Task StartCreateOrUp throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualRoutersClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualRoutersOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -349,7 +349,7 @@ public virtual VirtualRoutersCreateOrUpdateOperation StartCreateOrUpdate(string throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualRoutersClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualRoutersOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualRoutersRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualRoutersRestOperations.cs similarity index 99% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualRoutersRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualRoutersRestOperations.cs index 37919b893fdcb..7eda7b9330bc6 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualRoutersRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualRoutersRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class VirtualRoutersRestClient + internal partial class VirtualRoutersRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of VirtualRoutersRestClient. + /// Initializes a new instance of VirtualRoutersRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VirtualRoutersRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VirtualRoutersRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualWansClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualWansOperations.cs similarity index 93% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualWansClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualWansOperations.cs index 04f74cf35f964..e5a2ac5201918 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualWansClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualWansOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The VirtualWans service client. - public partial class VirtualWansClient + public partial class VirtualWansOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VirtualWansRestClient RestClient { get; } - /// Initializes a new instance of VirtualWansClient for mocking. - protected VirtualWansClient() + internal VirtualWansRestOperations RestClient { get; } + /// Initializes a new instance of VirtualWansOperations for mocking. + protected VirtualWansOperations() { } - /// Initializes a new instance of VirtualWansClient. + /// Initializes a new instance of VirtualWansOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VirtualWansClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VirtualWansOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VirtualWansRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VirtualWansRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal VirtualWansClient(ClientDiagnostics clientDiagnostics, HttpPipeline pip /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string virtualWANName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualWansClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualWansOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string resourceGroupNam /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string virtualWANName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualWansClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualWansOperations.Get"); scope.Start(); try { @@ -82,7 +82,7 @@ public virtual Response Get(string resourceGroupName, string virtual /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string virtualWANName, TagsObject wANParameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualWansClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("VirtualWansOperations.UpdateTags"); scope.Start(); try { @@ -102,7 +102,7 @@ public virtual async Task> UpdateTagsAsync(string resourceG /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string virtualWANName, TagsObject wANParameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualWansClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("VirtualWansOperations.UpdateTags"); scope.Start(); try { @@ -127,7 +127,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(string resourc async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualWansClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VirtualWansOperations.ListByResourceGroup"); scope.Start(); try { @@ -142,7 +142,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualWansClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VirtualWansOperations.ListByResourceGroup"); scope.Start(); try { @@ -170,7 +170,7 @@ public virtual Pageable ListByResourceGroup(string resourceGroupName Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualWansClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VirtualWansOperations.ListByResourceGroup"); scope.Start(); try { @@ -185,7 +185,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualWansClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VirtualWansOperations.ListByResourceGroup"); scope.Start(); try { @@ -207,7 +207,7 @@ public virtual AsyncPageable ListAsync(CancellationToken cancellatio { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualWansClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualWansOperations.List"); scope.Start(); try { @@ -222,7 +222,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualWansClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualWansOperations.List"); scope.Start(); try { @@ -244,7 +244,7 @@ public virtual Pageable List(CancellationToken cancellationToken = d { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualWansClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualWansOperations.List"); scope.Start(); try { @@ -259,7 +259,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualWansClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualWansOperations.List"); scope.Start(); try { @@ -295,7 +295,7 @@ public virtual async Task StartCreateOrUpdat throw new ArgumentNullException(nameof(wANParameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualWansClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualWansOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -329,7 +329,7 @@ public virtual VirtualWansCreateOrUpdateOperation StartCreateOrUpdate(string res throw new ArgumentNullException(nameof(wANParameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualWansClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualWansOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -358,7 +358,7 @@ public virtual async Task StartDeleteAsync(string re throw new ArgumentNullException(nameof(virtualWANName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualWansClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualWansOperations.StartDelete"); scope.Start(); try { @@ -387,7 +387,7 @@ public virtual VirtualWansDeleteOperation StartDelete(string resourceGroupName, throw new ArgumentNullException(nameof(virtualWANName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualWansClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualWansOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualWansRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualWansRestOperations.cs similarity index 99% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualWansRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualWansRestOperations.cs index 3f901ece011b2..93482eb04918b 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualWansRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualWansRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class VirtualWansRestClient + internal partial class VirtualWansRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of VirtualWansRestClient. + /// Initializes a new instance of VirtualWansRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VirtualWansRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VirtualWansRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnConnectionsClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnConnectionsOperations.cs similarity index 94% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/VpnConnectionsClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/VpnConnectionsOperations.cs index 712e4492ea501..d0a3df1f8fd75 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnConnectionsClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnConnectionsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The VpnConnections service client. - public partial class VpnConnectionsClient + public partial class VpnConnectionsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VpnConnectionsRestClient RestClient { get; } - /// Initializes a new instance of VpnConnectionsClient for mocking. - protected VpnConnectionsClient() + internal VpnConnectionsRestOperations RestClient { get; } + /// Initializes a new instance of VpnConnectionsOperations for mocking. + protected VpnConnectionsOperations() { } - /// Initializes a new instance of VpnConnectionsClient. + /// Initializes a new instance of VpnConnectionsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VpnConnectionsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VpnConnectionsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VpnConnectionsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VpnConnectionsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal VpnConnectionsClient(ClientDiagnostics clientDiagnostics, HttpPipeline /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string gatewayName, string connectionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VpnConnectionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VpnConnectionsOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGroup /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string gatewayName, string connectionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VpnConnectionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VpnConnectionsOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListByVpnGatewayAsync(string resourc async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnConnectionsClient.ListByVpnGateway"); + using var scope = _clientDiagnostics.CreateScope("VpnConnectionsOperations.ListByVpnGateway"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnConnectionsClient.ListByVpnGateway"); + using var scope = _clientDiagnostics.CreateScope("VpnConnectionsOperations.ListByVpnGateway"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable ListByVpnGateway(string resourceGroupName Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnConnectionsClient.ListByVpnGateway"); + using var scope = _clientDiagnostics.CreateScope("VpnConnectionsOperations.ListByVpnGateway"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnConnectionsClient.ListByVpnGateway"); + using var scope = _clientDiagnostics.CreateScope("VpnConnectionsOperations.ListByVpnGateway"); scope.Start(); try { @@ -198,7 +198,7 @@ public virtual async Task StartCreateOrUp throw new ArgumentNullException(nameof(vpnConnectionParameters)); } - using var scope = _clientDiagnostics.CreateScope("VpnConnectionsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VpnConnectionsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -237,7 +237,7 @@ public virtual VpnConnectionsCreateOrUpdateOperation StartCreateOrUpdate(string throw new ArgumentNullException(nameof(vpnConnectionParameters)); } - using var scope = _clientDiagnostics.CreateScope("VpnConnectionsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VpnConnectionsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -271,7 +271,7 @@ public virtual async Task StartDeleteAsync(string throw new ArgumentNullException(nameof(connectionName)); } - using var scope = _clientDiagnostics.CreateScope("VpnConnectionsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VpnConnectionsOperations.StartDelete"); scope.Start(); try { @@ -305,7 +305,7 @@ public virtual VpnConnectionsDeleteOperation StartDelete(string resourceGroupNam throw new ArgumentNullException(nameof(connectionName)); } - using var scope = _clientDiagnostics.CreateScope("VpnConnectionsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VpnConnectionsOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnConnectionsRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnConnectionsRestOperations.cs similarity index 99% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/VpnConnectionsRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/VpnConnectionsRestOperations.cs index b3191a262cb9c..3bd4e07a8ba70 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnConnectionsRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnConnectionsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class VpnConnectionsRestClient + internal partial class VpnConnectionsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of VpnConnectionsRestClient. + /// Initializes a new instance of VpnConnectionsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VpnConnectionsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VpnConnectionsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnGatewaysClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnGatewaysOperations.cs similarity index 94% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/VpnGatewaysClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/VpnGatewaysOperations.cs index 397d3b488f58c..715dbc137491a 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnGatewaysClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnGatewaysOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The VpnGateways service client. - public partial class VpnGatewaysClient + public partial class VpnGatewaysOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VpnGatewaysRestClient RestClient { get; } - /// Initializes a new instance of VpnGatewaysClient for mocking. - protected VpnGatewaysClient() + internal VpnGatewaysRestOperations RestClient { get; } + /// Initializes a new instance of VpnGatewaysOperations for mocking. + protected VpnGatewaysOperations() { } - /// Initializes a new instance of VpnGatewaysClient. + /// Initializes a new instance of VpnGatewaysOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VpnGatewaysClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VpnGatewaysOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VpnGatewaysRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VpnGatewaysRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal VpnGatewaysClient(ClientDiagnostics clientDiagnostics, HttpPipeline pip /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string gatewayName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VpnGatewaysClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VpnGatewaysOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string resourceGroupNam /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string gatewayName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VpnGatewaysClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VpnGatewaysOperations.Get"); scope.Start(); try { @@ -82,7 +82,7 @@ public virtual Response Get(string resourceGroupName, string gateway /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string gatewayName, TagsObject vpnGatewayParameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VpnGatewaysClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("VpnGatewaysOperations.UpdateTags"); scope.Start(); try { @@ -102,7 +102,7 @@ public virtual async Task> UpdateTagsAsync(string resourceG /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string gatewayName, TagsObject vpnGatewayParameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VpnGatewaysClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("VpnGatewaysOperations.UpdateTags"); scope.Start(); try { @@ -127,7 +127,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(string resourc async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnGatewaysClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VpnGatewaysOperations.ListByResourceGroup"); scope.Start(); try { @@ -142,7 +142,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnGatewaysClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VpnGatewaysOperations.ListByResourceGroup"); scope.Start(); try { @@ -170,7 +170,7 @@ public virtual Pageable ListByResourceGroup(string resourceGroupName Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnGatewaysClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VpnGatewaysOperations.ListByResourceGroup"); scope.Start(); try { @@ -185,7 +185,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnGatewaysClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VpnGatewaysOperations.ListByResourceGroup"); scope.Start(); try { @@ -207,7 +207,7 @@ public virtual AsyncPageable ListAsync(CancellationToken cancellatio { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnGatewaysClient.List"); + using var scope = _clientDiagnostics.CreateScope("VpnGatewaysOperations.List"); scope.Start(); try { @@ -222,7 +222,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnGatewaysClient.List"); + using var scope = _clientDiagnostics.CreateScope("VpnGatewaysOperations.List"); scope.Start(); try { @@ -244,7 +244,7 @@ public virtual Pageable List(CancellationToken cancellationToken = d { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnGatewaysClient.List"); + using var scope = _clientDiagnostics.CreateScope("VpnGatewaysOperations.List"); scope.Start(); try { @@ -259,7 +259,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnGatewaysClient.List"); + using var scope = _clientDiagnostics.CreateScope("VpnGatewaysOperations.List"); scope.Start(); try { @@ -295,7 +295,7 @@ public virtual async Task StartCreateOrUpdat throw new ArgumentNullException(nameof(vpnGatewayParameters)); } - using var scope = _clientDiagnostics.CreateScope("VpnGatewaysClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VpnGatewaysOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -329,7 +329,7 @@ public virtual VpnGatewaysCreateOrUpdateOperation StartCreateOrUpdate(string res throw new ArgumentNullException(nameof(vpnGatewayParameters)); } - using var scope = _clientDiagnostics.CreateScope("VpnGatewaysClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VpnGatewaysOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -358,7 +358,7 @@ public virtual async Task StartDeleteAsync(string re throw new ArgumentNullException(nameof(gatewayName)); } - using var scope = _clientDiagnostics.CreateScope("VpnGatewaysClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VpnGatewaysOperations.StartDelete"); scope.Start(); try { @@ -387,7 +387,7 @@ public virtual VpnGatewaysDeleteOperation StartDelete(string resourceGroupName, throw new ArgumentNullException(nameof(gatewayName)); } - using var scope = _clientDiagnostics.CreateScope("VpnGatewaysClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VpnGatewaysOperations.StartDelete"); scope.Start(); try { @@ -416,7 +416,7 @@ public virtual async Task StartResetAsync(string reso throw new ArgumentNullException(nameof(gatewayName)); } - using var scope = _clientDiagnostics.CreateScope("VpnGatewaysClient.StartReset"); + using var scope = _clientDiagnostics.CreateScope("VpnGatewaysOperations.StartReset"); scope.Start(); try { @@ -445,7 +445,7 @@ public virtual VpnGatewaysResetOperation StartReset(string resourceGroupName, st throw new ArgumentNullException(nameof(gatewayName)); } - using var scope = _clientDiagnostics.CreateScope("VpnGatewaysClient.StartReset"); + using var scope = _clientDiagnostics.CreateScope("VpnGatewaysOperations.StartReset"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnGatewaysRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnGatewaysRestOperations.cs similarity index 99% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/VpnGatewaysRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/VpnGatewaysRestOperations.cs index e9a7c22ccc227..28157c500671f 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnGatewaysRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnGatewaysRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class VpnGatewaysRestClient + internal partial class VpnGatewaysRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of VpnGatewaysRestClient. + /// Initializes a new instance of VpnGatewaysRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VpnGatewaysRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VpnGatewaysRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnLinkConnectionsClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnLinkConnectionsOperations.cs similarity index 89% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/VpnLinkConnectionsClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/VpnLinkConnectionsOperations.cs index 3a1651c71f5f8..3d0f560a9efba 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnLinkConnectionsClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnLinkConnectionsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The VpnLinkConnections service client. - public partial class VpnLinkConnectionsClient + public partial class VpnLinkConnectionsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VpnLinkConnectionsRestClient RestClient { get; } - /// Initializes a new instance of VpnLinkConnectionsClient for mocking. - protected VpnLinkConnectionsClient() + internal VpnLinkConnectionsRestOperations RestClient { get; } + /// Initializes a new instance of VpnLinkConnectionsOperations for mocking. + protected VpnLinkConnectionsOperations() { } - /// Initializes a new instance of VpnLinkConnectionsClient. + /// Initializes a new instance of VpnLinkConnectionsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VpnLinkConnectionsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VpnLinkConnectionsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VpnLinkConnectionsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VpnLinkConnectionsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -59,7 +59,7 @@ public virtual AsyncPageable ListByVpnConnectionAsync(str async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnLinkConnectionsClient.ListByVpnConnection"); + using var scope = _clientDiagnostics.CreateScope("VpnLinkConnectionsOperations.ListByVpnConnection"); scope.Start(); try { @@ -74,7 +74,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnLinkConnectionsClient.ListByVpnConnection"); + using var scope = _clientDiagnostics.CreateScope("VpnLinkConnectionsOperations.ListByVpnConnection"); scope.Start(); try { @@ -112,7 +112,7 @@ public virtual Pageable ListByVpnConnection(string resour Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnLinkConnectionsClient.ListByVpnConnection"); + using var scope = _clientDiagnostics.CreateScope("VpnLinkConnectionsOperations.ListByVpnConnection"); scope.Start(); try { @@ -127,7 +127,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnLinkConnectionsClient.ListByVpnConnection"); + using var scope = _clientDiagnostics.CreateScope("VpnLinkConnectionsOperations.ListByVpnConnection"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnLinkConnectionsRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnLinkConnectionsRestOperations.cs similarity index 98% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/VpnLinkConnectionsRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/VpnLinkConnectionsRestOperations.cs index 5bfc1e31140ab..4c06891ce39fa 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnLinkConnectionsRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnLinkConnectionsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class VpnLinkConnectionsRestClient + internal partial class VpnLinkConnectionsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of VpnLinkConnectionsRestClient. + /// Initializes a new instance of VpnLinkConnectionsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VpnLinkConnectionsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VpnLinkConnectionsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnServerConfigurationsAssociatedWithVirtualWanClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnServerConfigurationsAssociatedWithVirtualWanOperations.cs similarity index 89% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/VpnServerConfigurationsAssociatedWithVirtualWanClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/VpnServerConfigurationsAssociatedWithVirtualWanOperations.cs index dbddafc804a92..ac82249832d72 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnServerConfigurationsAssociatedWithVirtualWanClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnServerConfigurationsAssociatedWithVirtualWanOperations.cs @@ -13,23 +13,23 @@ namespace Azure.ResourceManager.Network { /// The VpnServerConfigurationsAssociatedWithVirtualWan service client. - public partial class VpnServerConfigurationsAssociatedWithVirtualWanClient + public partial class VpnServerConfigurationsAssociatedWithVirtualWanOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VpnServerConfigurationsAssociatedWithVirtualWanRestClient RestClient { get; } - /// Initializes a new instance of VpnServerConfigurationsAssociatedWithVirtualWanClient for mocking. - protected VpnServerConfigurationsAssociatedWithVirtualWanClient() + internal VpnServerConfigurationsAssociatedWithVirtualWanRestOperations RestClient { get; } + /// Initializes a new instance of VpnServerConfigurationsAssociatedWithVirtualWanOperations for mocking. + protected VpnServerConfigurationsAssociatedWithVirtualWanOperations() { } - /// Initializes a new instance of VpnServerConfigurationsAssociatedWithVirtualWanClient. + /// Initializes a new instance of VpnServerConfigurationsAssociatedWithVirtualWanOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VpnServerConfigurationsAssociatedWithVirtualWanClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VpnServerConfigurationsAssociatedWithVirtualWanOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VpnServerConfigurationsAssociatedWithVirtualWanRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VpnServerConfigurationsAssociatedWithVirtualWanRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -49,7 +49,7 @@ public virtual async Task Initializes a new instance of VpnServerConfigurationsAssociatedWithVirtualWanRestClient. + /// Initializes a new instance of VpnServerConfigurationsAssociatedWithVirtualWanRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VpnServerConfigurationsAssociatedWithVirtualWanRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VpnServerConfigurationsAssociatedWithVirtualWanRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnServerConfigurationsClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnServerConfigurationsOperations.cs similarity index 93% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/VpnServerConfigurationsClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/VpnServerConfigurationsOperations.cs index 9d52fd722c52b..29c6ceed481d7 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnServerConfigurationsClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnServerConfigurationsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The VpnServerConfigurations service client. - public partial class VpnServerConfigurationsClient + public partial class VpnServerConfigurationsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VpnServerConfigurationsRestClient RestClient { get; } - /// Initializes a new instance of VpnServerConfigurationsClient for mocking. - protected VpnServerConfigurationsClient() + internal VpnServerConfigurationsRestOperations RestClient { get; } + /// Initializes a new instance of VpnServerConfigurationsOperations for mocking. + protected VpnServerConfigurationsOperations() { } - /// Initializes a new instance of VpnServerConfigurationsClient. + /// Initializes a new instance of VpnServerConfigurationsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VpnServerConfigurationsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VpnServerConfigurationsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VpnServerConfigurationsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VpnServerConfigurationsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal VpnServerConfigurationsClient(ClientDiagnostics clientDiagnostics, Http /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string vpnServerConfigurationName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string reso /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string vpnServerConfigurationName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsOperations.Get"); scope.Start(); try { @@ -82,7 +82,7 @@ public virtual Response Get(string resourceGroupName, st /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string vpnServerConfigurationName, TagsObject vpnServerConfigurationParameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsOperations.UpdateTags"); scope.Start(); try { @@ -102,7 +102,7 @@ public virtual async Task> UpdateTagsAsync(stri /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string vpnServerConfigurationName, TagsObject vpnServerConfigurationParameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsOperations.UpdateTags"); scope.Start(); try { @@ -127,7 +127,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(st async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsOperations.ListByResourceGroup"); scope.Start(); try { @@ -142,7 +142,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsOperations.ListByResourceGroup"); scope.Start(); try { @@ -170,7 +170,7 @@ public virtual Pageable ListByResourceGroup(string resou Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsOperations.ListByResourceGroup"); scope.Start(); try { @@ -185,7 +185,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsOperations.ListByResourceGroup"); scope.Start(); try { @@ -207,7 +207,7 @@ public virtual AsyncPageable ListAsync(CancellationToken { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsOperations.List"); scope.Start(); try { @@ -222,7 +222,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsOperations.List"); scope.Start(); try { @@ -244,7 +244,7 @@ public virtual Pageable List(CancellationToken cancellat { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsOperations.List"); scope.Start(); try { @@ -259,7 +259,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsOperations.List"); scope.Start(); try { @@ -295,7 +295,7 @@ public virtual async Task StartC throw new ArgumentNullException(nameof(vpnServerConfigurationParameters)); } - using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -329,7 +329,7 @@ public virtual VpnServerConfigurationsCreateOrUpdateOperation StartCreateOrUpdat throw new ArgumentNullException(nameof(vpnServerConfigurationParameters)); } - using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -358,7 +358,7 @@ public virtual async Task StartDeleteAsy throw new ArgumentNullException(nameof(vpnServerConfigurationName)); } - using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsOperations.StartDelete"); scope.Start(); try { @@ -387,7 +387,7 @@ public virtual VpnServerConfigurationsDeleteOperation StartDelete(string resourc throw new ArgumentNullException(nameof(vpnServerConfigurationName)); } - using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnServerConfigurationsRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnServerConfigurationsRestOperations.cs similarity index 99% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/VpnServerConfigurationsRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/VpnServerConfigurationsRestOperations.cs index a307e4e1dffe6..75b0e2a9f36af 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnServerConfigurationsRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnServerConfigurationsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class VpnServerConfigurationsRestClient + internal partial class VpnServerConfigurationsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of VpnServerConfigurationsRestClient. + /// Initializes a new instance of VpnServerConfigurationsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VpnServerConfigurationsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VpnServerConfigurationsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSiteLinkConnectionsClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSiteLinkConnectionsOperations.cs similarity index 85% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSiteLinkConnectionsClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSiteLinkConnectionsOperations.cs index bf9d8aa8f2818..5c648e04922a6 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSiteLinkConnectionsClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSiteLinkConnectionsOperations.cs @@ -15,23 +15,23 @@ namespace Azure.ResourceManager.Network { /// The VpnSiteLinkConnections service client. - public partial class VpnSiteLinkConnectionsClient + public partial class VpnSiteLinkConnectionsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VpnSiteLinkConnectionsRestClient RestClient { get; } - /// Initializes a new instance of VpnSiteLinkConnectionsClient for mocking. - protected VpnSiteLinkConnectionsClient() + internal VpnSiteLinkConnectionsRestOperations RestClient { get; } + /// Initializes a new instance of VpnSiteLinkConnectionsOperations for mocking. + protected VpnSiteLinkConnectionsOperations() { } - /// Initializes a new instance of VpnSiteLinkConnectionsClient. + /// Initializes a new instance of VpnSiteLinkConnectionsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VpnSiteLinkConnectionsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VpnSiteLinkConnectionsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VpnSiteLinkConnectionsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VpnSiteLinkConnectionsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal VpnSiteLinkConnectionsClient(ClientDiagnostics clientDiagnostics, HttpP /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string gatewayName, string connectionName, string linkConnectionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VpnSiteLinkConnectionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VpnSiteLinkConnectionsOperations.Get"); scope.Start(); try { @@ -65,7 +65,7 @@ public virtual async Task> GetAsync(string resou /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string gatewayName, string connectionName, string linkConnectionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VpnSiteLinkConnectionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VpnSiteLinkConnectionsOperations.Get"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSiteLinkConnectionsRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSiteLinkConnectionsRestOperations.cs similarity index 96% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSiteLinkConnectionsRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSiteLinkConnectionsRestOperations.cs index 63239ad347f61..26323926aaef2 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSiteLinkConnectionsRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSiteLinkConnectionsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class VpnSiteLinkConnectionsRestClient + internal partial class VpnSiteLinkConnectionsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of VpnSiteLinkConnectionsRestClient. + /// Initializes a new instance of VpnSiteLinkConnectionsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VpnSiteLinkConnectionsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VpnSiteLinkConnectionsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSiteLinksClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSiteLinksOperations.cs similarity index 91% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSiteLinksClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSiteLinksOperations.cs index e8a2f9035603d..c7f5d9129bb73 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSiteLinksClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSiteLinksOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The VpnSiteLinks service client. - public partial class VpnSiteLinksClient + public partial class VpnSiteLinksOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VpnSiteLinksRestClient RestClient { get; } - /// Initializes a new instance of VpnSiteLinksClient for mocking. - protected VpnSiteLinksClient() + internal VpnSiteLinksRestOperations RestClient { get; } + /// Initializes a new instance of VpnSiteLinksOperations for mocking. + protected VpnSiteLinksOperations() { } - /// Initializes a new instance of VpnSiteLinksClient. + /// Initializes a new instance of VpnSiteLinksOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VpnSiteLinksClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VpnSiteLinksOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VpnSiteLinksRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VpnSiteLinksRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal VpnSiteLinksClient(ClientDiagnostics clientDiagnostics, HttpPipeline pi /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string vpnSiteName, string vpnSiteLinkName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VpnSiteLinksClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VpnSiteLinksOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGroupNa /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string vpnSiteName, string vpnSiteLinkName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VpnSiteLinksClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VpnSiteLinksOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListByVpnSiteAsync(string resourceGrou async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnSiteLinksClient.ListByVpnSite"); + using var scope = _clientDiagnostics.CreateScope("VpnSiteLinksOperations.ListByVpnSite"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnSiteLinksClient.ListByVpnSite"); + using var scope = _clientDiagnostics.CreateScope("VpnSiteLinksOperations.ListByVpnSite"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable ListByVpnSite(string resourceGroupName, str Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnSiteLinksClient.ListByVpnSite"); + using var scope = _clientDiagnostics.CreateScope("VpnSiteLinksOperations.ListByVpnSite"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnSiteLinksClient.ListByVpnSite"); + using var scope = _clientDiagnostics.CreateScope("VpnSiteLinksOperations.ListByVpnSite"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSiteLinksRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSiteLinksRestOperations.cs similarity index 98% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSiteLinksRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSiteLinksRestOperations.cs index 0147b45418348..2dcafc90dd95c 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSiteLinksRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSiteLinksRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class VpnSiteLinksRestClient + internal partial class VpnSiteLinksRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of VpnSiteLinksRestClient. + /// Initializes a new instance of VpnSiteLinksRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VpnSiteLinksRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VpnSiteLinksRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSitesConfigurationClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSitesConfigurationOperations.cs similarity index 88% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSitesConfigurationClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSitesConfigurationOperations.cs index 5b75714883e8e..02f1ed3d03ea3 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSitesConfigurationClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSitesConfigurationOperations.cs @@ -14,23 +14,23 @@ namespace Azure.ResourceManager.Network { /// The VpnSitesConfiguration service client. - public partial class VpnSitesConfigurationClient + public partial class VpnSitesConfigurationOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VpnSitesConfigurationRestClient RestClient { get; } - /// Initializes a new instance of VpnSitesConfigurationClient for mocking. - protected VpnSitesConfigurationClient() + internal VpnSitesConfigurationRestOperations RestClient { get; } + /// Initializes a new instance of VpnSitesConfigurationOperations for mocking. + protected VpnSitesConfigurationOperations() { } - /// Initializes a new instance of VpnSitesConfigurationClient. + /// Initializes a new instance of VpnSitesConfigurationOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VpnSitesConfigurationClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VpnSitesConfigurationOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VpnSitesConfigurationRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VpnSitesConfigurationRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -55,7 +55,7 @@ public virtual async Task StartDownloadA throw new ArgumentNullException(nameof(request)); } - using var scope = _clientDiagnostics.CreateScope("VpnSitesConfigurationClient.StartDownload"); + using var scope = _clientDiagnostics.CreateScope("VpnSitesConfigurationOperations.StartDownload"); scope.Start(); try { @@ -89,7 +89,7 @@ public virtual VpnSitesConfigurationDownloadOperation StartDownload(string resou throw new ArgumentNullException(nameof(request)); } - using var scope = _clientDiagnostics.CreateScope("VpnSitesConfigurationClient.StartDownload"); + using var scope = _clientDiagnostics.CreateScope("VpnSitesConfigurationOperations.StartDownload"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSitesConfigurationRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSitesConfigurationRestOperations.cs similarity index 95% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSitesConfigurationRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSitesConfigurationRestOperations.cs index 57ca5c08c0e29..6cf76c409fe2a 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSitesConfigurationRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSitesConfigurationRestOperations.cs @@ -15,20 +15,20 @@ namespace Azure.ResourceManager.Network { - internal partial class VpnSitesConfigurationRestClient + internal partial class VpnSitesConfigurationRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of VpnSitesConfigurationRestClient. + /// Initializes a new instance of VpnSitesConfigurationRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VpnSitesConfigurationRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VpnSitesConfigurationRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSitesClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSitesOperations.cs similarity index 94% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSitesClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSitesOperations.cs index 877bd462cd0f3..bf41c96313963 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSitesClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSitesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The VpnSites service client. - public partial class VpnSitesClient + public partial class VpnSitesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VpnSitesRestClient RestClient { get; } - /// Initializes a new instance of VpnSitesClient for mocking. - protected VpnSitesClient() + internal VpnSitesRestOperations RestClient { get; } + /// Initializes a new instance of VpnSitesOperations for mocking. + protected VpnSitesOperations() { } - /// Initializes a new instance of VpnSitesClient. + /// Initializes a new instance of VpnSitesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VpnSitesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VpnSitesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VpnSitesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VpnSitesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal VpnSitesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeli /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string vpnSiteName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VpnSitesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VpnSitesOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string resourceGroupName, /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string vpnSiteName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VpnSitesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VpnSitesOperations.Get"); scope.Start(); try { @@ -82,7 +82,7 @@ public virtual Response Get(string resourceGroupName, string vpnSiteNam /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string vpnSiteName, TagsObject vpnSiteParameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VpnSitesClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("VpnSitesOperations.UpdateTags"); scope.Start(); try { @@ -102,7 +102,7 @@ public virtual async Task> UpdateTagsAsync(string resourceGrou /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string vpnSiteName, TagsObject vpnSiteParameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VpnSitesClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("VpnSitesOperations.UpdateTags"); scope.Start(); try { @@ -127,7 +127,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(string resourceGr async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnSitesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VpnSitesOperations.ListByResourceGroup"); scope.Start(); try { @@ -142,7 +142,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnSitesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VpnSitesOperations.ListByResourceGroup"); scope.Start(); try { @@ -170,7 +170,7 @@ public virtual Pageable ListByResourceGroup(string resourceGroupName, C Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnSitesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VpnSitesOperations.ListByResourceGroup"); scope.Start(); try { @@ -185,7 +185,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnSitesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VpnSitesOperations.ListByResourceGroup"); scope.Start(); try { @@ -207,7 +207,7 @@ public virtual AsyncPageable ListAsync(CancellationToken cancellationTo { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnSitesClient.List"); + using var scope = _clientDiagnostics.CreateScope("VpnSitesOperations.List"); scope.Start(); try { @@ -222,7 +222,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnSitesClient.List"); + using var scope = _clientDiagnostics.CreateScope("VpnSitesOperations.List"); scope.Start(); try { @@ -244,7 +244,7 @@ public virtual Pageable List(CancellationToken cancellationToken = defa { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnSitesClient.List"); + using var scope = _clientDiagnostics.CreateScope("VpnSitesOperations.List"); scope.Start(); try { @@ -259,7 +259,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnSitesClient.List"); + using var scope = _clientDiagnostics.CreateScope("VpnSitesOperations.List"); scope.Start(); try { @@ -295,7 +295,7 @@ public virtual async Task StartCreateOrUpdateAs throw new ArgumentNullException(nameof(vpnSiteParameters)); } - using var scope = _clientDiagnostics.CreateScope("VpnSitesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VpnSitesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -329,7 +329,7 @@ public virtual VpnSitesCreateOrUpdateOperation StartCreateOrUpdate(string resour throw new ArgumentNullException(nameof(vpnSiteParameters)); } - using var scope = _clientDiagnostics.CreateScope("VpnSitesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VpnSitesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -358,7 +358,7 @@ public virtual async Task StartDeleteAsync(string resou throw new ArgumentNullException(nameof(vpnSiteName)); } - using var scope = _clientDiagnostics.CreateScope("VpnSitesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VpnSitesOperations.StartDelete"); scope.Start(); try { @@ -387,7 +387,7 @@ public virtual VpnSitesDeleteOperation StartDelete(string resourceGroupName, str throw new ArgumentNullException(nameof(vpnSiteName)); } - using var scope = _clientDiagnostics.CreateScope("VpnSitesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VpnSitesOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSitesRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSitesRestOperations.cs similarity index 99% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSitesRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSitesRestOperations.cs index bcf2bcbf33091..cc8ca6dcd2922 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSitesRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSitesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class VpnSitesRestClient + internal partial class VpnSitesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of VpnSitesRestClient. + /// Initializes a new instance of VpnSitesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VpnSitesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VpnSitesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/WebApplicationFirewallPoliciesClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/WebApplicationFirewallPoliciesOperations.cs similarity index 91% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/WebApplicationFirewallPoliciesClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/WebApplicationFirewallPoliciesOperations.cs index 857c1aee850ef..eaf761330be1d 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/WebApplicationFirewallPoliciesClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/WebApplicationFirewallPoliciesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Network { /// The WebApplicationFirewallPolicies service client. - public partial class WebApplicationFirewallPoliciesClient + public partial class WebApplicationFirewallPoliciesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal WebApplicationFirewallPoliciesRestClient RestClient { get; } - /// Initializes a new instance of WebApplicationFirewallPoliciesClient for mocking. - protected WebApplicationFirewallPoliciesClient() + internal WebApplicationFirewallPoliciesRestOperations RestClient { get; } + /// Initializes a new instance of WebApplicationFirewallPoliciesOperations for mocking. + protected WebApplicationFirewallPoliciesOperations() { } - /// Initializes a new instance of WebApplicationFirewallPoliciesClient. + /// Initializes a new instance of WebApplicationFirewallPoliciesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal WebApplicationFirewallPoliciesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal WebApplicationFirewallPoliciesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new WebApplicationFirewallPoliciesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new WebApplicationFirewallPoliciesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal WebApplicationFirewallPoliciesClient(ClientDiagnostics clientDiagnostic /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string policyName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(strin /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string policyName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesOperations.Get"); scope.Start(); try { @@ -82,7 +82,7 @@ public virtual Response Get(string resourceGroupNa /// The cancellation token to use. public virtual async Task> CreateOrUpdateAsync(string resourceGroupName, string policyName, WebApplicationFirewallPolicy parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesOperations.CreateOrUpdate"); scope.Start(); try { @@ -102,7 +102,7 @@ public virtual async Task> CreateOrUpdate /// The cancellation token to use. public virtual Response CreateOrUpdate(string resourceGroupName, string policyName, WebApplicationFirewallPolicy parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesOperations.CreateOrUpdate"); scope.Start(); try { @@ -127,7 +127,7 @@ public virtual AsyncPageable ListAsync(string reso async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesClient.List"); + using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesOperations.List"); scope.Start(); try { @@ -142,7 +142,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesClient.List"); + using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesOperations.List"); scope.Start(); try { @@ -170,7 +170,7 @@ public virtual Pageable List(string resourceGroupN Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesClient.List"); + using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesOperations.List"); scope.Start(); try { @@ -185,7 +185,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesClient.List"); + using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesOperations.List"); scope.Start(); try { @@ -207,7 +207,7 @@ public virtual AsyncPageable ListAllAsync(Cancella { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesOperations.ListAll"); scope.Start(); try { @@ -222,7 +222,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesOperations.ListAll"); scope.Start(); try { @@ -244,7 +244,7 @@ public virtual Pageable ListAll(CancellationToken { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesOperations.ListAll"); scope.Start(); try { @@ -259,7 +259,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesOperations.ListAll"); scope.Start(); try { @@ -290,7 +290,7 @@ public virtual async Task StartDe throw new ArgumentNullException(nameof(policyName)); } - using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesOperations.StartDelete"); scope.Start(); try { @@ -319,7 +319,7 @@ public virtual WebApplicationFirewallPoliciesDeleteOperation StartDelete(string throw new ArgumentNullException(nameof(policyName)); } - using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/WebApplicationFirewallPoliciesRestClient.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/WebApplicationFirewallPoliciesRestOperations.cs similarity index 99% rename from sdk/network/Azure.ResourceManager.Network/src/Generated/WebApplicationFirewallPoliciesRestClient.cs rename to sdk/network/Azure.ResourceManager.Network/src/Generated/WebApplicationFirewallPoliciesRestOperations.cs index f23f640d0f798..0ed9976e40e30 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/WebApplicationFirewallPoliciesRestClient.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/WebApplicationFirewallPoliciesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Network { - internal partial class WebApplicationFirewallPoliciesRestClient + internal partial class WebApplicationFirewallPoliciesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of WebApplicationFirewallPoliciesRestClient. + /// Initializes a new instance of WebApplicationFirewallPoliciesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public WebApplicationFirewallPoliciesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public WebApplicationFirewallPoliciesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ApplicationDefinitionsClient.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ApplicationDefinitionsOperations.cs similarity index 94% rename from sdk/resources/Azure.ResourceManager.Resources/src/Generated/ApplicationDefinitionsClient.cs rename to sdk/resources/Azure.ResourceManager.Resources/src/Generated/ApplicationDefinitionsOperations.cs index e8bd48ef9e896..e55950d3d6138 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ApplicationDefinitionsClient.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ApplicationDefinitionsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Resources { /// The ApplicationDefinitions service client. - public partial class ApplicationDefinitionsClient + public partial class ApplicationDefinitionsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ApplicationDefinitionsRestClient RestClient { get; } - /// Initializes a new instance of ApplicationDefinitionsClient for mocking. - protected ApplicationDefinitionsClient() + internal ApplicationDefinitionsRestOperations RestClient { get; } + /// Initializes a new instance of ApplicationDefinitionsOperations for mocking. + protected ApplicationDefinitionsOperations() { } - /// Initializes a new instance of ApplicationDefinitionsClient. + /// Initializes a new instance of ApplicationDefinitionsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. - internal ApplicationDefinitionsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ApplicationDefinitionsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ApplicationDefinitionsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ApplicationDefinitionsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal ApplicationDefinitionsClient(ClientDiagnostics clientDiagnostics, HttpP /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string applicationDefinitionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationDefinitionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ApplicationDefinitionsOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string resou /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string applicationDefinitionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationDefinitionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ApplicationDefinitionsOperations.Get"); scope.Start(); try { @@ -80,7 +80,7 @@ public virtual Response Get(string resourceGroupName, str /// The cancellation token to use. public virtual async Task> GetByIdAsync(string applicationDefinitionId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationDefinitionsClient.GetById"); + using var scope = _clientDiagnostics.CreateScope("ApplicationDefinitionsOperations.GetById"); scope.Start(); try { @@ -98,7 +98,7 @@ public virtual async Task> GetByIdAsync(string a /// The cancellation token to use. public virtual Response GetById(string applicationDefinitionId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationDefinitionsClient.GetById"); + using var scope = _clientDiagnostics.CreateScope("ApplicationDefinitionsOperations.GetById"); scope.Start(); try { @@ -123,7 +123,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(str async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationDefinitionsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ApplicationDefinitionsOperations.ListByResourceGroup"); scope.Start(); try { @@ -138,7 +138,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationDefinitionsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ApplicationDefinitionsOperations.ListByResourceGroup"); scope.Start(); try { @@ -166,7 +166,7 @@ public virtual Pageable ListByResourceGroup(string resour Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationDefinitionsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ApplicationDefinitionsOperations.ListByResourceGroup"); scope.Start(); try { @@ -181,7 +181,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationDefinitionsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ApplicationDefinitionsOperations.ListByResourceGroup"); scope.Start(); try { @@ -212,7 +212,7 @@ public virtual async Task StartDeleteAsyn throw new ArgumentNullException(nameof(applicationDefinitionName)); } - using var scope = _clientDiagnostics.CreateScope("ApplicationDefinitionsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ApplicationDefinitionsOperations.StartDelete"); scope.Start(); try { @@ -241,7 +241,7 @@ public virtual ApplicationDefinitionsDeleteOperation StartDelete(string resource throw new ArgumentNullException(nameof(applicationDefinitionName)); } - using var scope = _clientDiagnostics.CreateScope("ApplicationDefinitionsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ApplicationDefinitionsOperations.StartDelete"); scope.Start(); try { @@ -275,7 +275,7 @@ public virtual async Task StartCr throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ApplicationDefinitionsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ApplicationDefinitionsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -309,7 +309,7 @@ public virtual ApplicationDefinitionsCreateOrUpdateOperation StartCreateOrUpdate throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ApplicationDefinitionsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ApplicationDefinitionsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -333,7 +333,7 @@ public virtual async Task StartDelete throw new ArgumentNullException(nameof(applicationDefinitionId)); } - using var scope = _clientDiagnostics.CreateScope("ApplicationDefinitionsClient.StartDeleteById"); + using var scope = _clientDiagnostics.CreateScope("ApplicationDefinitionsOperations.StartDeleteById"); scope.Start(); try { @@ -357,7 +357,7 @@ public virtual ApplicationDefinitionsDeleteByIdOperation StartDeleteById(string throw new ArgumentNullException(nameof(applicationDefinitionId)); } - using var scope = _clientDiagnostics.CreateScope("ApplicationDefinitionsClient.StartDeleteById"); + using var scope = _clientDiagnostics.CreateScope("ApplicationDefinitionsOperations.StartDeleteById"); scope.Start(); try { @@ -386,7 +386,7 @@ public virtual async Task Sta throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ApplicationDefinitionsClient.StartCreateOrUpdateById"); + using var scope = _clientDiagnostics.CreateScope("ApplicationDefinitionsOperations.StartCreateOrUpdateById"); scope.Start(); try { @@ -415,7 +415,7 @@ public virtual ApplicationDefinitionsCreateOrUpdateByIdOperation StartCreateOrUp throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ApplicationDefinitionsClient.StartCreateOrUpdateById"); + using var scope = _clientDiagnostics.CreateScope("ApplicationDefinitionsOperations.StartCreateOrUpdateById"); scope.Start(); try { diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ApplicationDefinitionsRestClient.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ApplicationDefinitionsRestOperations.cs similarity index 99% rename from sdk/resources/Azure.ResourceManager.Resources/src/Generated/ApplicationDefinitionsRestClient.cs rename to sdk/resources/Azure.ResourceManager.Resources/src/Generated/ApplicationDefinitionsRestOperations.cs index caa000faee790..9199212644afb 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ApplicationDefinitionsRestClient.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ApplicationDefinitionsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Resources { - internal partial class ApplicationDefinitionsRestClient + internal partial class ApplicationDefinitionsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ApplicationDefinitionsRestClient. + /// Initializes a new instance of ApplicationDefinitionsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// This occurs when one of the required arguments is null. - public ApplicationDefinitionsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ApplicationDefinitionsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ApplicationsClient.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ApplicationsOperations.cs similarity index 95% rename from sdk/resources/Azure.ResourceManager.Resources/src/Generated/ApplicationsClient.cs rename to sdk/resources/Azure.ResourceManager.Resources/src/Generated/ApplicationsOperations.cs index 623377d07c1cf..1f48276bfc546 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ApplicationsClient.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ApplicationsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Resources { /// The Applications service client. - public partial class ApplicationsClient + public partial class ApplicationsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ApplicationsRestClient RestClient { get; } - /// Initializes a new instance of ApplicationsClient for mocking. - protected ApplicationsClient() + internal ApplicationsRestOperations RestClient { get; } + /// Initializes a new instance of ApplicationsOperations for mocking. + protected ApplicationsOperations() { } - /// Initializes a new instance of ApplicationsClient. + /// Initializes a new instance of ApplicationsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. - internal ApplicationsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ApplicationsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ApplicationsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ApplicationsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal ApplicationsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pi /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string applicationName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string resourceGroupNa /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string applicationName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.Get"); scope.Start(); try { @@ -82,7 +82,7 @@ public virtual Response Get(string resourceGroupName, string applic /// The cancellation token to use. public virtual async Task> UpdateAsync(string resourceGroupName, string applicationName, Application parameters = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.Update"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.Update"); scope.Start(); try { @@ -102,7 +102,7 @@ public virtual async Task> UpdateAsync(string resourceGrou /// The cancellation token to use. public virtual Response Update(string resourceGroupName, string applicationName, Application parameters = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.Update"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.Update"); scope.Start(); try { @@ -120,7 +120,7 @@ public virtual Response Update(string resourceGroupName, string app /// The cancellation token to use. public virtual async Task> GetByIdAsync(string applicationId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.GetById"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.GetById"); scope.Start(); try { @@ -138,7 +138,7 @@ public virtual async Task> GetByIdAsync(string application /// The cancellation token to use. public virtual Response GetById(string applicationId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.GetById"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.GetById"); scope.Start(); try { @@ -157,7 +157,7 @@ public virtual Response GetById(string applicationId, CancellationT /// The cancellation token to use. public virtual async Task> UpdateByIdAsync(string applicationId, Application parameters = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.UpdateById"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.UpdateById"); scope.Start(); try { @@ -176,7 +176,7 @@ public virtual async Task> UpdateByIdAsync(string applicat /// The cancellation token to use. public virtual Response UpdateById(string applicationId, Application parameters = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.UpdateById"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.UpdateById"); scope.Start(); try { @@ -201,7 +201,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(string resour async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.ListByResourceGroup"); scope.Start(); try { @@ -216,7 +216,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.ListByResourceGroup"); scope.Start(); try { @@ -244,7 +244,7 @@ public virtual Pageable ListByResourceGroup(string resourceGroupNam Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.ListByResourceGroup"); scope.Start(); try { @@ -259,7 +259,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.ListByResourceGroup"); scope.Start(); try { @@ -281,7 +281,7 @@ public virtual AsyncPageable ListBySubscriptionAsync(CancellationTo { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.ListBySubscription"); scope.Start(); try { @@ -296,7 +296,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.ListBySubscription"); scope.Start(); try { @@ -318,7 +318,7 @@ public virtual Pageable ListBySubscription(CancellationToken cancel { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.ListBySubscription"); scope.Start(); try { @@ -333,7 +333,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.ListBySubscription"); scope.Start(); try { @@ -364,7 +364,7 @@ public virtual async Task StartDeleteAsync(string r throw new ArgumentNullException(nameof(applicationName)); } - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.StartDelete"); scope.Start(); try { @@ -393,7 +393,7 @@ public virtual ApplicationsDeleteOperation StartDelete(string resourceGroupName, throw new ArgumentNullException(nameof(applicationName)); } - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.StartDelete"); scope.Start(); try { @@ -427,7 +427,7 @@ public virtual async Task StartCreateOrUpda throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -461,7 +461,7 @@ public virtual ApplicationsCreateOrUpdateOperation StartCreateOrUpdate(string re throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -485,7 +485,7 @@ public virtual async Task StartDeleteByIdAsync( throw new ArgumentNullException(nameof(applicationId)); } - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.StartDeleteById"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.StartDeleteById"); scope.Start(); try { @@ -509,7 +509,7 @@ public virtual ApplicationsDeleteByIdOperation StartDeleteById(string applicatio throw new ArgumentNullException(nameof(applicationId)); } - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.StartDeleteById"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.StartDeleteById"); scope.Start(); try { @@ -538,7 +538,7 @@ public virtual async Task StartCreateOr throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.StartCreateOrUpdateById"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.StartCreateOrUpdateById"); scope.Start(); try { @@ -567,7 +567,7 @@ public virtual ApplicationsCreateOrUpdateByIdOperation StartCreateOrUpdateById(s throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.StartCreateOrUpdateById"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.StartCreateOrUpdateById"); scope.Start(); try { diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ApplicationsRestClient.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ApplicationsRestOperations.cs similarity index 99% rename from sdk/resources/Azure.ResourceManager.Resources/src/Generated/ApplicationsRestClient.cs rename to sdk/resources/Azure.ResourceManager.Resources/src/Generated/ApplicationsRestOperations.cs index e8f6d6f40e119..e6f33036d03ae 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ApplicationsRestClient.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ApplicationsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Resources { - internal partial class ApplicationsRestClient + internal partial class ApplicationsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ApplicationsRestClient. + /// Initializes a new instance of ApplicationsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// This occurs when one of the required arguments is null. - public ApplicationsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ApplicationsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/AuthorizationClient.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/AuthorizationOperations.cs similarity index 88% rename from sdk/resources/Azure.ResourceManager.Resources/src/Generated/AuthorizationClient.cs rename to sdk/resources/Azure.ResourceManager.Resources/src/Generated/AuthorizationOperations.cs index 24f7610aad150..c13161ce3ba75 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/AuthorizationClient.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/AuthorizationOperations.cs @@ -16,22 +16,22 @@ namespace Azure.ResourceManager.Resources { /// The Authorization service client. - public partial class AuthorizationClient + public partial class AuthorizationOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal AuthorizationRestClient RestClient { get; } - /// Initializes a new instance of AuthorizationClient for mocking. - protected AuthorizationClient() + internal AuthorizationRestOperations RestClient { get; } + /// Initializes a new instance of AuthorizationOperations for mocking. + protected AuthorizationOperations() { } - /// Initializes a new instance of AuthorizationClient. + /// Initializes a new instance of AuthorizationOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// server parameter. - internal AuthorizationClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null) + internal AuthorizationOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null) { - RestClient = new AuthorizationRestClient(clientDiagnostics, pipeline, endpoint); + RestClient = new AuthorizationRestOperations(clientDiagnostics, pipeline, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -42,7 +42,7 @@ public virtual AsyncPageable ListAsync(CancellationToke { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AuthorizationClient.List"); + using var scope = _clientDiagnostics.CreateScope("AuthorizationOperations.List"); scope.Start(); try { @@ -57,7 +57,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AuthorizationClient.List"); + using var scope = _clientDiagnostics.CreateScope("AuthorizationOperations.List"); scope.Start(); try { @@ -79,7 +79,7 @@ public virtual Pageable List(CancellationToken cancella { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AuthorizationClient.List"); + using var scope = _clientDiagnostics.CreateScope("AuthorizationOperations.List"); scope.Start(); try { @@ -94,7 +94,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AuthorizationClient.List"); + using var scope = _clientDiagnostics.CreateScope("AuthorizationOperations.List"); scope.Start(); try { diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/AuthorizationRestClient.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/AuthorizationRestOperations.cs similarity index 97% rename from sdk/resources/Azure.ResourceManager.Resources/src/Generated/AuthorizationRestClient.cs rename to sdk/resources/Azure.ResourceManager.Resources/src/Generated/AuthorizationRestOperations.cs index e25e2981e8e02..cf77654127991 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/AuthorizationRestClient.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/AuthorizationRestOperations.cs @@ -16,17 +16,17 @@ namespace Azure.ResourceManager.Resources { - internal partial class AuthorizationRestClient + internal partial class AuthorizationRestOperations { private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of AuthorizationRestClient. + /// Initializes a new instance of AuthorizationRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// server parameter. - public AuthorizationRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null) + public AuthorizationRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null) { endpoint ??= new Uri("https://management.azure.com"); diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/DeploymentClient.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/DeploymentOperations.cs similarity index 94% rename from sdk/resources/Azure.ResourceManager.Resources/src/Generated/DeploymentClient.cs rename to sdk/resources/Azure.ResourceManager.Resources/src/Generated/DeploymentOperations.cs index c07b06996a560..a4dff69dc4118 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/DeploymentClient.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/DeploymentOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Resources { /// The Deployment service client. - public partial class DeploymentClient + public partial class DeploymentOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal DeploymentRestClient RestClient { get; } - /// Initializes a new instance of DeploymentClient for mocking. - protected DeploymentClient() + internal DeploymentRestOperations RestClient { get; } + /// Initializes a new instance of DeploymentOperations for mocking. + protected DeploymentOperations() { } - /// Initializes a new instance of DeploymentClient. + /// Initializes a new instance of DeploymentOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. - internal DeploymentClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal DeploymentOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new DeploymentRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new DeploymentRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal DeploymentClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipe /// The cancellation token to use. public virtual async Task> GetAtScopeAsync(string scope, string deploymentName, string operationId, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentClient.GetAtScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentOperations.GetAtScope"); scope0.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAtScopeAsync(string /// The cancellation token to use. public virtual Response GetAtScope(string scope, string deploymentName, string operationId, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentClient.GetAtScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentOperations.GetAtScope"); scope0.Start(); try { @@ -83,7 +83,7 @@ public virtual Response GetAtScope(string scope, string dep /// The cancellation token to use. public virtual async Task> GetAtTenantScopeAsync(string deploymentName, string operationId, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentClient.GetAtTenantScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentOperations.GetAtTenantScope"); scope0.Start(); try { @@ -102,7 +102,7 @@ public virtual async Task> GetAtTenantScopeAsync(s /// The cancellation token to use. public virtual Response GetAtTenantScope(string deploymentName, string operationId, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentClient.GetAtTenantScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentOperations.GetAtTenantScope"); scope0.Start(); try { @@ -122,7 +122,7 @@ public virtual Response GetAtTenantScope(string deploymentN /// The cancellation token to use. public virtual async Task> GetAtManagementGroupScopeAsync(string groupId, string deploymentName, string operationId, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentClient.GetAtManagementGroupScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentOperations.GetAtManagementGroupScope"); scope0.Start(); try { @@ -142,7 +142,7 @@ public virtual async Task> GetAtManagementGroupSco /// The cancellation token to use. public virtual Response GetAtManagementGroupScope(string groupId, string deploymentName, string operationId, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentClient.GetAtManagementGroupScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentOperations.GetAtManagementGroupScope"); scope0.Start(); try { @@ -161,7 +161,7 @@ public virtual Response GetAtManagementGroupScope(string gr /// The cancellation token to use. public virtual async Task> GetAtSubscriptionScopeAsync(string deploymentName, string operationId, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentClient.GetAtSubscriptionScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentOperations.GetAtSubscriptionScope"); scope0.Start(); try { @@ -180,7 +180,7 @@ public virtual async Task> GetAtSubscriptionScopeA /// The cancellation token to use. public virtual Response GetAtSubscriptionScope(string deploymentName, string operationId, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentClient.GetAtSubscriptionScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentOperations.GetAtSubscriptionScope"); scope0.Start(); try { @@ -200,7 +200,7 @@ public virtual Response GetAtSubscriptionScope(string deplo /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string deploymentName, string operationId, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentClient.Get"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentOperations.Get"); scope0.Start(); try { @@ -220,7 +220,7 @@ public virtual async Task> GetAsync(string resourc /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string deploymentName, string operationId, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentClient.Get"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentOperations.Get"); scope0.Start(); try { @@ -251,7 +251,7 @@ public virtual AsyncPageable ListAtScopeAsync(string scope, async Task> FirstPageFunc(int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentClient.ListAtScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentOperations.ListAtScope"); scope0.Start(); try { @@ -266,7 +266,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentClient.ListAtScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentOperations.ListAtScope"); scope0.Start(); try { @@ -300,7 +300,7 @@ public virtual Pageable ListAtScope(string scope, string de Page FirstPageFunc(int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentClient.ListAtScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentOperations.ListAtScope"); scope0.Start(); try { @@ -315,7 +315,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentClient.ListAtScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentOperations.ListAtScope"); scope0.Start(); try { @@ -344,7 +344,7 @@ public virtual AsyncPageable ListAtTenantScopeAsync(string async Task> FirstPageFunc(int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentClient.ListAtTenantScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentOperations.ListAtTenantScope"); scope0.Start(); try { @@ -359,7 +359,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentClient.ListAtTenantScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentOperations.ListAtTenantScope"); scope0.Start(); try { @@ -388,7 +388,7 @@ public virtual Pageable ListAtTenantScope(string deployment Page FirstPageFunc(int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentClient.ListAtTenantScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentOperations.ListAtTenantScope"); scope0.Start(); try { @@ -403,7 +403,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentClient.ListAtTenantScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentOperations.ListAtTenantScope"); scope0.Start(); try { @@ -437,7 +437,7 @@ public virtual AsyncPageable ListAtManagementGroupScopeAsyn async Task> FirstPageFunc(int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentClient.ListAtManagementGroupScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentOperations.ListAtManagementGroupScope"); scope0.Start(); try { @@ -452,7 +452,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentClient.ListAtManagementGroupScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentOperations.ListAtManagementGroupScope"); scope0.Start(); try { @@ -486,7 +486,7 @@ public virtual Pageable ListAtManagementGroupScope(string g Page FirstPageFunc(int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentClient.ListAtManagementGroupScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentOperations.ListAtManagementGroupScope"); scope0.Start(); try { @@ -501,7 +501,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentClient.ListAtManagementGroupScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentOperations.ListAtManagementGroupScope"); scope0.Start(); try { @@ -530,7 +530,7 @@ public virtual AsyncPageable ListAtSubscriptionScopeAsync(s async Task> FirstPageFunc(int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentClient.ListAtSubscriptionScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentOperations.ListAtSubscriptionScope"); scope0.Start(); try { @@ -545,7 +545,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentClient.ListAtSubscriptionScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentOperations.ListAtSubscriptionScope"); scope0.Start(); try { @@ -574,7 +574,7 @@ public virtual Pageable ListAtSubscriptionScope(string depl Page FirstPageFunc(int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentClient.ListAtSubscriptionScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentOperations.ListAtSubscriptionScope"); scope0.Start(); try { @@ -589,7 +589,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentClient.ListAtSubscriptionScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentOperations.ListAtSubscriptionScope"); scope0.Start(); try { @@ -623,7 +623,7 @@ public virtual AsyncPageable ListAsync(string resourceGroup async Task> FirstPageFunc(int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentClient.List"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentOperations.List"); scope0.Start(); try { @@ -638,7 +638,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentClient.List"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentOperations.List"); scope0.Start(); try { @@ -672,7 +672,7 @@ public virtual Pageable List(string resourceGroupName, stri Page FirstPageFunc(int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentClient.List"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentOperations.List"); scope0.Start(); try { @@ -687,7 +687,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentClient.List"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentOperations.List"); scope0.Start(); try { diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/DeploymentRestClient.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/DeploymentRestOperations.cs similarity index 99% rename from sdk/resources/Azure.ResourceManager.Resources/src/Generated/DeploymentRestClient.cs rename to sdk/resources/Azure.ResourceManager.Resources/src/Generated/DeploymentRestOperations.cs index 84725b9249820..66fdd82f0b0ce 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/DeploymentRestClient.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/DeploymentRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Resources { - internal partial class DeploymentRestClient + internal partial class DeploymentRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of DeploymentRestClient. + /// Initializes a new instance of DeploymentRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// This occurs when one of the required arguments is null. - public DeploymentRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public DeploymentRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/DeploymentScriptsClient.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/DeploymentScriptsOperations.cs similarity index 94% rename from sdk/resources/Azure.ResourceManager.Resources/src/Generated/DeploymentScriptsClient.cs rename to sdk/resources/Azure.ResourceManager.Resources/src/Generated/DeploymentScriptsOperations.cs index eb55be35738ed..b511e8e9f5f88 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/DeploymentScriptsClient.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/DeploymentScriptsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Resources { /// The DeploymentScripts service client. - public partial class DeploymentScriptsClient + public partial class DeploymentScriptsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal DeploymentScriptsRestClient RestClient { get; } - /// Initializes a new instance of DeploymentScriptsClient for mocking. - protected DeploymentScriptsClient() + internal DeploymentScriptsRestOperations RestClient { get; } + /// Initializes a new instance of DeploymentScriptsOperations for mocking. + protected DeploymentScriptsOperations() { } - /// Initializes a new instance of DeploymentScriptsClient. + /// Initializes a new instance of DeploymentScriptsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. - internal DeploymentScriptsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal DeploymentScriptsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new DeploymentScriptsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new DeploymentScriptsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal DeploymentScriptsClient(ClientDiagnostics clientDiagnostics, HttpPipeli /// The cancellation token to use. public virtual async Task> UpdateAsync(string resourceGroupName, string scriptName, DeploymentScriptUpdateParameter deploymentScript = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DeploymentScriptsClient.Update"); + using var scope = _clientDiagnostics.CreateScope("DeploymentScriptsOperations.Update"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> UpdateAsync(string resourc /// The cancellation token to use. public virtual Response Update(string resourceGroupName, string scriptName, DeploymentScriptUpdateParameter deploymentScript = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DeploymentScriptsClient.Update"); + using var scope = _clientDiagnostics.CreateScope("DeploymentScriptsOperations.Update"); scope.Start(); try { @@ -83,7 +83,7 @@ public virtual Response Update(string resourceGroupName, strin /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string scriptName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DeploymentScriptsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("DeploymentScriptsOperations.Get"); scope.Start(); try { @@ -102,7 +102,7 @@ public virtual async Task> GetAsync(string resourceGr /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string scriptName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DeploymentScriptsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("DeploymentScriptsOperations.Get"); scope.Start(); try { @@ -121,7 +121,7 @@ public virtual Response Get(string resourceGroupName, string s /// The cancellation token to use. public virtual async Task DeleteAsync(string resourceGroupName, string scriptName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DeploymentScriptsClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("DeploymentScriptsOperations.Delete"); scope.Start(); try { @@ -140,7 +140,7 @@ public virtual async Task DeleteAsync(string resourceGroupName, string /// The cancellation token to use. public virtual Response Delete(string resourceGroupName, string scriptName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DeploymentScriptsClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("DeploymentScriptsOperations.Delete"); scope.Start(); try { @@ -159,7 +159,7 @@ public virtual Response Delete(string resourceGroupName, string scriptName, Canc /// The cancellation token to use. public virtual async Task> GetLogsAsync(string resourceGroupName, string scriptName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DeploymentScriptsClient.GetLogs"); + using var scope = _clientDiagnostics.CreateScope("DeploymentScriptsOperations.GetLogs"); scope.Start(); try { @@ -178,7 +178,7 @@ public virtual async Task> GetLogsAsync(string resource /// The cancellation token to use. public virtual Response GetLogs(string resourceGroupName, string scriptName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DeploymentScriptsClient.GetLogs"); + using var scope = _clientDiagnostics.CreateScope("DeploymentScriptsOperations.GetLogs"); scope.Start(); try { @@ -198,7 +198,7 @@ public virtual Response GetLogs(string resourceGroupName, string /// The cancellation token to use. public virtual async Task> GetLogsDefaultAsync(string resourceGroupName, string scriptName, int? tail = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DeploymentScriptsClient.GetLogsDefault"); + using var scope = _clientDiagnostics.CreateScope("DeploymentScriptsOperations.GetLogsDefault"); scope.Start(); try { @@ -218,7 +218,7 @@ public virtual async Task> GetLogsDefaultAsync(string resour /// The cancellation token to use. public virtual Response GetLogsDefault(string resourceGroupName, string scriptName, int? tail = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DeploymentScriptsClient.GetLogsDefault"); + using var scope = _clientDiagnostics.CreateScope("DeploymentScriptsOperations.GetLogsDefault"); scope.Start(); try { @@ -237,7 +237,7 @@ public virtual AsyncPageable ListBySubscriptionAsync(Cancellat { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DeploymentScriptsClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("DeploymentScriptsOperations.ListBySubscription"); scope.Start(); try { @@ -252,7 +252,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DeploymentScriptsClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("DeploymentScriptsOperations.ListBySubscription"); scope.Start(); try { @@ -274,7 +274,7 @@ public virtual Pageable ListBySubscription(CancellationToken c { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DeploymentScriptsClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("DeploymentScriptsOperations.ListBySubscription"); scope.Start(); try { @@ -289,7 +289,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DeploymentScriptsClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("DeploymentScriptsOperations.ListBySubscription"); scope.Start(); try { @@ -317,7 +317,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(string r async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DeploymentScriptsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("DeploymentScriptsOperations.ListByResourceGroup"); scope.Start(); try { @@ -332,7 +332,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DeploymentScriptsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("DeploymentScriptsOperations.ListByResourceGroup"); scope.Start(); try { @@ -360,7 +360,7 @@ public virtual Pageable ListByResourceGroup(string resourceGro Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DeploymentScriptsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("DeploymentScriptsOperations.ListByResourceGroup"); scope.Start(); try { @@ -375,7 +375,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DeploymentScriptsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("DeploymentScriptsOperations.ListByResourceGroup"); scope.Start(); try { @@ -411,7 +411,7 @@ public virtual async Task StartCreateAsync(str throw new ArgumentNullException(nameof(deploymentScript)); } - using var scope = _clientDiagnostics.CreateScope("DeploymentScriptsClient.StartCreate"); + using var scope = _clientDiagnostics.CreateScope("DeploymentScriptsOperations.StartCreate"); scope.Start(); try { @@ -445,7 +445,7 @@ public virtual DeploymentScriptsCreateOperation StartCreate(string resourceGroup throw new ArgumentNullException(nameof(deploymentScript)); } - using var scope = _clientDiagnostics.CreateScope("DeploymentScriptsClient.StartCreate"); + using var scope = _clientDiagnostics.CreateScope("DeploymentScriptsOperations.StartCreate"); scope.Start(); try { diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/DeploymentScriptsRestClient.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/DeploymentScriptsRestOperations.cs similarity index 99% rename from sdk/resources/Azure.ResourceManager.Resources/src/Generated/DeploymentScriptsRestClient.cs rename to sdk/resources/Azure.ResourceManager.Resources/src/Generated/DeploymentScriptsRestOperations.cs index 32de5f696b6d1..13ca99831c18d 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/DeploymentScriptsRestClient.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/DeploymentScriptsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Resources { - internal partial class DeploymentScriptsRestClient + internal partial class DeploymentScriptsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of DeploymentScriptsRestClient. + /// Initializes a new instance of DeploymentScriptsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// This occurs when one of the required arguments is null. - public DeploymentScriptsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public DeploymentScriptsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/DeploymentsClient.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/DeploymentsOperations.cs similarity index 95% rename from sdk/resources/Azure.ResourceManager.Resources/src/Generated/DeploymentsClient.cs rename to sdk/resources/Azure.ResourceManager.Resources/src/Generated/DeploymentsOperations.cs index b5165d726597a..986147d8685c7 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/DeploymentsClient.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/DeploymentsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Resources { /// The Deployments service client. - public partial class DeploymentsClient + public partial class DeploymentsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal DeploymentsRestClient RestClient { get; } - /// Initializes a new instance of DeploymentsClient for mocking. - protected DeploymentsClient() + internal DeploymentsRestOperations RestClient { get; } + /// Initializes a new instance of DeploymentsOperations for mocking. + protected DeploymentsOperations() { } - /// Initializes a new instance of DeploymentsClient. + /// Initializes a new instance of DeploymentsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. - internal DeploymentsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal DeploymentsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new DeploymentsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new DeploymentsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal DeploymentsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pip /// The cancellation token to use. public virtual async Task CheckExistenceAtScopeAsync(string scope, string deploymentName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.CheckExistenceAtScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.CheckExistenceAtScope"); scope0.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task CheckExistenceAtScopeAsync(string scope, str /// The cancellation token to use. public virtual Response CheckExistenceAtScope(string scope, string deploymentName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.CheckExistenceAtScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.CheckExistenceAtScope"); scope0.Start(); try { @@ -81,7 +81,7 @@ public virtual Response CheckExistenceAtScope(string scope, string deploymentNam /// The cancellation token to use. public virtual async Task> GetAtScopeAsync(string scope, string deploymentName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.GetAtScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.GetAtScope"); scope0.Start(); try { @@ -100,7 +100,7 @@ public virtual async Task> GetAtScopeAsync(string s /// The cancellation token to use. public virtual Response GetAtScope(string scope, string deploymentName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.GetAtScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.GetAtScope"); scope0.Start(); try { @@ -119,7 +119,7 @@ public virtual Response GetAtScope(string scope, string depl /// The cancellation token to use. public virtual async Task CancelAtScopeAsync(string scope, string deploymentName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.CancelAtScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.CancelAtScope"); scope0.Start(); try { @@ -138,7 +138,7 @@ public virtual async Task CancelAtScopeAsync(string scope, string depl /// The cancellation token to use. public virtual Response CancelAtScope(string scope, string deploymentName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.CancelAtScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.CancelAtScope"); scope0.Start(); try { @@ -157,7 +157,7 @@ public virtual Response CancelAtScope(string scope, string deploymentName, Cance /// The cancellation token to use. public virtual async Task> ExportTemplateAtScopeAsync(string scope, string deploymentName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.ExportTemplateAtScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.ExportTemplateAtScope"); scope0.Start(); try { @@ -176,7 +176,7 @@ public virtual async Task> ExportTemplateAtScop /// The cancellation token to use. public virtual Response ExportTemplateAtScope(string scope, string deploymentName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.ExportTemplateAtScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.ExportTemplateAtScope"); scope0.Start(); try { @@ -194,7 +194,7 @@ public virtual Response ExportTemplateAtScope(string sco /// The cancellation token to use. public virtual async Task CheckExistenceAtTenantScopeAsync(string deploymentName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.CheckExistenceAtTenantScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.CheckExistenceAtTenantScope"); scope0.Start(); try { @@ -212,7 +212,7 @@ public virtual async Task CheckExistenceAtTenantScopeAsync(string depl /// The cancellation token to use. public virtual Response CheckExistenceAtTenantScope(string deploymentName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.CheckExistenceAtTenantScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.CheckExistenceAtTenantScope"); scope0.Start(); try { @@ -230,7 +230,7 @@ public virtual Response CheckExistenceAtTenantScope(string deploymentName, Cance /// The cancellation token to use. public virtual async Task> GetAtTenantScopeAsync(string deploymentName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.GetAtTenantScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.GetAtTenantScope"); scope0.Start(); try { @@ -248,7 +248,7 @@ public virtual async Task> GetAtTenantScopeAsync(st /// The cancellation token to use. public virtual Response GetAtTenantScope(string deploymentName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.GetAtTenantScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.GetAtTenantScope"); scope0.Start(); try { @@ -266,7 +266,7 @@ public virtual Response GetAtTenantScope(string deploymentNa /// The cancellation token to use. public virtual async Task CancelAtTenantScopeAsync(string deploymentName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.CancelAtTenantScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.CancelAtTenantScope"); scope0.Start(); try { @@ -284,7 +284,7 @@ public virtual async Task CancelAtTenantScopeAsync(string deploymentNa /// The cancellation token to use. public virtual Response CancelAtTenantScope(string deploymentName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.CancelAtTenantScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.CancelAtTenantScope"); scope0.Start(); try { @@ -302,7 +302,7 @@ public virtual Response CancelAtTenantScope(string deploymentName, CancellationT /// The cancellation token to use. public virtual async Task> ExportTemplateAtTenantScopeAsync(string deploymentName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.ExportTemplateAtTenantScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.ExportTemplateAtTenantScope"); scope0.Start(); try { @@ -320,7 +320,7 @@ public virtual async Task> ExportTemplateAtTena /// The cancellation token to use. public virtual Response ExportTemplateAtTenantScope(string deploymentName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.ExportTemplateAtTenantScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.ExportTemplateAtTenantScope"); scope0.Start(); try { @@ -339,7 +339,7 @@ public virtual Response ExportTemplateAtTenantScope(stri /// The cancellation token to use. public virtual async Task CheckExistenceAtManagementGroupScopeAsync(string groupId, string deploymentName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.CheckExistenceAtManagementGroupScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.CheckExistenceAtManagementGroupScope"); scope0.Start(); try { @@ -358,7 +358,7 @@ public virtual async Task CheckExistenceAtManagementGroupScopeAsync(st /// The cancellation token to use. public virtual Response CheckExistenceAtManagementGroupScope(string groupId, string deploymentName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.CheckExistenceAtManagementGroupScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.CheckExistenceAtManagementGroupScope"); scope0.Start(); try { @@ -377,7 +377,7 @@ public virtual Response CheckExistenceAtManagementGroupScope(string groupId, str /// The cancellation token to use. public virtual async Task> GetAtManagementGroupScopeAsync(string groupId, string deploymentName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.GetAtManagementGroupScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.GetAtManagementGroupScope"); scope0.Start(); try { @@ -396,7 +396,7 @@ public virtual async Task> GetAtManagementGroupScop /// The cancellation token to use. public virtual Response GetAtManagementGroupScope(string groupId, string deploymentName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.GetAtManagementGroupScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.GetAtManagementGroupScope"); scope0.Start(); try { @@ -415,7 +415,7 @@ public virtual Response GetAtManagementGroupScope(string gro /// The cancellation token to use. public virtual async Task CancelAtManagementGroupScopeAsync(string groupId, string deploymentName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.CancelAtManagementGroupScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.CancelAtManagementGroupScope"); scope0.Start(); try { @@ -434,7 +434,7 @@ public virtual async Task CancelAtManagementGroupScopeAsync(string gro /// The cancellation token to use. public virtual Response CancelAtManagementGroupScope(string groupId, string deploymentName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.CancelAtManagementGroupScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.CancelAtManagementGroupScope"); scope0.Start(); try { @@ -453,7 +453,7 @@ public virtual Response CancelAtManagementGroupScope(string groupId, string depl /// The cancellation token to use. public virtual async Task> ExportTemplateAtManagementGroupScopeAsync(string groupId, string deploymentName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.ExportTemplateAtManagementGroupScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.ExportTemplateAtManagementGroupScope"); scope0.Start(); try { @@ -472,7 +472,7 @@ public virtual async Task> ExportTemplateAtMana /// The cancellation token to use. public virtual Response ExportTemplateAtManagementGroupScope(string groupId, string deploymentName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.ExportTemplateAtManagementGroupScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.ExportTemplateAtManagementGroupScope"); scope0.Start(); try { @@ -490,7 +490,7 @@ public virtual Response ExportTemplateAtManagementGroupS /// The cancellation token to use. public virtual async Task CheckExistenceAtSubscriptionScopeAsync(string deploymentName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.CheckExistenceAtSubscriptionScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.CheckExistenceAtSubscriptionScope"); scope0.Start(); try { @@ -508,7 +508,7 @@ public virtual async Task CheckExistenceAtSubscriptionScopeAsync(strin /// The cancellation token to use. public virtual Response CheckExistenceAtSubscriptionScope(string deploymentName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.CheckExistenceAtSubscriptionScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.CheckExistenceAtSubscriptionScope"); scope0.Start(); try { @@ -526,7 +526,7 @@ public virtual Response CheckExistenceAtSubscriptionScope(string deploymentName, /// The cancellation token to use. public virtual async Task> GetAtSubscriptionScopeAsync(string deploymentName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.GetAtSubscriptionScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.GetAtSubscriptionScope"); scope0.Start(); try { @@ -544,7 +544,7 @@ public virtual async Task> GetAtSubscriptionScopeAs /// The cancellation token to use. public virtual Response GetAtSubscriptionScope(string deploymentName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.GetAtSubscriptionScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.GetAtSubscriptionScope"); scope0.Start(); try { @@ -562,7 +562,7 @@ public virtual Response GetAtSubscriptionScope(string deploy /// The cancellation token to use. public virtual async Task CancelAtSubscriptionScopeAsync(string deploymentName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.CancelAtSubscriptionScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.CancelAtSubscriptionScope"); scope0.Start(); try { @@ -580,7 +580,7 @@ public virtual async Task CancelAtSubscriptionScopeAsync(string deploy /// The cancellation token to use. public virtual Response CancelAtSubscriptionScope(string deploymentName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.CancelAtSubscriptionScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.CancelAtSubscriptionScope"); scope0.Start(); try { @@ -598,7 +598,7 @@ public virtual Response CancelAtSubscriptionScope(string deploymentName, Cancell /// The cancellation token to use. public virtual async Task> ExportTemplateAtSubscriptionScopeAsync(string deploymentName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.ExportTemplateAtSubscriptionScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.ExportTemplateAtSubscriptionScope"); scope0.Start(); try { @@ -616,7 +616,7 @@ public virtual async Task> ExportTemplateAtSubs /// The cancellation token to use. public virtual Response ExportTemplateAtSubscriptionScope(string deploymentName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.ExportTemplateAtSubscriptionScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.ExportTemplateAtSubscriptionScope"); scope0.Start(); try { @@ -635,7 +635,7 @@ public virtual Response ExportTemplateAtSubscriptionScop /// The cancellation token to use. public virtual async Task CheckExistenceAsync(string resourceGroupName, string deploymentName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.CheckExistence"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.CheckExistence"); scope0.Start(); try { @@ -654,7 +654,7 @@ public virtual async Task CheckExistenceAsync(string resourceGroupName /// The cancellation token to use. public virtual Response CheckExistence(string resourceGroupName, string deploymentName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.CheckExistence"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.CheckExistence"); scope0.Start(); try { @@ -673,7 +673,7 @@ public virtual Response CheckExistence(string resourceGroupName, string deployme /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string deploymentName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.Get"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.Get"); scope0.Start(); try { @@ -692,7 +692,7 @@ public virtual async Task> GetAsync(string resource /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string deploymentName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.Get"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.Get"); scope0.Start(); try { @@ -711,7 +711,7 @@ public virtual Response Get(string resourceGroupName, string /// The cancellation token to use. public virtual async Task CancelAsync(string resourceGroupName, string deploymentName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.Cancel"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.Cancel"); scope0.Start(); try { @@ -730,7 +730,7 @@ public virtual async Task CancelAsync(string resourceGroupName, string /// The cancellation token to use. public virtual Response Cancel(string resourceGroupName, string deploymentName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.Cancel"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.Cancel"); scope0.Start(); try { @@ -749,7 +749,7 @@ public virtual Response Cancel(string resourceGroupName, string deploymentName, /// The cancellation token to use. public virtual async Task> ExportTemplateAsync(string resourceGroupName, string deploymentName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.ExportTemplate"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.ExportTemplate"); scope0.Start(); try { @@ -768,7 +768,7 @@ public virtual async Task> ExportTemplateAsync( /// The cancellation token to use. public virtual Response ExportTemplate(string resourceGroupName, string deploymentName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.ExportTemplate"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.ExportTemplate"); scope0.Start(); try { @@ -786,7 +786,7 @@ public virtual Response ExportTemplate(string resourceGr /// The cancellation token to use. public virtual async Task> CalculateTemplateHashAsync(object template, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.CalculateTemplateHash"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.CalculateTemplateHash"); scope0.Start(); try { @@ -804,7 +804,7 @@ public virtual async Task> CalculateTemplateHashAsy /// The cancellation token to use. public virtual Response CalculateTemplateHash(object template, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.CalculateTemplateHash"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.CalculateTemplateHash"); scope0.Start(); try { @@ -831,7 +831,7 @@ public virtual AsyncPageable ListAtScopeAsync(string scope, async Task> FirstPageFunc(int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.ListAtScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.ListAtScope"); scope0.Start(); try { @@ -846,7 +846,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.ListAtScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.ListAtScope"); scope0.Start(); try { @@ -876,7 +876,7 @@ public virtual Pageable ListAtScope(string scope, string fil Page FirstPageFunc(int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.ListAtScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.ListAtScope"); scope0.Start(); try { @@ -891,7 +891,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.ListAtScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.ListAtScope"); scope0.Start(); try { @@ -915,7 +915,7 @@ public virtual AsyncPageable ListAtTenantScopeAsync(string f { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.ListAtTenantScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.ListAtTenantScope"); scope0.Start(); try { @@ -930,7 +930,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.ListAtTenantScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.ListAtTenantScope"); scope0.Start(); try { @@ -954,7 +954,7 @@ public virtual Pageable ListAtTenantScope(string filter = nu { Page FirstPageFunc(int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.ListAtTenantScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.ListAtTenantScope"); scope0.Start(); try { @@ -969,7 +969,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.ListAtTenantScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.ListAtTenantScope"); scope0.Start(); try { @@ -999,7 +999,7 @@ public virtual AsyncPageable ListAtManagementGroupScopeAsync async Task> FirstPageFunc(int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.ListAtManagementGroupScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.ListAtManagementGroupScope"); scope0.Start(); try { @@ -1014,7 +1014,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.ListAtManagementGroupScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.ListAtManagementGroupScope"); scope0.Start(); try { @@ -1044,7 +1044,7 @@ public virtual Pageable ListAtManagementGroupScope(string gr Page FirstPageFunc(int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.ListAtManagementGroupScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.ListAtManagementGroupScope"); scope0.Start(); try { @@ -1059,7 +1059,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.ListAtManagementGroupScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.ListAtManagementGroupScope"); scope0.Start(); try { @@ -1083,7 +1083,7 @@ public virtual AsyncPageable ListAtSubscriptionScopeAsync(st { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.ListAtSubscriptionScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.ListAtSubscriptionScope"); scope0.Start(); try { @@ -1098,7 +1098,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.ListAtSubscriptionScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.ListAtSubscriptionScope"); scope0.Start(); try { @@ -1122,7 +1122,7 @@ public virtual Pageable ListAtSubscriptionScope(string filte { Page FirstPageFunc(int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.ListAtSubscriptionScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.ListAtSubscriptionScope"); scope0.Start(); try { @@ -1137,7 +1137,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.ListAtSubscriptionScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.ListAtSubscriptionScope"); scope0.Start(); try { @@ -1167,7 +1167,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(string async Task> FirstPageFunc(int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.ListByResourceGroup"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.ListByResourceGroup"); scope0.Start(); try { @@ -1182,7 +1182,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.ListByResourceGroup"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.ListByResourceGroup"); scope0.Start(); try { @@ -1212,7 +1212,7 @@ public virtual Pageable ListByResourceGroup(string resourceG Page FirstPageFunc(int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.ListByResourceGroup"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.ListByResourceGroup"); scope0.Start(); try { @@ -1227,7 +1227,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.ListByResourceGroup"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.ListByResourceGroup"); scope0.Start(); try { @@ -1258,7 +1258,7 @@ public virtual async Task StartDeleteAtScopeA throw new ArgumentNullException(nameof(deploymentName)); } - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.StartDeleteAtScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.StartDeleteAtScope"); scope0.Start(); try { @@ -1287,7 +1287,7 @@ public virtual DeploymentsDeleteAtScopeOperation StartDeleteAtScope(string scope throw new ArgumentNullException(nameof(deploymentName)); } - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.StartDeleteAtScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.StartDeleteAtScope"); scope0.Start(); try { @@ -1321,7 +1321,7 @@ public virtual async Task StartCreate throw new ArgumentNullException(nameof(parameters)); } - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.StartCreateOrUpdateAtScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.StartCreateOrUpdateAtScope"); scope0.Start(); try { @@ -1355,7 +1355,7 @@ public virtual DeploymentsCreateOrUpdateAtScopeOperation StartCreateOrUpdateAtSc throw new ArgumentNullException(nameof(parameters)); } - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.StartCreateOrUpdateAtScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.StartCreateOrUpdateAtScope"); scope0.Start(); try { @@ -1389,7 +1389,7 @@ public virtual async Task StartValidateAtSc throw new ArgumentNullException(nameof(parameters)); } - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.StartValidateAtScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.StartValidateAtScope"); scope0.Start(); try { @@ -1423,7 +1423,7 @@ public virtual DeploymentsValidateAtScopeOperation StartValidateAtScope(string s throw new ArgumentNullException(nameof(parameters)); } - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.StartValidateAtScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.StartValidateAtScope"); scope0.Start(); try { @@ -1447,7 +1447,7 @@ public virtual async Task StartDeleteAt throw new ArgumentNullException(nameof(deploymentName)); } - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.StartDeleteAtTenantScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.StartDeleteAtTenantScope"); scope0.Start(); try { @@ -1471,7 +1471,7 @@ public virtual DeploymentsDeleteAtTenantScopeOperation StartDeleteAtTenantScope( throw new ArgumentNullException(nameof(deploymentName)); } - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.StartDeleteAtTenantScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.StartDeleteAtTenantScope"); scope0.Start(); try { @@ -1500,7 +1500,7 @@ public virtual async Task Start throw new ArgumentNullException(nameof(parameters)); } - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.StartCreateOrUpdateAtTenantScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.StartCreateOrUpdateAtTenantScope"); scope0.Start(); try { @@ -1529,7 +1529,7 @@ public virtual DeploymentsCreateOrUpdateAtTenantScopeOperation StartCreateOrUpda throw new ArgumentNullException(nameof(parameters)); } - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.StartCreateOrUpdateAtTenantScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.StartCreateOrUpdateAtTenantScope"); scope0.Start(); try { @@ -1558,7 +1558,7 @@ public virtual async Task StartValida throw new ArgumentNullException(nameof(parameters)); } - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.StartValidateAtTenantScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.StartValidateAtTenantScope"); scope0.Start(); try { @@ -1587,7 +1587,7 @@ public virtual DeploymentsValidateAtTenantScopeOperation StartValidateAtTenantSc throw new ArgumentNullException(nameof(parameters)); } - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.StartValidateAtTenantScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.StartValidateAtTenantScope"); scope0.Start(); try { @@ -1616,7 +1616,7 @@ public virtual async Task Star throw new ArgumentNullException(nameof(deploymentName)); } - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.StartDeleteAtManagementGroupScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.StartDeleteAtManagementGroupScope"); scope0.Start(); try { @@ -1645,7 +1645,7 @@ public virtual DeploymentsDeleteAtManagementGroupScopeOperation StartDeleteAtMan throw new ArgumentNullException(nameof(deploymentName)); } - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.StartDeleteAtManagementGroupScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.StartDeleteAtManagementGroupScope"); scope0.Start(); try { @@ -1679,7 +1679,7 @@ public virtual async Task St throw new ArgumentNullException(nameof(parameters)); } - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.StartValidateAtManagementGroupScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.StartValidateAtManagementGroupScope"); scope0.Start(); try { @@ -1781,7 +1781,7 @@ public virtual DeploymentsValidateAtManagementGroupScopeOperation StartValidateA throw new ArgumentNullException(nameof(parameters)); } - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.StartValidateAtManagementGroupScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.StartValidateAtManagementGroupScope"); scope0.Start(); try { @@ -1805,7 +1805,7 @@ public virtual async Task StartDe throw new ArgumentNullException(nameof(deploymentName)); } - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.StartDeleteAtSubscriptionScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.StartDeleteAtSubscriptionScope"); scope0.Start(); try { @@ -1829,7 +1829,7 @@ public virtual DeploymentsDeleteAtSubscriptionScopeOperation StartDeleteAtSubscr throw new ArgumentNullException(nameof(deploymentName)); } - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.StartDeleteAtSubscriptionScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.StartDeleteAtSubscriptionScope"); scope0.Start(); try { @@ -1858,7 +1858,7 @@ public virtual async Task throw new ArgumentNullException(nameof(parameters)); } - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.StartCreateOrUpdateAtSubscriptionScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.StartCreateOrUpdateAtSubscriptionScope"); scope0.Start(); try { @@ -1887,7 +1887,7 @@ public virtual DeploymentsCreateOrUpdateAtSubscriptionScopeOperation StartCreate throw new ArgumentNullException(nameof(parameters)); } - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.StartCreateOrUpdateAtSubscriptionScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.StartCreateOrUpdateAtSubscriptionScope"); scope0.Start(); try { @@ -1916,7 +1916,7 @@ public virtual async Task Start throw new ArgumentNullException(nameof(parameters)); } - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.StartValidateAtSubscriptionScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.StartValidateAtSubscriptionScope"); scope0.Start(); try { @@ -1945,7 +1945,7 @@ public virtual DeploymentsValidateAtSubscriptionScopeOperation StartValidateAtSu throw new ArgumentNullException(nameof(parameters)); } - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.StartValidateAtSubscriptionScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.StartValidateAtSubscriptionScope"); scope0.Start(); try { @@ -1974,7 +1974,7 @@ public virtual async Task StartWh throw new ArgumentNullException(nameof(parameters)); } - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.StartWhatIfAtSubscriptionScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.StartWhatIfAtSubscriptionScope"); scope0.Start(); try { @@ -2003,7 +2003,7 @@ public virtual DeploymentsWhatIfAtSubscriptionScopeOperation StartWhatIfAtSubscr throw new ArgumentNullException(nameof(parameters)); } - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.StartWhatIfAtSubscriptionScope"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.StartWhatIfAtSubscriptionScope"); scope0.Start(); try { @@ -2032,7 +2032,7 @@ public virtual async Task StartDeleteAsync(string re throw new ArgumentNullException(nameof(deploymentName)); } - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.StartDelete"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.StartDelete"); scope0.Start(); try { @@ -2061,7 +2061,7 @@ public virtual DeploymentsDeleteOperation StartDelete(string resourceGroupName, throw new ArgumentNullException(nameof(deploymentName)); } - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.StartDelete"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.StartDelete"); scope0.Start(); try { @@ -2095,7 +2095,7 @@ public virtual async Task StartCreateOrUpdat throw new ArgumentNullException(nameof(parameters)); } - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.StartCreateOrUpdate"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.StartCreateOrUpdate"); scope0.Start(); try { @@ -2129,7 +2129,7 @@ public virtual DeploymentsCreateOrUpdateOperation StartCreateOrUpdate(string res throw new ArgumentNullException(nameof(parameters)); } - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.StartCreateOrUpdate"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.StartCreateOrUpdate"); scope0.Start(); try { @@ -2163,7 +2163,7 @@ public virtual async Task StartValidateAsync(strin throw new ArgumentNullException(nameof(parameters)); } - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.StartValidate"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.StartValidate"); scope0.Start(); try { @@ -2197,7 +2197,7 @@ public virtual DeploymentsValidateOperation StartValidate(string resourceGroupNa throw new ArgumentNullException(nameof(parameters)); } - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.StartValidate"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.StartValidate"); scope0.Start(); try { @@ -2231,7 +2231,7 @@ public virtual async Task StartWhatIfAsync(string re throw new ArgumentNullException(nameof(parameters)); } - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.StartWhatIf"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.StartWhatIf"); scope0.Start(); try { @@ -2265,7 +2265,7 @@ public virtual DeploymentsWhatIfOperation StartWhatIf(string resourceGroupName, throw new ArgumentNullException(nameof(parameters)); } - using var scope0 = _clientDiagnostics.CreateScope("DeploymentsClient.StartWhatIf"); + using var scope0 = _clientDiagnostics.CreateScope("DeploymentsOperations.StartWhatIf"); scope0.Start(); try { diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/DeploymentsRestClient.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/DeploymentsRestOperations.cs similarity index 99% rename from sdk/resources/Azure.ResourceManager.Resources/src/Generated/DeploymentsRestClient.cs rename to sdk/resources/Azure.ResourceManager.Resources/src/Generated/DeploymentsRestOperations.cs index 31e8dde08f3fd..d574fc080c137 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/DeploymentsRestClient.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/DeploymentsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Resources { - internal partial class DeploymentsRestClient + internal partial class DeploymentsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of DeploymentsRestClient. + /// Initializes a new instance of DeploymentsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// This occurs when one of the required arguments is null. - public DeploymentsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public DeploymentsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/FeaturesClient.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/FeaturesOperations.cs similarity index 93% rename from sdk/resources/Azure.ResourceManager.Resources/src/Generated/FeaturesClient.cs rename to sdk/resources/Azure.ResourceManager.Resources/src/Generated/FeaturesOperations.cs index 505dfa640e64c..733e73a6b9337 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/FeaturesClient.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/FeaturesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Resources { /// The Features service client. - public partial class FeaturesClient + public partial class FeaturesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal FeaturesRestClient RestClient { get; } - /// Initializes a new instance of FeaturesClient for mocking. - protected FeaturesClient() + internal FeaturesRestOperations RestClient { get; } + /// Initializes a new instance of FeaturesOperations for mocking. + protected FeaturesOperations() { } - /// Initializes a new instance of FeaturesClient. + /// Initializes a new instance of FeaturesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. - internal FeaturesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal FeaturesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new FeaturesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new FeaturesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal FeaturesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeli /// The cancellation token to use. public virtual async Task> GetAsync(string resourceProviderNamespace, string featureName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("FeaturesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("FeaturesOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string resourceProvi /// The cancellation token to use. public virtual Response Get(string resourceProviderNamespace, string featureName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("FeaturesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("FeaturesOperations.Get"); scope.Start(); try { @@ -81,7 +81,7 @@ public virtual Response Get(string resourceProviderNamespace, str /// The cancellation token to use. public virtual async Task> RegisterAsync(string resourceProviderNamespace, string featureName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("FeaturesClient.Register"); + using var scope = _clientDiagnostics.CreateScope("FeaturesOperations.Register"); scope.Start(); try { @@ -100,7 +100,7 @@ public virtual async Task> RegisterAsync(string resource /// The cancellation token to use. public virtual Response Register(string resourceProviderNamespace, string featureName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("FeaturesClient.Register"); + using var scope = _clientDiagnostics.CreateScope("FeaturesOperations.Register"); scope.Start(); try { @@ -119,7 +119,7 @@ public virtual Response Register(string resourceProviderNamespace /// The cancellation token to use. public virtual async Task> UnregisterAsync(string resourceProviderNamespace, string featureName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("FeaturesClient.Unregister"); + using var scope = _clientDiagnostics.CreateScope("FeaturesOperations.Unregister"); scope.Start(); try { @@ -138,7 +138,7 @@ public virtual async Task> UnregisterAsync(string resour /// The cancellation token to use. public virtual Response Unregister(string resourceProviderNamespace, string featureName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("FeaturesClient.Unregister"); + using var scope = _clientDiagnostics.CreateScope("FeaturesOperations.Unregister"); scope.Start(); try { @@ -157,7 +157,7 @@ public virtual AsyncPageable ListAllAsync(CancellationToken cance { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("FeaturesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("FeaturesOperations.ListAll"); scope.Start(); try { @@ -172,7 +172,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("FeaturesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("FeaturesOperations.ListAll"); scope.Start(); try { @@ -194,7 +194,7 @@ public virtual Pageable ListAll(CancellationToken cancellationTok { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("FeaturesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("FeaturesOperations.ListAll"); scope.Start(); try { @@ -209,7 +209,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("FeaturesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("FeaturesOperations.ListAll"); scope.Start(); try { @@ -237,7 +237,7 @@ public virtual AsyncPageable ListAsync(string resourceProviderNam async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("FeaturesClient.List"); + using var scope = _clientDiagnostics.CreateScope("FeaturesOperations.List"); scope.Start(); try { @@ -252,7 +252,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("FeaturesClient.List"); + using var scope = _clientDiagnostics.CreateScope("FeaturesOperations.List"); scope.Start(); try { @@ -280,7 +280,7 @@ public virtual Pageable List(string resourceProviderNamespace, Ca Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("FeaturesClient.List"); + using var scope = _clientDiagnostics.CreateScope("FeaturesOperations.List"); scope.Start(); try { @@ -295,7 +295,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("FeaturesClient.List"); + using var scope = _clientDiagnostics.CreateScope("FeaturesOperations.List"); scope.Start(); try { diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/FeaturesRestClient.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/FeaturesRestOperations.cs similarity index 99% rename from sdk/resources/Azure.ResourceManager.Resources/src/Generated/FeaturesRestClient.cs rename to sdk/resources/Azure.ResourceManager.Resources/src/Generated/FeaturesRestOperations.cs index 6311a6ac290b9..38e990ff7e7d8 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/FeaturesRestClient.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/FeaturesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Resources { - internal partial class FeaturesRestClient + internal partial class FeaturesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of FeaturesRestClient. + /// Initializes a new instance of FeaturesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// This occurs when one of the required arguments is null. - public FeaturesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public FeaturesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ManagementLocksClient.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ManagementLocksOperations.cs similarity index 95% rename from sdk/resources/Azure.ResourceManager.Resources/src/Generated/ManagementLocksClient.cs rename to sdk/resources/Azure.ResourceManager.Resources/src/Generated/ManagementLocksOperations.cs index 5dec7c0f4dc89..00bb9d35b5db0 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ManagementLocksClient.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ManagementLocksOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Resources { /// The ManagementLocks service client. - public partial class ManagementLocksClient + public partial class ManagementLocksOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ManagementLocksRestClient RestClient { get; } - /// Initializes a new instance of ManagementLocksClient for mocking. - protected ManagementLocksClient() + internal ManagementLocksRestOperations RestClient { get; } + /// Initializes a new instance of ManagementLocksOperations for mocking. + protected ManagementLocksOperations() { } - /// Initializes a new instance of ManagementLocksClient. + /// Initializes a new instance of ManagementLocksOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. - internal ManagementLocksClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ManagementLocksOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ManagementLocksRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ManagementLocksRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal ManagementLocksClient(ClientDiagnostics clientDiagnostics, HttpPipeline /// The cancellation token to use. public virtual async Task> CreateOrUpdateAtResourceGroupLevelAsync(string resourceGroupName, string lockName, ManagementLockObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ManagementLocksClient.CreateOrUpdateAtResourceGroupLevel"); + using var scope = _clientDiagnostics.CreateScope("ManagementLocksOperations.CreateOrUpdateAtResourceGroupLevel"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> CreateOrUpdateAtResour /// The cancellation token to use. public virtual Response CreateOrUpdateAtResourceGroupLevel(string resourceGroupName, string lockName, ManagementLockObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ManagementLocksClient.CreateOrUpdateAtResourceGroupLevel"); + using var scope = _clientDiagnostics.CreateScope("ManagementLocksOperations.CreateOrUpdateAtResourceGroupLevel"); scope.Start(); try { @@ -83,7 +83,7 @@ public virtual Response CreateOrUpdateAtResourceGroupLevel /// The cancellation token to use. public virtual async Task DeleteAtResourceGroupLevelAsync(string resourceGroupName, string lockName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ManagementLocksClient.DeleteAtResourceGroupLevel"); + using var scope = _clientDiagnostics.CreateScope("ManagementLocksOperations.DeleteAtResourceGroupLevel"); scope.Start(); try { @@ -102,7 +102,7 @@ public virtual async Task DeleteAtResourceGroupLevelAsync(string resou /// The cancellation token to use. public virtual Response DeleteAtResourceGroupLevel(string resourceGroupName, string lockName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ManagementLocksClient.DeleteAtResourceGroupLevel"); + using var scope = _clientDiagnostics.CreateScope("ManagementLocksOperations.DeleteAtResourceGroupLevel"); scope.Start(); try { @@ -121,7 +121,7 @@ public virtual Response DeleteAtResourceGroupLevel(string resourceGroupName, str /// The cancellation token to use. public virtual async Task> GetAtResourceGroupLevelAsync(string resourceGroupName, string lockName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ManagementLocksClient.GetAtResourceGroupLevel"); + using var scope = _clientDiagnostics.CreateScope("ManagementLocksOperations.GetAtResourceGroupLevel"); scope.Start(); try { @@ -140,7 +140,7 @@ public virtual async Task> GetAtResourceGroupLeve /// The cancellation token to use. public virtual Response GetAtResourceGroupLevel(string resourceGroupName, string lockName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ManagementLocksClient.GetAtResourceGroupLevel"); + using var scope = _clientDiagnostics.CreateScope("ManagementLocksOperations.GetAtResourceGroupLevel"); scope.Start(); try { @@ -160,7 +160,7 @@ public virtual Response GetAtResourceGroupLevel(string res /// The cancellation token to use. public virtual async Task> CreateOrUpdateByScopeAsync(string scope, string lockName, ManagementLockObject parameters, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksClient.CreateOrUpdateByScope"); + using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksOperations.CreateOrUpdateByScope"); scope0.Start(); try { @@ -180,7 +180,7 @@ public virtual async Task> CreateOrUpdateByScopeA /// The cancellation token to use. public virtual Response CreateOrUpdateByScope(string scope, string lockName, ManagementLockObject parameters, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksClient.CreateOrUpdateByScope"); + using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksOperations.CreateOrUpdateByScope"); scope0.Start(); try { @@ -199,7 +199,7 @@ public virtual Response CreateOrUpdateByScope(string scope /// The cancellation token to use. public virtual async Task DeleteByScopeAsync(string scope, string lockName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksClient.DeleteByScope"); + using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksOperations.DeleteByScope"); scope0.Start(); try { @@ -218,7 +218,7 @@ public virtual async Task DeleteByScopeAsync(string scope, string lock /// The cancellation token to use. public virtual Response DeleteByScope(string scope, string lockName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksClient.DeleteByScope"); + using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksOperations.DeleteByScope"); scope0.Start(); try { @@ -237,7 +237,7 @@ public virtual Response DeleteByScope(string scope, string lockName, Cancellatio /// The cancellation token to use. public virtual async Task> GetByScopeAsync(string scope, string lockName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksClient.GetByScope"); + using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksOperations.GetByScope"); scope0.Start(); try { @@ -256,7 +256,7 @@ public virtual async Task> GetByScopeAsync(string /// The cancellation token to use. public virtual Response GetByScope(string scope, string lockName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksClient.GetByScope"); + using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksOperations.GetByScope"); scope0.Start(); try { @@ -280,7 +280,7 @@ public virtual Response GetByScope(string scope, string lo /// The cancellation token to use. public virtual async Task> CreateOrUpdateAtResourceLevelAsync(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, string lockName, ManagementLockObject parameters, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksClient.CreateOrUpdateAtResourceLevel"); + using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksOperations.CreateOrUpdateAtResourceLevel"); scope0.Start(); try { @@ -304,7 +304,7 @@ public virtual async Task> CreateOrUpdateAtResour /// The cancellation token to use. public virtual Response CreateOrUpdateAtResourceLevel(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, string lockName, ManagementLockObject parameters, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksClient.CreateOrUpdateAtResourceLevel"); + using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksOperations.CreateOrUpdateAtResourceLevel"); scope0.Start(); try { @@ -327,7 +327,7 @@ public virtual Response CreateOrUpdateAtResourceLevel(stri /// The cancellation token to use. public virtual async Task DeleteAtResourceLevelAsync(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, string lockName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksClient.DeleteAtResourceLevel"); + using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksOperations.DeleteAtResourceLevel"); scope0.Start(); try { @@ -350,7 +350,7 @@ public virtual async Task DeleteAtResourceLevelAsync(string resourceGr /// The cancellation token to use. public virtual Response DeleteAtResourceLevel(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, string lockName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksClient.DeleteAtResourceLevel"); + using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksOperations.DeleteAtResourceLevel"); scope0.Start(); try { @@ -373,7 +373,7 @@ public virtual Response DeleteAtResourceLevel(string resourceGroupName, string r /// The cancellation token to use. public virtual async Task> GetAtResourceLevelAsync(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, string lockName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksClient.GetAtResourceLevel"); + using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksOperations.GetAtResourceLevel"); scope0.Start(); try { @@ -396,7 +396,7 @@ public virtual async Task> GetAtResourceLevelAsyn /// The cancellation token to use. public virtual Response GetAtResourceLevel(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, string lockName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksClient.GetAtResourceLevel"); + using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksOperations.GetAtResourceLevel"); scope0.Start(); try { @@ -415,7 +415,7 @@ public virtual Response GetAtResourceLevel(string resource /// The cancellation token to use. public virtual async Task> CreateOrUpdateAtSubscriptionLevelAsync(string lockName, ManagementLockObject parameters, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksClient.CreateOrUpdateAtSubscriptionLevel"); + using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksOperations.CreateOrUpdateAtSubscriptionLevel"); scope0.Start(); try { @@ -434,7 +434,7 @@ public virtual async Task> CreateOrUpdateAtSubscr /// The cancellation token to use. public virtual Response CreateOrUpdateAtSubscriptionLevel(string lockName, ManagementLockObject parameters, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksClient.CreateOrUpdateAtSubscriptionLevel"); + using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksOperations.CreateOrUpdateAtSubscriptionLevel"); scope0.Start(); try { @@ -452,7 +452,7 @@ public virtual Response CreateOrUpdateAtSubscriptionLevel( /// The cancellation token to use. public virtual async Task DeleteAtSubscriptionLevelAsync(string lockName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksClient.DeleteAtSubscriptionLevel"); + using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksOperations.DeleteAtSubscriptionLevel"); scope0.Start(); try { @@ -470,7 +470,7 @@ public virtual async Task DeleteAtSubscriptionLevelAsync(string lockNa /// The cancellation token to use. public virtual Response DeleteAtSubscriptionLevel(string lockName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksClient.DeleteAtSubscriptionLevel"); + using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksOperations.DeleteAtSubscriptionLevel"); scope0.Start(); try { @@ -488,7 +488,7 @@ public virtual Response DeleteAtSubscriptionLevel(string lockName, CancellationT /// The cancellation token to use. public virtual async Task> GetAtSubscriptionLevelAsync(string lockName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksClient.GetAtSubscriptionLevel"); + using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksOperations.GetAtSubscriptionLevel"); scope0.Start(); try { @@ -506,7 +506,7 @@ public virtual async Task> GetAtSubscriptionLevel /// The cancellation token to use. public virtual Response GetAtSubscriptionLevel(string lockName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksClient.GetAtSubscriptionLevel"); + using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksOperations.GetAtSubscriptionLevel"); scope0.Start(); try { @@ -532,7 +532,7 @@ public virtual AsyncPageable ListAtResourceGroupLevelAsync async Task> FirstPageFunc(int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksClient.ListAtResourceGroupLevel"); + using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksOperations.ListAtResourceGroupLevel"); scope0.Start(); try { @@ -547,7 +547,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksClient.ListAtResourceGroupLevel"); + using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksOperations.ListAtResourceGroupLevel"); scope0.Start(); try { @@ -576,7 +576,7 @@ public virtual Pageable ListAtResourceGroupLevel(string re Page FirstPageFunc(int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksClient.ListAtResourceGroupLevel"); + using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksOperations.ListAtResourceGroupLevel"); scope0.Start(); try { @@ -591,7 +591,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksClient.ListAtResourceGroupLevel"); + using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksOperations.ListAtResourceGroupLevel"); scope0.Start(); try { @@ -640,7 +640,7 @@ public virtual AsyncPageable ListAtResourceLevelAsync(stri async Task> FirstPageFunc(int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksClient.ListAtResourceLevel"); + using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksOperations.ListAtResourceLevel"); scope0.Start(); try { @@ -655,7 +655,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksClient.ListAtResourceLevel"); + using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksOperations.ListAtResourceLevel"); scope0.Start(); try { @@ -704,7 +704,7 @@ public virtual Pageable ListAtResourceLevel(string resourc Page FirstPageFunc(int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksClient.ListAtResourceLevel"); + using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksOperations.ListAtResourceLevel"); scope0.Start(); try { @@ -719,7 +719,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksClient.ListAtResourceLevel"); + using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksOperations.ListAtResourceLevel"); scope0.Start(); try { @@ -742,7 +742,7 @@ public virtual AsyncPageable ListAtSubscriptionLevelAsync( { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksClient.ListAtSubscriptionLevel"); + using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksOperations.ListAtSubscriptionLevel"); scope0.Start(); try { @@ -757,7 +757,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksClient.ListAtSubscriptionLevel"); + using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksOperations.ListAtSubscriptionLevel"); scope0.Start(); try { @@ -780,7 +780,7 @@ public virtual Pageable ListAtSubscriptionLevel(string fil { Page FirstPageFunc(int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksClient.ListAtSubscriptionLevel"); + using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksOperations.ListAtSubscriptionLevel"); scope0.Start(); try { @@ -795,7 +795,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksClient.ListAtSubscriptionLevel"); + using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksOperations.ListAtSubscriptionLevel"); scope0.Start(); try { @@ -824,7 +824,7 @@ public virtual AsyncPageable ListByScopeAsync(string scope async Task> FirstPageFunc(int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksClient.ListByScope"); + using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksOperations.ListByScope"); scope0.Start(); try { @@ -839,7 +839,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksClient.ListByScope"); + using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksOperations.ListByScope"); scope0.Start(); try { @@ -868,7 +868,7 @@ public virtual Pageable ListByScope(string scope, string f Page FirstPageFunc(int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksClient.ListByScope"); + using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksOperations.ListByScope"); scope0.Start(); try { @@ -883,7 +883,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksClient.ListByScope"); + using var scope0 = _clientDiagnostics.CreateScope("ManagementLocksOperations.ListByScope"); scope0.Start(); try { diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ManagementLocksRestClient.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ManagementLocksRestOperations.cs similarity index 99% rename from sdk/resources/Azure.ResourceManager.Resources/src/Generated/ManagementLocksRestClient.cs rename to sdk/resources/Azure.ResourceManager.Resources/src/Generated/ManagementLocksRestOperations.cs index f2c23105364b0..032d8aac29b0e 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ManagementLocksRestClient.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ManagementLocksRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Resources { - internal partial class ManagementLocksRestClient + internal partial class ManagementLocksRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ManagementLocksRestClient. + /// Initializes a new instance of ManagementLocksRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// This occurs when one of the required arguments is null. - public ManagementLocksRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ManagementLocksRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/OperationsClient.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Operations.cs similarity index 85% rename from sdk/resources/Azure.ResourceManager.Resources/src/Generated/OperationsClient.cs rename to sdk/resources/Azure.ResourceManager.Resources/src/Generated/Operations.cs index f13330466590e..dc245eaa91d35 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/OperationsClient.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Operations.cs @@ -15,23 +15,23 @@ namespace Azure.ResourceManager.Resources { - /// The Operations service client. - public partial class OperationsClient + /// The service client. + public partial class Operations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal OperationsRestClient RestClient { get; } - /// Initializes a new instance of OperationsClient for mocking. - protected OperationsClient() + internal RestOperations RestClient { get; } + /// Initializes a new instance of Operations for mocking. + protected Operations() { } - /// Initializes a new instance of OperationsClient. + /// Initializes a new instance of Operations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// server parameter. - internal OperationsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null) + internal Operations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null) { - RestClient = new OperationsRestClient(clientDiagnostics, pipeline, endpoint); + RestClient = new RestOperations(clientDiagnostics, pipeline, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -42,7 +42,7 @@ public virtual AsyncPageable ListAsync(CancellationToken cancellation { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("OperationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("Operations.List"); scope.Start(); try { @@ -57,7 +57,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("OperationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("Operations.List"); scope.Start(); try { @@ -79,7 +79,7 @@ public virtual Pageable List(CancellationToken cancellationToken = de { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("OperationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("Operations.List"); scope.Start(); try { @@ -94,7 +94,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("OperationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("Operations.List"); scope.Start(); try { diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/PolicyAssignmentsClient.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/PolicyAssignmentsOperations.cs similarity index 96% rename from sdk/resources/Azure.ResourceManager.Resources/src/Generated/PolicyAssignmentsClient.cs rename to sdk/resources/Azure.ResourceManager.Resources/src/Generated/PolicyAssignmentsOperations.cs index 9e8c3dd0f4938..bbda4f04a002d 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/PolicyAssignmentsClient.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/PolicyAssignmentsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Resources { /// The PolicyAssignments service client. - public partial class PolicyAssignmentsClient + public partial class PolicyAssignmentsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal PolicyAssignmentsRestClient RestClient { get; } - /// Initializes a new instance of PolicyAssignmentsClient for mocking. - protected PolicyAssignmentsClient() + internal PolicyAssignmentsRestOperations RestClient { get; } + /// Initializes a new instance of PolicyAssignmentsOperations for mocking. + protected PolicyAssignmentsOperations() { } - /// Initializes a new instance of PolicyAssignmentsClient. + /// Initializes a new instance of PolicyAssignmentsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. - internal PolicyAssignmentsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal PolicyAssignmentsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new PolicyAssignmentsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new PolicyAssignmentsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal PolicyAssignmentsClient(ClientDiagnostics clientDiagnostics, HttpPipeli /// The cancellation token to use. public virtual async Task> DeleteAsync(string scope, string policyAssignmentName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsClient.Delete"); + using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsOperations.Delete"); scope0.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> DeleteAsync(string scope, /// The cancellation token to use. public virtual Response Delete(string scope, string policyAssignmentName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsClient.Delete"); + using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsOperations.Delete"); scope0.Start(); try { @@ -82,7 +82,7 @@ public virtual Response Delete(string scope, string policyAssi /// The cancellation token to use. public virtual async Task> CreateAsync(string scope, string policyAssignmentName, PolicyAssignment parameters, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsClient.Create"); + using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsOperations.Create"); scope0.Start(); try { @@ -102,7 +102,7 @@ public virtual async Task> CreateAsync(string scope, /// The cancellation token to use. public virtual Response Create(string scope, string policyAssignmentName, PolicyAssignment parameters, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsClient.Create"); + using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsOperations.Create"); scope0.Start(); try { @@ -121,7 +121,7 @@ public virtual Response Create(string scope, string policyAssi /// The cancellation token to use. public virtual async Task> GetAsync(string scope, string policyAssignmentName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsClient.Get"); + using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsOperations.Get"); scope0.Start(); try { @@ -140,7 +140,7 @@ public virtual async Task> GetAsync(string scope, str /// The cancellation token to use. public virtual Response Get(string scope, string policyAssignmentName, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsClient.Get"); + using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsOperations.Get"); scope0.Start(); try { @@ -158,7 +158,7 @@ public virtual Response Get(string scope, string policyAssignm /// The cancellation token to use. public virtual async Task> DeleteByIdAsync(string policyAssignmentId, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsClient.DeleteById"); + using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsOperations.DeleteById"); scope0.Start(); try { @@ -176,7 +176,7 @@ public virtual async Task> DeleteByIdAsync(string pol /// The cancellation token to use. public virtual Response DeleteById(string policyAssignmentId, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsClient.DeleteById"); + using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsOperations.DeleteById"); scope0.Start(); try { @@ -195,7 +195,7 @@ public virtual Response DeleteById(string policyAssignmentId, /// The cancellation token to use. public virtual async Task> CreateByIdAsync(string policyAssignmentId, PolicyAssignment parameters, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsClient.CreateById"); + using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsOperations.CreateById"); scope0.Start(); try { @@ -214,7 +214,7 @@ public virtual async Task> CreateByIdAsync(string pol /// The cancellation token to use. public virtual Response CreateById(string policyAssignmentId, PolicyAssignment parameters, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsClient.CreateById"); + using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsOperations.CreateById"); scope0.Start(); try { @@ -232,7 +232,7 @@ public virtual Response CreateById(string policyAssignmentId, /// The cancellation token to use. public virtual async Task> GetByIdAsync(string policyAssignmentId, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsClient.GetById"); + using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsOperations.GetById"); scope0.Start(); try { @@ -250,7 +250,7 @@ public virtual async Task> GetByIdAsync(string policy /// The cancellation token to use. public virtual Response GetById(string policyAssignmentId, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsClient.GetById"); + using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsOperations.GetById"); scope0.Start(); try { @@ -276,7 +276,7 @@ public virtual AsyncPageable ListForResourceGroupAsync(string async Task> FirstPageFunc(int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsClient.ListForResourceGroup"); + using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsOperations.ListForResourceGroup"); scope0.Start(); try { @@ -291,7 +291,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsClient.ListForResourceGroup"); + using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsOperations.ListForResourceGroup"); scope0.Start(); try { @@ -320,7 +320,7 @@ public virtual Pageable ListForResourceGroup(string resourceGr Page FirstPageFunc(int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsClient.ListForResourceGroup"); + using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsOperations.ListForResourceGroup"); scope0.Start(); try { @@ -335,7 +335,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsClient.ListForResourceGroup"); + using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsOperations.ListForResourceGroup"); scope0.Start(); try { @@ -384,7 +384,7 @@ public virtual AsyncPageable ListForResourceAsync(string resou async Task> FirstPageFunc(int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsClient.ListForResource"); + using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsOperations.ListForResource"); scope0.Start(); try { @@ -399,7 +399,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsClient.ListForResource"); + using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsOperations.ListForResource"); scope0.Start(); try { @@ -448,7 +448,7 @@ public virtual Pageable ListForResource(string resourceGroupNa Page FirstPageFunc(int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsClient.ListForResource"); + using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsOperations.ListForResource"); scope0.Start(); try { @@ -463,7 +463,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsClient.ListForResource"); + using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsOperations.ListForResource"); scope0.Start(); try { @@ -496,7 +496,7 @@ public virtual AsyncPageable ListForManagementGroupAsync(strin async Task> FirstPageFunc(int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsClient.ListForManagementGroup"); + using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsOperations.ListForManagementGroup"); scope0.Start(); try { @@ -511,7 +511,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsClient.ListForManagementGroup"); + using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsOperations.ListForManagementGroup"); scope0.Start(); try { @@ -544,7 +544,7 @@ public virtual Pageable ListForManagementGroup(string manageme Page FirstPageFunc(int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsClient.ListForManagementGroup"); + using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsOperations.ListForManagementGroup"); scope0.Start(); try { @@ -559,7 +559,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsClient.ListForManagementGroup"); + using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsOperations.ListForManagementGroup"); scope0.Start(); try { @@ -582,7 +582,7 @@ public virtual AsyncPageable ListAsync(string filter = null, C { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsClient.List"); + using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsOperations.List"); scope0.Start(); try { @@ -597,7 +597,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsClient.List"); + using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsOperations.List"); scope0.Start(); try { @@ -620,7 +620,7 @@ public virtual Pageable List(string filter = null, Cancellatio { Page FirstPageFunc(int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsClient.List"); + using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsOperations.List"); scope0.Start(); try { @@ -635,7 +635,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsClient.List"); + using var scope0 = _clientDiagnostics.CreateScope("PolicyAssignmentsOperations.List"); scope0.Start(); try { diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/PolicyAssignmentsRestClient.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/PolicyAssignmentsRestOperations.cs similarity index 99% rename from sdk/resources/Azure.ResourceManager.Resources/src/Generated/PolicyAssignmentsRestClient.cs rename to sdk/resources/Azure.ResourceManager.Resources/src/Generated/PolicyAssignmentsRestOperations.cs index ac356dd6f8f0f..3d1b5ca94ba48 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/PolicyAssignmentsRestClient.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/PolicyAssignmentsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Resources { - internal partial class PolicyAssignmentsRestClient + internal partial class PolicyAssignmentsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of PolicyAssignmentsRestClient. + /// Initializes a new instance of PolicyAssignmentsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// This occurs when one of the required arguments is null. - public PolicyAssignmentsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public PolicyAssignmentsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/PolicyDefinitionsClient.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/PolicyDefinitionsOperations.cs similarity index 93% rename from sdk/resources/Azure.ResourceManager.Resources/src/Generated/PolicyDefinitionsClient.cs rename to sdk/resources/Azure.ResourceManager.Resources/src/Generated/PolicyDefinitionsOperations.cs index 678d040b2f990..ad4702e1c1919 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/PolicyDefinitionsClient.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/PolicyDefinitionsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Resources { /// The PolicyDefinitions service client. - public partial class PolicyDefinitionsClient + public partial class PolicyDefinitionsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal PolicyDefinitionsRestClient RestClient { get; } - /// Initializes a new instance of PolicyDefinitionsClient for mocking. - protected PolicyDefinitionsClient() + internal PolicyDefinitionsRestOperations RestClient { get; } + /// Initializes a new instance of PolicyDefinitionsOperations for mocking. + protected PolicyDefinitionsOperations() { } - /// Initializes a new instance of PolicyDefinitionsClient. + /// Initializes a new instance of PolicyDefinitionsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. - internal PolicyDefinitionsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal PolicyDefinitionsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new PolicyDefinitionsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new PolicyDefinitionsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal PolicyDefinitionsClient(ClientDiagnostics clientDiagnostics, HttpPipeli /// The cancellation token to use. public virtual async Task> CreateOrUpdateAsync(string policyDefinitionName, PolicyDefinition parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsOperations.CreateOrUpdate"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> CreateOrUpdateAsync(string /// The cancellation token to use. public virtual Response CreateOrUpdate(string policyDefinitionName, PolicyDefinition parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsOperations.CreateOrUpdate"); scope.Start(); try { @@ -80,7 +80,7 @@ public virtual Response CreateOrUpdate(string policyDefinition /// The cancellation token to use. public virtual async Task DeleteAsync(string policyDefinitionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsOperations.Delete"); scope.Start(); try { @@ -98,7 +98,7 @@ public virtual async Task DeleteAsync(string policyDefinitionName, Can /// The cancellation token to use. public virtual Response Delete(string policyDefinitionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsOperations.Delete"); scope.Start(); try { @@ -116,7 +116,7 @@ public virtual Response Delete(string policyDefinitionName, CancellationToken ca /// The cancellation token to use. public virtual async Task> GetAsync(string policyDefinitionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsOperations.Get"); scope.Start(); try { @@ -134,7 +134,7 @@ public virtual async Task> GetAsync(string policyDefi /// The cancellation token to use. public virtual Response Get(string policyDefinitionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsOperations.Get"); scope.Start(); try { @@ -152,7 +152,7 @@ public virtual Response Get(string policyDefinitionName, Cance /// The cancellation token to use. public virtual async Task> GetBuiltInAsync(string policyDefinitionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsClient.GetBuiltIn"); + using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsOperations.GetBuiltIn"); scope.Start(); try { @@ -170,7 +170,7 @@ public virtual async Task> GetBuiltInAsync(string pol /// The cancellation token to use. public virtual Response GetBuiltIn(string policyDefinitionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsClient.GetBuiltIn"); + using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsOperations.GetBuiltIn"); scope.Start(); try { @@ -190,7 +190,7 @@ public virtual Response GetBuiltIn(string policyDefinitionName /// The cancellation token to use. public virtual async Task> CreateOrUpdateAtManagementGroupAsync(string policyDefinitionName, string managementGroupId, PolicyDefinition parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsClient.CreateOrUpdateAtManagementGroup"); + using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsOperations.CreateOrUpdateAtManagementGroup"); scope.Start(); try { @@ -210,7 +210,7 @@ public virtual async Task> CreateOrUpdateAtManagement /// The cancellation token to use. public virtual Response CreateOrUpdateAtManagementGroup(string policyDefinitionName, string managementGroupId, PolicyDefinition parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsClient.CreateOrUpdateAtManagementGroup"); + using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsOperations.CreateOrUpdateAtManagementGroup"); scope.Start(); try { @@ -229,7 +229,7 @@ public virtual Response CreateOrUpdateAtManagementGroup(string /// The cancellation token to use. public virtual async Task DeleteAtManagementGroupAsync(string policyDefinitionName, string managementGroupId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsClient.DeleteAtManagementGroup"); + using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsOperations.DeleteAtManagementGroup"); scope.Start(); try { @@ -248,7 +248,7 @@ public virtual async Task DeleteAtManagementGroupAsync(string policyDe /// The cancellation token to use. public virtual Response DeleteAtManagementGroup(string policyDefinitionName, string managementGroupId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsClient.DeleteAtManagementGroup"); + using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsOperations.DeleteAtManagementGroup"); scope.Start(); try { @@ -267,7 +267,7 @@ public virtual Response DeleteAtManagementGroup(string policyDefinitionName, str /// The cancellation token to use. public virtual async Task> GetAtManagementGroupAsync(string policyDefinitionName, string managementGroupId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsClient.GetAtManagementGroup"); + using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsOperations.GetAtManagementGroup"); scope.Start(); try { @@ -286,7 +286,7 @@ public virtual async Task> GetAtManagementGroupAsync( /// The cancellation token to use. public virtual Response GetAtManagementGroup(string policyDefinitionName, string managementGroupId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsClient.GetAtManagementGroup"); + using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsOperations.GetAtManagementGroup"); scope.Start(); try { @@ -305,7 +305,7 @@ public virtual AsyncPageable ListAsync(CancellationToken cance { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsOperations.List"); scope.Start(); try { @@ -320,7 +320,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsOperations.List"); scope.Start(); try { @@ -342,7 +342,7 @@ public virtual Pageable List(CancellationToken cancellationTok { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsOperations.List"); scope.Start(); try { @@ -357,7 +357,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsOperations.List"); scope.Start(); try { @@ -379,7 +379,7 @@ public virtual AsyncPageable ListBuiltInAsync(CancellationToke { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsClient.ListBuiltIn"); + using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsOperations.ListBuiltIn"); scope.Start(); try { @@ -394,7 +394,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsClient.ListBuiltIn"); + using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsOperations.ListBuiltIn"); scope.Start(); try { @@ -416,7 +416,7 @@ public virtual Pageable ListBuiltIn(CancellationToken cancella { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsClient.ListBuiltIn"); + using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsOperations.ListBuiltIn"); scope.Start(); try { @@ -431,7 +431,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsClient.ListBuiltIn"); + using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsOperations.ListBuiltIn"); scope.Start(); try { @@ -459,7 +459,7 @@ public virtual AsyncPageable ListByManagementGroupAsync(string async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsClient.ListByManagementGroup"); + using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsOperations.ListByManagementGroup"); scope.Start(); try { @@ -474,7 +474,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsClient.ListByManagementGroup"); + using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsOperations.ListByManagementGroup"); scope.Start(); try { @@ -502,7 +502,7 @@ public virtual Pageable ListByManagementGroup(string managemen Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsClient.ListByManagementGroup"); + using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsOperations.ListByManagementGroup"); scope.Start(); try { @@ -517,7 +517,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsClient.ListByManagementGroup"); + using var scope = _clientDiagnostics.CreateScope("PolicyDefinitionsOperations.ListByManagementGroup"); scope.Start(); try { diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/PolicyDefinitionsRestClient.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/PolicyDefinitionsRestOperations.cs similarity index 99% rename from sdk/resources/Azure.ResourceManager.Resources/src/Generated/PolicyDefinitionsRestClient.cs rename to sdk/resources/Azure.ResourceManager.Resources/src/Generated/PolicyDefinitionsRestOperations.cs index 6e5451d34d55f..1cc5559fa0751 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/PolicyDefinitionsRestClient.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/PolicyDefinitionsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Resources { - internal partial class PolicyDefinitionsRestClient + internal partial class PolicyDefinitionsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of PolicyDefinitionsRestClient. + /// Initializes a new instance of PolicyDefinitionsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// This occurs when one of the required arguments is null. - public PolicyDefinitionsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public PolicyDefinitionsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/PolicySetDefinitionsClient.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/PolicySetDefinitionsOperations.cs similarity index 93% rename from sdk/resources/Azure.ResourceManager.Resources/src/Generated/PolicySetDefinitionsClient.cs rename to sdk/resources/Azure.ResourceManager.Resources/src/Generated/PolicySetDefinitionsOperations.cs index 20db60bfb7ee8..b940f3f4e89ca 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/PolicySetDefinitionsClient.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/PolicySetDefinitionsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Resources { /// The PolicySetDefinitions service client. - public partial class PolicySetDefinitionsClient + public partial class PolicySetDefinitionsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal PolicySetDefinitionsRestClient RestClient { get; } - /// Initializes a new instance of PolicySetDefinitionsClient for mocking. - protected PolicySetDefinitionsClient() + internal PolicySetDefinitionsRestOperations RestClient { get; } + /// Initializes a new instance of PolicySetDefinitionsOperations for mocking. + protected PolicySetDefinitionsOperations() { } - /// Initializes a new instance of PolicySetDefinitionsClient. + /// Initializes a new instance of PolicySetDefinitionsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. - internal PolicySetDefinitionsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal PolicySetDefinitionsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new PolicySetDefinitionsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new PolicySetDefinitionsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal PolicySetDefinitionsClient(ClientDiagnostics clientDiagnostics, HttpPip /// The cancellation token to use. public virtual async Task> CreateOrUpdateAsync(string policySetDefinitionName, PolicySetDefinition parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsOperations.CreateOrUpdate"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> CreateOrUpdateAsync(str /// The cancellation token to use. public virtual Response CreateOrUpdate(string policySetDefinitionName, PolicySetDefinition parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsOperations.CreateOrUpdate"); scope.Start(); try { @@ -80,7 +80,7 @@ public virtual Response CreateOrUpdate(string policySetDefi /// The cancellation token to use. public virtual async Task DeleteAsync(string policySetDefinitionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsOperations.Delete"); scope.Start(); try { @@ -98,7 +98,7 @@ public virtual async Task DeleteAsync(string policySetDefinitionName, /// The cancellation token to use. public virtual Response Delete(string policySetDefinitionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsOperations.Delete"); scope.Start(); try { @@ -116,7 +116,7 @@ public virtual Response Delete(string policySetDefinitionName, CancellationToken /// The cancellation token to use. public virtual async Task> GetAsync(string policySetDefinitionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsOperations.Get"); scope.Start(); try { @@ -134,7 +134,7 @@ public virtual async Task> GetAsync(string policyS /// The cancellation token to use. public virtual Response Get(string policySetDefinitionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsOperations.Get"); scope.Start(); try { @@ -152,7 +152,7 @@ public virtual Response Get(string policySetDefinitionName, /// The cancellation token to use. public virtual async Task> GetBuiltInAsync(string policySetDefinitionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsClient.GetBuiltIn"); + using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsOperations.GetBuiltIn"); scope.Start(); try { @@ -170,7 +170,7 @@ public virtual async Task> GetBuiltInAsync(string /// The cancellation token to use. public virtual Response GetBuiltIn(string policySetDefinitionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsClient.GetBuiltIn"); + using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsOperations.GetBuiltIn"); scope.Start(); try { @@ -190,7 +190,7 @@ public virtual Response GetBuiltIn(string policySetDefiniti /// The cancellation token to use. public virtual async Task> CreateOrUpdateAtManagementGroupAsync(string policySetDefinitionName, string managementGroupId, PolicySetDefinition parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsClient.CreateOrUpdateAtManagementGroup"); + using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsOperations.CreateOrUpdateAtManagementGroup"); scope.Start(); try { @@ -210,7 +210,7 @@ public virtual async Task> CreateOrUpdateAtManagem /// The cancellation token to use. public virtual Response CreateOrUpdateAtManagementGroup(string policySetDefinitionName, string managementGroupId, PolicySetDefinition parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsClient.CreateOrUpdateAtManagementGroup"); + using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsOperations.CreateOrUpdateAtManagementGroup"); scope.Start(); try { @@ -229,7 +229,7 @@ public virtual Response CreateOrUpdateAtManagementGroup(str /// The cancellation token to use. public virtual async Task DeleteAtManagementGroupAsync(string policySetDefinitionName, string managementGroupId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsClient.DeleteAtManagementGroup"); + using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsOperations.DeleteAtManagementGroup"); scope.Start(); try { @@ -248,7 +248,7 @@ public virtual async Task DeleteAtManagementGroupAsync(string policySe /// The cancellation token to use. public virtual Response DeleteAtManagementGroup(string policySetDefinitionName, string managementGroupId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsClient.DeleteAtManagementGroup"); + using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsOperations.DeleteAtManagementGroup"); scope.Start(); try { @@ -267,7 +267,7 @@ public virtual Response DeleteAtManagementGroup(string policySetDefinitionName, /// The cancellation token to use. public virtual async Task> GetAtManagementGroupAsync(string policySetDefinitionName, string managementGroupId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsClient.GetAtManagementGroup"); + using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsOperations.GetAtManagementGroup"); scope.Start(); try { @@ -286,7 +286,7 @@ public virtual async Task> GetAtManagementGroupAsy /// The cancellation token to use. public virtual Response GetAtManagementGroup(string policySetDefinitionName, string managementGroupId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsClient.GetAtManagementGroup"); + using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsOperations.GetAtManagementGroup"); scope.Start(); try { @@ -305,7 +305,7 @@ public virtual AsyncPageable ListAsync(CancellationToken ca { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsOperations.List"); scope.Start(); try { @@ -320,7 +320,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsOperations.List"); scope.Start(); try { @@ -342,7 +342,7 @@ public virtual Pageable List(CancellationToken cancellation { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsOperations.List"); scope.Start(); try { @@ -357,7 +357,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsOperations.List"); scope.Start(); try { @@ -379,7 +379,7 @@ public virtual AsyncPageable ListBuiltInAsync(CancellationT { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsClient.ListBuiltIn"); + using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsOperations.ListBuiltIn"); scope.Start(); try { @@ -394,7 +394,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsClient.ListBuiltIn"); + using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsOperations.ListBuiltIn"); scope.Start(); try { @@ -416,7 +416,7 @@ public virtual Pageable ListBuiltIn(CancellationToken cance { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsClient.ListBuiltIn"); + using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsOperations.ListBuiltIn"); scope.Start(); try { @@ -431,7 +431,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsClient.ListBuiltIn"); + using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsOperations.ListBuiltIn"); scope.Start(); try { @@ -459,7 +459,7 @@ public virtual AsyncPageable ListByManagementGroupAsync(str async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsClient.ListByManagementGroup"); + using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsOperations.ListByManagementGroup"); scope.Start(); try { @@ -474,7 +474,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsClient.ListByManagementGroup"); + using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsOperations.ListByManagementGroup"); scope.Start(); try { @@ -502,7 +502,7 @@ public virtual Pageable ListByManagementGroup(string manage Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsClient.ListByManagementGroup"); + using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsOperations.ListByManagementGroup"); scope.Start(); try { @@ -517,7 +517,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsClient.ListByManagementGroup"); + using var scope = _clientDiagnostics.CreateScope("PolicySetDefinitionsOperations.ListByManagementGroup"); scope.Start(); try { diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/PolicySetDefinitionsRestClient.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/PolicySetDefinitionsRestOperations.cs similarity index 99% rename from sdk/resources/Azure.ResourceManager.Resources/src/Generated/PolicySetDefinitionsRestClient.cs rename to sdk/resources/Azure.ResourceManager.Resources/src/Generated/PolicySetDefinitionsRestOperations.cs index 593c4c6e06e02..08b9f5043e056 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/PolicySetDefinitionsRestClient.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/PolicySetDefinitionsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Resources { - internal partial class PolicySetDefinitionsRestClient + internal partial class PolicySetDefinitionsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of PolicySetDefinitionsRestClient. + /// Initializes a new instance of PolicySetDefinitionsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// This occurs when one of the required arguments is null. - public PolicySetDefinitionsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public PolicySetDefinitionsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ProvidersClient.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ProvidersOperations.cs similarity index 93% rename from sdk/resources/Azure.ResourceManager.Resources/src/Generated/ProvidersClient.cs rename to sdk/resources/Azure.ResourceManager.Resources/src/Generated/ProvidersOperations.cs index 53eb44908b417..e12f98b853731 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ProvidersClient.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ProvidersOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Resources { /// The Providers service client. - public partial class ProvidersClient + public partial class ProvidersOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ProvidersRestClient RestClient { get; } - /// Initializes a new instance of ProvidersClient for mocking. - protected ProvidersClient() + internal ProvidersRestOperations RestClient { get; } + /// Initializes a new instance of ProvidersOperations for mocking. + protected ProvidersOperations() { } - /// Initializes a new instance of ProvidersClient. + /// Initializes a new instance of ProvidersOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. - internal ProvidersClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ProvidersOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ProvidersRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ProvidersRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -42,7 +42,7 @@ internal ProvidersClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipel /// The cancellation token to use. public virtual async Task> UnregisterAsync(string resourceProviderNamespace, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ProvidersClient.Unregister"); + using var scope = _clientDiagnostics.CreateScope("ProvidersOperations.Unregister"); scope.Start(); try { @@ -60,7 +60,7 @@ public virtual async Task> UnregisterAsync(string resourcePro /// The cancellation token to use. public virtual Response Unregister(string resourceProviderNamespace, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ProvidersClient.Unregister"); + using var scope = _clientDiagnostics.CreateScope("ProvidersOperations.Unregister"); scope.Start(); try { @@ -78,7 +78,7 @@ public virtual Response Unregister(string resourceProviderNamespace, C /// The cancellation token to use. public virtual async Task> RegisterAsync(string resourceProviderNamespace, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ProvidersClient.Register"); + using var scope = _clientDiagnostics.CreateScope("ProvidersOperations.Register"); scope.Start(); try { @@ -96,7 +96,7 @@ public virtual async Task> RegisterAsync(string resourceProvi /// The cancellation token to use. public virtual Response Register(string resourceProviderNamespace, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ProvidersClient.Register"); + using var scope = _clientDiagnostics.CreateScope("ProvidersOperations.Register"); scope.Start(); try { @@ -115,7 +115,7 @@ public virtual Response Register(string resourceProviderNamespace, Can /// The cancellation token to use. public virtual async Task> GetAsync(string resourceProviderNamespace, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ProvidersClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ProvidersOperations.Get"); scope.Start(); try { @@ -134,7 +134,7 @@ public virtual async Task> GetAsync(string resourceProviderNa /// The cancellation token to use. public virtual Response Get(string resourceProviderNamespace, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ProvidersClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ProvidersOperations.Get"); scope.Start(); try { @@ -153,7 +153,7 @@ public virtual Response Get(string resourceProviderNamespace, string e /// The cancellation token to use. public virtual async Task> GetAtTenantScopeAsync(string resourceProviderNamespace, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ProvidersClient.GetAtTenantScope"); + using var scope = _clientDiagnostics.CreateScope("ProvidersOperations.GetAtTenantScope"); scope.Start(); try { @@ -172,7 +172,7 @@ public virtual async Task> GetAtTenantScopeAsync(string resou /// The cancellation token to use. public virtual Response GetAtTenantScope(string resourceProviderNamespace, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ProvidersClient.GetAtTenantScope"); + using var scope = _clientDiagnostics.CreateScope("ProvidersOperations.GetAtTenantScope"); scope.Start(); try { @@ -193,7 +193,7 @@ public virtual AsyncPageable ListAsync(int? top = null, string expand { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ProvidersClient.List"); + using var scope = _clientDiagnostics.CreateScope("ProvidersOperations.List"); scope.Start(); try { @@ -208,7 +208,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ProvidersClient.List"); + using var scope = _clientDiagnostics.CreateScope("ProvidersOperations.List"); scope.Start(); try { @@ -232,7 +232,7 @@ public virtual Pageable List(int? top = null, string expand = null, Ca { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ProvidersClient.List"); + using var scope = _clientDiagnostics.CreateScope("ProvidersOperations.List"); scope.Start(); try { @@ -247,7 +247,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ProvidersClient.List"); + using var scope = _clientDiagnostics.CreateScope("ProvidersOperations.List"); scope.Start(); try { @@ -271,7 +271,7 @@ public virtual AsyncPageable ListAtTenantScopeAsync(int? top = null, s { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ProvidersClient.ListAtTenantScope"); + using var scope = _clientDiagnostics.CreateScope("ProvidersOperations.ListAtTenantScope"); scope.Start(); try { @@ -286,7 +286,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ProvidersClient.ListAtTenantScope"); + using var scope = _clientDiagnostics.CreateScope("ProvidersOperations.ListAtTenantScope"); scope.Start(); try { @@ -310,7 +310,7 @@ public virtual Pageable ListAtTenantScope(int? top = null, string expa { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ProvidersClient.ListAtTenantScope"); + using var scope = _clientDiagnostics.CreateScope("ProvidersOperations.ListAtTenantScope"); scope.Start(); try { @@ -325,7 +325,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ProvidersClient.ListAtTenantScope"); + using var scope = _clientDiagnostics.CreateScope("ProvidersOperations.ListAtTenantScope"); scope.Start(); try { diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ProvidersRestClient.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ProvidersRestOperations.cs similarity index 99% rename from sdk/resources/Azure.ResourceManager.Resources/src/Generated/ProvidersRestClient.cs rename to sdk/resources/Azure.ResourceManager.Resources/src/Generated/ProvidersRestOperations.cs index 6c3e9d8049d37..acc8e19874a0a 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ProvidersRestClient.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ProvidersRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Resources { - internal partial class ProvidersRestClient + internal partial class ProvidersRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ProvidersRestClient. + /// Initializes a new instance of ProvidersRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// This occurs when one of the required arguments is null. - public ProvidersRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ProvidersRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ResourceGroupsClient.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ResourceGroupsOperations.cs similarity index 94% rename from sdk/resources/Azure.ResourceManager.Resources/src/Generated/ResourceGroupsClient.cs rename to sdk/resources/Azure.ResourceManager.Resources/src/Generated/ResourceGroupsOperations.cs index faaf849e9b97d..ecba5e1702b3e 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ResourceGroupsClient.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ResourceGroupsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Resources { /// The ResourceGroups service client. - public partial class ResourceGroupsClient + public partial class ResourceGroupsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ResourceGroupsRestClient RestClient { get; } - /// Initializes a new instance of ResourceGroupsClient for mocking. - protected ResourceGroupsClient() + internal ResourceGroupsRestOperations RestClient { get; } + /// Initializes a new instance of ResourceGroupsOperations for mocking. + protected ResourceGroupsOperations() { } - /// Initializes a new instance of ResourceGroupsClient. + /// Initializes a new instance of ResourceGroupsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. - internal ResourceGroupsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ResourceGroupsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ResourceGroupsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ResourceGroupsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -42,7 +42,7 @@ internal ResourceGroupsClient(ClientDiagnostics clientDiagnostics, HttpPipeline /// The cancellation token to use. public virtual async Task CheckExistenceAsync(string resourceGroupName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ResourceGroupsClient.CheckExistence"); + using var scope = _clientDiagnostics.CreateScope("ResourceGroupsOperations.CheckExistence"); scope.Start(); try { @@ -60,7 +60,7 @@ public virtual async Task CheckExistenceAsync(string resourceGroupName /// The cancellation token to use. public virtual Response CheckExistence(string resourceGroupName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ResourceGroupsClient.CheckExistence"); + using var scope = _clientDiagnostics.CreateScope("ResourceGroupsOperations.CheckExistence"); scope.Start(); try { @@ -79,7 +79,7 @@ public virtual Response CheckExistence(string resourceGroupName, CancellationTok /// The cancellation token to use. public virtual async Task> CreateOrUpdateAsync(string resourceGroupName, ResourceGroup parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ResourceGroupsClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ResourceGroupsOperations.CreateOrUpdate"); scope.Start(); try { @@ -98,7 +98,7 @@ public virtual async Task> CreateOrUpdateAsync(string re /// The cancellation token to use. public virtual Response CreateOrUpdate(string resourceGroupName, ResourceGroup parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ResourceGroupsClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ResourceGroupsOperations.CreateOrUpdate"); scope.Start(); try { @@ -116,7 +116,7 @@ public virtual Response CreateOrUpdate(string resourceGroupName, /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ResourceGroupsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ResourceGroupsOperations.Get"); scope.Start(); try { @@ -134,7 +134,7 @@ public virtual async Task> GetAsync(string resourceGroup /// The cancellation token to use. public virtual Response Get(string resourceGroupName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ResourceGroupsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ResourceGroupsOperations.Get"); scope.Start(); try { @@ -153,7 +153,7 @@ public virtual Response Get(string resourceGroupName, Cancellatio /// The cancellation token to use. public virtual async Task> UpdateAsync(string resourceGroupName, ResourceGroupPatchable parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ResourceGroupsClient.Update"); + using var scope = _clientDiagnostics.CreateScope("ResourceGroupsOperations.Update"); scope.Start(); try { @@ -172,7 +172,7 @@ public virtual async Task> UpdateAsync(string resourceGr /// The cancellation token to use. public virtual Response Update(string resourceGroupName, ResourceGroupPatchable parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ResourceGroupsClient.Update"); + using var scope = _clientDiagnostics.CreateScope("ResourceGroupsOperations.Update"); scope.Start(); try { @@ -193,7 +193,7 @@ public virtual AsyncPageable ListAsync(string filter = null, int? { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ResourceGroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ResourceGroupsOperations.List"); scope.Start(); try { @@ -208,7 +208,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ResourceGroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ResourceGroupsOperations.List"); scope.Start(); try { @@ -232,7 +232,7 @@ public virtual Pageable List(string filter = null, int? top = nul { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ResourceGroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ResourceGroupsOperations.List"); scope.Start(); try { @@ -247,7 +247,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ResourceGroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ResourceGroupsOperations.List"); scope.Start(); try { @@ -273,7 +273,7 @@ public virtual async Task StartDeleteAsync(string throw new ArgumentNullException(nameof(resourceGroupName)); } - using var scope = _clientDiagnostics.CreateScope("ResourceGroupsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ResourceGroupsOperations.StartDelete"); scope.Start(); try { @@ -297,7 +297,7 @@ public virtual ResourceGroupsDeleteOperation StartDelete(string resourceGroupNam throw new ArgumentNullException(nameof(resourceGroupName)); } - using var scope = _clientDiagnostics.CreateScope("ResourceGroupsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ResourceGroupsOperations.StartDelete"); scope.Start(); try { @@ -326,7 +326,7 @@ public virtual async Task StartExportTemp throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ResourceGroupsClient.StartExportTemplate"); + using var scope = _clientDiagnostics.CreateScope("ResourceGroupsOperations.StartExportTemplate"); scope.Start(); try { @@ -355,7 +355,7 @@ public virtual ResourceGroupsExportTemplateOperation StartExportTemplate(string throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ResourceGroupsClient.StartExportTemplate"); + using var scope = _clientDiagnostics.CreateScope("ResourceGroupsOperations.StartExportTemplate"); scope.Start(); try { diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ResourceGroupsRestClient.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ResourceGroupsRestOperations.cs similarity index 99% rename from sdk/resources/Azure.ResourceManager.Resources/src/Generated/ResourceGroupsRestClient.cs rename to sdk/resources/Azure.ResourceManager.Resources/src/Generated/ResourceGroupsRestOperations.cs index e8bb070b58d5c..9e183ac8fb6c1 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ResourceGroupsRestClient.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ResourceGroupsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Resources { - internal partial class ResourceGroupsRestClient + internal partial class ResourceGroupsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ResourceGroupsRestClient. + /// Initializes a new instance of ResourceGroupsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// This occurs when one of the required arguments is null. - public ResourceGroupsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ResourceGroupsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ResourceLinksClient.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ResourceLinksOperations.cs similarity index 93% rename from sdk/resources/Azure.ResourceManager.Resources/src/Generated/ResourceLinksClient.cs rename to sdk/resources/Azure.ResourceManager.Resources/src/Generated/ResourceLinksOperations.cs index 43931ceca088c..004ad4ed3a027 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ResourceLinksClient.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ResourceLinksOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Resources { /// The ResourceLinks service client. - public partial class ResourceLinksClient + public partial class ResourceLinksOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ResourceLinksRestClient RestClient { get; } - /// Initializes a new instance of ResourceLinksClient for mocking. - protected ResourceLinksClient() + internal ResourceLinksRestOperations RestClient { get; } + /// Initializes a new instance of ResourceLinksOperations for mocking. + protected ResourceLinksOperations() { } - /// Initializes a new instance of ResourceLinksClient. + /// Initializes a new instance of ResourceLinksOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. - internal ResourceLinksClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ResourceLinksOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ResourceLinksRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ResourceLinksRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -42,7 +42,7 @@ internal ResourceLinksClient(ClientDiagnostics clientDiagnostics, HttpPipeline p /// The cancellation token to use. public virtual async Task DeleteAsync(string linkId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ResourceLinksClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("ResourceLinksOperations.Delete"); scope.Start(); try { @@ -60,7 +60,7 @@ public virtual async Task DeleteAsync(string linkId, CancellationToken /// The cancellation token to use. public virtual Response Delete(string linkId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ResourceLinksClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("ResourceLinksOperations.Delete"); scope.Start(); try { @@ -79,7 +79,7 @@ public virtual Response Delete(string linkId, CancellationToken cancellationToke /// The cancellation token to use. public virtual async Task> CreateOrUpdateAsync(string linkId, ResourceLink parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ResourceLinksClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ResourceLinksOperations.CreateOrUpdate"); scope.Start(); try { @@ -98,7 +98,7 @@ public virtual async Task> CreateOrUpdateAsync(string lin /// The cancellation token to use. public virtual Response CreateOrUpdate(string linkId, ResourceLink parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ResourceLinksClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ResourceLinksOperations.CreateOrUpdate"); scope.Start(); try { @@ -116,7 +116,7 @@ public virtual Response CreateOrUpdate(string linkId, ResourceLink /// The cancellation token to use. public virtual async Task> GetAsync(string linkId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ResourceLinksClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ResourceLinksOperations.Get"); scope.Start(); try { @@ -134,7 +134,7 @@ public virtual async Task> GetAsync(string linkId, Cancel /// The cancellation token to use. public virtual Response Get(string linkId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ResourceLinksClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ResourceLinksOperations.Get"); scope.Start(); try { @@ -154,7 +154,7 @@ public virtual AsyncPageable ListAtSubscriptionAsync(string filter { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ResourceLinksClient.ListAtSubscription"); + using var scope = _clientDiagnostics.CreateScope("ResourceLinksOperations.ListAtSubscription"); scope.Start(); try { @@ -169,7 +169,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ResourceLinksClient.ListAtSubscription"); + using var scope = _clientDiagnostics.CreateScope("ResourceLinksOperations.ListAtSubscription"); scope.Start(); try { @@ -192,7 +192,7 @@ public virtual Pageable ListAtSubscription(string filter = null, C { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ResourceLinksClient.ListAtSubscription"); + using var scope = _clientDiagnostics.CreateScope("ResourceLinksOperations.ListAtSubscription"); scope.Start(); try { @@ -207,7 +207,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ResourceLinksClient.ListAtSubscription"); + using var scope = _clientDiagnostics.CreateScope("ResourceLinksOperations.ListAtSubscription"); scope.Start(); try { @@ -235,7 +235,7 @@ public virtual AsyncPageable ListAtSourceScopeAsync(string scope, async Task> FirstPageFunc(int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("ResourceLinksClient.ListAtSourceScope"); + using var scope0 = _clientDiagnostics.CreateScope("ResourceLinksOperations.ListAtSourceScope"); scope0.Start(); try { @@ -250,7 +250,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("ResourceLinksClient.ListAtSourceScope"); + using var scope0 = _clientDiagnostics.CreateScope("ResourceLinksOperations.ListAtSourceScope"); scope0.Start(); try { @@ -278,7 +278,7 @@ public virtual Pageable ListAtSourceScope(string scope, Cancellati Page FirstPageFunc(int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("ResourceLinksClient.ListAtSourceScope"); + using var scope0 = _clientDiagnostics.CreateScope("ResourceLinksOperations.ListAtSourceScope"); scope0.Start(); try { @@ -293,7 +293,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("ResourceLinksClient.ListAtSourceScope"); + using var scope0 = _clientDiagnostics.CreateScope("ResourceLinksOperations.ListAtSourceScope"); scope0.Start(); try { diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ResourceLinksRestClient.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ResourceLinksRestOperations.cs similarity index 99% rename from sdk/resources/Azure.ResourceManager.Resources/src/Generated/ResourceLinksRestClient.cs rename to sdk/resources/Azure.ResourceManager.Resources/src/Generated/ResourceLinksRestOperations.cs index 9ada4bf1a669e..2e4b4c79bf815 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ResourceLinksRestClient.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ResourceLinksRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Resources { - internal partial class ResourceLinksRestClient + internal partial class ResourceLinksRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ResourceLinksRestClient. + /// Initializes a new instance of ResourceLinksRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// This occurs when one of the required arguments is null. - public ResourceLinksRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ResourceLinksRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ResourcesManagementClient.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ResourcesManagementClient.cs index 6b78197a55dc4..84dd095090d9b 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ResourcesManagementClient.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ResourcesManagementClient.cs @@ -53,124 +53,64 @@ public ResourcesManagementClient(Uri endpoint, string subscriptionId, TokenCrede _subscriptionId = subscriptionId; } - /// Creates a new instance of OperationsClient. - public virtual OperationsClient GetOperationsClient() - { - return new OperationsClient(_clientDiagnostics, _pipeline, _endpoint); - } + /// Returns an instance of Operations. + public virtual Operations Operations => new Operations(_clientDiagnostics, _pipeline, _endpoint); - /// Creates a new instance of DeploymentsClient. - public virtual DeploymentsClient GetDeploymentsClient() - { - return new DeploymentsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of DeploymentsOperations. + public virtual DeploymentsOperations Deployments => new DeploymentsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ProvidersClient. - public virtual ProvidersClient GetProvidersClient() - { - return new ProvidersClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ProvidersOperations. + public virtual ProvidersOperations Providers => new ProvidersOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ResourcesClient. - public virtual ResourcesClient GetResourcesClient() - { - return new ResourcesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ResourcesOperations. + public virtual ResourcesOperations Resources => new ResourcesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ResourceGroupsClient. - public virtual ResourceGroupsClient GetResourceGroupsClient() - { - return new ResourceGroupsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ResourceGroupsOperations. + public virtual ResourceGroupsOperations ResourceGroups => new ResourceGroupsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of TagsClient. - public virtual TagsClient GetTagsClient() - { - return new TagsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of TagsOperations. + public virtual TagsOperations Tags => new TagsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of DeploymentClient. - public virtual DeploymentClient GetDeploymentClient() - { - return new DeploymentClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of DeploymentOperations. + public virtual DeploymentOperations Deployment => new DeploymentOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of SubscriptionsClient. - public virtual SubscriptionsClient GetSubscriptionsClient() - { - return new SubscriptionsClient(_clientDiagnostics, _pipeline, _endpoint); - } + /// Returns an instance of SubscriptionsOperations. + public virtual SubscriptionsOperations Subscriptions => new SubscriptionsOperations(_clientDiagnostics, _pipeline, _endpoint); - /// Creates a new instance of TenantsClient. - public virtual TenantsClient GetTenantsClient() - { - return new TenantsClient(_clientDiagnostics, _pipeline, _endpoint); - } + /// Returns an instance of TenantsOperations. + public virtual TenantsOperations Tenants => new TenantsOperations(_clientDiagnostics, _pipeline, _endpoint); - /// Creates a new instance of PolicyAssignmentsClient. - public virtual PolicyAssignmentsClient GetPolicyAssignmentsClient() - { - return new PolicyAssignmentsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of PolicyAssignmentsOperations. + public virtual PolicyAssignmentsOperations PolicyAssignments => new PolicyAssignmentsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of PolicyDefinitionsClient. - public virtual PolicyDefinitionsClient GetPolicyDefinitionsClient() - { - return new PolicyDefinitionsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of PolicyDefinitionsOperations. + public virtual PolicyDefinitionsOperations PolicyDefinitions => new PolicyDefinitionsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of PolicySetDefinitionsClient. - public virtual PolicySetDefinitionsClient GetPolicySetDefinitionsClient() - { - return new PolicySetDefinitionsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of PolicySetDefinitionsOperations. + public virtual PolicySetDefinitionsOperations PolicySetDefinitions => new PolicySetDefinitionsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of DeploymentScriptsClient. - public virtual DeploymentScriptsClient GetDeploymentScriptsClient() - { - return new DeploymentScriptsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of DeploymentScriptsOperations. + public virtual DeploymentScriptsOperations DeploymentScripts => new DeploymentScriptsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ServiceClient. - public virtual ServiceClient GetServiceClient() - { - return new ServiceClient(_clientDiagnostics, _pipeline, _endpoint); - } + /// Returns an instance of ServiceOperations. + public virtual ServiceOperations Service => new ServiceOperations(_clientDiagnostics, _pipeline, _endpoint); - /// Creates a new instance of FeaturesClient. - public virtual FeaturesClient GetFeaturesClient() - { - return new FeaturesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of FeaturesOperations. + public virtual FeaturesOperations Features => new FeaturesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of AuthorizationClient. - public virtual AuthorizationClient GetAuthorizationClient() - { - return new AuthorizationClient(_clientDiagnostics, _pipeline, _endpoint); - } + /// Returns an instance of AuthorizationOperations. + public virtual AuthorizationOperations Authorization => new AuthorizationOperations(_clientDiagnostics, _pipeline, _endpoint); - /// Creates a new instance of ManagementLocksClient. - public virtual ManagementLocksClient GetManagementLocksClient() - { - return new ManagementLocksClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ManagementLocksOperations. + public virtual ManagementLocksOperations ManagementLocks => new ManagementLocksOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ResourceLinksClient. - public virtual ResourceLinksClient GetResourceLinksClient() - { - return new ResourceLinksClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ResourceLinksOperations. + public virtual ResourceLinksOperations ResourceLinks => new ResourceLinksOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ApplicationsClient. - public virtual ApplicationsClient GetApplicationsClient() - { - return new ApplicationsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ApplicationsOperations. + public virtual ApplicationsOperations Applications => new ApplicationsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ApplicationDefinitionsClient. - public virtual ApplicationDefinitionsClient GetApplicationDefinitionsClient() - { - return new ApplicationDefinitionsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ApplicationDefinitionsOperations. + public virtual ApplicationDefinitionsOperations ApplicationDefinitions => new ApplicationDefinitionsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); } } diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ResourcesClient.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ResourcesOperations.cs similarity index 97% rename from sdk/resources/Azure.ResourceManager.Resources/src/Generated/ResourcesClient.cs rename to sdk/resources/Azure.ResourceManager.Resources/src/Generated/ResourcesOperations.cs index b0e83451b0a43..15799b27ffd27 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ResourcesClient.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ResourcesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Resources { /// The Resources service client. - public partial class ResourcesClient + public partial class ResourcesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ResourcesRestClient RestClient { get; } - /// Initializes a new instance of ResourcesClient for mocking. - protected ResourcesClient() + internal ResourcesRestOperations RestClient { get; } + /// Initializes a new instance of ResourcesOperations for mocking. + protected ResourcesOperations() { } - /// Initializes a new instance of ResourcesClient. + /// Initializes a new instance of ResourcesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. - internal ResourcesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ResourcesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ResourcesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ResourcesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -47,7 +47,7 @@ internal ResourcesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipel /// The cancellation token to use. public virtual async Task CheckExistenceAsync(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, string apiVersion, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.CheckExistence"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.CheckExistence"); scope.Start(); try { @@ -70,7 +70,7 @@ public virtual async Task CheckExistenceAsync(string resourceGroupName /// The cancellation token to use. public virtual Response CheckExistence(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, string apiVersion, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.CheckExistence"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.CheckExistence"); scope.Start(); try { @@ -93,7 +93,7 @@ public virtual Response CheckExistence(string resourceGroupName, string resource /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, string apiVersion, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.Get"); scope.Start(); try { @@ -116,7 +116,7 @@ public virtual async Task> GetAsync(string resourceGro /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, string apiVersion, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.Get"); scope.Start(); try { @@ -135,7 +135,7 @@ public virtual Response Get(string resourceGroupName, string re /// The cancellation token to use. public virtual async Task CheckExistenceByIdAsync(string resourceId, string apiVersion, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.CheckExistenceById"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.CheckExistenceById"); scope.Start(); try { @@ -154,7 +154,7 @@ public virtual async Task CheckExistenceByIdAsync(string resourceId, s /// The cancellation token to use. public virtual Response CheckExistenceById(string resourceId, string apiVersion, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.CheckExistenceById"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.CheckExistenceById"); scope.Start(); try { @@ -173,7 +173,7 @@ public virtual Response CheckExistenceById(string resourceId, string apiVersion, /// The cancellation token to use. public virtual async Task> GetByIdAsync(string resourceId, string apiVersion, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.GetById"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.GetById"); scope.Start(); try { @@ -192,7 +192,7 @@ public virtual async Task> GetByIdAsync(string resourc /// The cancellation token to use. public virtual Response GetById(string resourceId, string apiVersion, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.GetById"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.GetById"); scope.Start(); try { @@ -220,7 +220,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(s async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.ListByResourceGroup"); scope.Start(); try { @@ -235,7 +235,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.ListByResourceGroup"); scope.Start(); try { @@ -266,7 +266,7 @@ public virtual Pageable ListByResourceGroup(string reso Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.ListByResourceGroup"); scope.Start(); try { @@ -281,7 +281,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.ListByResourceGroup"); scope.Start(); try { @@ -306,7 +306,7 @@ public virtual AsyncPageable ListAsync(string filter = { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.List"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.List"); scope.Start(); try { @@ -321,7 +321,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.List"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.List"); scope.Start(); try { @@ -346,7 +346,7 @@ public virtual Pageable List(string filter = null, stri { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.List"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.List"); scope.Start(); try { @@ -361,7 +361,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.List"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.List"); scope.Start(); try { @@ -392,7 +392,7 @@ public virtual async Task StartMoveResourcesAsy throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.StartMoveResources"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.StartMoveResources"); scope.Start(); try { @@ -421,7 +421,7 @@ public virtual ResourcesMoveResourcesOperation StartMoveResources(string sourceR throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.StartMoveResources"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.StartMoveResources"); scope.Start(); try { @@ -450,7 +450,7 @@ public virtual async Task StartValidate throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.StartValidateMoveResources"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.StartValidateMoveResources"); scope.Start(); try { @@ -479,7 +479,7 @@ public virtual ResourcesValidateMoveResourcesOperation StartValidateMoveResource throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.StartValidateMoveResources"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.StartValidateMoveResources"); scope.Start(); try { @@ -528,7 +528,7 @@ public virtual async Task StartDeleteAsync(string reso throw new ArgumentNullException(nameof(apiVersion)); } - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.StartDelete"); scope.Start(); try { @@ -577,7 +577,7 @@ public virtual ResourcesDeleteOperation StartDelete(string resourceGroupName, st throw new ArgumentNullException(nameof(apiVersion)); } - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.StartDelete"); scope.Start(); try { @@ -631,7 +631,7 @@ public virtual async Task StartCreateOrUpdateA throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -685,7 +685,7 @@ public virtual ResourcesCreateOrUpdateOperation StartCreateOrUpdate(string resou throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -739,7 +739,7 @@ public virtual async Task StartUpdateAsync(string reso throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.StartUpdate"); scope.Start(); try { @@ -793,7 +793,7 @@ public virtual ResourcesUpdateOperation StartUpdate(string resourceGroupName, st throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.StartUpdate"); scope.Start(); try { @@ -822,7 +822,7 @@ public virtual async Task StartDeleteByIdAsync(str throw new ArgumentNullException(nameof(apiVersion)); } - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.StartDeleteById"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.StartDeleteById"); scope.Start(); try { @@ -851,7 +851,7 @@ public virtual ResourcesDeleteByIdOperation StartDeleteById(string resourceId, s throw new ArgumentNullException(nameof(apiVersion)); } - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.StartDeleteById"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.StartDeleteById"); scope.Start(); try { @@ -885,7 +885,7 @@ public virtual async Task StartCreateOrUpd throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.StartCreateOrUpdateById"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.StartCreateOrUpdateById"); scope.Start(); try { @@ -919,7 +919,7 @@ public virtual ResourcesCreateOrUpdateByIdOperation StartCreateOrUpdateById(stri throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.StartCreateOrUpdateById"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.StartCreateOrUpdateById"); scope.Start(); try { @@ -953,7 +953,7 @@ public virtual async Task StartUpdateByIdAsync(str throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.StartUpdateById"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.StartUpdateById"); scope.Start(); try { @@ -987,7 +987,7 @@ public virtual ResourcesUpdateByIdOperation StartUpdateById(string resourceId, s throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.StartUpdateById"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.StartUpdateById"); scope.Start(); try { diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ResourcesRestClient.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ResourcesRestOperations.cs similarity index 99% rename from sdk/resources/Azure.ResourceManager.Resources/src/Generated/ResourcesRestClient.cs rename to sdk/resources/Azure.ResourceManager.Resources/src/Generated/ResourcesRestOperations.cs index eb78a4ef3bf57..873f078226f76 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ResourcesRestClient.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ResourcesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Resources { - internal partial class ResourcesRestClient + internal partial class ResourcesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ResourcesRestClient. + /// Initializes a new instance of ResourcesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// This occurs when one of the required arguments is null. - public ResourcesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ResourcesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/OperationsRestClient.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/RestOperations.cs similarity index 96% rename from sdk/resources/Azure.ResourceManager.Resources/src/Generated/OperationsRestClient.cs rename to sdk/resources/Azure.ResourceManager.Resources/src/Generated/RestOperations.cs index 95ca16bd57075..9173eff305923 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/OperationsRestClient.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/RestOperations.cs @@ -16,17 +16,17 @@ namespace Azure.ResourceManager.Resources { - internal partial class OperationsRestClient + internal partial class RestOperations { private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of OperationsRestClient. + /// Initializes a new instance of RestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// server parameter. - public OperationsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null) + public RestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null) { endpoint ??= new Uri("https://management.azure.com"); diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ServiceClient.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ServiceOperations.cs similarity index 86% rename from sdk/resources/Azure.ResourceManager.Resources/src/Generated/ServiceClient.cs rename to sdk/resources/Azure.ResourceManager.Resources/src/Generated/ServiceOperations.cs index 06e2bf312de00..6ad642d44bfad 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ServiceClient.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ServiceOperations.cs @@ -16,22 +16,22 @@ namespace Azure.ResourceManager.Resources { /// The Service service client. - public partial class ServiceClient + public partial class ServiceOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ServiceRestClient RestClient { get; } - /// Initializes a new instance of ServiceClient for mocking. - protected ServiceClient() + internal ServiceRestOperations RestClient { get; } + /// Initializes a new instance of ServiceOperations for mocking. + protected ServiceOperations() { } - /// Initializes a new instance of ServiceClient. + /// Initializes a new instance of ServiceOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// server parameter. - internal ServiceClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null) + internal ServiceOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null) { - RestClient = new ServiceRestClient(clientDiagnostics, pipeline, endpoint); + RestClient = new ServiceRestOperations(clientDiagnostics, pipeline, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -42,7 +42,7 @@ public virtual AsyncPageable ListOperationsAsync(Cancell { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServiceClient.ListOperations"); + using var scope = _clientDiagnostics.CreateScope("ServiceOperations.ListOperations"); scope.Start(); try { @@ -57,7 +57,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServiceClient.ListOperations"); + using var scope = _clientDiagnostics.CreateScope("ServiceOperations.ListOperations"); scope.Start(); try { @@ -79,7 +79,7 @@ public virtual Pageable ListOperations(CancellationToken { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServiceClient.ListOperations"); + using var scope = _clientDiagnostics.CreateScope("ServiceOperations.ListOperations"); scope.Start(); try { @@ -94,7 +94,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServiceClient.ListOperations"); + using var scope = _clientDiagnostics.CreateScope("ServiceOperations.ListOperations"); scope.Start(); try { diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ServiceRestClient.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ServiceRestOperations.cs similarity index 96% rename from sdk/resources/Azure.ResourceManager.Resources/src/Generated/ServiceRestClient.cs rename to sdk/resources/Azure.ResourceManager.Resources/src/Generated/ServiceRestOperations.cs index 1ba664ee62469..14143f3c2191d 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ServiceRestClient.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ServiceRestOperations.cs @@ -16,17 +16,17 @@ namespace Azure.ResourceManager.Resources { - internal partial class ServiceRestClient + internal partial class ServiceRestOperations { private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ServiceRestClient. + /// Initializes a new instance of ServiceRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// server parameter. - public ServiceRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null) + public ServiceRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null) { endpoint ??= new Uri("https://management.azure.com"); diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/SubscriptionsClient.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/SubscriptionsOperations.cs similarity index 92% rename from sdk/resources/Azure.ResourceManager.Resources/src/Generated/SubscriptionsClient.cs rename to sdk/resources/Azure.ResourceManager.Resources/src/Generated/SubscriptionsOperations.cs index b1e5604aac078..ec48451e3057e 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/SubscriptionsClient.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/SubscriptionsOperations.cs @@ -16,22 +16,22 @@ namespace Azure.ResourceManager.Resources { /// The Subscriptions service client. - public partial class SubscriptionsClient + public partial class SubscriptionsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal SubscriptionsRestClient RestClient { get; } - /// Initializes a new instance of SubscriptionsClient for mocking. - protected SubscriptionsClient() + internal SubscriptionsRestOperations RestClient { get; } + /// Initializes a new instance of SubscriptionsOperations for mocking. + protected SubscriptionsOperations() { } - /// Initializes a new instance of SubscriptionsClient. + /// Initializes a new instance of SubscriptionsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// server parameter. - internal SubscriptionsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null) + internal SubscriptionsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null) { - RestClient = new SubscriptionsRestClient(clientDiagnostics, pipeline, endpoint); + RestClient = new SubscriptionsRestOperations(clientDiagnostics, pipeline, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -41,7 +41,7 @@ internal SubscriptionsClient(ClientDiagnostics clientDiagnostics, HttpPipeline p /// The cancellation token to use. public virtual async Task> GetAsync(string subscriptionId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("SubscriptionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("SubscriptionsOperations.Get"); scope.Start(); try { @@ -59,7 +59,7 @@ public virtual async Task> GetAsync(string subscriptionId /// The cancellation token to use. public virtual Response Get(string subscriptionId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("SubscriptionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("SubscriptionsOperations.Get"); scope.Start(); try { @@ -84,7 +84,7 @@ public virtual AsyncPageable ListLocationsAsync(string subscriptionId, async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SubscriptionsClient.ListLocations"); + using var scope = _clientDiagnostics.CreateScope("SubscriptionsOperations.ListLocations"); scope.Start(); try { @@ -112,7 +112,7 @@ public virtual Pageable ListLocations(string subscriptionId, Cancellat Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SubscriptionsClient.ListLocations"); + using var scope = _clientDiagnostics.CreateScope("SubscriptionsOperations.ListLocations"); scope.Start(); try { @@ -134,7 +134,7 @@ public virtual AsyncPageable ListAsync(CancellationToken cancellat { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SubscriptionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("SubscriptionsOperations.List"); scope.Start(); try { @@ -149,7 +149,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SubscriptionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("SubscriptionsOperations.List"); scope.Start(); try { @@ -171,7 +171,7 @@ public virtual Pageable List(CancellationToken cancellationToken = { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SubscriptionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("SubscriptionsOperations.List"); scope.Start(); try { @@ -186,7 +186,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SubscriptionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("SubscriptionsOperations.List"); scope.Start(); try { diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/SubscriptionsRestClient.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/SubscriptionsRestOperations.cs similarity index 98% rename from sdk/resources/Azure.ResourceManager.Resources/src/Generated/SubscriptionsRestClient.cs rename to sdk/resources/Azure.ResourceManager.Resources/src/Generated/SubscriptionsRestOperations.cs index d8e56eacfd01d..d472f2463804d 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/SubscriptionsRestClient.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/SubscriptionsRestOperations.cs @@ -16,17 +16,17 @@ namespace Azure.ResourceManager.Resources { - internal partial class SubscriptionsRestClient + internal partial class SubscriptionsRestOperations { private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of SubscriptionsRestClient. + /// Initializes a new instance of SubscriptionsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// server parameter. - public SubscriptionsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null) + public SubscriptionsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null) { endpoint ??= new Uri("https://management.azure.com"); diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/TagsClient.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/TagsOperations.cs similarity index 94% rename from sdk/resources/Azure.ResourceManager.Resources/src/Generated/TagsClient.cs rename to sdk/resources/Azure.ResourceManager.Resources/src/Generated/TagsOperations.cs index ca2768b5870fd..bd579eaba1ed1 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/TagsClient.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/TagsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.ResourceManager.Resources { /// The Tags service client. - public partial class TagsClient + public partial class TagsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal TagsRestClient RestClient { get; } - /// Initializes a new instance of TagsClient for mocking. - protected TagsClient() + internal TagsRestOperations RestClient { get; } + /// Initializes a new instance of TagsOperations for mocking. + protected TagsOperations() { } - /// Initializes a new instance of TagsClient. + /// Initializes a new instance of TagsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. - internal TagsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal TagsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new TagsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new TagsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal TagsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, /// The cancellation token to use. public virtual async Task DeleteValueAsync(string tagName, string tagValue, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("TagsClient.DeleteValue"); + using var scope = _clientDiagnostics.CreateScope("TagsOperations.DeleteValue"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task DeleteValueAsync(string tagName, string tagV /// The cancellation token to use. public virtual Response DeleteValue(string tagName, string tagValue, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("TagsClient.DeleteValue"); + using var scope = _clientDiagnostics.CreateScope("TagsOperations.DeleteValue"); scope.Start(); try { @@ -81,7 +81,7 @@ public virtual Response DeleteValue(string tagName, string tagValue, Cancellatio /// The cancellation token to use. public virtual async Task> CreateOrUpdateValueAsync(string tagName, string tagValue, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("TagsClient.CreateOrUpdateValue"); + using var scope = _clientDiagnostics.CreateScope("TagsOperations.CreateOrUpdateValue"); scope.Start(); try { @@ -100,7 +100,7 @@ public virtual async Task> CreateOrUpdateValueAsync(string ta /// The cancellation token to use. public virtual Response CreateOrUpdateValue(string tagName, string tagValue, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("TagsClient.CreateOrUpdateValue"); + using var scope = _clientDiagnostics.CreateScope("TagsOperations.CreateOrUpdateValue"); scope.Start(); try { @@ -118,7 +118,7 @@ public virtual Response CreateOrUpdateValue(string tagName, string tag /// The cancellation token to use. public virtual async Task> CreateOrUpdateAsync(string tagName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("TagsClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("TagsOperations.CreateOrUpdate"); scope.Start(); try { @@ -136,7 +136,7 @@ public virtual async Task> CreateOrUpdateAsync(string tagNa /// The cancellation token to use. public virtual Response CreateOrUpdate(string tagName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("TagsClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("TagsOperations.CreateOrUpdate"); scope.Start(); try { @@ -154,7 +154,7 @@ public virtual Response CreateOrUpdate(string tagName, CancellationT /// The cancellation token to use. public virtual async Task DeleteAsync(string tagName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("TagsClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("TagsOperations.Delete"); scope.Start(); try { @@ -172,7 +172,7 @@ public virtual async Task DeleteAsync(string tagName, CancellationToke /// The cancellation token to use. public virtual Response Delete(string tagName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("TagsClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("TagsOperations.Delete"); scope.Start(); try { @@ -191,7 +191,7 @@ public virtual Response Delete(string tagName, CancellationToken cancellationTok /// The cancellation token to use. public virtual async Task> CreateOrUpdateAtScopeAsync(string scope, TagsResource parameters, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("TagsClient.CreateOrUpdateAtScope"); + using var scope0 = _clientDiagnostics.CreateScope("TagsOperations.CreateOrUpdateAtScope"); scope0.Start(); try { @@ -210,7 +210,7 @@ public virtual async Task> CreateOrUpdateAtScopeAsync(str /// The cancellation token to use. public virtual Response CreateOrUpdateAtScope(string scope, TagsResource parameters, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("TagsClient.CreateOrUpdateAtScope"); + using var scope0 = _clientDiagnostics.CreateScope("TagsOperations.CreateOrUpdateAtScope"); scope0.Start(); try { @@ -229,7 +229,7 @@ public virtual Response CreateOrUpdateAtScope(string scope, TagsRe /// The cancellation token to use. public virtual async Task> UpdateAtScopeAsync(string scope, TagsPatchResource parameters, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("TagsClient.UpdateAtScope"); + using var scope0 = _clientDiagnostics.CreateScope("TagsOperations.UpdateAtScope"); scope0.Start(); try { @@ -248,7 +248,7 @@ public virtual async Task> UpdateAtScopeAsync(string scop /// The cancellation token to use. public virtual Response UpdateAtScope(string scope, TagsPatchResource parameters, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("TagsClient.UpdateAtScope"); + using var scope0 = _clientDiagnostics.CreateScope("TagsOperations.UpdateAtScope"); scope0.Start(); try { @@ -266,7 +266,7 @@ public virtual Response UpdateAtScope(string scope, TagsPatchResou /// The cancellation token to use. public virtual async Task> GetAtScopeAsync(string scope, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("TagsClient.GetAtScope"); + using var scope0 = _clientDiagnostics.CreateScope("TagsOperations.GetAtScope"); scope0.Start(); try { @@ -284,7 +284,7 @@ public virtual async Task> GetAtScopeAsync(string scope, /// The cancellation token to use. public virtual Response GetAtScope(string scope, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("TagsClient.GetAtScope"); + using var scope0 = _clientDiagnostics.CreateScope("TagsOperations.GetAtScope"); scope0.Start(); try { @@ -302,7 +302,7 @@ public virtual Response GetAtScope(string scope, CancellationToken /// The cancellation token to use. public virtual async Task DeleteAtScopeAsync(string scope, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("TagsClient.DeleteAtScope"); + using var scope0 = _clientDiagnostics.CreateScope("TagsOperations.DeleteAtScope"); scope0.Start(); try { @@ -320,7 +320,7 @@ public virtual async Task DeleteAtScopeAsync(string scope, Cancellatio /// The cancellation token to use. public virtual Response DeleteAtScope(string scope, CancellationToken cancellationToken = default) { - using var scope0 = _clientDiagnostics.CreateScope("TagsClient.DeleteAtScope"); + using var scope0 = _clientDiagnostics.CreateScope("TagsOperations.DeleteAtScope"); scope0.Start(); try { @@ -339,7 +339,7 @@ public virtual AsyncPageable ListAsync(CancellationToken cancellatio { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("TagsClient.List"); + using var scope0 = _clientDiagnostics.CreateScope("TagsOperations.List"); scope0.Start(); try { @@ -354,7 +354,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("TagsClient.List"); + using var scope0 = _clientDiagnostics.CreateScope("TagsOperations.List"); scope0.Start(); try { @@ -376,7 +376,7 @@ public virtual Pageable List(CancellationToken cancellationToken = d { Page FirstPageFunc(int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("TagsClient.List"); + using var scope0 = _clientDiagnostics.CreateScope("TagsOperations.List"); scope0.Start(); try { @@ -391,7 +391,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope0 = _clientDiagnostics.CreateScope("TagsClient.List"); + using var scope0 = _clientDiagnostics.CreateScope("TagsOperations.List"); scope0.Start(); try { diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/TagsRestClient.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/TagsRestOperations.cs similarity index 99% rename from sdk/resources/Azure.ResourceManager.Resources/src/Generated/TagsRestClient.cs rename to sdk/resources/Azure.ResourceManager.Resources/src/Generated/TagsRestOperations.cs index 102d69b674536..26b051470f75d 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/TagsRestClient.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/TagsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Resources { - internal partial class TagsRestClient + internal partial class TagsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of TagsRestClient. + /// Initializes a new instance of TagsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// This occurs when one of the required arguments is null. - public TagsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public TagsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/TenantsClient.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/TenantsOperations.cs similarity index 86% rename from sdk/resources/Azure.ResourceManager.Resources/src/Generated/TenantsClient.cs rename to sdk/resources/Azure.ResourceManager.Resources/src/Generated/TenantsOperations.cs index 5e2a08f4c166d..ded0d9c294982 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/TenantsClient.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/TenantsOperations.cs @@ -16,22 +16,22 @@ namespace Azure.ResourceManager.Resources { /// The Tenants service client. - public partial class TenantsClient + public partial class TenantsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal TenantsRestClient RestClient { get; } - /// Initializes a new instance of TenantsClient for mocking. - protected TenantsClient() + internal TenantsRestOperations RestClient { get; } + /// Initializes a new instance of TenantsOperations for mocking. + protected TenantsOperations() { } - /// Initializes a new instance of TenantsClient. + /// Initializes a new instance of TenantsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// server parameter. - internal TenantsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null) + internal TenantsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null) { - RestClient = new TenantsRestClient(clientDiagnostics, pipeline, endpoint); + RestClient = new TenantsRestOperations(clientDiagnostics, pipeline, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -42,7 +42,7 @@ public virtual AsyncPageable ListAsync(CancellationToken ca { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("TenantsClient.List"); + using var scope = _clientDiagnostics.CreateScope("TenantsOperations.List"); scope.Start(); try { @@ -57,7 +57,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("TenantsClient.List"); + using var scope = _clientDiagnostics.CreateScope("TenantsOperations.List"); scope.Start(); try { @@ -79,7 +79,7 @@ public virtual Pageable List(CancellationToken cancellation { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("TenantsClient.List"); + using var scope = _clientDiagnostics.CreateScope("TenantsOperations.List"); scope.Start(); try { @@ -94,7 +94,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("TenantsClient.List"); + using var scope = _clientDiagnostics.CreateScope("TenantsOperations.List"); scope.Start(); try { diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/TenantsRestClient.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/TenantsRestOperations.cs similarity index 96% rename from sdk/resources/Azure.ResourceManager.Resources/src/Generated/TenantsRestClient.cs rename to sdk/resources/Azure.ResourceManager.Resources/src/Generated/TenantsRestOperations.cs index 9c99e885e9e2e..0253f811d778d 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/TenantsRestClient.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/TenantsRestOperations.cs @@ -16,17 +16,17 @@ namespace Azure.ResourceManager.Resources { - internal partial class TenantsRestClient + internal partial class TenantsRestOperations { private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of TenantsRestClient. + /// Initializes a new instance of TenantsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// server parameter. - public TenantsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null) + public TenantsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null) { endpoint ??= new Uri("https://management.azure.com"); diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/BlobContainersClient.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/BlobContainersOperations.cs similarity index 96% rename from sdk/storage/Azure.ResourceManager.Storage/src/Generated/BlobContainersClient.cs rename to sdk/storage/Azure.ResourceManager.Storage/src/Generated/BlobContainersOperations.cs index 87854cafe81e4..fe5be2a24671b 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/BlobContainersClient.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/BlobContainersOperations.cs @@ -16,24 +16,24 @@ namespace Azure.ResourceManager.Storage { /// The BlobContainers service client. - public partial class BlobContainersClient + public partial class BlobContainersOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal BlobContainersRestClient RestClient { get; } - /// Initializes a new instance of BlobContainersClient for mocking. - protected BlobContainersClient() + internal BlobContainersRestOperations RestClient { get; } + /// Initializes a new instance of BlobContainersOperations for mocking. + protected BlobContainersOperations() { } - /// Initializes a new instance of BlobContainersClient. + /// Initializes a new instance of BlobContainersOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. - internal BlobContainersClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + internal BlobContainersOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { - RestClient = new BlobContainersRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); + RestClient = new BlobContainersRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -46,7 +46,7 @@ internal BlobContainersClient(ClientDiagnostics clientDiagnostics, HttpPipeline /// The cancellation token to use. public virtual async Task> CreateAsync(string resourceGroupName, string accountName, string containerName, BlobContainer blobContainer, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.Create"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.Create"); scope.Start(); try { @@ -67,7 +67,7 @@ public virtual async Task> CreateAsync(string resourceGr /// The cancellation token to use. public virtual Response Create(string resourceGroupName, string accountName, string containerName, BlobContainer blobContainer, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.Create"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.Create"); scope.Start(); try { @@ -88,7 +88,7 @@ public virtual Response Create(string resourceGroupName, string a /// The cancellation token to use. public virtual async Task> UpdateAsync(string resourceGroupName, string accountName, string containerName, BlobContainer blobContainer, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.Update"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.Update"); scope.Start(); try { @@ -109,7 +109,7 @@ public virtual async Task> UpdateAsync(string resourceGr /// The cancellation token to use. public virtual Response Update(string resourceGroupName, string accountName, string containerName, BlobContainer blobContainer, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.Update"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.Update"); scope.Start(); try { @@ -129,7 +129,7 @@ public virtual Response Update(string resourceGroupName, string a /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string accountName, string containerName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.Get"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.Get"); scope.Start(); try { @@ -149,7 +149,7 @@ public virtual async Task> GetAsync(string resourceGroup /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string accountName, string containerName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.Get"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.Get"); scope.Start(); try { @@ -169,7 +169,7 @@ public virtual Response Get(string resourceGroupName, string acco /// The cancellation token to use. public virtual async Task DeleteAsync(string resourceGroupName, string accountName, string containerName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.Delete"); scope.Start(); try { @@ -189,7 +189,7 @@ public virtual async Task DeleteAsync(string resourceGroupName, string /// The cancellation token to use. public virtual Response Delete(string resourceGroupName, string accountName, string containerName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.Delete"); scope.Start(); try { @@ -210,7 +210,7 @@ public virtual Response Delete(string resourceGroupName, string accountName, str /// The cancellation token to use. public virtual async Task> SetLegalHoldAsync(string resourceGroupName, string accountName, string containerName, LegalHold legalHold, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.SetLegalHold"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.SetLegalHold"); scope.Start(); try { @@ -231,7 +231,7 @@ public virtual async Task> SetLegalHoldAsync(string resource /// The cancellation token to use. public virtual Response SetLegalHold(string resourceGroupName, string accountName, string containerName, LegalHold legalHold, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.SetLegalHold"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.SetLegalHold"); scope.Start(); try { @@ -252,7 +252,7 @@ public virtual Response SetLegalHold(string resourceGroupName, string /// The cancellation token to use. public virtual async Task> ClearLegalHoldAsync(string resourceGroupName, string accountName, string containerName, LegalHold legalHold, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.ClearLegalHold"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.ClearLegalHold"); scope.Start(); try { @@ -273,7 +273,7 @@ public virtual async Task> ClearLegalHoldAsync(string resour /// The cancellation token to use. public virtual Response ClearLegalHold(string resourceGroupName, string accountName, string containerName, LegalHold legalHold, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.ClearLegalHold"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.ClearLegalHold"); scope.Start(); try { @@ -295,7 +295,7 @@ public virtual Response ClearLegalHold(string resourceGroupName, stri /// The cancellation token to use. public virtual async Task> CreateOrUpdateImmutabilityPolicyAsync(string resourceGroupName, string accountName, string containerName, string ifMatch = null, ImmutabilityPolicy parameters = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.CreateOrUpdateImmutabilityPolicy"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.CreateOrUpdateImmutabilityPolicy"); scope.Start(); try { @@ -317,7 +317,7 @@ public virtual async Task> CreateOrUpdateImmutabili /// The cancellation token to use. public virtual Response CreateOrUpdateImmutabilityPolicy(string resourceGroupName, string accountName, string containerName, string ifMatch = null, ImmutabilityPolicy parameters = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.CreateOrUpdateImmutabilityPolicy"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.CreateOrUpdateImmutabilityPolicy"); scope.Start(); try { @@ -338,7 +338,7 @@ public virtual Response CreateOrUpdateImmutabilityPolicy(str /// The cancellation token to use. public virtual async Task> GetImmutabilityPolicyAsync(string resourceGroupName, string accountName, string containerName, string ifMatch = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.GetImmutabilityPolicy"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.GetImmutabilityPolicy"); scope.Start(); try { @@ -359,7 +359,7 @@ public virtual async Task> GetImmutabilityPolicyAsy /// The cancellation token to use. public virtual Response GetImmutabilityPolicy(string resourceGroupName, string accountName, string containerName, string ifMatch = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.GetImmutabilityPolicy"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.GetImmutabilityPolicy"); scope.Start(); try { @@ -380,7 +380,7 @@ public virtual Response GetImmutabilityPolicy(string resourc /// The cancellation token to use. public virtual async Task> DeleteImmutabilityPolicyAsync(string resourceGroupName, string accountName, string containerName, string ifMatch, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.DeleteImmutabilityPolicy"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.DeleteImmutabilityPolicy"); scope.Start(); try { @@ -401,7 +401,7 @@ public virtual async Task> DeleteImmutabilityPolicy /// The cancellation token to use. public virtual Response DeleteImmutabilityPolicy(string resourceGroupName, string accountName, string containerName, string ifMatch, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.DeleteImmutabilityPolicy"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.DeleteImmutabilityPolicy"); scope.Start(); try { @@ -422,7 +422,7 @@ public virtual Response DeleteImmutabilityPolicy(string reso /// The cancellation token to use. public virtual async Task> LockImmutabilityPolicyAsync(string resourceGroupName, string accountName, string containerName, string ifMatch, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.LockImmutabilityPolicy"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.LockImmutabilityPolicy"); scope.Start(); try { @@ -443,7 +443,7 @@ public virtual async Task> LockImmutabilityPolicyAs /// The cancellation token to use. public virtual Response LockImmutabilityPolicy(string resourceGroupName, string accountName, string containerName, string ifMatch, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.LockImmutabilityPolicy"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.LockImmutabilityPolicy"); scope.Start(); try { @@ -465,7 +465,7 @@ public virtual Response LockImmutabilityPolicy(string resour /// The cancellation token to use. public virtual async Task> ExtendImmutabilityPolicyAsync(string resourceGroupName, string accountName, string containerName, string ifMatch, ImmutabilityPolicy parameters = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.ExtendImmutabilityPolicy"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.ExtendImmutabilityPolicy"); scope.Start(); try { @@ -487,7 +487,7 @@ public virtual async Task> ExtendImmutabilityPolicy /// The cancellation token to use. public virtual Response ExtendImmutabilityPolicy(string resourceGroupName, string accountName, string containerName, string ifMatch, ImmutabilityPolicy parameters = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.ExtendImmutabilityPolicy"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.ExtendImmutabilityPolicy"); scope.Start(); try { @@ -508,7 +508,7 @@ public virtual Response ExtendImmutabilityPolicy(string reso /// The cancellation token to use. public virtual async Task> LeaseAsync(string resourceGroupName, string accountName, string containerName, LeaseContainerRequest parameters = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.Lease"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.Lease"); scope.Start(); try { @@ -529,7 +529,7 @@ public virtual async Task> LeaseAsync(string re /// The cancellation token to use. public virtual Response Lease(string resourceGroupName, string accountName, string containerName, LeaseContainerRequest parameters = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.Lease"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.Lease"); scope.Start(); try { @@ -561,7 +561,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupNa async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.List"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.List"); scope.Start(); try { @@ -576,7 +576,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.List"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.List"); scope.Start(); try { @@ -611,7 +611,7 @@ public virtual Pageable List(string resourceGroupName, string Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.List"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.List"); scope.Start(); try { @@ -626,7 +626,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.List"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.List"); scope.Start(); try { diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/BlobContainersRestClient.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/BlobContainersRestOperations.cs similarity index 99% rename from sdk/storage/Azure.ResourceManager.Storage/src/Generated/BlobContainersRestClient.cs rename to sdk/storage/Azure.ResourceManager.Storage/src/Generated/BlobContainersRestOperations.cs index 7c853e43af681..e0c015942c9e7 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/BlobContainersRestClient.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/BlobContainersRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.ResourceManager.Storage { - internal partial class BlobContainersRestClient + internal partial class BlobContainersRestOperations { private string subscriptionId; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class BlobContainersRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of BlobContainersRestClient. + /// Initializes a new instance of BlobContainersRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public BlobContainersRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + public BlobContainersRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { if (subscriptionId == null) { diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/BlobServicesClient.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/BlobServicesOperations.cs similarity index 92% rename from sdk/storage/Azure.ResourceManager.Storage/src/Generated/BlobServicesClient.cs rename to sdk/storage/Azure.ResourceManager.Storage/src/Generated/BlobServicesOperations.cs index 9e72817b0831f..bcddc4fd21852 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/BlobServicesClient.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/BlobServicesOperations.cs @@ -16,24 +16,24 @@ namespace Azure.ResourceManager.Storage { /// The BlobServices service client. - public partial class BlobServicesClient + public partial class BlobServicesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal BlobServicesRestClient RestClient { get; } - /// Initializes a new instance of BlobServicesClient for mocking. - protected BlobServicesClient() + internal BlobServicesRestOperations RestClient { get; } + /// Initializes a new instance of BlobServicesOperations for mocking. + protected BlobServicesOperations() { } - /// Initializes a new instance of BlobServicesClient. + /// Initializes a new instance of BlobServicesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. - internal BlobServicesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + internal BlobServicesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { - RestClient = new BlobServicesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); + RestClient = new BlobServicesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -45,7 +45,7 @@ internal BlobServicesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pi /// The cancellation token to use. public virtual async Task> SetServicePropertiesAsync(string resourceGroupName, string accountName, BlobServiceProperties parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobServicesClient.SetServiceProperties"); + using var scope = _clientDiagnostics.CreateScope("BlobServicesOperations.SetServiceProperties"); scope.Start(); try { @@ -65,7 +65,7 @@ public virtual async Task> SetServicePropertiesA /// The cancellation token to use. public virtual Response SetServiceProperties(string resourceGroupName, string accountName, BlobServiceProperties parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobServicesClient.SetServiceProperties"); + using var scope = _clientDiagnostics.CreateScope("BlobServicesOperations.SetServiceProperties"); scope.Start(); try { @@ -84,7 +84,7 @@ public virtual Response SetServiceProperties(string resou /// The cancellation token to use. public virtual async Task> GetServicePropertiesAsync(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobServicesClient.GetServiceProperties"); + using var scope = _clientDiagnostics.CreateScope("BlobServicesOperations.GetServiceProperties"); scope.Start(); try { @@ -103,7 +103,7 @@ public virtual async Task> GetServicePropertiesA /// The cancellation token to use. public virtual Response GetServiceProperties(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobServicesClient.GetServiceProperties"); + using var scope = _clientDiagnostics.CreateScope("BlobServicesOperations.GetServiceProperties"); scope.Start(); try { @@ -133,7 +133,7 @@ public virtual AsyncPageable ListAsync(string resourceGro async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("BlobServicesClient.List"); + using var scope = _clientDiagnostics.CreateScope("BlobServicesOperations.List"); scope.Start(); try { @@ -166,7 +166,7 @@ public virtual Pageable List(string resourceGroupName, st Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("BlobServicesClient.List"); + using var scope = _clientDiagnostics.CreateScope("BlobServicesOperations.List"); scope.Start(); try { diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/BlobServicesRestClient.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/BlobServicesRestOperations.cs similarity index 98% rename from sdk/storage/Azure.ResourceManager.Storage/src/Generated/BlobServicesRestClient.cs rename to sdk/storage/Azure.ResourceManager.Storage/src/Generated/BlobServicesRestOperations.cs index fec2ad59e437f..e7a08478d115d 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/BlobServicesRestClient.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/BlobServicesRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.ResourceManager.Storage { - internal partial class BlobServicesRestClient + internal partial class BlobServicesRestOperations { private string subscriptionId; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class BlobServicesRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of BlobServicesRestClient. + /// Initializes a new instance of BlobServicesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public BlobServicesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + public BlobServicesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { if (subscriptionId == null) { diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/EncryptionScopesClient.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/EncryptionScopesOperations.cs similarity index 94% rename from sdk/storage/Azure.ResourceManager.Storage/src/Generated/EncryptionScopesClient.cs rename to sdk/storage/Azure.ResourceManager.Storage/src/Generated/EncryptionScopesOperations.cs index 3f4ee01fb5d0a..11c6bf317dbb6 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/EncryptionScopesClient.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/EncryptionScopesOperations.cs @@ -16,24 +16,24 @@ namespace Azure.ResourceManager.Storage { /// The EncryptionScopes service client. - public partial class EncryptionScopesClient + public partial class EncryptionScopesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal EncryptionScopesRestClient RestClient { get; } - /// Initializes a new instance of EncryptionScopesClient for mocking. - protected EncryptionScopesClient() + internal EncryptionScopesRestOperations RestClient { get; } + /// Initializes a new instance of EncryptionScopesOperations for mocking. + protected EncryptionScopesOperations() { } - /// Initializes a new instance of EncryptionScopesClient. + /// Initializes a new instance of EncryptionScopesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. - internal EncryptionScopesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + internal EncryptionScopesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { - RestClient = new EncryptionScopesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); + RestClient = new EncryptionScopesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -46,7 +46,7 @@ internal EncryptionScopesClient(ClientDiagnostics clientDiagnostics, HttpPipelin /// The cancellation token to use. public virtual async Task> PutAsync(string resourceGroupName, string accountName, string encryptionScopeName, EncryptionScope encryptionScope, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("EncryptionScopesClient.Put"); + using var scope = _clientDiagnostics.CreateScope("EncryptionScopesOperations.Put"); scope.Start(); try { @@ -67,7 +67,7 @@ public virtual async Task> PutAsync(string resourceGro /// The cancellation token to use. public virtual Response Put(string resourceGroupName, string accountName, string encryptionScopeName, EncryptionScope encryptionScope, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("EncryptionScopesClient.Put"); + using var scope = _clientDiagnostics.CreateScope("EncryptionScopesOperations.Put"); scope.Start(); try { @@ -88,7 +88,7 @@ public virtual Response Put(string resourceGroupName, string ac /// The cancellation token to use. public virtual async Task> PatchAsync(string resourceGroupName, string accountName, string encryptionScopeName, EncryptionScope encryptionScope, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("EncryptionScopesClient.Patch"); + using var scope = _clientDiagnostics.CreateScope("EncryptionScopesOperations.Patch"); scope.Start(); try { @@ -109,7 +109,7 @@ public virtual async Task> PatchAsync(string resourceG /// The cancellation token to use. public virtual Response Patch(string resourceGroupName, string accountName, string encryptionScopeName, EncryptionScope encryptionScope, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("EncryptionScopesClient.Patch"); + using var scope = _clientDiagnostics.CreateScope("EncryptionScopesOperations.Patch"); scope.Start(); try { @@ -129,7 +129,7 @@ public virtual Response Patch(string resourceGroupName, string /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string accountName, string encryptionScopeName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("EncryptionScopesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("EncryptionScopesOperations.Get"); scope.Start(); try { @@ -149,7 +149,7 @@ public virtual async Task> GetAsync(string resourceGro /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string accountName, string encryptionScopeName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("EncryptionScopesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("EncryptionScopesOperations.Get"); scope.Start(); try { @@ -179,7 +179,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("EncryptionScopesClient.List"); + using var scope = _clientDiagnostics.CreateScope("EncryptionScopesOperations.List"); scope.Start(); try { @@ -194,7 +194,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("EncryptionScopesClient.List"); + using var scope = _clientDiagnostics.CreateScope("EncryptionScopesOperations.List"); scope.Start(); try { @@ -227,7 +227,7 @@ public virtual Pageable List(string resourceGroupName, string a Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("EncryptionScopesClient.List"); + using var scope = _clientDiagnostics.CreateScope("EncryptionScopesOperations.List"); scope.Start(); try { @@ -242,7 +242,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("EncryptionScopesClient.List"); + using var scope = _clientDiagnostics.CreateScope("EncryptionScopesOperations.List"); scope.Start(); try { diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/EncryptionScopesRestClient.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/EncryptionScopesRestOperations.cs similarity index 99% rename from sdk/storage/Azure.ResourceManager.Storage/src/Generated/EncryptionScopesRestClient.cs rename to sdk/storage/Azure.ResourceManager.Storage/src/Generated/EncryptionScopesRestOperations.cs index 0c30cb6ea5042..63420089bba9c 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/EncryptionScopesRestClient.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/EncryptionScopesRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.ResourceManager.Storage { - internal partial class EncryptionScopesRestClient + internal partial class EncryptionScopesRestOperations { private string subscriptionId; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class EncryptionScopesRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of EncryptionScopesRestClient. + /// Initializes a new instance of EncryptionScopesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public EncryptionScopesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + public EncryptionScopesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { if (subscriptionId == null) { diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/FileServicesClient.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/FileServicesOperations.cs similarity index 91% rename from sdk/storage/Azure.ResourceManager.Storage/src/Generated/FileServicesClient.cs rename to sdk/storage/Azure.ResourceManager.Storage/src/Generated/FileServicesOperations.cs index c818453707f11..5fb23ff158222 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/FileServicesClient.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/FileServicesOperations.cs @@ -15,24 +15,24 @@ namespace Azure.ResourceManager.Storage { /// The FileServices service client. - public partial class FileServicesClient + public partial class FileServicesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal FileServicesRestClient RestClient { get; } - /// Initializes a new instance of FileServicesClient for mocking. - protected FileServicesClient() + internal FileServicesRestOperations RestClient { get; } + /// Initializes a new instance of FileServicesOperations for mocking. + protected FileServicesOperations() { } - /// Initializes a new instance of FileServicesClient. + /// Initializes a new instance of FileServicesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. - internal FileServicesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + internal FileServicesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { - RestClient = new FileServicesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); + RestClient = new FileServicesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal FileServicesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pi /// The cancellation token to use. public virtual async Task> ListAsync(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("FileServicesClient.List"); + using var scope = _clientDiagnostics.CreateScope("FileServicesOperations.List"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> ListAsync(string resourceG /// The cancellation token to use. public virtual Response List(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("FileServicesClient.List"); + using var scope = _clientDiagnostics.CreateScope("FileServicesOperations.List"); scope.Start(); try { @@ -82,7 +82,7 @@ public virtual Response List(string resourceGroupName, string /// The cancellation token to use. public virtual async Task> SetServicePropertiesAsync(string resourceGroupName, string accountName, FileServiceProperties parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("FileServicesClient.SetServiceProperties"); + using var scope = _clientDiagnostics.CreateScope("FileServicesOperations.SetServiceProperties"); scope.Start(); try { @@ -102,7 +102,7 @@ public virtual async Task> SetServicePropertiesA /// The cancellation token to use. public virtual Response SetServiceProperties(string resourceGroupName, string accountName, FileServiceProperties parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("FileServicesClient.SetServiceProperties"); + using var scope = _clientDiagnostics.CreateScope("FileServicesOperations.SetServiceProperties"); scope.Start(); try { @@ -121,7 +121,7 @@ public virtual Response SetServiceProperties(string resou /// The cancellation token to use. public virtual async Task> GetServicePropertiesAsync(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("FileServicesClient.GetServiceProperties"); + using var scope = _clientDiagnostics.CreateScope("FileServicesOperations.GetServiceProperties"); scope.Start(); try { @@ -140,7 +140,7 @@ public virtual async Task> GetServicePropertiesA /// The cancellation token to use. public virtual Response GetServiceProperties(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("FileServicesClient.GetServiceProperties"); + using var scope = _clientDiagnostics.CreateScope("FileServicesOperations.GetServiceProperties"); scope.Start(); try { diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/FileServicesRestClient.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/FileServicesRestOperations.cs similarity index 98% rename from sdk/storage/Azure.ResourceManager.Storage/src/Generated/FileServicesRestClient.cs rename to sdk/storage/Azure.ResourceManager.Storage/src/Generated/FileServicesRestOperations.cs index 54828aed0ef17..feb8c29c7e57c 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/FileServicesRestClient.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/FileServicesRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.ResourceManager.Storage { - internal partial class FileServicesRestClient + internal partial class FileServicesRestOperations { private string subscriptionId; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class FileServicesRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of FileServicesRestClient. + /// Initializes a new instance of FileServicesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public FileServicesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + public FileServicesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { if (subscriptionId == null) { diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/FileSharesClient.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/FileSharesOperations.cs similarity index 95% rename from sdk/storage/Azure.ResourceManager.Storage/src/Generated/FileSharesClient.cs rename to sdk/storage/Azure.ResourceManager.Storage/src/Generated/FileSharesOperations.cs index 485b8060669e2..fe6e69ac3059a 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/FileSharesClient.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/FileSharesOperations.cs @@ -16,24 +16,24 @@ namespace Azure.ResourceManager.Storage { /// The FileShares service client. - public partial class FileSharesClient + public partial class FileSharesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal FileSharesRestClient RestClient { get; } - /// Initializes a new instance of FileSharesClient for mocking. - protected FileSharesClient() + internal FileSharesRestOperations RestClient { get; } + /// Initializes a new instance of FileSharesOperations for mocking. + protected FileSharesOperations() { } - /// Initializes a new instance of FileSharesClient. + /// Initializes a new instance of FileSharesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. - internal FileSharesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + internal FileSharesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { - RestClient = new FileSharesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); + RestClient = new FileSharesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -46,7 +46,7 @@ internal FileSharesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipe /// The cancellation token to use. public virtual async Task> CreateAsync(string resourceGroupName, string accountName, string shareName, FileShare fileShare, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("FileSharesClient.Create"); + using var scope = _clientDiagnostics.CreateScope("FileSharesOperations.Create"); scope.Start(); try { @@ -67,7 +67,7 @@ public virtual async Task> CreateAsync(string resourceGroupN /// The cancellation token to use. public virtual Response Create(string resourceGroupName, string accountName, string shareName, FileShare fileShare, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("FileSharesClient.Create"); + using var scope = _clientDiagnostics.CreateScope("FileSharesOperations.Create"); scope.Start(); try { @@ -88,7 +88,7 @@ public virtual Response Create(string resourceGroupName, string accou /// The cancellation token to use. public virtual async Task> UpdateAsync(string resourceGroupName, string accountName, string shareName, FileShare fileShare, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("FileSharesClient.Update"); + using var scope = _clientDiagnostics.CreateScope("FileSharesOperations.Update"); scope.Start(); try { @@ -109,7 +109,7 @@ public virtual async Task> UpdateAsync(string resourceGroupN /// The cancellation token to use. public virtual Response Update(string resourceGroupName, string accountName, string shareName, FileShare fileShare, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("FileSharesClient.Update"); + using var scope = _clientDiagnostics.CreateScope("FileSharesOperations.Update"); scope.Start(); try { @@ -129,7 +129,7 @@ public virtual Response Update(string resourceGroupName, string accou /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string accountName, string shareName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("FileSharesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("FileSharesOperations.Get"); scope.Start(); try { @@ -149,7 +149,7 @@ public virtual async Task> GetAsync(string resourceGroupName /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string accountName, string shareName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("FileSharesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("FileSharesOperations.Get"); scope.Start(); try { @@ -169,7 +169,7 @@ public virtual Response Get(string resourceGroupName, string accountN /// The cancellation token to use. public virtual async Task DeleteAsync(string resourceGroupName, string accountName, string shareName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("FileSharesClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("FileSharesOperations.Delete"); scope.Start(); try { @@ -189,7 +189,7 @@ public virtual async Task DeleteAsync(string resourceGroupName, string /// The cancellation token to use. public virtual Response Delete(string resourceGroupName, string accountName, string shareName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("FileSharesClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("FileSharesOperations.Delete"); scope.Start(); try { @@ -210,7 +210,7 @@ public virtual Response Delete(string resourceGroupName, string accountName, str /// The cancellation token to use. public virtual async Task RestoreAsync(string resourceGroupName, string accountName, string shareName, DeletedShare deletedShare, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("FileSharesClient.Restore"); + using var scope = _clientDiagnostics.CreateScope("FileSharesOperations.Restore"); scope.Start(); try { @@ -231,7 +231,7 @@ public virtual async Task RestoreAsync(string resourceGroupName, strin /// The cancellation token to use. public virtual Response Restore(string resourceGroupName, string accountName, string shareName, DeletedShare deletedShare, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("FileSharesClient.Restore"); + using var scope = _clientDiagnostics.CreateScope("FileSharesOperations.Restore"); scope.Start(); try { @@ -263,7 +263,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName, async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("FileSharesClient.List"); + using var scope = _clientDiagnostics.CreateScope("FileSharesOperations.List"); scope.Start(); try { @@ -278,7 +278,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("FileSharesClient.List"); + using var scope = _clientDiagnostics.CreateScope("FileSharesOperations.List"); scope.Start(); try { @@ -313,7 +313,7 @@ public virtual Pageable List(string resourceGroupName, string acc Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("FileSharesClient.List"); + using var scope = _clientDiagnostics.CreateScope("FileSharesOperations.List"); scope.Start(); try { @@ -328,7 +328,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("FileSharesClient.List"); + using var scope = _clientDiagnostics.CreateScope("FileSharesOperations.List"); scope.Start(); try { diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/FileSharesRestClient.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/FileSharesRestOperations.cs similarity index 99% rename from sdk/storage/Azure.ResourceManager.Storage/src/Generated/FileSharesRestClient.cs rename to sdk/storage/Azure.ResourceManager.Storage/src/Generated/FileSharesRestOperations.cs index 48a86fbf56a5f..217e53de8cfd4 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/FileSharesRestClient.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/FileSharesRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.ResourceManager.Storage { - internal partial class FileSharesRestClient + internal partial class FileSharesRestOperations { private string subscriptionId; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class FileSharesRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of FileSharesRestClient. + /// Initializes a new instance of FileSharesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public FileSharesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + public FileSharesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { if (subscriptionId == null) { diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/ManagementPoliciesClient.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/ManagementPoliciesOperations.cs similarity index 91% rename from sdk/storage/Azure.ResourceManager.Storage/src/Generated/ManagementPoliciesClient.cs rename to sdk/storage/Azure.ResourceManager.Storage/src/Generated/ManagementPoliciesOperations.cs index 5a1e8a03872ae..7078ecfa2b5f3 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/ManagementPoliciesClient.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/ManagementPoliciesOperations.cs @@ -15,24 +15,24 @@ namespace Azure.ResourceManager.Storage { /// The ManagementPolicies service client. - public partial class ManagementPoliciesClient + public partial class ManagementPoliciesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ManagementPoliciesRestClient RestClient { get; } - /// Initializes a new instance of ManagementPoliciesClient for mocking. - protected ManagementPoliciesClient() + internal ManagementPoliciesRestOperations RestClient { get; } + /// Initializes a new instance of ManagementPoliciesOperations for mocking. + protected ManagementPoliciesOperations() { } - /// Initializes a new instance of ManagementPoliciesClient. + /// Initializes a new instance of ManagementPoliciesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. - internal ManagementPoliciesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + internal ManagementPoliciesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { - RestClient = new ManagementPoliciesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); + RestClient = new ManagementPoliciesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal ManagementPoliciesClient(ClientDiagnostics clientDiagnostics, HttpPipel /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ManagementPoliciesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ManagementPoliciesOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string resourceGr /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ManagementPoliciesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ManagementPoliciesOperations.Get"); scope.Start(); try { @@ -82,7 +82,7 @@ public virtual Response Get(string resourceGroupName, string a /// The cancellation token to use. public virtual async Task> CreateOrUpdateAsync(string resourceGroupName, string accountName, ManagementPolicy properties, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ManagementPoliciesClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ManagementPoliciesOperations.CreateOrUpdate"); scope.Start(); try { @@ -102,7 +102,7 @@ public virtual async Task> CreateOrUpdateAsync(string /// The cancellation token to use. public virtual Response CreateOrUpdate(string resourceGroupName, string accountName, ManagementPolicy properties, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ManagementPoliciesClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ManagementPoliciesOperations.CreateOrUpdate"); scope.Start(); try { @@ -121,7 +121,7 @@ public virtual Response CreateOrUpdate(string resourceGroupNam /// The cancellation token to use. public virtual async Task DeleteAsync(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ManagementPoliciesClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("ManagementPoliciesOperations.Delete"); scope.Start(); try { @@ -140,7 +140,7 @@ public virtual async Task DeleteAsync(string resourceGroupName, string /// The cancellation token to use. public virtual Response Delete(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ManagementPoliciesClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("ManagementPoliciesOperations.Delete"); scope.Start(); try { diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/ManagementPoliciesRestClient.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/ManagementPoliciesRestOperations.cs similarity index 98% rename from sdk/storage/Azure.ResourceManager.Storage/src/Generated/ManagementPoliciesRestClient.cs rename to sdk/storage/Azure.ResourceManager.Storage/src/Generated/ManagementPoliciesRestOperations.cs index 52bfa3d6e5798..839ac64d5d2ef 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/ManagementPoliciesRestClient.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/ManagementPoliciesRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.ResourceManager.Storage { - internal partial class ManagementPoliciesRestClient + internal partial class ManagementPoliciesRestOperations { private string subscriptionId; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class ManagementPoliciesRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ManagementPoliciesRestClient. + /// Initializes a new instance of ManagementPoliciesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public ManagementPoliciesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + public ManagementPoliciesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { if (subscriptionId == null) { diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/ObjectReplicationPoliciesClient.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/ObjectReplicationPoliciesOperations.cs similarity index 93% rename from sdk/storage/Azure.ResourceManager.Storage/src/Generated/ObjectReplicationPoliciesClient.cs rename to sdk/storage/Azure.ResourceManager.Storage/src/Generated/ObjectReplicationPoliciesOperations.cs index 92a348db399d8..f8b72efc28cf2 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/ObjectReplicationPoliciesClient.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/ObjectReplicationPoliciesOperations.cs @@ -16,24 +16,24 @@ namespace Azure.ResourceManager.Storage { /// The ObjectReplicationPolicies service client. - public partial class ObjectReplicationPoliciesClient + public partial class ObjectReplicationPoliciesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ObjectReplicationPoliciesRestClient RestClient { get; } - /// Initializes a new instance of ObjectReplicationPoliciesClient for mocking. - protected ObjectReplicationPoliciesClient() + internal ObjectReplicationPoliciesRestOperations RestClient { get; } + /// Initializes a new instance of ObjectReplicationPoliciesOperations for mocking. + protected ObjectReplicationPoliciesOperations() { } - /// Initializes a new instance of ObjectReplicationPoliciesClient. + /// Initializes a new instance of ObjectReplicationPoliciesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. - internal ObjectReplicationPoliciesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + internal ObjectReplicationPoliciesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { - RestClient = new ObjectReplicationPoliciesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); + RestClient = new ObjectReplicationPoliciesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -45,7 +45,7 @@ internal ObjectReplicationPoliciesClient(ClientDiagnostics clientDiagnostics, Ht /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string accountName, string objectReplicationPolicyId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ObjectReplicationPoliciesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ObjectReplicationPoliciesOperations.Get"); scope.Start(); try { @@ -65,7 +65,7 @@ public virtual async Task> GetAsync(string res /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string accountName, string objectReplicationPolicyId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ObjectReplicationPoliciesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ObjectReplicationPoliciesOperations.Get"); scope.Start(); try { @@ -86,7 +86,7 @@ public virtual Response Get(string resourceGroupName, s /// The cancellation token to use. public virtual async Task> CreateOrUpdateAsync(string resourceGroupName, string accountName, string objectReplicationPolicyId, ObjectReplicationPolicy properties, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ObjectReplicationPoliciesClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ObjectReplicationPoliciesOperations.CreateOrUpdate"); scope.Start(); try { @@ -107,7 +107,7 @@ public virtual async Task> CreateOrUpdateAsync /// The cancellation token to use. public virtual Response CreateOrUpdate(string resourceGroupName, string accountName, string objectReplicationPolicyId, ObjectReplicationPolicy properties, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ObjectReplicationPoliciesClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ObjectReplicationPoliciesOperations.CreateOrUpdate"); scope.Start(); try { @@ -127,7 +127,7 @@ public virtual Response CreateOrUpdate(string resourceG /// The cancellation token to use. public virtual async Task DeleteAsync(string resourceGroupName, string accountName, string objectReplicationPolicyId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ObjectReplicationPoliciesClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("ObjectReplicationPoliciesOperations.Delete"); scope.Start(); try { @@ -147,7 +147,7 @@ public virtual async Task DeleteAsync(string resourceGroupName, string /// The cancellation token to use. public virtual Response Delete(string resourceGroupName, string accountName, string objectReplicationPolicyId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ObjectReplicationPoliciesClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("ObjectReplicationPoliciesOperations.Delete"); scope.Start(); try { @@ -177,7 +177,7 @@ public virtual AsyncPageable ListAsync(string resourceG async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ObjectReplicationPoliciesClient.List"); + using var scope = _clientDiagnostics.CreateScope("ObjectReplicationPoliciesOperations.List"); scope.Start(); try { @@ -210,7 +210,7 @@ public virtual Pageable List(string resourceGroupName, Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ObjectReplicationPoliciesClient.List"); + using var scope = _clientDiagnostics.CreateScope("ObjectReplicationPoliciesOperations.List"); scope.Start(); try { diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/ObjectReplicationPoliciesRestClient.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/ObjectReplicationPoliciesRestOperations.cs similarity index 98% rename from sdk/storage/Azure.ResourceManager.Storage/src/Generated/ObjectReplicationPoliciesRestClient.cs rename to sdk/storage/Azure.ResourceManager.Storage/src/Generated/ObjectReplicationPoliciesRestOperations.cs index e6940a22362d3..410eb85c3c325 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/ObjectReplicationPoliciesRestClient.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/ObjectReplicationPoliciesRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.ResourceManager.Storage { - internal partial class ObjectReplicationPoliciesRestClient + internal partial class ObjectReplicationPoliciesRestOperations { private string subscriptionId; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class ObjectReplicationPoliciesRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ObjectReplicationPoliciesRestClient. + /// Initializes a new instance of ObjectReplicationPoliciesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public ObjectReplicationPoliciesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + public ObjectReplicationPoliciesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { if (subscriptionId == null) { diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/OperationsClient.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Operations.cs similarity index 80% rename from sdk/storage/Azure.ResourceManager.Storage/src/Generated/OperationsClient.cs rename to sdk/storage/Azure.ResourceManager.Storage/src/Generated/Operations.cs index f18e107630249..999df2431d948 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/OperationsClient.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Operations.cs @@ -15,24 +15,24 @@ namespace Azure.ResourceManager.Storage { - /// The Operations service client. - public partial class OperationsClient + /// The service client. + public partial class Operations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal OperationsRestClient RestClient { get; } - /// Initializes a new instance of OperationsClient for mocking. - protected OperationsClient() + internal RestOperations RestClient { get; } + /// Initializes a new instance of Operations for mocking. + protected Operations() { } - /// Initializes a new instance of OperationsClient. + /// Initializes a new instance of Operations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// server parameter. /// Api Version. - internal OperationsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null, string apiVersion = "2019-06-01") + internal Operations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null, string apiVersion = "2019-06-01") { - RestClient = new OperationsRestClient(clientDiagnostics, pipeline, endpoint, apiVersion); + RestClient = new RestOperations(clientDiagnostics, pipeline, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ public virtual AsyncPageable ListAsync(CancellationToken cancellation { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("OperationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("Operations.List"); scope.Start(); try { @@ -65,7 +65,7 @@ public virtual Pageable List(CancellationToken cancellationToken = de { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("OperationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("Operations.List"); scope.Start(); try { diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/PrivateEndpointConnectionsClient.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/PrivateEndpointConnectionsOperations.cs similarity index 93% rename from sdk/storage/Azure.ResourceManager.Storage/src/Generated/PrivateEndpointConnectionsClient.cs rename to sdk/storage/Azure.ResourceManager.Storage/src/Generated/PrivateEndpointConnectionsOperations.cs index ed011cbe913e8..d97211bfe7a76 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/PrivateEndpointConnectionsClient.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/PrivateEndpointConnectionsOperations.cs @@ -16,24 +16,24 @@ namespace Azure.ResourceManager.Storage { /// The PrivateEndpointConnections service client. - public partial class PrivateEndpointConnectionsClient + public partial class PrivateEndpointConnectionsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal PrivateEndpointConnectionsRestClient RestClient { get; } - /// Initializes a new instance of PrivateEndpointConnectionsClient for mocking. - protected PrivateEndpointConnectionsClient() + internal PrivateEndpointConnectionsRestOperations RestClient { get; } + /// Initializes a new instance of PrivateEndpointConnectionsOperations for mocking. + protected PrivateEndpointConnectionsOperations() { } - /// Initializes a new instance of PrivateEndpointConnectionsClient. + /// Initializes a new instance of PrivateEndpointConnectionsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. - internal PrivateEndpointConnectionsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + internal PrivateEndpointConnectionsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { - RestClient = new PrivateEndpointConnectionsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); + RestClient = new PrivateEndpointConnectionsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -45,7 +45,7 @@ internal PrivateEndpointConnectionsClient(ClientDiagnostics clientDiagnostics, H /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string accountName, string privateEndpointConnectionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsOperations.Get"); scope.Start(); try { @@ -65,7 +65,7 @@ public virtual async Task> GetAsync(string r /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string accountName, string privateEndpointConnectionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsOperations.Get"); scope.Start(); try { @@ -86,7 +86,7 @@ public virtual Response Get(string resourceGroupName, /// The cancellation token to use. public virtual async Task> PutAsync(string resourceGroupName, string accountName, string privateEndpointConnectionName, PrivateEndpointConnection properties, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsClient.Put"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsOperations.Put"); scope.Start(); try { @@ -107,7 +107,7 @@ public virtual async Task> PutAsync(string r /// The cancellation token to use. public virtual Response Put(string resourceGroupName, string accountName, string privateEndpointConnectionName, PrivateEndpointConnection properties, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsClient.Put"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsOperations.Put"); scope.Start(); try { @@ -127,7 +127,7 @@ public virtual Response Put(string resourceGroupName, /// The cancellation token to use. public virtual async Task DeleteAsync(string resourceGroupName, string accountName, string privateEndpointConnectionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsOperations.Delete"); scope.Start(); try { @@ -147,7 +147,7 @@ public virtual async Task DeleteAsync(string resourceGroupName, string /// The cancellation token to use. public virtual Response Delete(string resourceGroupName, string accountName, string privateEndpointConnectionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsOperations.Delete"); scope.Start(); try { @@ -177,7 +177,7 @@ public virtual AsyncPageable ListAsync(string resourc async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsOperations.List"); scope.Start(); try { @@ -210,7 +210,7 @@ public virtual Pageable List(string resourceGroupName Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsOperations.List"); scope.Start(); try { diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/PrivateEndpointConnectionsRestClient.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/PrivateEndpointConnectionsRestOperations.cs similarity index 98% rename from sdk/storage/Azure.ResourceManager.Storage/src/Generated/PrivateEndpointConnectionsRestClient.cs rename to sdk/storage/Azure.ResourceManager.Storage/src/Generated/PrivateEndpointConnectionsRestOperations.cs index 6adc5d5d6eeec..aef0a80b3b424 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/PrivateEndpointConnectionsRestClient.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/PrivateEndpointConnectionsRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.ResourceManager.Storage { - internal partial class PrivateEndpointConnectionsRestClient + internal partial class PrivateEndpointConnectionsRestOperations { private string subscriptionId; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class PrivateEndpointConnectionsRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of PrivateEndpointConnectionsRestClient. + /// Initializes a new instance of PrivateEndpointConnectionsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public PrivateEndpointConnectionsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + public PrivateEndpointConnectionsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { if (subscriptionId == null) { diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/PrivateLinkResourcesClient.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/PrivateLinkResourcesOperations.cs similarity index 83% rename from sdk/storage/Azure.ResourceManager.Storage/src/Generated/PrivateLinkResourcesClient.cs rename to sdk/storage/Azure.ResourceManager.Storage/src/Generated/PrivateLinkResourcesOperations.cs index 00bf28407e7f7..046bef80bfd59 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/PrivateLinkResourcesClient.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/PrivateLinkResourcesOperations.cs @@ -15,24 +15,24 @@ namespace Azure.ResourceManager.Storage { /// The PrivateLinkResources service client. - public partial class PrivateLinkResourcesClient + public partial class PrivateLinkResourcesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal PrivateLinkResourcesRestClient RestClient { get; } - /// Initializes a new instance of PrivateLinkResourcesClient for mocking. - protected PrivateLinkResourcesClient() + internal PrivateLinkResourcesRestOperations RestClient { get; } + /// Initializes a new instance of PrivateLinkResourcesOperations for mocking. + protected PrivateLinkResourcesOperations() { } - /// Initializes a new instance of PrivateLinkResourcesClient. + /// Initializes a new instance of PrivateLinkResourcesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. - internal PrivateLinkResourcesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + internal PrivateLinkResourcesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { - RestClient = new PrivateLinkResourcesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); + RestClient = new PrivateLinkResourcesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal PrivateLinkResourcesClient(ClientDiagnostics clientDiagnostics, HttpPip /// The cancellation token to use. public virtual async Task> ListByStorageAccountAsync(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkResourcesClient.ListByStorageAccount"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkResourcesOperations.ListByStorageAccount"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> ListByStorage /// The cancellation token to use. public virtual Response ListByStorageAccount(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkResourcesClient.ListByStorageAccount"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkResourcesOperations.ListByStorageAccount"); scope.Start(); try { diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/PrivateLinkResourcesRestClient.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/PrivateLinkResourcesRestOperations.cs similarity index 96% rename from sdk/storage/Azure.ResourceManager.Storage/src/Generated/PrivateLinkResourcesRestClient.cs rename to sdk/storage/Azure.ResourceManager.Storage/src/Generated/PrivateLinkResourcesRestOperations.cs index 5087b5ac6a530..ac5dd1247cbc9 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/PrivateLinkResourcesRestClient.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/PrivateLinkResourcesRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.ResourceManager.Storage { - internal partial class PrivateLinkResourcesRestClient + internal partial class PrivateLinkResourcesRestOperations { private string subscriptionId; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class PrivateLinkResourcesRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of PrivateLinkResourcesRestClient. + /// Initializes a new instance of PrivateLinkResourcesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public PrivateLinkResourcesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + public PrivateLinkResourcesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { if (subscriptionId == null) { diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/QueueClient.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/QueueOperations.cs similarity index 95% rename from sdk/storage/Azure.ResourceManager.Storage/src/Generated/QueueClient.cs rename to sdk/storage/Azure.ResourceManager.Storage/src/Generated/QueueOperations.cs index f6f8a3e90378f..2cd364e30fb01 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/QueueClient.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/QueueOperations.cs @@ -16,24 +16,24 @@ namespace Azure.ResourceManager.Storage { /// The Queue service client. - public partial class QueueClient + public partial class QueueOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal QueueRestClient RestClient { get; } - /// Initializes a new instance of QueueClient for mocking. - protected QueueClient() + internal QueueRestOperations RestClient { get; } + /// Initializes a new instance of QueueOperations for mocking. + protected QueueOperations() { } - /// Initializes a new instance of QueueClient. + /// Initializes a new instance of QueueOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. - internal QueueClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + internal QueueOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { - RestClient = new QueueRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); + RestClient = new QueueRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -46,7 +46,7 @@ internal QueueClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, /// The cancellation token to use. public virtual async Task> CreateAsync(string resourceGroupName, string accountName, string queueName, StorageQueue queue, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("QueueClient.Create"); + using var scope = _clientDiagnostics.CreateScope("QueueOperations.Create"); scope.Start(); try { @@ -67,7 +67,7 @@ public virtual async Task> CreateAsync(string resourceGro /// The cancellation token to use. public virtual Response Create(string resourceGroupName, string accountName, string queueName, StorageQueue queue, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("QueueClient.Create"); + using var scope = _clientDiagnostics.CreateScope("QueueOperations.Create"); scope.Start(); try { @@ -88,7 +88,7 @@ public virtual Response Create(string resourceGroupName, string ac /// The cancellation token to use. public virtual async Task> UpdateAsync(string resourceGroupName, string accountName, string queueName, StorageQueue queue, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("QueueClient.Update"); + using var scope = _clientDiagnostics.CreateScope("QueueOperations.Update"); scope.Start(); try { @@ -109,7 +109,7 @@ public virtual async Task> UpdateAsync(string resourceGro /// The cancellation token to use. public virtual Response Update(string resourceGroupName, string accountName, string queueName, StorageQueue queue, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("QueueClient.Update"); + using var scope = _clientDiagnostics.CreateScope("QueueOperations.Update"); scope.Start(); try { @@ -129,7 +129,7 @@ public virtual Response Update(string resourceGroupName, string ac /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string accountName, string queueName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("QueueClient.Get"); + using var scope = _clientDiagnostics.CreateScope("QueueOperations.Get"); scope.Start(); try { @@ -149,7 +149,7 @@ public virtual async Task> GetAsync(string resourceGroupN /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string accountName, string queueName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("QueueClient.Get"); + using var scope = _clientDiagnostics.CreateScope("QueueOperations.Get"); scope.Start(); try { @@ -169,7 +169,7 @@ public virtual Response Get(string resourceGroupName, string accou /// The cancellation token to use. public virtual async Task DeleteAsync(string resourceGroupName, string accountName, string queueName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("QueueClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("QueueOperations.Delete"); scope.Start(); try { @@ -189,7 +189,7 @@ public virtual async Task DeleteAsync(string resourceGroupName, string /// The cancellation token to use. public virtual Response Delete(string resourceGroupName, string accountName, string queueName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("QueueClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("QueueOperations.Delete"); scope.Start(); try { @@ -221,7 +221,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName, stri async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("QueueClient.List"); + using var scope = _clientDiagnostics.CreateScope("QueueOperations.List"); scope.Start(); try { @@ -236,7 +236,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("QueueClient.List"); + using var scope = _clientDiagnostics.CreateScope("QueueOperations.List"); scope.Start(); try { @@ -271,7 +271,7 @@ public virtual Pageable List(string resourceGroupName, string account Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("QueueClient.List"); + using var scope = _clientDiagnostics.CreateScope("QueueOperations.List"); scope.Start(); try { @@ -286,7 +286,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("QueueClient.List"); + using var scope = _clientDiagnostics.CreateScope("QueueOperations.List"); scope.Start(); try { diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/QueueRestClient.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/QueueRestOperations.cs similarity index 99% rename from sdk/storage/Azure.ResourceManager.Storage/src/Generated/QueueRestClient.cs rename to sdk/storage/Azure.ResourceManager.Storage/src/Generated/QueueRestOperations.cs index b7b3bb4786518..02fe2e0227a5e 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/QueueRestClient.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/QueueRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.ResourceManager.Storage { - internal partial class QueueRestClient + internal partial class QueueRestOperations { private string subscriptionId; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class QueueRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of QueueRestClient. + /// Initializes a new instance of QueueRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public QueueRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + public QueueRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { if (subscriptionId == null) { diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/QueueServicesClient.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/QueueServicesOperations.cs similarity index 91% rename from sdk/storage/Azure.ResourceManager.Storage/src/Generated/QueueServicesClient.cs rename to sdk/storage/Azure.ResourceManager.Storage/src/Generated/QueueServicesOperations.cs index 8bf300bad7686..26a0cd5775843 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/QueueServicesClient.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/QueueServicesOperations.cs @@ -15,24 +15,24 @@ namespace Azure.ResourceManager.Storage { /// The QueueServices service client. - public partial class QueueServicesClient + public partial class QueueServicesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal QueueServicesRestClient RestClient { get; } - /// Initializes a new instance of QueueServicesClient for mocking. - protected QueueServicesClient() + internal QueueServicesRestOperations RestClient { get; } + /// Initializes a new instance of QueueServicesOperations for mocking. + protected QueueServicesOperations() { } - /// Initializes a new instance of QueueServicesClient. + /// Initializes a new instance of QueueServicesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. - internal QueueServicesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + internal QueueServicesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { - RestClient = new QueueServicesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); + RestClient = new QueueServicesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal QueueServicesClient(ClientDiagnostics clientDiagnostics, HttpPipeline p /// The cancellation token to use. public virtual async Task> ListAsync(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("QueueServicesClient.List"); + using var scope = _clientDiagnostics.CreateScope("QueueServicesOperations.List"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> ListAsync(string resource /// The cancellation token to use. public virtual Response List(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("QueueServicesClient.List"); + using var scope = _clientDiagnostics.CreateScope("QueueServicesOperations.List"); scope.Start(); try { @@ -82,7 +82,7 @@ public virtual Response List(string resourceGroupName, string /// The cancellation token to use. public virtual async Task> SetServicePropertiesAsync(string resourceGroupName, string accountName, QueueServiceProperties parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("QueueServicesClient.SetServiceProperties"); + using var scope = _clientDiagnostics.CreateScope("QueueServicesOperations.SetServiceProperties"); scope.Start(); try { @@ -102,7 +102,7 @@ public virtual async Task> SetServiceProperties /// The cancellation token to use. public virtual Response SetServiceProperties(string resourceGroupName, string accountName, QueueServiceProperties parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("QueueServicesClient.SetServiceProperties"); + using var scope = _clientDiagnostics.CreateScope("QueueServicesOperations.SetServiceProperties"); scope.Start(); try { @@ -121,7 +121,7 @@ public virtual Response SetServiceProperties(string reso /// The cancellation token to use. public virtual async Task> GetServicePropertiesAsync(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("QueueServicesClient.GetServiceProperties"); + using var scope = _clientDiagnostics.CreateScope("QueueServicesOperations.GetServiceProperties"); scope.Start(); try { @@ -140,7 +140,7 @@ public virtual async Task> GetServiceProperties /// The cancellation token to use. public virtual Response GetServiceProperties(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("QueueServicesClient.GetServiceProperties"); + using var scope = _clientDiagnostics.CreateScope("QueueServicesOperations.GetServiceProperties"); scope.Start(); try { diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/QueueServicesRestClient.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/QueueServicesRestOperations.cs similarity index 98% rename from sdk/storage/Azure.ResourceManager.Storage/src/Generated/QueueServicesRestClient.cs rename to sdk/storage/Azure.ResourceManager.Storage/src/Generated/QueueServicesRestOperations.cs index 22fef0d856ed0..40117dfcb7ecb 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/QueueServicesRestClient.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/QueueServicesRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.ResourceManager.Storage { - internal partial class QueueServicesRestClient + internal partial class QueueServicesRestOperations { private string subscriptionId; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class QueueServicesRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of QueueServicesRestClient. + /// Initializes a new instance of QueueServicesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public QueueServicesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + public QueueServicesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { if (subscriptionId == null) { diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/OperationsRestClient.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/RestOperations.cs similarity index 94% rename from sdk/storage/Azure.ResourceManager.Storage/src/Generated/OperationsRestClient.cs rename to sdk/storage/Azure.ResourceManager.Storage/src/Generated/RestOperations.cs index 6b95fa0a0883b..c73057c39d9dc 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/OperationsRestClient.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/RestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.ResourceManager.Storage { - internal partial class OperationsRestClient + internal partial class RestOperations { private Uri endpoint; private string apiVersion; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of OperationsRestClient. + /// Initializes a new instance of RestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public OperationsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null, string apiVersion = "2019-06-01") + public RestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null, string apiVersion = "2019-06-01") { endpoint ??= new Uri("https://management.azure.com"); if (apiVersion == null) diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/SkusClient.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/SkusOperations.cs similarity index 82% rename from sdk/storage/Azure.ResourceManager.Storage/src/Generated/SkusClient.cs rename to sdk/storage/Azure.ResourceManager.Storage/src/Generated/SkusOperations.cs index 0db828788c039..818c496f8e278 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/SkusClient.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/SkusOperations.cs @@ -16,24 +16,24 @@ namespace Azure.ResourceManager.Storage { /// The Skus service client. - public partial class SkusClient + public partial class SkusOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal SkusRestClient RestClient { get; } - /// Initializes a new instance of SkusClient for mocking. - protected SkusClient() + internal SkusRestOperations RestClient { get; } + /// Initializes a new instance of SkusOperations for mocking. + protected SkusOperations() { } - /// Initializes a new instance of SkusClient. + /// Initializes a new instance of SkusOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. - internal SkusClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + internal SkusOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { - RestClient = new SkusRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); + RestClient = new SkusRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ public virtual AsyncPageable ListAsync(CancellationToken cancell { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SkusClient.List"); + using var scope = _clientDiagnostics.CreateScope("SkusOperations.List"); scope.Start(); try { @@ -66,7 +66,7 @@ public virtual Pageable List(CancellationToken cancellationToken { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SkusClient.List"); + using var scope = _clientDiagnostics.CreateScope("SkusOperations.List"); scope.Start(); try { diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/SkusRestClient.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/SkusRestOperations.cs similarity index 94% rename from sdk/storage/Azure.ResourceManager.Storage/src/Generated/SkusRestClient.cs rename to sdk/storage/Azure.ResourceManager.Storage/src/Generated/SkusRestOperations.cs index bb24d892e51e5..a5eb9253d3e60 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/SkusRestClient.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/SkusRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.ResourceManager.Storage { - internal partial class SkusRestClient + internal partial class SkusRestOperations { private string subscriptionId; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class SkusRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of SkusRestClient. + /// Initializes a new instance of SkusRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public SkusRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + public SkusRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { if (subscriptionId == null) { diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/StorageAccountsClient.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/StorageAccountsOperations.cs similarity index 95% rename from sdk/storage/Azure.ResourceManager.Storage/src/Generated/StorageAccountsClient.cs rename to sdk/storage/Azure.ResourceManager.Storage/src/Generated/StorageAccountsOperations.cs index faa7e7373a7dc..660438c8b37de 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/StorageAccountsClient.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/StorageAccountsOperations.cs @@ -16,24 +16,24 @@ namespace Azure.ResourceManager.Storage { /// The StorageAccounts service client. - public partial class StorageAccountsClient + public partial class StorageAccountsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal StorageAccountsRestClient RestClient { get; } - /// Initializes a new instance of StorageAccountsClient for mocking. - protected StorageAccountsClient() + internal StorageAccountsRestOperations RestClient { get; } + /// Initializes a new instance of StorageAccountsOperations for mocking. + protected StorageAccountsOperations() { } - /// Initializes a new instance of StorageAccountsClient. + /// Initializes a new instance of StorageAccountsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. - internal StorageAccountsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + internal StorageAccountsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { - RestClient = new StorageAccountsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); + RestClient = new StorageAccountsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal StorageAccountsClient(ClientDiagnostics clientDiagnostics, HttpPipeline /// The cancellation token to use. public virtual async Task> CheckNameAvailabilityAsync(StorageAccountCheckNameAvailabilityParameters accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.CheckNameAvailability"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.CheckNameAvailability"); scope.Start(); try { @@ -61,7 +61,7 @@ public virtual async Task> CheckNameAvaila /// The cancellation token to use. public virtual Response CheckNameAvailability(StorageAccountCheckNameAvailabilityParameters accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.CheckNameAvailability"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.CheckNameAvailability"); scope.Start(); try { @@ -80,7 +80,7 @@ public virtual Response CheckNameAvailability(Stora /// The cancellation token to use. public virtual async Task DeleteAsync(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.Delete"); scope.Start(); try { @@ -99,7 +99,7 @@ public virtual async Task DeleteAsync(string resourceGroupName, string /// The cancellation token to use. public virtual Response Delete(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.Delete"); scope.Start(); try { @@ -119,7 +119,7 @@ public virtual Response Delete(string resourceGroupName, string accountName, Can /// The cancellation token to use. public virtual async Task> GetPropertiesAsync(string resourceGroupName, string accountName, StorageAccountExpand? expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.GetProperties"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.GetProperties"); scope.Start(); try { @@ -139,7 +139,7 @@ public virtual async Task> GetPropertiesAsync(string re /// The cancellation token to use. public virtual Response GetProperties(string resourceGroupName, string accountName, StorageAccountExpand? expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.GetProperties"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.GetProperties"); scope.Start(); try { @@ -159,7 +159,7 @@ public virtual Response GetProperties(string resourceGroupName, /// The cancellation token to use. public virtual async Task> UpdateAsync(string resourceGroupName, string accountName, StorageAccountUpdateParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.Update"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.Update"); scope.Start(); try { @@ -179,7 +179,7 @@ public virtual async Task> UpdateAsync(string resourceG /// The cancellation token to use. public virtual Response Update(string resourceGroupName, string accountName, StorageAccountUpdateParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.Update"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.Update"); scope.Start(); try { @@ -198,7 +198,7 @@ public virtual Response Update(string resourceGroupName, string /// The cancellation token to use. public virtual async Task> ListKeysAsync(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.ListKeys"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.ListKeys"); scope.Start(); try { @@ -217,7 +217,7 @@ public virtual async Task> ListKeysAsync( /// The cancellation token to use. public virtual Response ListKeys(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.ListKeys"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.ListKeys"); scope.Start(); try { @@ -237,7 +237,7 @@ public virtual Response ListKeys(string resourceGr /// The cancellation token to use. public virtual async Task> RegenerateKeyAsync(string resourceGroupName, string accountName, StorageAccountRegenerateKeyParameters regenerateKey, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.RegenerateKey"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.RegenerateKey"); scope.Start(); try { @@ -257,7 +257,7 @@ public virtual async Task> RegenerateKeyA /// The cancellation token to use. public virtual Response RegenerateKey(string resourceGroupName, string accountName, StorageAccountRegenerateKeyParameters regenerateKey, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.RegenerateKey"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.RegenerateKey"); scope.Start(); try { @@ -277,7 +277,7 @@ public virtual Response RegenerateKey(string resou /// The cancellation token to use. public virtual async Task> ListAccountSASAsync(string resourceGroupName, string accountName, AccountSasParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.ListAccountSAS"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.ListAccountSAS"); scope.Start(); try { @@ -297,7 +297,7 @@ public virtual async Task> ListAccountSASAsync( /// The cancellation token to use. public virtual Response ListAccountSAS(string resourceGroupName, string accountName, AccountSasParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.ListAccountSAS"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.ListAccountSAS"); scope.Start(); try { @@ -317,7 +317,7 @@ public virtual Response ListAccountSAS(string resourceGr /// The cancellation token to use. public virtual async Task> ListServiceSASAsync(string resourceGroupName, string accountName, ServiceSasParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.ListServiceSAS"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.ListServiceSAS"); scope.Start(); try { @@ -337,7 +337,7 @@ public virtual async Task> ListServiceSASAsync( /// The cancellation token to use. public virtual Response ListServiceSAS(string resourceGroupName, string accountName, ServiceSasParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.ListServiceSAS"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.ListServiceSAS"); scope.Start(); try { @@ -356,7 +356,7 @@ public virtual Response ListServiceSAS(string resourceGr /// The cancellation token to use. public virtual async Task RevokeUserDelegationKeysAsync(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.RevokeUserDelegationKeys"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.RevokeUserDelegationKeys"); scope.Start(); try { @@ -375,7 +375,7 @@ public virtual async Task RevokeUserDelegationKeysAsync(string resourc /// The cancellation token to use. public virtual Response RevokeUserDelegationKeys(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.RevokeUserDelegationKeys"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.RevokeUserDelegationKeys"); scope.Start(); try { @@ -394,7 +394,7 @@ public virtual AsyncPageable ListAsync(CancellationToken cancell { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.List"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.List"); scope.Start(); try { @@ -409,7 +409,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.List"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.List"); scope.Start(); try { @@ -431,7 +431,7 @@ public virtual Pageable List(CancellationToken cancellationToken { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.List"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.List"); scope.Start(); try { @@ -446,7 +446,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.List"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.List"); scope.Start(); try { @@ -474,7 +474,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(string res async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.ListByResourceGroup"); scope.Start(); try { @@ -502,7 +502,7 @@ public virtual Pageable ListByResourceGroup(string resourceGroup Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.ListByResourceGroup"); scope.Start(); try { @@ -538,7 +538,7 @@ public virtual async Task StartCreateAsync(strin throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.StartCreate"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.StartCreate"); scope.Start(); try { @@ -572,7 +572,7 @@ public virtual StorageAccountsCreateOperation StartCreate(string resourceGroupNa throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.StartCreate"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.StartCreate"); scope.Start(); try { @@ -601,7 +601,7 @@ public virtual async Task StartFailoverAsync(s throw new ArgumentNullException(nameof(accountName)); } - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.StartFailover"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.StartFailover"); scope.Start(); try { @@ -630,7 +630,7 @@ public virtual StorageAccountsFailoverOperation StartFailover(string resourceGro throw new ArgumentNullException(nameof(accountName)); } - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.StartFailover"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.StartFailover"); scope.Start(); try { @@ -664,7 +664,7 @@ public virtual async Task StartRestor throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.StartRestoreBlobRanges"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.StartRestoreBlobRanges"); scope.Start(); try { @@ -698,7 +698,7 @@ public virtual StorageAccountsRestoreBlobRangesOperation StartRestoreBlobRanges( throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.StartRestoreBlobRanges"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.StartRestoreBlobRanges"); scope.Start(); try { diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/StorageAccountsRestClient.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/StorageAccountsRestOperations.cs similarity index 99% rename from sdk/storage/Azure.ResourceManager.Storage/src/Generated/StorageAccountsRestClient.cs rename to sdk/storage/Azure.ResourceManager.Storage/src/Generated/StorageAccountsRestOperations.cs index 7e8d83a21f721..279ee78cf3bc6 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/StorageAccountsRestClient.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/StorageAccountsRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.ResourceManager.Storage { - internal partial class StorageAccountsRestClient + internal partial class StorageAccountsRestOperations { private string subscriptionId; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class StorageAccountsRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of StorageAccountsRestClient. + /// Initializes a new instance of StorageAccountsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public StorageAccountsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + public StorageAccountsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { if (subscriptionId == null) { diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/StorageManagementClient.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/StorageManagementClient.cs index 9f626a0edf1ac..c88f5d88a784d 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/StorageManagementClient.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/StorageManagementClient.cs @@ -53,106 +53,55 @@ public StorageManagementClient(Uri endpoint, string subscriptionId, TokenCredent _subscriptionId = subscriptionId; } - /// Creates a new instance of OperationsClient. - public virtual OperationsClient GetOperationsClient() - { - return new OperationsClient(_clientDiagnostics, _pipeline, _endpoint); - } + /// Returns an instance of Operations. + public virtual Operations Operations => new Operations(_clientDiagnostics, _pipeline, _endpoint); - /// Creates a new instance of SkusClient. - public virtual SkusClient GetSkusClient() - { - return new SkusClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of SkusOperations. + public virtual SkusOperations Skus => new SkusOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of StorageAccountsClient. - public virtual StorageAccountsClient GetStorageAccountsClient() - { - return new StorageAccountsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of StorageAccountsOperations. + public virtual StorageAccountsOperations StorageAccounts => new StorageAccountsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of UsagesClient. - public virtual UsagesClient GetUsagesClient() - { - return new UsagesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of UsagesOperations. + public virtual UsagesOperations Usages => new UsagesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ManagementPoliciesClient. - public virtual ManagementPoliciesClient GetManagementPoliciesClient() - { - return new ManagementPoliciesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ManagementPoliciesOperations. + public virtual ManagementPoliciesOperations ManagementPolicies => new ManagementPoliciesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of PrivateEndpointConnectionsClient. - public virtual PrivateEndpointConnectionsClient GetPrivateEndpointConnectionsClient() - { - return new PrivateEndpointConnectionsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of PrivateEndpointConnectionsOperations. + public virtual PrivateEndpointConnectionsOperations PrivateEndpointConnections => new PrivateEndpointConnectionsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of PrivateLinkResourcesClient. - public virtual PrivateLinkResourcesClient GetPrivateLinkResourcesClient() - { - return new PrivateLinkResourcesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of PrivateLinkResourcesOperations. + public virtual PrivateLinkResourcesOperations PrivateLinkResources => new PrivateLinkResourcesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ObjectReplicationPoliciesClient. - public virtual ObjectReplicationPoliciesClient GetObjectReplicationPoliciesClient() - { - return new ObjectReplicationPoliciesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ObjectReplicationPoliciesOperations. + public virtual ObjectReplicationPoliciesOperations ObjectReplicationPolicies => new ObjectReplicationPoliciesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of EncryptionScopesClient. - public virtual EncryptionScopesClient GetEncryptionScopesClient() - { - return new EncryptionScopesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of EncryptionScopesOperations. + public virtual EncryptionScopesOperations EncryptionScopes => new EncryptionScopesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of BlobServicesClient. - public virtual BlobServicesClient GetBlobServicesClient() - { - return new BlobServicesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of BlobServicesOperations. + public virtual BlobServicesOperations BlobServices => new BlobServicesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of BlobContainersClient. - public virtual BlobContainersClient GetBlobContainersClient() - { - return new BlobContainersClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of BlobContainersOperations. + public virtual BlobContainersOperations BlobContainers => new BlobContainersOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of FileServicesClient. - public virtual FileServicesClient GetFileServicesClient() - { - return new FileServicesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of FileServicesOperations. + public virtual FileServicesOperations FileServices => new FileServicesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of FileSharesClient. - public virtual FileSharesClient GetFileSharesClient() - { - return new FileSharesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of FileSharesOperations. + public virtual FileSharesOperations FileShares => new FileSharesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of QueueServicesClient. - public virtual QueueServicesClient GetQueueServicesClient() - { - return new QueueServicesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of QueueServicesOperations. + public virtual QueueServicesOperations QueueServices => new QueueServicesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of QueueClient. - public virtual QueueClient GetQueueClient() - { - return new QueueClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of QueueOperations. + public virtual QueueOperations Queue => new QueueOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of TableServicesClient. - public virtual TableServicesClient GetTableServicesClient() - { - return new TableServicesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of TableServicesOperations. + public virtual TableServicesOperations TableServices => new TableServicesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of TableClient. - public virtual TableClient GetTableClient() - { - return new TableClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of TableOperations. + public virtual TableOperations Table => new TableOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); } } diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/TableClient.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/TableOperations.cs similarity index 95% rename from sdk/storage/Azure.ResourceManager.Storage/src/Generated/TableClient.cs rename to sdk/storage/Azure.ResourceManager.Storage/src/Generated/TableOperations.cs index 3322c2b9aec21..2710fa48832aa 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/TableClient.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/TableOperations.cs @@ -16,24 +16,24 @@ namespace Azure.ResourceManager.Storage { /// The Table service client. - public partial class TableClient + public partial class TableOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal TableRestClient RestClient { get; } - /// Initializes a new instance of TableClient for mocking. - protected TableClient() + internal TableRestOperations RestClient { get; } + /// Initializes a new instance of TableOperations for mocking. + protected TableOperations() { } - /// Initializes a new instance of TableClient. + /// Initializes a new instance of TableOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. - internal TableClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + internal TableOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { - RestClient = new TableRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); + RestClient = new TableRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -45,7 +45,7 @@ internal TableClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, /// The cancellation token to use. public virtual async Task> CreateAsync(string resourceGroupName, string accountName, string tableName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("TableClient.Create"); + using var scope = _clientDiagnostics.CreateScope("TableOperations.Create"); scope.Start(); try { @@ -65,7 +65,7 @@ public virtual async Task> CreateAsync(string resourceGroupName, /// The cancellation token to use. public virtual Response Create(string resourceGroupName, string accountName, string tableName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("TableClient.Create"); + using var scope = _clientDiagnostics.CreateScope("TableOperations.Create"); scope.Start(); try { @@ -85,7 +85,7 @@ public virtual Response
Create(string resourceGroupName, string accountNa /// The cancellation token to use. public virtual async Task> UpdateAsync(string resourceGroupName, string accountName, string tableName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("TableClient.Update"); + using var scope = _clientDiagnostics.CreateScope("TableOperations.Update"); scope.Start(); try { @@ -105,7 +105,7 @@ public virtual async Task> UpdateAsync(string resourceGroupName, /// The cancellation token to use. public virtual Response
Update(string resourceGroupName, string accountName, string tableName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("TableClient.Update"); + using var scope = _clientDiagnostics.CreateScope("TableOperations.Update"); scope.Start(); try { @@ -125,7 +125,7 @@ public virtual Response
Update(string resourceGroupName, string accountNa /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string accountName, string tableName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("TableClient.Get"); + using var scope = _clientDiagnostics.CreateScope("TableOperations.Get"); scope.Start(); try { @@ -145,7 +145,7 @@ public virtual async Task> GetAsync(string resourceGroupName, st /// The cancellation token to use. public virtual Response
Get(string resourceGroupName, string accountName, string tableName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("TableClient.Get"); + using var scope = _clientDiagnostics.CreateScope("TableOperations.Get"); scope.Start(); try { @@ -165,7 +165,7 @@ public virtual Response
Get(string resourceGroupName, string accountName, /// The cancellation token to use. public virtual async Task DeleteAsync(string resourceGroupName, string accountName, string tableName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("TableClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("TableOperations.Delete"); scope.Start(); try { @@ -185,7 +185,7 @@ public virtual async Task DeleteAsync(string resourceGroupName, string /// The cancellation token to use. public virtual Response Delete(string resourceGroupName, string accountName, string tableName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("TableClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("TableOperations.Delete"); scope.Start(); try { @@ -215,7 +215,7 @@ public virtual AsyncPageable
ListAsync(string resourceGroupName, string a async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("TableClient.List"); + using var scope = _clientDiagnostics.CreateScope("TableOperations.List"); scope.Start(); try { @@ -230,7 +230,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("TableClient.List"); + using var scope = _clientDiagnostics.CreateScope("TableOperations.List"); scope.Start(); try { @@ -263,7 +263,7 @@ public virtual Pageable
List(string resourceGroupName, string accountName Page
FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("TableClient.List"); + using var scope = _clientDiagnostics.CreateScope("TableOperations.List"); scope.Start(); try { @@ -278,7 +278,7 @@ Page
FirstPageFunc(int? pageSizeHint) } Page
NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("TableClient.List"); + using var scope = _clientDiagnostics.CreateScope("TableOperations.List"); scope.Start(); try { diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/TableRestClient.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/TableRestOperations.cs similarity index 99% rename from sdk/storage/Azure.ResourceManager.Storage/src/Generated/TableRestClient.cs rename to sdk/storage/Azure.ResourceManager.Storage/src/Generated/TableRestOperations.cs index cddfcb366ec0a..79d954a5ff3ed 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/TableRestClient.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/TableRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.ResourceManager.Storage { - internal partial class TableRestClient + internal partial class TableRestOperations { private string subscriptionId; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class TableRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of TableRestClient. + /// Initializes a new instance of TableRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public TableRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + public TableRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { if (subscriptionId == null) { diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/TableServicesClient.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/TableServicesOperations.cs similarity index 91% rename from sdk/storage/Azure.ResourceManager.Storage/src/Generated/TableServicesClient.cs rename to sdk/storage/Azure.ResourceManager.Storage/src/Generated/TableServicesOperations.cs index 60134f41478be..14c5464e16871 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/TableServicesClient.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/TableServicesOperations.cs @@ -15,24 +15,24 @@ namespace Azure.ResourceManager.Storage { /// The TableServices service client. - public partial class TableServicesClient + public partial class TableServicesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal TableServicesRestClient RestClient { get; } - /// Initializes a new instance of TableServicesClient for mocking. - protected TableServicesClient() + internal TableServicesRestOperations RestClient { get; } + /// Initializes a new instance of TableServicesOperations for mocking. + protected TableServicesOperations() { } - /// Initializes a new instance of TableServicesClient. + /// Initializes a new instance of TableServicesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. - internal TableServicesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + internal TableServicesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { - RestClient = new TableServicesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); + RestClient = new TableServicesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal TableServicesClient(ClientDiagnostics clientDiagnostics, HttpPipeline p /// The cancellation token to use. public virtual async Task> ListAsync(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("TableServicesClient.List"); + using var scope = _clientDiagnostics.CreateScope("TableServicesOperations.List"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> ListAsync(string resource /// The cancellation token to use. public virtual Response List(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("TableServicesClient.List"); + using var scope = _clientDiagnostics.CreateScope("TableServicesOperations.List"); scope.Start(); try { @@ -82,7 +82,7 @@ public virtual Response List(string resourceGroupName, string /// The cancellation token to use. public virtual async Task> SetServicePropertiesAsync(string resourceGroupName, string accountName, TableServiceProperties parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("TableServicesClient.SetServiceProperties"); + using var scope = _clientDiagnostics.CreateScope("TableServicesOperations.SetServiceProperties"); scope.Start(); try { @@ -102,7 +102,7 @@ public virtual async Task> SetServiceProperties /// The cancellation token to use. public virtual Response SetServiceProperties(string resourceGroupName, string accountName, TableServiceProperties parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("TableServicesClient.SetServiceProperties"); + using var scope = _clientDiagnostics.CreateScope("TableServicesOperations.SetServiceProperties"); scope.Start(); try { @@ -121,7 +121,7 @@ public virtual Response SetServiceProperties(string reso /// The cancellation token to use. public virtual async Task> GetServicePropertiesAsync(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("TableServicesClient.GetServiceProperties"); + using var scope = _clientDiagnostics.CreateScope("TableServicesOperations.GetServiceProperties"); scope.Start(); try { @@ -140,7 +140,7 @@ public virtual async Task> GetServiceProperties /// The cancellation token to use. public virtual Response GetServiceProperties(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("TableServicesClient.GetServiceProperties"); + using var scope = _clientDiagnostics.CreateScope("TableServicesOperations.GetServiceProperties"); scope.Start(); try { diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/TableServicesRestClient.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/TableServicesRestOperations.cs similarity index 98% rename from sdk/storage/Azure.ResourceManager.Storage/src/Generated/TableServicesRestClient.cs rename to sdk/storage/Azure.ResourceManager.Storage/src/Generated/TableServicesRestOperations.cs index 1cc7dae7b41ff..01bbd1b17843c 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/TableServicesRestClient.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/TableServicesRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.ResourceManager.Storage { - internal partial class TableServicesRestClient + internal partial class TableServicesRestOperations { private string subscriptionId; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class TableServicesRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of TableServicesRestClient. + /// Initializes a new instance of TableServicesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public TableServicesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + public TableServicesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { if (subscriptionId == null) { diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/UsagesClient.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/UsagesOperations.cs similarity index 84% rename from sdk/storage/Azure.ResourceManager.Storage/src/Generated/UsagesClient.cs rename to sdk/storage/Azure.ResourceManager.Storage/src/Generated/UsagesOperations.cs index fd35da3ef0acb..be7ed743f0a45 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/UsagesClient.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/UsagesOperations.cs @@ -16,24 +16,24 @@ namespace Azure.ResourceManager.Storage { /// The Usages service client. - public partial class UsagesClient + public partial class UsagesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal UsagesRestClient RestClient { get; } - /// Initializes a new instance of UsagesClient for mocking. - protected UsagesClient() + internal UsagesRestOperations RestClient { get; } + /// Initializes a new instance of UsagesOperations for mocking. + protected UsagesOperations() { } - /// Initializes a new instance of UsagesClient. + /// Initializes a new instance of UsagesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. - internal UsagesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + internal UsagesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { - RestClient = new UsagesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); + RestClient = new UsagesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -50,7 +50,7 @@ public virtual AsyncPageable ListByLocationAsync(string location, Cancell async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("UsagesClient.ListByLocation"); + using var scope = _clientDiagnostics.CreateScope("UsagesOperations.ListByLocation"); scope.Start(); try { @@ -78,7 +78,7 @@ public virtual Pageable ListByLocation(string location, CancellationToken Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("UsagesClient.ListByLocation"); + using var scope = _clientDiagnostics.CreateScope("UsagesOperations.ListByLocation"); scope.Start(); try { diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/UsagesRestClient.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/UsagesRestOperations.cs similarity index 94% rename from sdk/storage/Azure.ResourceManager.Storage/src/Generated/UsagesRestClient.cs rename to sdk/storage/Azure.ResourceManager.Storage/src/Generated/UsagesRestOperations.cs index abb1616854a97..df02fc45958cf 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/UsagesRestClient.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/UsagesRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.ResourceManager.Storage { - internal partial class UsagesRestClient + internal partial class UsagesRestOperations { private string subscriptionId; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class UsagesRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of UsagesRestClient. + /// Initializes a new instance of UsagesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public UsagesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + public UsagesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Graph.Rbac/src/Generated/ApplicationsClient.cs b/sdk/testcommon/Azure.Graph.Rbac/src/Generated/ApplicationsOperations.cs similarity index 94% rename from sdk/testcommon/Azure.Graph.Rbac/src/Generated/ApplicationsClient.cs rename to sdk/testcommon/Azure.Graph.Rbac/src/Generated/ApplicationsOperations.cs index 3baaabaaa16fd..a5601613cb412 100644 --- a/sdk/testcommon/Azure.Graph.Rbac/src/Generated/ApplicationsClient.cs +++ b/sdk/testcommon/Azure.Graph.Rbac/src/Generated/ApplicationsOperations.cs @@ -16,24 +16,24 @@ namespace Azure.Graph.Rbac { /// The Applications service client. - public partial class ApplicationsClient + public partial class ApplicationsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ApplicationsRestClient RestClient { get; } - /// Initializes a new instance of ApplicationsClient for mocking. - protected ApplicationsClient() + internal ApplicationsRestOperations RestClient { get; } + /// Initializes a new instance of ApplicationsOperations for mocking. + protected ApplicationsOperations() { } - /// Initializes a new instance of ApplicationsClient. + /// Initializes a new instance of ApplicationsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The tenant ID. /// server parameter. /// Api Version. - internal ApplicationsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string tenantID, Uri endpoint = null, string apiVersion = "1.6") + internal ApplicationsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string tenantID, Uri endpoint = null, string apiVersion = "1.6") { - RestClient = new ApplicationsRestClient(clientDiagnostics, pipeline, tenantID, endpoint, apiVersion); + RestClient = new ApplicationsRestOperations(clientDiagnostics, pipeline, tenantID, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal ApplicationsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pi /// The cancellation token to use. public virtual async Task> CreateAsync(ApplicationCreateParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.Create"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.Create"); scope.Start(); try { @@ -61,7 +61,7 @@ public virtual async Task> CreateAsync(ApplicationCreatePa /// The cancellation token to use. public virtual Response Create(ApplicationCreateParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.Create"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.Create"); scope.Start(); try { @@ -79,7 +79,7 @@ public virtual Response Create(ApplicationCreateParameters paramete /// The cancellation token to use. public virtual async Task DeleteAsync(string applicationObjectId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.Delete"); scope.Start(); try { @@ -97,7 +97,7 @@ public virtual async Task DeleteAsync(string applicationObjectId, Canc /// The cancellation token to use. public virtual Response Delete(string applicationObjectId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.Delete"); scope.Start(); try { @@ -115,7 +115,7 @@ public virtual Response Delete(string applicationObjectId, CancellationToken can /// The cancellation token to use. public virtual async Task> GetAsync(string applicationObjectId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.Get"); scope.Start(); try { @@ -133,7 +133,7 @@ public virtual async Task> GetAsync(string applicationObje /// The cancellation token to use. public virtual Response Get(string applicationObjectId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.Get"); scope.Start(); try { @@ -152,7 +152,7 @@ public virtual Response Get(string applicationObjectId, Cancellatio /// The cancellation token to use. public virtual async Task PatchAsync(string applicationObjectId, ApplicationUpdateParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.Patch"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.Patch"); scope.Start(); try { @@ -171,7 +171,7 @@ public virtual async Task PatchAsync(string applicationObjectId, Appli /// The cancellation token to use. public virtual Response Patch(string applicationObjectId, ApplicationUpdateParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.Patch"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.Patch"); scope.Start(); try { @@ -190,7 +190,7 @@ public virtual Response Patch(string applicationObjectId, ApplicationUpdateParam /// The cancellation token to use. public virtual async Task AddOwnerAsync(string applicationObjectId, AddOwnerParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.AddOwner"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.AddOwner"); scope.Start(); try { @@ -209,7 +209,7 @@ public virtual async Task AddOwnerAsync(string applicationObjectId, Ad /// The cancellation token to use. public virtual Response AddOwner(string applicationObjectId, AddOwnerParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.AddOwner"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.AddOwner"); scope.Start(); try { @@ -228,7 +228,7 @@ public virtual Response AddOwner(string applicationObjectId, AddOwnerParameters /// The cancellation token to use. public virtual async Task RemoveOwnerAsync(string applicationObjectId, string ownerObjectId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.RemoveOwner"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.RemoveOwner"); scope.Start(); try { @@ -247,7 +247,7 @@ public virtual async Task RemoveOwnerAsync(string applicationObjectId, /// The cancellation token to use. public virtual Response RemoveOwner(string applicationObjectId, string ownerObjectId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.RemoveOwner"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.RemoveOwner"); scope.Start(); try { @@ -266,7 +266,7 @@ public virtual Response RemoveOwner(string applicationObjectId, string ownerObje /// The cancellation token to use. public virtual async Task UpdateKeyCredentialsAsync(string applicationObjectId, KeyCredentialsUpdateParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.UpdateKeyCredentials"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.UpdateKeyCredentials"); scope.Start(); try { @@ -285,7 +285,7 @@ public virtual async Task UpdateKeyCredentialsAsync(string application /// The cancellation token to use. public virtual Response UpdateKeyCredentials(string applicationObjectId, KeyCredentialsUpdateParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.UpdateKeyCredentials"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.UpdateKeyCredentials"); scope.Start(); try { @@ -304,7 +304,7 @@ public virtual Response UpdateKeyCredentials(string applicationObjectId, KeyCred /// The cancellation token to use. public virtual async Task UpdatePasswordCredentialsAsync(string applicationObjectId, PasswordCredentialsUpdateParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.UpdatePasswordCredentials"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.UpdatePasswordCredentials"); scope.Start(); try { @@ -323,7 +323,7 @@ public virtual async Task UpdatePasswordCredentialsAsync(string applic /// The cancellation token to use. public virtual Response UpdatePasswordCredentials(string applicationObjectId, PasswordCredentialsUpdateParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.UpdatePasswordCredentials"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.UpdatePasswordCredentials"); scope.Start(); try { @@ -341,7 +341,7 @@ public virtual Response UpdatePasswordCredentials(string applicationObjectId, Pa /// The cancellation token to use. public virtual async Task> GetServicePrincipalsIdByAppIdAsync(string applicationID, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.GetServicePrincipalsIdByAppId"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.GetServicePrincipalsIdByAppId"); scope.Start(); try { @@ -359,7 +359,7 @@ public virtual async Task> GetServicePrin /// The cancellation token to use. public virtual Response GetServicePrincipalsIdByAppId(string applicationID, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.GetServicePrincipalsIdByAppId"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.GetServicePrincipalsIdByAppId"); scope.Start(); try { @@ -379,7 +379,7 @@ public virtual AsyncPageable ListAsync(string filter = null, Cancel { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.List"); scope.Start(); try { @@ -394,7 +394,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.List"); scope.Start(); try { @@ -417,7 +417,7 @@ public virtual Pageable List(string filter = null, CancellationToke { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.List"); scope.Start(); try { @@ -432,7 +432,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.List"); scope.Start(); try { @@ -460,7 +460,7 @@ public virtual AsyncPageable ListOwnersAsync(string application async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.ListOwners"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.ListOwners"); scope.Start(); try { @@ -475,7 +475,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.ListOwners"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.ListOwners"); scope.Start(); try { @@ -503,7 +503,7 @@ public virtual Pageable ListOwners(string applicationObjectId, Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.ListOwners"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.ListOwners"); scope.Start(); try { @@ -518,7 +518,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.ListOwners"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.ListOwners"); scope.Start(); try { @@ -546,7 +546,7 @@ public virtual AsyncPageable ListKeyCredentialsAsync(string appli async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.ListKeyCredentials"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.ListKeyCredentials"); scope.Start(); try { @@ -574,7 +574,7 @@ public virtual Pageable ListKeyCredentials(string applicationObje Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.ListKeyCredentials"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.ListKeyCredentials"); scope.Start(); try { @@ -602,7 +602,7 @@ public virtual AsyncPageable ListPasswordCredentialsAsync(st async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.ListPasswordCredentials"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.ListPasswordCredentials"); scope.Start(); try { @@ -630,7 +630,7 @@ public virtual Pageable ListPasswordCredentials(string appli Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.ListPasswordCredentials"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.ListPasswordCredentials"); scope.Start(); try { @@ -658,7 +658,7 @@ public virtual AsyncPageable ListNextAsync(string nextLink, Cancell async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.ListNext"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.ListNext"); scope.Start(); try { @@ -673,7 +673,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.ListNext"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.ListNext"); scope.Start(); try { @@ -701,7 +701,7 @@ public virtual Pageable ListNext(string nextLink, CancellationToken Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.ListNext"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.ListNext"); scope.Start(); try { @@ -716,7 +716,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationsClient.ListNext"); + using var scope = _clientDiagnostics.CreateScope("ApplicationsOperations.ListNext"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Graph.Rbac/src/Generated/ApplicationsRestClient.cs b/sdk/testcommon/Azure.Graph.Rbac/src/Generated/ApplicationsRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Graph.Rbac/src/Generated/ApplicationsRestClient.cs rename to sdk/testcommon/Azure.Graph.Rbac/src/Generated/ApplicationsRestOperations.cs index 8666200a4757a..cf276149823c6 100644 --- a/sdk/testcommon/Azure.Graph.Rbac/src/Generated/ApplicationsRestClient.cs +++ b/sdk/testcommon/Azure.Graph.Rbac/src/Generated/ApplicationsRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.Graph.Rbac { - internal partial class ApplicationsRestClient + internal partial class ApplicationsRestOperations { private string tenantID; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class ApplicationsRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ApplicationsRestClient. + /// Initializes a new instance of ApplicationsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The tenant ID. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public ApplicationsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string tenantID, Uri endpoint = null, string apiVersion = "1.6") + public ApplicationsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string tenantID, Uri endpoint = null, string apiVersion = "1.6") { if (tenantID == null) { diff --git a/sdk/testcommon/Azure.Graph.Rbac/src/Generated/DeletedApplicationsClient.cs b/sdk/testcommon/Azure.Graph.Rbac/src/Generated/DeletedApplicationsOperations.cs similarity index 91% rename from sdk/testcommon/Azure.Graph.Rbac/src/Generated/DeletedApplicationsClient.cs rename to sdk/testcommon/Azure.Graph.Rbac/src/Generated/DeletedApplicationsOperations.cs index e67245bb43a6f..2e5df83f152f7 100644 --- a/sdk/testcommon/Azure.Graph.Rbac/src/Generated/DeletedApplicationsClient.cs +++ b/sdk/testcommon/Azure.Graph.Rbac/src/Generated/DeletedApplicationsOperations.cs @@ -16,24 +16,24 @@ namespace Azure.Graph.Rbac { /// The DeletedApplications service client. - public partial class DeletedApplicationsClient + public partial class DeletedApplicationsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal DeletedApplicationsRestClient RestClient { get; } - /// Initializes a new instance of DeletedApplicationsClient for mocking. - protected DeletedApplicationsClient() + internal DeletedApplicationsRestOperations RestClient { get; } + /// Initializes a new instance of DeletedApplicationsOperations for mocking. + protected DeletedApplicationsOperations() { } - /// Initializes a new instance of DeletedApplicationsClient. + /// Initializes a new instance of DeletedApplicationsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The tenant ID. /// server parameter. /// Api Version. - internal DeletedApplicationsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string tenantID, Uri endpoint = null, string apiVersion = "1.6") + internal DeletedApplicationsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string tenantID, Uri endpoint = null, string apiVersion = "1.6") { - RestClient = new DeletedApplicationsRestClient(clientDiagnostics, pipeline, tenantID, endpoint, apiVersion); + RestClient = new DeletedApplicationsRestOperations(clientDiagnostics, pipeline, tenantID, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal DeletedApplicationsClient(ClientDiagnostics clientDiagnostics, HttpPipe /// The cancellation token to use. public virtual async Task> RestoreAsync(string objectId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DeletedApplicationsClient.Restore"); + using var scope = _clientDiagnostics.CreateScope("DeletedApplicationsOperations.Restore"); scope.Start(); try { @@ -61,7 +61,7 @@ public virtual async Task> RestoreAsync(string objectId, C /// The cancellation token to use. public virtual Response Restore(string objectId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DeletedApplicationsClient.Restore"); + using var scope = _clientDiagnostics.CreateScope("DeletedApplicationsOperations.Restore"); scope.Start(); try { @@ -79,7 +79,7 @@ public virtual Response Restore(string objectId, CancellationToken /// The cancellation token to use. public virtual async Task HardDeleteAsync(string applicationObjectId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DeletedApplicationsClient.HardDelete"); + using var scope = _clientDiagnostics.CreateScope("DeletedApplicationsOperations.HardDelete"); scope.Start(); try { @@ -97,7 +97,7 @@ public virtual async Task HardDeleteAsync(string applicationObjectId, /// The cancellation token to use. public virtual Response HardDelete(string applicationObjectId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DeletedApplicationsClient.HardDelete"); + using var scope = _clientDiagnostics.CreateScope("DeletedApplicationsOperations.HardDelete"); scope.Start(); try { @@ -117,7 +117,7 @@ public virtual AsyncPageable ListAsync(string filter = null, Cancel { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DeletedApplicationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("DeletedApplicationsOperations.List"); scope.Start(); try { @@ -132,7 +132,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DeletedApplicationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("DeletedApplicationsOperations.List"); scope.Start(); try { @@ -155,7 +155,7 @@ public virtual Pageable List(string filter = null, CancellationToke { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DeletedApplicationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("DeletedApplicationsOperations.List"); scope.Start(); try { @@ -170,7 +170,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DeletedApplicationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("DeletedApplicationsOperations.List"); scope.Start(); try { @@ -198,7 +198,7 @@ public virtual AsyncPageable ListNextAsync(string nextLink, Cancell async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DeletedApplicationsClient.ListNext"); + using var scope = _clientDiagnostics.CreateScope("DeletedApplicationsOperations.ListNext"); scope.Start(); try { @@ -213,7 +213,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DeletedApplicationsClient.ListNext"); + using var scope = _clientDiagnostics.CreateScope("DeletedApplicationsOperations.ListNext"); scope.Start(); try { @@ -241,7 +241,7 @@ public virtual Pageable ListNext(string nextLink, CancellationToken Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DeletedApplicationsClient.ListNext"); + using var scope = _clientDiagnostics.CreateScope("DeletedApplicationsOperations.ListNext"); scope.Start(); try { @@ -256,7 +256,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DeletedApplicationsClient.ListNext"); + using var scope = _clientDiagnostics.CreateScope("DeletedApplicationsOperations.ListNext"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Graph.Rbac/src/Generated/DeletedApplicationsRestClient.cs b/sdk/testcommon/Azure.Graph.Rbac/src/Generated/DeletedApplicationsRestOperations.cs similarity index 98% rename from sdk/testcommon/Azure.Graph.Rbac/src/Generated/DeletedApplicationsRestClient.cs rename to sdk/testcommon/Azure.Graph.Rbac/src/Generated/DeletedApplicationsRestOperations.cs index 3f9545b09120b..ed29c63f2ce31 100644 --- a/sdk/testcommon/Azure.Graph.Rbac/src/Generated/DeletedApplicationsRestClient.cs +++ b/sdk/testcommon/Azure.Graph.Rbac/src/Generated/DeletedApplicationsRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.Graph.Rbac { - internal partial class DeletedApplicationsRestClient + internal partial class DeletedApplicationsRestOperations { private string tenantID; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class DeletedApplicationsRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of DeletedApplicationsRestClient. + /// Initializes a new instance of DeletedApplicationsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The tenant ID. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public DeletedApplicationsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string tenantID, Uri endpoint = null, string apiVersion = "1.6") + public DeletedApplicationsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string tenantID, Uri endpoint = null, string apiVersion = "1.6") { if (tenantID == null) { diff --git a/sdk/testcommon/Azure.Graph.Rbac/src/Generated/DomainsClient.cs b/sdk/testcommon/Azure.Graph.Rbac/src/Generated/DomainsOperations.cs similarity index 86% rename from sdk/testcommon/Azure.Graph.Rbac/src/Generated/DomainsClient.cs rename to sdk/testcommon/Azure.Graph.Rbac/src/Generated/DomainsOperations.cs index e4bce47726236..4a0bb27cd31f4 100644 --- a/sdk/testcommon/Azure.Graph.Rbac/src/Generated/DomainsClient.cs +++ b/sdk/testcommon/Azure.Graph.Rbac/src/Generated/DomainsOperations.cs @@ -16,24 +16,24 @@ namespace Azure.Graph.Rbac { /// The Domains service client. - public partial class DomainsClient + public partial class DomainsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal DomainsRestClient RestClient { get; } - /// Initializes a new instance of DomainsClient for mocking. - protected DomainsClient() + internal DomainsRestOperations RestClient { get; } + /// Initializes a new instance of DomainsOperations for mocking. + protected DomainsOperations() { } - /// Initializes a new instance of DomainsClient. + /// Initializes a new instance of DomainsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The tenant ID. /// server parameter. /// Api Version. - internal DomainsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string tenantID, Uri endpoint = null, string apiVersion = "1.6") + internal DomainsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string tenantID, Uri endpoint = null, string apiVersion = "1.6") { - RestClient = new DomainsRestClient(clientDiagnostics, pipeline, tenantID, endpoint, apiVersion); + RestClient = new DomainsRestOperations(clientDiagnostics, pipeline, tenantID, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal DomainsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipelin /// The cancellation token to use. public virtual async Task> GetAsync(string domainName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DomainsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("DomainsOperations.Get"); scope.Start(); try { @@ -61,7 +61,7 @@ public virtual async Task> GetAsync(string domainName, Cancella /// The cancellation token to use. public virtual Response Get(string domainName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DomainsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("DomainsOperations.Get"); scope.Start(); try { @@ -81,7 +81,7 @@ public virtual AsyncPageable ListAsync(string filter = null, Cancellatio { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DomainsClient.List"); + using var scope = _clientDiagnostics.CreateScope("DomainsOperations.List"); scope.Start(); try { @@ -104,7 +104,7 @@ public virtual Pageable List(string filter = null, CancellationToken can { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DomainsClient.List"); + using var scope = _clientDiagnostics.CreateScope("DomainsOperations.List"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Graph.Rbac/src/Generated/DomainsRestClient.cs b/sdk/testcommon/Azure.Graph.Rbac/src/Generated/DomainsRestOperations.cs similarity index 96% rename from sdk/testcommon/Azure.Graph.Rbac/src/Generated/DomainsRestClient.cs rename to sdk/testcommon/Azure.Graph.Rbac/src/Generated/DomainsRestOperations.cs index f955ec457f28a..a102cd154f5ee 100644 --- a/sdk/testcommon/Azure.Graph.Rbac/src/Generated/DomainsRestClient.cs +++ b/sdk/testcommon/Azure.Graph.Rbac/src/Generated/DomainsRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.Graph.Rbac { - internal partial class DomainsRestClient + internal partial class DomainsRestOperations { private string tenantID; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class DomainsRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of DomainsRestClient. + /// Initializes a new instance of DomainsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The tenant ID. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public DomainsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string tenantID, Uri endpoint = null, string apiVersion = "1.6") + public DomainsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string tenantID, Uri endpoint = null, string apiVersion = "1.6") { if (tenantID == null) { diff --git a/sdk/testcommon/Azure.Graph.Rbac/src/Generated/GroupsClient.cs b/sdk/testcommon/Azure.Graph.Rbac/src/Generated/GroupsOperations.cs similarity index 95% rename from sdk/testcommon/Azure.Graph.Rbac/src/Generated/GroupsClient.cs rename to sdk/testcommon/Azure.Graph.Rbac/src/Generated/GroupsOperations.cs index 6e523939395ab..7e1ac7b05b892 100644 --- a/sdk/testcommon/Azure.Graph.Rbac/src/Generated/GroupsClient.cs +++ b/sdk/testcommon/Azure.Graph.Rbac/src/Generated/GroupsOperations.cs @@ -16,24 +16,24 @@ namespace Azure.Graph.Rbac { /// The Groups service client. - public partial class GroupsClient + public partial class GroupsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal GroupsRestClient RestClient { get; } - /// Initializes a new instance of GroupsClient for mocking. - protected GroupsClient() + internal GroupsRestOperations RestClient { get; } + /// Initializes a new instance of GroupsOperations for mocking. + protected GroupsOperations() { } - /// Initializes a new instance of GroupsClient. + /// Initializes a new instance of GroupsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The tenant ID. /// server parameter. /// Api Version. - internal GroupsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string tenantID, Uri endpoint = null, string apiVersion = "1.6") + internal GroupsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string tenantID, Uri endpoint = null, string apiVersion = "1.6") { - RestClient = new GroupsRestClient(clientDiagnostics, pipeline, tenantID, endpoint, apiVersion); + RestClient = new GroupsRestOperations(clientDiagnostics, pipeline, tenantID, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal GroupsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline /// The cancellation token to use. public virtual async Task> IsMemberOfAsync(CheckGroupMembershipParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("GroupsClient.IsMemberOf"); + using var scope = _clientDiagnostics.CreateScope("GroupsOperations.IsMemberOf"); scope.Start(); try { @@ -61,7 +61,7 @@ public virtual async Task> IsMemberOfAsync( /// The cancellation token to use. public virtual Response IsMemberOf(CheckGroupMembershipParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("GroupsClient.IsMemberOf"); + using var scope = _clientDiagnostics.CreateScope("GroupsOperations.IsMemberOf"); scope.Start(); try { @@ -80,7 +80,7 @@ public virtual Response IsMemberOf(CheckGroupMembers /// The cancellation token to use. public virtual async Task RemoveMemberAsync(string groupObjectId, string memberObjectId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("GroupsClient.RemoveMember"); + using var scope = _clientDiagnostics.CreateScope("GroupsOperations.RemoveMember"); scope.Start(); try { @@ -99,7 +99,7 @@ public virtual async Task RemoveMemberAsync(string groupObjectId, stri /// The cancellation token to use. public virtual Response RemoveMember(string groupObjectId, string memberObjectId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("GroupsClient.RemoveMember"); + using var scope = _clientDiagnostics.CreateScope("GroupsOperations.RemoveMember"); scope.Start(); try { @@ -118,7 +118,7 @@ public virtual Response RemoveMember(string groupObjectId, string memberObjectId /// The cancellation token to use. public virtual async Task AddMemberAsync(string groupObjectId, GroupAddMemberParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("GroupsClient.AddMember"); + using var scope = _clientDiagnostics.CreateScope("GroupsOperations.AddMember"); scope.Start(); try { @@ -137,7 +137,7 @@ public virtual async Task AddMemberAsync(string groupObjectId, GroupAd /// The cancellation token to use. public virtual Response AddMember(string groupObjectId, GroupAddMemberParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("GroupsClient.AddMember"); + using var scope = _clientDiagnostics.CreateScope("GroupsOperations.AddMember"); scope.Start(); try { @@ -155,7 +155,7 @@ public virtual Response AddMember(string groupObjectId, GroupAddMemberParameters /// The cancellation token to use. public virtual async Task> CreateAsync(GroupCreateParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("GroupsClient.Create"); + using var scope = _clientDiagnostics.CreateScope("GroupsOperations.Create"); scope.Start(); try { @@ -173,7 +173,7 @@ public virtual async Task> CreateAsync(GroupCreateParameters p /// The cancellation token to use. public virtual Response Create(GroupCreateParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("GroupsClient.Create"); + using var scope = _clientDiagnostics.CreateScope("GroupsOperations.Create"); scope.Start(); try { @@ -191,7 +191,7 @@ public virtual Response Create(GroupCreateParameters parameters, Cancel /// The cancellation token to use. public virtual async Task> GetAsync(string objectId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("GroupsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("GroupsOperations.Get"); scope.Start(); try { @@ -209,7 +209,7 @@ public virtual async Task> GetAsync(string objectId, Cancellat /// The cancellation token to use. public virtual Response Get(string objectId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("GroupsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("GroupsOperations.Get"); scope.Start(); try { @@ -227,7 +227,7 @@ public virtual Response Get(string objectId, CancellationToken cancella /// The cancellation token to use. public virtual async Task DeleteAsync(string objectId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("GroupsClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("GroupsOperations.Delete"); scope.Start(); try { @@ -245,7 +245,7 @@ public virtual async Task DeleteAsync(string objectId, CancellationTok /// The cancellation token to use. public virtual Response Delete(string objectId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("GroupsClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("GroupsOperations.Delete"); scope.Start(); try { @@ -264,7 +264,7 @@ public virtual Response Delete(string objectId, CancellationToken cancellationTo /// The cancellation token to use. public virtual async Task AddOwnerAsync(string objectId, AddOwnerParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("GroupsClient.AddOwner"); + using var scope = _clientDiagnostics.CreateScope("GroupsOperations.AddOwner"); scope.Start(); try { @@ -283,7 +283,7 @@ public virtual async Task AddOwnerAsync(string objectId, AddOwnerParam /// The cancellation token to use. public virtual Response AddOwner(string objectId, AddOwnerParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("GroupsClient.AddOwner"); + using var scope = _clientDiagnostics.CreateScope("GroupsOperations.AddOwner"); scope.Start(); try { @@ -302,7 +302,7 @@ public virtual Response AddOwner(string objectId, AddOwnerParameters parameters, /// The cancellation token to use. public virtual async Task RemoveOwnerAsync(string objectId, string ownerObjectId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("GroupsClient.RemoveOwner"); + using var scope = _clientDiagnostics.CreateScope("GroupsOperations.RemoveOwner"); scope.Start(); try { @@ -321,7 +321,7 @@ public virtual async Task RemoveOwnerAsync(string objectId, string own /// The cancellation token to use. public virtual Response RemoveOwner(string objectId, string ownerObjectId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("GroupsClient.RemoveOwner"); + using var scope = _clientDiagnostics.CreateScope("GroupsOperations.RemoveOwner"); scope.Start(); try { @@ -341,7 +341,7 @@ public virtual AsyncPageable ListAsync(string filter = null, Cancellati { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("GroupsOperations.List"); scope.Start(); try { @@ -356,7 +356,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("GroupsOperations.List"); scope.Start(); try { @@ -379,7 +379,7 @@ public virtual Pageable List(string filter = null, CancellationToken ca { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("GroupsOperations.List"); scope.Start(); try { @@ -394,7 +394,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("GroupsOperations.List"); scope.Start(); try { @@ -422,7 +422,7 @@ public virtual AsyncPageable GetGroupMembersAsync(string object async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GroupsClient.GetGroupMembers"); + using var scope = _clientDiagnostics.CreateScope("GroupsOperations.GetGroupMembers"); scope.Start(); try { @@ -437,7 +437,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GroupsClient.GetGroupMembers"); + using var scope = _clientDiagnostics.CreateScope("GroupsOperations.GetGroupMembers"); scope.Start(); try { @@ -465,7 +465,7 @@ public virtual Pageable GetGroupMembers(string objectId, Cancel Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GroupsClient.GetGroupMembers"); + using var scope = _clientDiagnostics.CreateScope("GroupsOperations.GetGroupMembers"); scope.Start(); try { @@ -480,7 +480,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GroupsClient.GetGroupMembers"); + using var scope = _clientDiagnostics.CreateScope("GroupsOperations.GetGroupMembers"); scope.Start(); try { @@ -513,7 +513,7 @@ public virtual AsyncPageable GetMemberGroupsAsync(string objectId, Group async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GroupsClient.GetMemberGroups"); + using var scope = _clientDiagnostics.CreateScope("GroupsOperations.GetMemberGroups"); scope.Start(); try { @@ -546,7 +546,7 @@ public virtual Pageable GetMemberGroups(string objectId, GroupGetMemberG Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GroupsClient.GetMemberGroups"); + using var scope = _clientDiagnostics.CreateScope("GroupsOperations.GetMemberGroups"); scope.Start(); try { @@ -574,7 +574,7 @@ public virtual AsyncPageable ListOwnersAsync(string objectId, C async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GroupsClient.ListOwners"); + using var scope = _clientDiagnostics.CreateScope("GroupsOperations.ListOwners"); scope.Start(); try { @@ -589,7 +589,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GroupsClient.ListOwners"); + using var scope = _clientDiagnostics.CreateScope("GroupsOperations.ListOwners"); scope.Start(); try { @@ -617,7 +617,7 @@ public virtual Pageable ListOwners(string objectId, Cancellatio Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GroupsClient.ListOwners"); + using var scope = _clientDiagnostics.CreateScope("GroupsOperations.ListOwners"); scope.Start(); try { @@ -632,7 +632,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GroupsClient.ListOwners"); + using var scope = _clientDiagnostics.CreateScope("GroupsOperations.ListOwners"); scope.Start(); try { @@ -660,7 +660,7 @@ public virtual AsyncPageable ListNextAsync(string nextLink, Cancellatio async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GroupsClient.ListNext"); + using var scope = _clientDiagnostics.CreateScope("GroupsOperations.ListNext"); scope.Start(); try { @@ -675,7 +675,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GroupsClient.ListNext"); + using var scope = _clientDiagnostics.CreateScope("GroupsOperations.ListNext"); scope.Start(); try { @@ -703,7 +703,7 @@ public virtual Pageable ListNext(string nextLink, CancellationToken can Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GroupsClient.ListNext"); + using var scope = _clientDiagnostics.CreateScope("GroupsOperations.ListNext"); scope.Start(); try { @@ -718,7 +718,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GroupsClient.ListNext"); + using var scope = _clientDiagnostics.CreateScope("GroupsOperations.ListNext"); scope.Start(); try { @@ -746,7 +746,7 @@ public virtual AsyncPageable GetGroupMembersNextAsync(string ne async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GroupsClient.GetGroupMembersNext"); + using var scope = _clientDiagnostics.CreateScope("GroupsOperations.GetGroupMembersNext"); scope.Start(); try { @@ -761,7 +761,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GroupsClient.GetGroupMembersNext"); + using var scope = _clientDiagnostics.CreateScope("GroupsOperations.GetGroupMembersNext"); scope.Start(); try { @@ -789,7 +789,7 @@ public virtual Pageable GetGroupMembersNext(string nextLink, Ca Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GroupsClient.GetGroupMembersNext"); + using var scope = _clientDiagnostics.CreateScope("GroupsOperations.GetGroupMembersNext"); scope.Start(); try { @@ -804,7 +804,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GroupsClient.GetGroupMembersNext"); + using var scope = _clientDiagnostics.CreateScope("GroupsOperations.GetGroupMembersNext"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Graph.Rbac/src/Generated/GroupsRestClient.cs b/sdk/testcommon/Azure.Graph.Rbac/src/Generated/GroupsRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Graph.Rbac/src/Generated/GroupsRestClient.cs rename to sdk/testcommon/Azure.Graph.Rbac/src/Generated/GroupsRestOperations.cs index b746223fed74c..a834cd36f64f5 100644 --- a/sdk/testcommon/Azure.Graph.Rbac/src/Generated/GroupsRestClient.cs +++ b/sdk/testcommon/Azure.Graph.Rbac/src/Generated/GroupsRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.Graph.Rbac { - internal partial class GroupsRestClient + internal partial class GroupsRestOperations { private string tenantID; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class GroupsRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of GroupsRestClient. + /// Initializes a new instance of GroupsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The tenant ID. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public GroupsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string tenantID, Uri endpoint = null, string apiVersion = "1.6") + public GroupsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string tenantID, Uri endpoint = null, string apiVersion = "1.6") { if (tenantID == null) { diff --git a/sdk/testcommon/Azure.Graph.Rbac/src/Generated/OAuth2PermissionGrantClient.cs b/sdk/testcommon/Azure.Graph.Rbac/src/Generated/OAuth2PermissionGrantOperations.cs similarity index 91% rename from sdk/testcommon/Azure.Graph.Rbac/src/Generated/OAuth2PermissionGrantClient.cs rename to sdk/testcommon/Azure.Graph.Rbac/src/Generated/OAuth2PermissionGrantOperations.cs index 690acda537f00..47706149c7fe7 100644 --- a/sdk/testcommon/Azure.Graph.Rbac/src/Generated/OAuth2PermissionGrantClient.cs +++ b/sdk/testcommon/Azure.Graph.Rbac/src/Generated/OAuth2PermissionGrantOperations.cs @@ -16,24 +16,24 @@ namespace Azure.Graph.Rbac { /// The OAuth2PermissionGrant service client. - public partial class OAuth2PermissionGrantClient + public partial class OAuth2PermissionGrantOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal OAuth2PermissionGrantRestClient RestClient { get; } - /// Initializes a new instance of OAuth2PermissionGrantClient for mocking. - protected OAuth2PermissionGrantClient() + internal OAuth2PermissionGrantRestOperations RestClient { get; } + /// Initializes a new instance of OAuth2PermissionGrantOperations for mocking. + protected OAuth2PermissionGrantOperations() { } - /// Initializes a new instance of OAuth2PermissionGrantClient. + /// Initializes a new instance of OAuth2PermissionGrantOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The tenant ID. /// server parameter. /// Api Version. - internal OAuth2PermissionGrantClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string tenantID, Uri endpoint = null, string apiVersion = "1.6") + internal OAuth2PermissionGrantOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string tenantID, Uri endpoint = null, string apiVersion = "1.6") { - RestClient = new OAuth2PermissionGrantRestClient(clientDiagnostics, pipeline, tenantID, endpoint, apiVersion); + RestClient = new OAuth2PermissionGrantRestOperations(clientDiagnostics, pipeline, tenantID, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal OAuth2PermissionGrantClient(ClientDiagnostics clientDiagnostics, HttpPi /// The cancellation token to use. public virtual async Task> CreateAsync(OAuth2PermissionGrant body = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("OAuth2PermissionGrantClient.Create"); + using var scope = _clientDiagnostics.CreateScope("OAuth2PermissionGrantOperations.Create"); scope.Start(); try { @@ -61,7 +61,7 @@ public virtual async Task> CreateAsync(OAuth2Per /// The cancellation token to use. public virtual Response Create(OAuth2PermissionGrant body = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("OAuth2PermissionGrantClient.Create"); + using var scope = _clientDiagnostics.CreateScope("OAuth2PermissionGrantOperations.Create"); scope.Start(); try { @@ -79,7 +79,7 @@ public virtual Response Create(OAuth2PermissionGrant body /// The cancellation token to use. public virtual async Task DeleteAsync(string objectId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("OAuth2PermissionGrantClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("OAuth2PermissionGrantOperations.Delete"); scope.Start(); try { @@ -97,7 +97,7 @@ public virtual async Task DeleteAsync(string objectId, CancellationTok /// The cancellation token to use. public virtual Response Delete(string objectId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("OAuth2PermissionGrantClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("OAuth2PermissionGrantOperations.Delete"); scope.Start(); try { @@ -117,7 +117,7 @@ public virtual AsyncPageable ListAsync(string filter = nu { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("OAuth2PermissionGrantClient.List"); + using var scope = _clientDiagnostics.CreateScope("OAuth2PermissionGrantOperations.List"); scope.Start(); try { @@ -132,7 +132,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("OAuth2PermissionGrantClient.List"); + using var scope = _clientDiagnostics.CreateScope("OAuth2PermissionGrantOperations.List"); scope.Start(); try { @@ -155,7 +155,7 @@ public virtual Pageable List(string filter = null, Cancel { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("OAuth2PermissionGrantClient.List"); + using var scope = _clientDiagnostics.CreateScope("OAuth2PermissionGrantOperations.List"); scope.Start(); try { @@ -170,7 +170,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("OAuth2PermissionGrantClient.List"); + using var scope = _clientDiagnostics.CreateScope("OAuth2PermissionGrantOperations.List"); scope.Start(); try { @@ -198,7 +198,7 @@ public virtual AsyncPageable ListNextAsync(string nextLin async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("OAuth2PermissionGrantClient.ListNext"); + using var scope = _clientDiagnostics.CreateScope("OAuth2PermissionGrantOperations.ListNext"); scope.Start(); try { @@ -213,7 +213,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("OAuth2PermissionGrantClient.ListNext"); + using var scope = _clientDiagnostics.CreateScope("OAuth2PermissionGrantOperations.ListNext"); scope.Start(); try { @@ -241,7 +241,7 @@ public virtual Pageable ListNext(string nextLink, Cancell Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("OAuth2PermissionGrantClient.ListNext"); + using var scope = _clientDiagnostics.CreateScope("OAuth2PermissionGrantOperations.ListNext"); scope.Start(); try { @@ -256,7 +256,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("OAuth2PermissionGrantClient.ListNext"); + using var scope = _clientDiagnostics.CreateScope("OAuth2PermissionGrantOperations.ListNext"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Graph.Rbac/src/Generated/OAuth2PermissionGrantRestClient.cs b/sdk/testcommon/Azure.Graph.Rbac/src/Generated/OAuth2PermissionGrantRestOperations.cs similarity index 98% rename from sdk/testcommon/Azure.Graph.Rbac/src/Generated/OAuth2PermissionGrantRestClient.cs rename to sdk/testcommon/Azure.Graph.Rbac/src/Generated/OAuth2PermissionGrantRestOperations.cs index 56c635ff219e7..e7533892f60c9 100644 --- a/sdk/testcommon/Azure.Graph.Rbac/src/Generated/OAuth2PermissionGrantRestClient.cs +++ b/sdk/testcommon/Azure.Graph.Rbac/src/Generated/OAuth2PermissionGrantRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.Graph.Rbac { - internal partial class OAuth2PermissionGrantRestClient + internal partial class OAuth2PermissionGrantRestOperations { private string tenantID; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class OAuth2PermissionGrantRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of OAuth2PermissionGrantRestClient. + /// Initializes a new instance of OAuth2PermissionGrantRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The tenant ID. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public OAuth2PermissionGrantRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string tenantID, Uri endpoint = null, string apiVersion = "1.6") + public OAuth2PermissionGrantRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string tenantID, Uri endpoint = null, string apiVersion = "1.6") { if (tenantID == null) { diff --git a/sdk/testcommon/Azure.Graph.Rbac/src/Generated/ObjectsClient.cs b/sdk/testcommon/Azure.Graph.Rbac/src/Generated/ObjectsOperations.cs similarity index 90% rename from sdk/testcommon/Azure.Graph.Rbac/src/Generated/ObjectsClient.cs rename to sdk/testcommon/Azure.Graph.Rbac/src/Generated/ObjectsOperations.cs index ddac4b82ccea7..1863e1ecb459c 100644 --- a/sdk/testcommon/Azure.Graph.Rbac/src/Generated/ObjectsClient.cs +++ b/sdk/testcommon/Azure.Graph.Rbac/src/Generated/ObjectsOperations.cs @@ -16,24 +16,24 @@ namespace Azure.Graph.Rbac { /// The Objects service client. - public partial class ObjectsClient + public partial class ObjectsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ObjectsRestClient RestClient { get; } - /// Initializes a new instance of ObjectsClient for mocking. - protected ObjectsClient() + internal ObjectsRestOperations RestClient { get; } + /// Initializes a new instance of ObjectsOperations for mocking. + protected ObjectsOperations() { } - /// Initializes a new instance of ObjectsClient. + /// Initializes a new instance of ObjectsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The tenant ID. /// server parameter. /// Api Version. - internal ObjectsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string tenantID, Uri endpoint = null, string apiVersion = "1.6") + internal ObjectsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string tenantID, Uri endpoint = null, string apiVersion = "1.6") { - RestClient = new ObjectsRestClient(clientDiagnostics, pipeline, tenantID, endpoint, apiVersion); + RestClient = new ObjectsRestOperations(clientDiagnostics, pipeline, tenantID, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -50,7 +50,7 @@ public virtual AsyncPageable GetObjectsByObjectIdsAsync(GetObje async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ObjectsClient.GetObjectsByObjectIds"); + using var scope = _clientDiagnostics.CreateScope("ObjectsOperations.GetObjectsByObjectIds"); scope.Start(); try { @@ -65,7 +65,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ObjectsClient.GetObjectsByObjectIds"); + using var scope = _clientDiagnostics.CreateScope("ObjectsOperations.GetObjectsByObjectIds"); scope.Start(); try { @@ -93,7 +93,7 @@ public virtual Pageable GetObjectsByObjectIds(GetObjectsParamet Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ObjectsClient.GetObjectsByObjectIds"); + using var scope = _clientDiagnostics.CreateScope("ObjectsOperations.GetObjectsByObjectIds"); scope.Start(); try { @@ -108,7 +108,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ObjectsClient.GetObjectsByObjectIds"); + using var scope = _clientDiagnostics.CreateScope("ObjectsOperations.GetObjectsByObjectIds"); scope.Start(); try { @@ -136,7 +136,7 @@ public virtual AsyncPageable GetObjectsByObjectIdsNextAsync(str async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ObjectsClient.GetObjectsByObjectIdsNext"); + using var scope = _clientDiagnostics.CreateScope("ObjectsOperations.GetObjectsByObjectIdsNext"); scope.Start(); try { @@ -151,7 +151,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ObjectsClient.GetObjectsByObjectIdsNext"); + using var scope = _clientDiagnostics.CreateScope("ObjectsOperations.GetObjectsByObjectIdsNext"); scope.Start(); try { @@ -179,7 +179,7 @@ public virtual Pageable GetObjectsByObjectIdsNext(string nextLi Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ObjectsClient.GetObjectsByObjectIdsNext"); + using var scope = _clientDiagnostics.CreateScope("ObjectsOperations.GetObjectsByObjectIdsNext"); scope.Start(); try { @@ -194,7 +194,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ObjectsClient.GetObjectsByObjectIdsNext"); + using var scope = _clientDiagnostics.CreateScope("ObjectsOperations.GetObjectsByObjectIdsNext"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Graph.Rbac/src/Generated/ObjectsRestClient.cs b/sdk/testcommon/Azure.Graph.Rbac/src/Generated/ObjectsRestOperations.cs similarity index 97% rename from sdk/testcommon/Azure.Graph.Rbac/src/Generated/ObjectsRestClient.cs rename to sdk/testcommon/Azure.Graph.Rbac/src/Generated/ObjectsRestOperations.cs index 0bdfaca414c84..180f0d431c616 100644 --- a/sdk/testcommon/Azure.Graph.Rbac/src/Generated/ObjectsRestClient.cs +++ b/sdk/testcommon/Azure.Graph.Rbac/src/Generated/ObjectsRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.Graph.Rbac { - internal partial class ObjectsRestClient + internal partial class ObjectsRestOperations { private string tenantID; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class ObjectsRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ObjectsRestClient. + /// Initializes a new instance of ObjectsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The tenant ID. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public ObjectsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string tenantID, Uri endpoint = null, string apiVersion = "1.6") + public ObjectsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string tenantID, Uri endpoint = null, string apiVersion = "1.6") { if (tenantID == null) { diff --git a/sdk/testcommon/Azure.Graph.Rbac/src/Generated/RbacManagementClient.cs b/sdk/testcommon/Azure.Graph.Rbac/src/Generated/RbacManagementClient.cs index 36865a9bf5551..c14f306e3c99b 100644 --- a/sdk/testcommon/Azure.Graph.Rbac/src/Generated/RbacManagementClient.cs +++ b/sdk/testcommon/Azure.Graph.Rbac/src/Generated/RbacManagementClient.cs @@ -53,58 +53,31 @@ public RbacManagementClient(string tenantID, Uri endpoint, TokenCredential token _endpoint = endpoint; } - /// Creates a new instance of SignedInUserClient. - public virtual SignedInUserClient GetSignedInUserClient() - { - return new SignedInUserClient(_clientDiagnostics, _pipeline, _tenantID, _endpoint); - } + /// Returns an instance of SignedInUserOperations. + public virtual SignedInUserOperations SignedInUser => new SignedInUserOperations(_clientDiagnostics, _pipeline, _tenantID, _endpoint); - /// Creates a new instance of ApplicationsClient. - public virtual ApplicationsClient GetApplicationsClient() - { - return new ApplicationsClient(_clientDiagnostics, _pipeline, _tenantID, _endpoint); - } + /// Returns an instance of ApplicationsOperations. + public virtual ApplicationsOperations Applications => new ApplicationsOperations(_clientDiagnostics, _pipeline, _tenantID, _endpoint); - /// Creates a new instance of DeletedApplicationsClient. - public virtual DeletedApplicationsClient GetDeletedApplicationsClient() - { - return new DeletedApplicationsClient(_clientDiagnostics, _pipeline, _tenantID, _endpoint); - } + /// Returns an instance of DeletedApplicationsOperations. + public virtual DeletedApplicationsOperations DeletedApplications => new DeletedApplicationsOperations(_clientDiagnostics, _pipeline, _tenantID, _endpoint); - /// Creates a new instance of GroupsClient. - public virtual GroupsClient GetGroupsClient() - { - return new GroupsClient(_clientDiagnostics, _pipeline, _tenantID, _endpoint); - } + /// Returns an instance of GroupsOperations. + public virtual GroupsOperations Groups => new GroupsOperations(_clientDiagnostics, _pipeline, _tenantID, _endpoint); - /// Creates a new instance of ServicePrincipalsClient. - public virtual ServicePrincipalsClient GetServicePrincipalsClient() - { - return new ServicePrincipalsClient(_clientDiagnostics, _pipeline, _tenantID, _endpoint); - } + /// Returns an instance of ServicePrincipalsOperations. + public virtual ServicePrincipalsOperations ServicePrincipals => new ServicePrincipalsOperations(_clientDiagnostics, _pipeline, _tenantID, _endpoint); - /// Creates a new instance of UsersClient. - public virtual UsersClient GetUsersClient() - { - return new UsersClient(_clientDiagnostics, _pipeline, _tenantID, _endpoint); - } + /// Returns an instance of UsersOperations. + public virtual UsersOperations Users => new UsersOperations(_clientDiagnostics, _pipeline, _tenantID, _endpoint); - /// Creates a new instance of ObjectsClient. - public virtual ObjectsClient GetObjectsClient() - { - return new ObjectsClient(_clientDiagnostics, _pipeline, _tenantID, _endpoint); - } + /// Returns an instance of ObjectsOperations. + public virtual ObjectsOperations Objects => new ObjectsOperations(_clientDiagnostics, _pipeline, _tenantID, _endpoint); - /// Creates a new instance of DomainsClient. - public virtual DomainsClient GetDomainsClient() - { - return new DomainsClient(_clientDiagnostics, _pipeline, _tenantID, _endpoint); - } + /// Returns an instance of DomainsOperations. + public virtual DomainsOperations Domains => new DomainsOperations(_clientDiagnostics, _pipeline, _tenantID, _endpoint); - /// Creates a new instance of OAuth2PermissionGrantClient. - public virtual OAuth2PermissionGrantClient GetOAuth2PermissionGrantClient() - { - return new OAuth2PermissionGrantClient(_clientDiagnostics, _pipeline, _tenantID, _endpoint); - } + /// Returns an instance of OAuth2PermissionGrantOperations. + public virtual OAuth2PermissionGrantOperations OAuth2PermissionGrant => new OAuth2PermissionGrantOperations(_clientDiagnostics, _pipeline, _tenantID, _endpoint); } } diff --git a/sdk/testcommon/Azure.Graph.Rbac/src/Generated/ServicePrincipalsClient.cs b/sdk/testcommon/Azure.Graph.Rbac/src/Generated/ServicePrincipalsOperations.cs similarity index 94% rename from sdk/testcommon/Azure.Graph.Rbac/src/Generated/ServicePrincipalsClient.cs rename to sdk/testcommon/Azure.Graph.Rbac/src/Generated/ServicePrincipalsOperations.cs index 5a20272db0b35..eea7b6c5327e0 100644 --- a/sdk/testcommon/Azure.Graph.Rbac/src/Generated/ServicePrincipalsClient.cs +++ b/sdk/testcommon/Azure.Graph.Rbac/src/Generated/ServicePrincipalsOperations.cs @@ -16,24 +16,24 @@ namespace Azure.Graph.Rbac { /// The ServicePrincipals service client. - public partial class ServicePrincipalsClient + public partial class ServicePrincipalsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ServicePrincipalsRestClient RestClient { get; } - /// Initializes a new instance of ServicePrincipalsClient for mocking. - protected ServicePrincipalsClient() + internal ServicePrincipalsRestOperations RestClient { get; } + /// Initializes a new instance of ServicePrincipalsOperations for mocking. + protected ServicePrincipalsOperations() { } - /// Initializes a new instance of ServicePrincipalsClient. + /// Initializes a new instance of ServicePrincipalsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The tenant ID. /// server parameter. /// Api Version. - internal ServicePrincipalsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string tenantID, Uri endpoint = null, string apiVersion = "1.6") + internal ServicePrincipalsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string tenantID, Uri endpoint = null, string apiVersion = "1.6") { - RestClient = new ServicePrincipalsRestClient(clientDiagnostics, pipeline, tenantID, endpoint, apiVersion); + RestClient = new ServicePrincipalsRestOperations(clientDiagnostics, pipeline, tenantID, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal ServicePrincipalsClient(ClientDiagnostics clientDiagnostics, HttpPipeli /// The cancellation token to use. public virtual async Task> CreateAsync(ServicePrincipalCreateParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsClient.Create"); + using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsOperations.Create"); scope.Start(); try { @@ -61,7 +61,7 @@ public virtual async Task> CreateAsync(ServicePrincip /// The cancellation token to use. public virtual Response Create(ServicePrincipalCreateParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsClient.Create"); + using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsOperations.Create"); scope.Start(); try { @@ -80,7 +80,7 @@ public virtual Response Create(ServicePrincipalCreateParameter /// The cancellation token to use. public virtual async Task UpdateAsync(string objectId, ServicePrincipalBase parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsClient.Update"); + using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsOperations.Update"); scope.Start(); try { @@ -99,7 +99,7 @@ public virtual async Task UpdateAsync(string objectId, ServicePrincipa /// The cancellation token to use. public virtual Response Update(string objectId, ServicePrincipalBase parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsClient.Update"); + using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsOperations.Update"); scope.Start(); try { @@ -117,7 +117,7 @@ public virtual Response Update(string objectId, ServicePrincipalBase parameters, /// The cancellation token to use. public virtual async Task DeleteAsync(string objectId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsOperations.Delete"); scope.Start(); try { @@ -135,7 +135,7 @@ public virtual async Task DeleteAsync(string objectId, CancellationTok /// The cancellation token to use. public virtual Response Delete(string objectId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsOperations.Delete"); scope.Start(); try { @@ -153,7 +153,7 @@ public virtual Response Delete(string objectId, CancellationToken cancellationTo /// The cancellation token to use. public virtual async Task> GetAsync(string objectId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsOperations.Get"); scope.Start(); try { @@ -171,7 +171,7 @@ public virtual async Task> GetAsync(string objectId, /// The cancellation token to use. public virtual Response Get(string objectId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsOperations.Get"); scope.Start(); try { @@ -190,7 +190,7 @@ public virtual Response Get(string objectId, CancellationToken /// The cancellation token to use. public virtual async Task UpdateKeyCredentialsAsync(string objectId, KeyCredentialsUpdateParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsClient.UpdateKeyCredentials"); + using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsOperations.UpdateKeyCredentials"); scope.Start(); try { @@ -209,7 +209,7 @@ public virtual async Task UpdateKeyCredentialsAsync(string objectId, K /// The cancellation token to use. public virtual Response UpdateKeyCredentials(string objectId, KeyCredentialsUpdateParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsClient.UpdateKeyCredentials"); + using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsOperations.UpdateKeyCredentials"); scope.Start(); try { @@ -228,7 +228,7 @@ public virtual Response UpdateKeyCredentials(string objectId, KeyCredentialsUpda /// The cancellation token to use. public virtual async Task UpdatePasswordCredentialsAsync(string objectId, PasswordCredentialsUpdateParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsClient.UpdatePasswordCredentials"); + using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsOperations.UpdatePasswordCredentials"); scope.Start(); try { @@ -247,7 +247,7 @@ public virtual async Task UpdatePasswordCredentialsAsync(string object /// The cancellation token to use. public virtual Response UpdatePasswordCredentials(string objectId, PasswordCredentialsUpdateParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsClient.UpdatePasswordCredentials"); + using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsOperations.UpdatePasswordCredentials"); scope.Start(); try { @@ -267,7 +267,7 @@ public virtual AsyncPageable ListAsync(string filter = null, C { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsOperations.List"); scope.Start(); try { @@ -282,7 +282,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsOperations.List"); scope.Start(); try { @@ -305,7 +305,7 @@ public virtual Pageable List(string filter = null, Cancellatio { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsOperations.List"); scope.Start(); try { @@ -320,7 +320,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsOperations.List"); scope.Start(); try { @@ -348,7 +348,7 @@ public virtual AsyncPageable ListOwnersAsync(string objectId, C async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsClient.ListOwners"); + using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsOperations.ListOwners"); scope.Start(); try { @@ -363,7 +363,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsClient.ListOwners"); + using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsOperations.ListOwners"); scope.Start(); try { @@ -391,7 +391,7 @@ public virtual Pageable ListOwners(string objectId, Cancellatio Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsClient.ListOwners"); + using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsOperations.ListOwners"); scope.Start(); try { @@ -406,7 +406,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsClient.ListOwners"); + using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsOperations.ListOwners"); scope.Start(); try { @@ -434,7 +434,7 @@ public virtual AsyncPageable ListKeyCredentialsAsync(string objec async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsClient.ListKeyCredentials"); + using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsOperations.ListKeyCredentials"); scope.Start(); try { @@ -462,7 +462,7 @@ public virtual Pageable ListKeyCredentials(string objectId, Cance Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsClient.ListKeyCredentials"); + using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsOperations.ListKeyCredentials"); scope.Start(); try { @@ -490,7 +490,7 @@ public virtual AsyncPageable ListPasswordCredentialsAsync(st async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsClient.ListPasswordCredentials"); + using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsOperations.ListPasswordCredentials"); scope.Start(); try { @@ -518,7 +518,7 @@ public virtual Pageable ListPasswordCredentials(string objec Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsClient.ListPasswordCredentials"); + using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsOperations.ListPasswordCredentials"); scope.Start(); try { @@ -546,7 +546,7 @@ public virtual AsyncPageable ListNextAsync(string nextLink, Ca async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsClient.ListNext"); + using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsOperations.ListNext"); scope.Start(); try { @@ -561,7 +561,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsClient.ListNext"); + using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsOperations.ListNext"); scope.Start(); try { @@ -589,7 +589,7 @@ public virtual Pageable ListNext(string nextLink, Cancellation Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsClient.ListNext"); + using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsOperations.ListNext"); scope.Start(); try { @@ -604,7 +604,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsClient.ListNext"); + using var scope = _clientDiagnostics.CreateScope("ServicePrincipalsOperations.ListNext"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Graph.Rbac/src/Generated/ServicePrincipalsRestClient.cs b/sdk/testcommon/Azure.Graph.Rbac/src/Generated/ServicePrincipalsRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Graph.Rbac/src/Generated/ServicePrincipalsRestClient.cs rename to sdk/testcommon/Azure.Graph.Rbac/src/Generated/ServicePrincipalsRestOperations.cs index 3406c38c73e45..a5135be6c807d 100644 --- a/sdk/testcommon/Azure.Graph.Rbac/src/Generated/ServicePrincipalsRestClient.cs +++ b/sdk/testcommon/Azure.Graph.Rbac/src/Generated/ServicePrincipalsRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.Graph.Rbac { - internal partial class ServicePrincipalsRestClient + internal partial class ServicePrincipalsRestOperations { private string tenantID; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class ServicePrincipalsRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ServicePrincipalsRestClient. + /// Initializes a new instance of ServicePrincipalsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The tenant ID. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public ServicePrincipalsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string tenantID, Uri endpoint = null, string apiVersion = "1.6") + public ServicePrincipalsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string tenantID, Uri endpoint = null, string apiVersion = "1.6") { if (tenantID == null) { diff --git a/sdk/testcommon/Azure.Graph.Rbac/src/Generated/SignedInUserClient.cs b/sdk/testcommon/Azure.Graph.Rbac/src/Generated/SignedInUserOperations.cs similarity index 91% rename from sdk/testcommon/Azure.Graph.Rbac/src/Generated/SignedInUserClient.cs rename to sdk/testcommon/Azure.Graph.Rbac/src/Generated/SignedInUserOperations.cs index eb09b237a929c..d730e930b2ed4 100644 --- a/sdk/testcommon/Azure.Graph.Rbac/src/Generated/SignedInUserClient.cs +++ b/sdk/testcommon/Azure.Graph.Rbac/src/Generated/SignedInUserOperations.cs @@ -16,24 +16,24 @@ namespace Azure.Graph.Rbac { /// The SignedInUser service client. - public partial class SignedInUserClient + public partial class SignedInUserOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal SignedInUserRestClient RestClient { get; } - /// Initializes a new instance of SignedInUserClient for mocking. - protected SignedInUserClient() + internal SignedInUserRestOperations RestClient { get; } + /// Initializes a new instance of SignedInUserOperations for mocking. + protected SignedInUserOperations() { } - /// Initializes a new instance of SignedInUserClient. + /// Initializes a new instance of SignedInUserOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The tenant ID. /// server parameter. /// Api Version. - internal SignedInUserClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string tenantID, Uri endpoint = null, string apiVersion = "1.6") + internal SignedInUserOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string tenantID, Uri endpoint = null, string apiVersion = "1.6") { - RestClient = new SignedInUserRestClient(clientDiagnostics, pipeline, tenantID, endpoint, apiVersion); + RestClient = new SignedInUserRestOperations(clientDiagnostics, pipeline, tenantID, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -42,7 +42,7 @@ internal SignedInUserClient(ClientDiagnostics clientDiagnostics, HttpPipeline pi /// The cancellation token to use. public virtual async Task> GetAsync(CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("SignedInUserClient.Get"); + using var scope = _clientDiagnostics.CreateScope("SignedInUserOperations.Get"); scope.Start(); try { @@ -59,7 +59,7 @@ public virtual async Task> GetAsync(CancellationToken cancellatio /// The cancellation token to use. public virtual Response Get(CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("SignedInUserClient.Get"); + using var scope = _clientDiagnostics.CreateScope("SignedInUserOperations.Get"); scope.Start(); try { @@ -78,7 +78,7 @@ public virtual AsyncPageable ListOwnedObjectsAsync(Cancellation { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SignedInUserClient.ListOwnedObjects"); + using var scope = _clientDiagnostics.CreateScope("SignedInUserOperations.ListOwnedObjects"); scope.Start(); try { @@ -93,7 +93,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SignedInUserClient.ListOwnedObjects"); + using var scope = _clientDiagnostics.CreateScope("SignedInUserOperations.ListOwnedObjects"); scope.Start(); try { @@ -115,7 +115,7 @@ public virtual Pageable ListOwnedObjects(CancellationToken canc { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SignedInUserClient.ListOwnedObjects"); + using var scope = _clientDiagnostics.CreateScope("SignedInUserOperations.ListOwnedObjects"); scope.Start(); try { @@ -130,7 +130,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SignedInUserClient.ListOwnedObjects"); + using var scope = _clientDiagnostics.CreateScope("SignedInUserOperations.ListOwnedObjects"); scope.Start(); try { @@ -158,7 +158,7 @@ public virtual AsyncPageable ListOwnedObjectsNextAsync(string n async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SignedInUserClient.ListOwnedObjectsNext"); + using var scope = _clientDiagnostics.CreateScope("SignedInUserOperations.ListOwnedObjectsNext"); scope.Start(); try { @@ -173,7 +173,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SignedInUserClient.ListOwnedObjectsNext"); + using var scope = _clientDiagnostics.CreateScope("SignedInUserOperations.ListOwnedObjectsNext"); scope.Start(); try { @@ -201,7 +201,7 @@ public virtual Pageable ListOwnedObjectsNext(string nextLink, C Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SignedInUserClient.ListOwnedObjectsNext"); + using var scope = _clientDiagnostics.CreateScope("SignedInUserOperations.ListOwnedObjectsNext"); scope.Start(); try { @@ -216,7 +216,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SignedInUserClient.ListOwnedObjectsNext"); + using var scope = _clientDiagnostics.CreateScope("SignedInUserOperations.ListOwnedObjectsNext"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Graph.Rbac/src/Generated/SignedInUserRestClient.cs b/sdk/testcommon/Azure.Graph.Rbac/src/Generated/SignedInUserRestOperations.cs similarity index 98% rename from sdk/testcommon/Azure.Graph.Rbac/src/Generated/SignedInUserRestClient.cs rename to sdk/testcommon/Azure.Graph.Rbac/src/Generated/SignedInUserRestOperations.cs index 75d698583e098..7db8a9d09a05e 100644 --- a/sdk/testcommon/Azure.Graph.Rbac/src/Generated/SignedInUserRestClient.cs +++ b/sdk/testcommon/Azure.Graph.Rbac/src/Generated/SignedInUserRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.Graph.Rbac { - internal partial class SignedInUserRestClient + internal partial class SignedInUserRestOperations { private string tenantID; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class SignedInUserRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of SignedInUserRestClient. + /// Initializes a new instance of SignedInUserRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The tenant ID. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public SignedInUserRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string tenantID, Uri endpoint = null, string apiVersion = "1.6") + public SignedInUserRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string tenantID, Uri endpoint = null, string apiVersion = "1.6") { if (tenantID == null) { diff --git a/sdk/testcommon/Azure.Graph.Rbac/src/Generated/UsersClient.cs b/sdk/testcommon/Azure.Graph.Rbac/src/Generated/UsersOperations.cs similarity index 94% rename from sdk/testcommon/Azure.Graph.Rbac/src/Generated/UsersClient.cs rename to sdk/testcommon/Azure.Graph.Rbac/src/Generated/UsersOperations.cs index 19780d775826e..e4e6125adefef 100644 --- a/sdk/testcommon/Azure.Graph.Rbac/src/Generated/UsersClient.cs +++ b/sdk/testcommon/Azure.Graph.Rbac/src/Generated/UsersOperations.cs @@ -16,24 +16,24 @@ namespace Azure.Graph.Rbac { /// The Users service client. - public partial class UsersClient + public partial class UsersOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal UsersRestClient RestClient { get; } - /// Initializes a new instance of UsersClient for mocking. - protected UsersClient() + internal UsersRestOperations RestClient { get; } + /// Initializes a new instance of UsersOperations for mocking. + protected UsersOperations() { } - /// Initializes a new instance of UsersClient. + /// Initializes a new instance of UsersOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The tenant ID. /// server parameter. /// Api Version. - internal UsersClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string tenantID, Uri endpoint = null, string apiVersion = "1.6") + internal UsersOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string tenantID, Uri endpoint = null, string apiVersion = "1.6") { - RestClient = new UsersRestClient(clientDiagnostics, pipeline, tenantID, endpoint, apiVersion); + RestClient = new UsersRestOperations(clientDiagnostics, pipeline, tenantID, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal UsersClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, /// The cancellation token to use. public virtual async Task> CreateAsync(UserCreateParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("UsersClient.Create"); + using var scope = _clientDiagnostics.CreateScope("UsersOperations.Create"); scope.Start(); try { @@ -61,7 +61,7 @@ public virtual async Task> CreateAsync(UserCreateParameters param /// The cancellation token to use. public virtual Response Create(UserCreateParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("UsersClient.Create"); + using var scope = _clientDiagnostics.CreateScope("UsersOperations.Create"); scope.Start(); try { @@ -79,7 +79,7 @@ public virtual Response Create(UserCreateParameters parameters, Cancellati /// The cancellation token to use. public virtual async Task> GetAsync(string upnOrObjectId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("UsersClient.Get"); + using var scope = _clientDiagnostics.CreateScope("UsersOperations.Get"); scope.Start(); try { @@ -97,7 +97,7 @@ public virtual async Task> GetAsync(string upnOrObjectId, Cancell /// The cancellation token to use. public virtual Response Get(string upnOrObjectId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("UsersClient.Get"); + using var scope = _clientDiagnostics.CreateScope("UsersOperations.Get"); scope.Start(); try { @@ -116,7 +116,7 @@ public virtual Response Get(string upnOrObjectId, CancellationToken cancel /// The cancellation token to use. public virtual async Task UpdateAsync(string upnOrObjectId, UserUpdateParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("UsersClient.Update"); + using var scope = _clientDiagnostics.CreateScope("UsersOperations.Update"); scope.Start(); try { @@ -135,7 +135,7 @@ public virtual async Task UpdateAsync(string upnOrObjectId, UserUpdate /// The cancellation token to use. public virtual Response Update(string upnOrObjectId, UserUpdateParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("UsersClient.Update"); + using var scope = _clientDiagnostics.CreateScope("UsersOperations.Update"); scope.Start(); try { @@ -153,7 +153,7 @@ public virtual Response Update(string upnOrObjectId, UserUpdateParameters parame /// The cancellation token to use. public virtual async Task DeleteAsync(string upnOrObjectId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("UsersClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("UsersOperations.Delete"); scope.Start(); try { @@ -171,7 +171,7 @@ public virtual async Task DeleteAsync(string upnOrObjectId, Cancellati /// The cancellation token to use. public virtual Response Delete(string upnOrObjectId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("UsersClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("UsersOperations.Delete"); scope.Start(); try { @@ -191,7 +191,7 @@ public virtual AsyncPageable ListAsync(string filter = null, CancellationT { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("UsersClient.List"); + using var scope = _clientDiagnostics.CreateScope("UsersOperations.List"); scope.Start(); try { @@ -206,7 +206,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("UsersClient.List"); + using var scope = _clientDiagnostics.CreateScope("UsersOperations.List"); scope.Start(); try { @@ -229,7 +229,7 @@ public virtual Pageable List(string filter = null, CancellationToken cance { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("UsersClient.List"); + using var scope = _clientDiagnostics.CreateScope("UsersOperations.List"); scope.Start(); try { @@ -244,7 +244,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("UsersClient.List"); + using var scope = _clientDiagnostics.CreateScope("UsersOperations.List"); scope.Start(); try { @@ -277,7 +277,7 @@ public virtual AsyncPageable GetMemberGroupsAsync(string objectId, UserG async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("UsersClient.GetMemberGroups"); + using var scope = _clientDiagnostics.CreateScope("UsersOperations.GetMemberGroups"); scope.Start(); try { @@ -310,7 +310,7 @@ public virtual Pageable GetMemberGroups(string objectId, UserGetMemberGr Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("UsersClient.GetMemberGroups"); + using var scope = _clientDiagnostics.CreateScope("UsersOperations.GetMemberGroups"); scope.Start(); try { @@ -338,7 +338,7 @@ public virtual AsyncPageable ListNextAsync(string nextLink, CancellationTo async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("UsersClient.ListNext"); + using var scope = _clientDiagnostics.CreateScope("UsersOperations.ListNext"); scope.Start(); try { @@ -353,7 +353,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("UsersClient.ListNext"); + using var scope = _clientDiagnostics.CreateScope("UsersOperations.ListNext"); scope.Start(); try { @@ -381,7 +381,7 @@ public virtual Pageable ListNext(string nextLink, CancellationToken cancel Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("UsersClient.ListNext"); + using var scope = _clientDiagnostics.CreateScope("UsersOperations.ListNext"); scope.Start(); try { @@ -396,7 +396,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("UsersClient.ListNext"); + using var scope = _clientDiagnostics.CreateScope("UsersOperations.ListNext"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Graph.Rbac/src/Generated/UsersRestClient.cs b/sdk/testcommon/Azure.Graph.Rbac/src/Generated/UsersRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Graph.Rbac/src/Generated/UsersRestClient.cs rename to sdk/testcommon/Azure.Graph.Rbac/src/Generated/UsersRestOperations.cs index 63148774e6894..c98af1a46b077 100644 --- a/sdk/testcommon/Azure.Graph.Rbac/src/Generated/UsersRestClient.cs +++ b/sdk/testcommon/Azure.Graph.Rbac/src/Generated/UsersRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.Graph.Rbac { - internal partial class UsersRestClient + internal partial class UsersRestOperations { private string tenantID; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class UsersRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of UsersRestClient. + /// Initializes a new instance of UsersRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The tenant ID. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public UsersRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string tenantID, Uri endpoint = null, string apiVersion = "1.6") + public UsersRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string tenantID, Uri endpoint = null, string apiVersion = "1.6") { if (tenantID == null) { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/AvailabilitySetsClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/AvailabilitySetsOperations.cs similarity index 94% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/AvailabilitySetsClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/AvailabilitySetsOperations.cs index 325966d585748..c092862d222b4 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/AvailabilitySetsClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/AvailabilitySetsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Compute { /// The AvailabilitySets service client. - public partial class AvailabilitySetsClient + public partial class AvailabilitySetsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal AvailabilitySetsRestClient RestClient { get; } - /// Initializes a new instance of AvailabilitySetsClient for mocking. - protected AvailabilitySetsClient() + internal AvailabilitySetsRestOperations RestClient { get; } + /// Initializes a new instance of AvailabilitySetsOperations for mocking. + protected AvailabilitySetsOperations() { } - /// Initializes a new instance of AvailabilitySetsClient. + /// Initializes a new instance of AvailabilitySetsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal AvailabilitySetsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal AvailabilitySetsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new AvailabilitySetsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new AvailabilitySetsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal AvailabilitySetsClient(ClientDiagnostics clientDiagnostics, HttpPipelin /// The cancellation token to use. public virtual async Task> CreateOrUpdateAsync(string resourceGroupName, string availabilitySetName, AvailabilitySet parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsOperations.CreateOrUpdate"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> CreateOrUpdateAsync(string /// The cancellation token to use. public virtual Response CreateOrUpdate(string resourceGroupName, string availabilitySetName, AvailabilitySet parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsOperations.CreateOrUpdate"); scope.Start(); try { @@ -84,7 +84,7 @@ public virtual Response CreateOrUpdate(string resourceGroupName /// The cancellation token to use. public virtual async Task> UpdateAsync(string resourceGroupName, string availabilitySetName, AvailabilitySetUpdate parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsClient.Update"); + using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsOperations.Update"); scope.Start(); try { @@ -104,7 +104,7 @@ public virtual async Task> UpdateAsync(string resource /// The cancellation token to use. public virtual Response Update(string resourceGroupName, string availabilitySetName, AvailabilitySetUpdate parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsClient.Update"); + using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsOperations.Update"); scope.Start(); try { @@ -123,7 +123,7 @@ public virtual Response Update(string resourceGroupName, string /// The cancellation token to use. public virtual async Task DeleteAsync(string resourceGroupName, string availabilitySetName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsOperations.Delete"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual async Task DeleteAsync(string resourceGroupName, string /// The cancellation token to use. public virtual Response Delete(string resourceGroupName, string availabilitySetName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsOperations.Delete"); scope.Start(); try { @@ -161,7 +161,7 @@ public virtual Response Delete(string resourceGroupName, string availabilitySetN /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string availabilitySetName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsOperations.Get"); scope.Start(); try { @@ -180,7 +180,7 @@ public virtual async Task> GetAsync(string resourceGro /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string availabilitySetName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsOperations.Get"); scope.Start(); try { @@ -200,7 +200,7 @@ public virtual AsyncPageable ListBySubscriptionAsync(string exp { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsOperations.ListBySubscription"); scope.Start(); try { @@ -215,7 +215,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsOperations.ListBySubscription"); scope.Start(); try { @@ -238,7 +238,7 @@ public virtual Pageable ListBySubscription(string expand = null { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsOperations.ListBySubscription"); scope.Start(); try { @@ -253,7 +253,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsOperations.ListBySubscription"); scope.Start(); try { @@ -281,7 +281,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsClient.List"); + using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsOperations.List"); scope.Start(); try { @@ -296,7 +296,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsClient.List"); + using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsOperations.List"); scope.Start(); try { @@ -324,7 +324,7 @@ public virtual Pageable List(string resourceGroupName, Cancella Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsClient.List"); + using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsOperations.List"); scope.Start(); try { @@ -339,7 +339,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsClient.List"); + using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsOperations.List"); scope.Start(); try { @@ -372,7 +372,7 @@ public virtual AsyncPageable ListAvailableSizesAsync(string async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsClient.ListAvailableSizes"); + using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsOperations.ListAvailableSizes"); scope.Start(); try { @@ -405,7 +405,7 @@ public virtual Pageable ListAvailableSizes(string resourceGr Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsClient.ListAvailableSizes"); + using var scope = _clientDiagnostics.CreateScope("AvailabilitySetsOperations.ListAvailableSizes"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/AvailabilitySetsRestClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/AvailabilitySetsRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/AvailabilitySetsRestClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/AvailabilitySetsRestOperations.cs index 2f6f1419c2596..252e08e35faea 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/AvailabilitySetsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/AvailabilitySetsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Compute { - internal partial class AvailabilitySetsRestClient + internal partial class AvailabilitySetsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of AvailabilitySetsRestClient. + /// Initializes a new instance of AvailabilitySetsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public AvailabilitySetsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public AvailabilitySetsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ComputeManagementClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ComputeManagementClient.cs index cf1dfcd1d40c5..38d67b7129338 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ComputeManagementClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ComputeManagementClient.cs @@ -53,184 +53,94 @@ public ComputeManagementClient(Uri endpoint, string subscriptionId, TokenCredent _subscriptionId = subscriptionId; } - /// Creates a new instance of OperationsClient. - public virtual OperationsClient GetOperationsClient() - { - return new OperationsClient(_clientDiagnostics, _pipeline, _endpoint); - } + /// Returns an instance of Operations. + public virtual Operations Operations => new Operations(_clientDiagnostics, _pipeline, _endpoint); - /// Creates a new instance of AvailabilitySetsClient. - public virtual AvailabilitySetsClient GetAvailabilitySetsClient() - { - return new AvailabilitySetsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of AvailabilitySetsOperations. + public virtual AvailabilitySetsOperations AvailabilitySets => new AvailabilitySetsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ProximityPlacementGroupsClient. - public virtual ProximityPlacementGroupsClient GetProximityPlacementGroupsClient() - { - return new ProximityPlacementGroupsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ProximityPlacementGroupsOperations. + public virtual ProximityPlacementGroupsOperations ProximityPlacementGroups => new ProximityPlacementGroupsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of DedicatedHostGroupsClient. - public virtual DedicatedHostGroupsClient GetDedicatedHostGroupsClient() - { - return new DedicatedHostGroupsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of DedicatedHostGroupsOperations. + public virtual DedicatedHostGroupsOperations DedicatedHostGroups => new DedicatedHostGroupsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of DedicatedHostsClient. - public virtual DedicatedHostsClient GetDedicatedHostsClient() - { - return new DedicatedHostsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of DedicatedHostsOperations. + public virtual DedicatedHostsOperations DedicatedHosts => new DedicatedHostsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of SshPublicKeysClient. - public virtual SshPublicKeysClient GetSshPublicKeysClient() - { - return new SshPublicKeysClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of SshPublicKeysOperations. + public virtual SshPublicKeysOperations SshPublicKeys => new SshPublicKeysOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VirtualMachineExtensionImagesClient. - public virtual VirtualMachineExtensionImagesClient GetVirtualMachineExtensionImagesClient() - { - return new VirtualMachineExtensionImagesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VirtualMachineExtensionImagesOperations. + public virtual VirtualMachineExtensionImagesOperations VirtualMachineExtensionImages => new VirtualMachineExtensionImagesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VirtualMachineExtensionsClient. - public virtual VirtualMachineExtensionsClient GetVirtualMachineExtensionsClient() - { - return new VirtualMachineExtensionsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VirtualMachineExtensionsOperations. + public virtual VirtualMachineExtensionsOperations VirtualMachineExtensions => new VirtualMachineExtensionsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VirtualMachineImagesClient. - public virtual VirtualMachineImagesClient GetVirtualMachineImagesClient() - { - return new VirtualMachineImagesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VirtualMachineImagesOperations. + public virtual VirtualMachineImagesOperations VirtualMachineImages => new VirtualMachineImagesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of UsageClient. - public virtual UsageClient GetUsageClient() - { - return new UsageClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of UsageOperations. + public virtual UsageOperations Usage => new UsageOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VirtualMachinesClient. - public virtual VirtualMachinesClient GetVirtualMachinesClient() - { - return new VirtualMachinesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VirtualMachinesOperations. + public virtual VirtualMachinesOperations VirtualMachines => new VirtualMachinesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VirtualMachineSizesClient. - public virtual VirtualMachineSizesClient GetVirtualMachineSizesClient() - { - return new VirtualMachineSizesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VirtualMachineSizesOperations. + public virtual VirtualMachineSizesOperations VirtualMachineSizes => new VirtualMachineSizesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ImagesClient. - public virtual ImagesClient GetImagesClient() - { - return new ImagesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ImagesOperations. + public virtual ImagesOperations Images => new ImagesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VirtualMachineScaleSetsClient. - public virtual VirtualMachineScaleSetsClient GetVirtualMachineScaleSetsClient() - { - return new VirtualMachineScaleSetsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VirtualMachineScaleSetsOperations. + public virtual VirtualMachineScaleSetsOperations VirtualMachineScaleSets => new VirtualMachineScaleSetsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VirtualMachineScaleSetExtensionsClient. - public virtual VirtualMachineScaleSetExtensionsClient GetVirtualMachineScaleSetExtensionsClient() - { - return new VirtualMachineScaleSetExtensionsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VirtualMachineScaleSetExtensionsOperations. + public virtual VirtualMachineScaleSetExtensionsOperations VirtualMachineScaleSetExtensions => new VirtualMachineScaleSetExtensionsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VirtualMachineScaleSetRollingUpgradesClient. - public virtual VirtualMachineScaleSetRollingUpgradesClient GetVirtualMachineScaleSetRollingUpgradesClient() - { - return new VirtualMachineScaleSetRollingUpgradesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VirtualMachineScaleSetRollingUpgradesOperations. + public virtual VirtualMachineScaleSetRollingUpgradesOperations VirtualMachineScaleSetRollingUpgrades => new VirtualMachineScaleSetRollingUpgradesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VirtualMachineScaleSetVMExtensionsClient. - public virtual VirtualMachineScaleSetVMExtensionsClient GetVirtualMachineScaleSetVMExtensionsClient() - { - return new VirtualMachineScaleSetVMExtensionsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VirtualMachineScaleSetVMExtensionsOperations. + public virtual VirtualMachineScaleSetVMExtensionsOperations VirtualMachineScaleSetVMExtensions => new VirtualMachineScaleSetVMExtensionsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VirtualMachineScaleSetVMsClient. - public virtual VirtualMachineScaleSetVMsClient GetVirtualMachineScaleSetVMsClient() - { - return new VirtualMachineScaleSetVMsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VirtualMachineScaleSetVMsOperations. + public virtual VirtualMachineScaleSetVMsOperations VirtualMachineScaleSetVMs => new VirtualMachineScaleSetVMsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of LogAnalyticsClient. - public virtual LogAnalyticsClient GetLogAnalyticsClient() - { - return new LogAnalyticsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of LogAnalyticsOperations. + public virtual LogAnalyticsOperations LogAnalytics => new LogAnalyticsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VirtualMachineRunCommandsClient. - public virtual VirtualMachineRunCommandsClient GetVirtualMachineRunCommandsClient() - { - return new VirtualMachineRunCommandsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VirtualMachineRunCommandsOperations. + public virtual VirtualMachineRunCommandsOperations VirtualMachineRunCommands => new VirtualMachineRunCommandsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ResourceSkusClient. - public virtual ResourceSkusClient GetResourceSkusClient() - { - return new ResourceSkusClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ResourceSkusOperations. + public virtual ResourceSkusOperations ResourceSkus => new ResourceSkusOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of DisksClient. - public virtual DisksClient GetDisksClient() - { - return new DisksClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of DisksOperations. + public virtual DisksOperations Disks => new DisksOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of SnapshotsClient. - public virtual SnapshotsClient GetSnapshotsClient() - { - return new SnapshotsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of SnapshotsOperations. + public virtual SnapshotsOperations Snapshots => new SnapshotsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of DiskEncryptionSetsClient. - public virtual DiskEncryptionSetsClient GetDiskEncryptionSetsClient() - { - return new DiskEncryptionSetsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of DiskEncryptionSetsOperations. + public virtual DiskEncryptionSetsOperations DiskEncryptionSets => new DiskEncryptionSetsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of GalleriesClient. - public virtual GalleriesClient GetGalleriesClient() - { - return new GalleriesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of GalleriesOperations. + public virtual GalleriesOperations Galleries => new GalleriesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of GalleryImagesClient. - public virtual GalleryImagesClient GetGalleryImagesClient() - { - return new GalleryImagesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of GalleryImagesOperations. + public virtual GalleryImagesOperations GalleryImages => new GalleryImagesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of GalleryImageVersionsClient. - public virtual GalleryImageVersionsClient GetGalleryImageVersionsClient() - { - return new GalleryImageVersionsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of GalleryImageVersionsOperations. + public virtual GalleryImageVersionsOperations GalleryImageVersions => new GalleryImageVersionsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of GalleryApplicationsClient. - public virtual GalleryApplicationsClient GetGalleryApplicationsClient() - { - return new GalleryApplicationsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of GalleryApplicationsOperations. + public virtual GalleryApplicationsOperations GalleryApplications => new GalleryApplicationsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of GalleryApplicationVersionsClient. - public virtual GalleryApplicationVersionsClient GetGalleryApplicationVersionsClient() - { - return new GalleryApplicationVersionsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of GalleryApplicationVersionsOperations. + public virtual GalleryApplicationVersionsOperations GalleryApplicationVersions => new GalleryApplicationVersionsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ContainerServicesClient. - public virtual ContainerServicesClient GetContainerServicesClient() - { - return new ContainerServicesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ContainerServicesOperations. + public virtual ContainerServicesOperations ContainerServices => new ContainerServicesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); } } diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ContainerServicesClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ContainerServicesOperations.cs similarity index 94% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ContainerServicesClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ContainerServicesOperations.cs index 079592ccb163e..b953d3e84a413 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ContainerServicesClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ContainerServicesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Compute { /// The ContainerServices service client. - public partial class ContainerServicesClient + public partial class ContainerServicesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ContainerServicesRestClient RestClient { get; } - /// Initializes a new instance of ContainerServicesClient for mocking. - protected ContainerServicesClient() + internal ContainerServicesRestOperations RestClient { get; } + /// Initializes a new instance of ContainerServicesOperations for mocking. + protected ContainerServicesOperations() { } - /// Initializes a new instance of ContainerServicesClient. + /// Initializes a new instance of ContainerServicesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ContainerServicesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ContainerServicesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ContainerServicesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ContainerServicesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal ContainerServicesClient(ClientDiagnostics clientDiagnostics, HttpPipeli /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string containerServiceName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ContainerServicesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ContainerServicesOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string resourceGr /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string containerServiceName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ContainerServicesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ContainerServicesOperations.Get"); scope.Start(); try { @@ -81,7 +81,7 @@ public virtual AsyncPageable ListAsync(CancellationToken cance { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ContainerServicesClient.List"); + using var scope = _clientDiagnostics.CreateScope("ContainerServicesOperations.List"); scope.Start(); try { @@ -96,7 +96,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ContainerServicesClient.List"); + using var scope = _clientDiagnostics.CreateScope("ContainerServicesOperations.List"); scope.Start(); try { @@ -118,7 +118,7 @@ public virtual Pageable List(CancellationToken cancellationTok { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ContainerServicesClient.List"); + using var scope = _clientDiagnostics.CreateScope("ContainerServicesOperations.List"); scope.Start(); try { @@ -133,7 +133,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ContainerServicesClient.List"); + using var scope = _clientDiagnostics.CreateScope("ContainerServicesOperations.List"); scope.Start(); try { @@ -161,7 +161,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(string r async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ContainerServicesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ContainerServicesOperations.ListByResourceGroup"); scope.Start(); try { @@ -176,7 +176,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ContainerServicesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ContainerServicesOperations.ListByResourceGroup"); scope.Start(); try { @@ -204,7 +204,7 @@ public virtual Pageable ListByResourceGroup(string resourceGro Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ContainerServicesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ContainerServicesOperations.ListByResourceGroup"); scope.Start(); try { @@ -219,7 +219,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ContainerServicesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ContainerServicesOperations.ListByResourceGroup"); scope.Start(); try { @@ -255,7 +255,7 @@ public virtual async Task StartCreateO throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ContainerServicesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ContainerServicesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -289,7 +289,7 @@ public virtual ContainerServicesCreateOrUpdateOperation StartCreateOrUpdate(stri throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ContainerServicesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ContainerServicesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -318,7 +318,7 @@ public virtual async Task StartDeleteAsync(str throw new ArgumentNullException(nameof(containerServiceName)); } - using var scope = _clientDiagnostics.CreateScope("ContainerServicesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ContainerServicesOperations.StartDelete"); scope.Start(); try { @@ -347,7 +347,7 @@ public virtual ContainerServicesDeleteOperation StartDelete(string resourceGroup throw new ArgumentNullException(nameof(containerServiceName)); } - using var scope = _clientDiagnostics.CreateScope("ContainerServicesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ContainerServicesOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ContainerServicesRestClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ContainerServicesRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ContainerServicesRestClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ContainerServicesRestOperations.cs index ecf57fefc31d2..2965d6d38d457 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ContainerServicesRestClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ContainerServicesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Compute { - internal partial class ContainerServicesRestClient + internal partial class ContainerServicesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ContainerServicesRestClient. + /// Initializes a new instance of ContainerServicesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ContainerServicesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ContainerServicesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/DedicatedHostGroupsClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/DedicatedHostGroupsOperations.cs similarity index 92% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/DedicatedHostGroupsClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/DedicatedHostGroupsOperations.cs index 4a904fd9b67b4..fcdc63b65ac25 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/DedicatedHostGroupsClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/DedicatedHostGroupsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Compute { /// The DedicatedHostGroups service client. - public partial class DedicatedHostGroupsClient + public partial class DedicatedHostGroupsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal DedicatedHostGroupsRestClient RestClient { get; } - /// Initializes a new instance of DedicatedHostGroupsClient for mocking. - protected DedicatedHostGroupsClient() + internal DedicatedHostGroupsRestOperations RestClient { get; } + /// Initializes a new instance of DedicatedHostGroupsOperations for mocking. + protected DedicatedHostGroupsOperations() { } - /// Initializes a new instance of DedicatedHostGroupsClient. + /// Initializes a new instance of DedicatedHostGroupsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal DedicatedHostGroupsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal DedicatedHostGroupsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new DedicatedHostGroupsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new DedicatedHostGroupsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal DedicatedHostGroupsClient(ClientDiagnostics clientDiagnostics, HttpPipe /// The cancellation token to use. public virtual async Task> CreateOrUpdateAsync(string resourceGroupName, string hostGroupName, DedicatedHostGroup parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsOperations.CreateOrUpdate"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> CreateOrUpdateAsync(stri /// The cancellation token to use. public virtual Response CreateOrUpdate(string resourceGroupName, string hostGroupName, DedicatedHostGroup parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsOperations.CreateOrUpdate"); scope.Start(); try { @@ -84,7 +84,7 @@ public virtual Response CreateOrUpdate(string resourceGroupN /// The cancellation token to use. public virtual async Task> UpdateAsync(string resourceGroupName, string hostGroupName, DedicatedHostGroupUpdate parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsClient.Update"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsOperations.Update"); scope.Start(); try { @@ -104,7 +104,7 @@ public virtual async Task> UpdateAsync(string resou /// The cancellation token to use. public virtual Response Update(string resourceGroupName, string hostGroupName, DedicatedHostGroupUpdate parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsClient.Update"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsOperations.Update"); scope.Start(); try { @@ -123,7 +123,7 @@ public virtual Response Update(string resourceGroupName, str /// The cancellation token to use. public virtual async Task DeleteAsync(string resourceGroupName, string hostGroupName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsOperations.Delete"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual async Task DeleteAsync(string resourceGroupName, string /// The cancellation token to use. public virtual Response Delete(string resourceGroupName, string hostGroupName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsOperations.Delete"); scope.Start(); try { @@ -161,7 +161,7 @@ public virtual Response Delete(string resourceGroupName, string hostGroupName, C /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string hostGroupName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsOperations.Get"); scope.Start(); try { @@ -180,7 +180,7 @@ public virtual async Task> GetAsync(string resource /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string hostGroupName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsOperations.Get"); scope.Start(); try { @@ -205,7 +205,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(string async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsOperations.ListByResourceGroup"); scope.Start(); try { @@ -220,7 +220,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsOperations.ListByResourceGroup"); scope.Start(); try { @@ -248,7 +248,7 @@ public virtual Pageable ListByResourceGroup(string resourceG Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsOperations.ListByResourceGroup"); scope.Start(); try { @@ -263,7 +263,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsOperations.ListByResourceGroup"); scope.Start(); try { @@ -285,7 +285,7 @@ public virtual AsyncPageable ListBySubscriptionAsync(Cancell { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsOperations.ListBySubscription"); scope.Start(); try { @@ -300,7 +300,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsOperations.ListBySubscription"); scope.Start(); try { @@ -322,7 +322,7 @@ public virtual Pageable ListBySubscription(CancellationToken { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsOperations.ListBySubscription"); scope.Start(); try { @@ -337,7 +337,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostGroupsOperations.ListBySubscription"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/DedicatedHostGroupsRestClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/DedicatedHostGroupsRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/DedicatedHostGroupsRestClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/DedicatedHostGroupsRestOperations.cs index 4dd2589e7f99a..2d6da6dca03cb 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/DedicatedHostGroupsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/DedicatedHostGroupsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Compute { - internal partial class DedicatedHostGroupsRestClient + internal partial class DedicatedHostGroupsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of DedicatedHostGroupsRestClient. + /// Initializes a new instance of DedicatedHostGroupsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public DedicatedHostGroupsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public DedicatedHostGroupsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/DedicatedHostsClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/DedicatedHostsOperations.cs similarity index 95% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/DedicatedHostsClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/DedicatedHostsOperations.cs index 3c74a3a4ee441..d1635d1b458a6 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/DedicatedHostsClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/DedicatedHostsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Compute { /// The DedicatedHosts service client. - public partial class DedicatedHostsClient + public partial class DedicatedHostsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal DedicatedHostsRestClient RestClient { get; } - /// Initializes a new instance of DedicatedHostsClient for mocking. - protected DedicatedHostsClient() + internal DedicatedHostsRestOperations RestClient { get; } + /// Initializes a new instance of DedicatedHostsOperations for mocking. + protected DedicatedHostsOperations() { } - /// Initializes a new instance of DedicatedHostsClient. + /// Initializes a new instance of DedicatedHostsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal DedicatedHostsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal DedicatedHostsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new DedicatedHostsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new DedicatedHostsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal DedicatedHostsClient(ClientDiagnostics clientDiagnostics, HttpPipeline /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string hostGroupName, string hostName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DedicatedHostsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostsOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGroup /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string hostGroupName, string hostName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DedicatedHostsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostsOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListByHostGroupAsync(string resource async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DedicatedHostsClient.ListByHostGroup"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostsOperations.ListByHostGroup"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DedicatedHostsClient.ListByHostGroup"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostsOperations.ListByHostGroup"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable ListByHostGroup(string resourceGroupName, Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DedicatedHostsClient.ListByHostGroup"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostsOperations.ListByHostGroup"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DedicatedHostsClient.ListByHostGroup"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostsOperations.ListByHostGroup"); scope.Start(); try { @@ -198,7 +198,7 @@ public virtual async Task StartCreateOrUp throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("DedicatedHostsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -237,7 +237,7 @@ public virtual DedicatedHostsCreateOrUpdateOperation StartCreateOrUpdate(string throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("DedicatedHostsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -276,7 +276,7 @@ public virtual async Task StartUpdateAsync(string throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("DedicatedHostsClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostsOperations.StartUpdate"); scope.Start(); try { @@ -315,7 +315,7 @@ public virtual DedicatedHostsUpdateOperation StartUpdate(string resourceGroupNam throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("DedicatedHostsClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostsOperations.StartUpdate"); scope.Start(); try { @@ -349,7 +349,7 @@ public virtual async Task StartDeleteAsync(string throw new ArgumentNullException(nameof(hostName)); } - using var scope = _clientDiagnostics.CreateScope("DedicatedHostsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostsOperations.StartDelete"); scope.Start(); try { @@ -383,7 +383,7 @@ public virtual DedicatedHostsDeleteOperation StartDelete(string resourceGroupNam throw new ArgumentNullException(nameof(hostName)); } - using var scope = _clientDiagnostics.CreateScope("DedicatedHostsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("DedicatedHostsOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/DedicatedHostsRestClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/DedicatedHostsRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/DedicatedHostsRestClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/DedicatedHostsRestOperations.cs index 4e3ca0b3b1ac2..b5dd804ee19fe 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/DedicatedHostsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/DedicatedHostsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Compute { - internal partial class DedicatedHostsRestClient + internal partial class DedicatedHostsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of DedicatedHostsRestClient. + /// Initializes a new instance of DedicatedHostsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public DedicatedHostsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public DedicatedHostsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/DiskEncryptionSetsClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/DiskEncryptionSetsOperations.cs similarity index 94% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/DiskEncryptionSetsClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/DiskEncryptionSetsOperations.cs index c877fd788a2ea..5c7f039d73c57 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/DiskEncryptionSetsClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/DiskEncryptionSetsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Compute { /// The DiskEncryptionSets service client. - public partial class DiskEncryptionSetsClient + public partial class DiskEncryptionSetsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal DiskEncryptionSetsRestClient RestClient { get; } - /// Initializes a new instance of DiskEncryptionSetsClient for mocking. - protected DiskEncryptionSetsClient() + internal DiskEncryptionSetsRestOperations RestClient { get; } + /// Initializes a new instance of DiskEncryptionSetsOperations for mocking. + protected DiskEncryptionSetsOperations() { } - /// Initializes a new instance of DiskEncryptionSetsClient. + /// Initializes a new instance of DiskEncryptionSetsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal DiskEncryptionSetsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal DiskEncryptionSetsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new DiskEncryptionSetsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new DiskEncryptionSetsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal DiskEncryptionSetsClient(ClientDiagnostics clientDiagnostics, HttpPipel /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string diskEncryptionSetName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string resourceG /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string diskEncryptionSetName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsOperations.Get"); scope.Start(); try { @@ -87,7 +87,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(string async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsOperations.ListByResourceGroup"); scope.Start(); try { @@ -102,7 +102,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsOperations.ListByResourceGroup"); scope.Start(); try { @@ -130,7 +130,7 @@ public virtual Pageable ListByResourceGroup(string resourceGr Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsOperations.ListByResourceGroup"); scope.Start(); try { @@ -145,7 +145,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsOperations.ListByResourceGroup"); scope.Start(); try { @@ -167,7 +167,7 @@ public virtual AsyncPageable ListAsync(CancellationToken canc { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsClient.List"); + using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsOperations.List"); scope.Start(); try { @@ -182,7 +182,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsClient.List"); + using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsOperations.List"); scope.Start(); try { @@ -204,7 +204,7 @@ public virtual Pageable List(CancellationToken cancellationTo { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsClient.List"); + using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsOperations.List"); scope.Start(); try { @@ -219,7 +219,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsClient.List"); + using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsOperations.List"); scope.Start(); try { @@ -255,7 +255,7 @@ public virtual async Task StartCreate throw new ArgumentNullException(nameof(diskEncryptionSet)); } - using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -289,7 +289,7 @@ public virtual DiskEncryptionSetsCreateOrUpdateOperation StartCreateOrUpdate(str throw new ArgumentNullException(nameof(diskEncryptionSet)); } - using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -323,7 +323,7 @@ public virtual async Task StartUpdateAsync(st throw new ArgumentNullException(nameof(diskEncryptionSet)); } - using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsOperations.StartUpdate"); scope.Start(); try { @@ -357,7 +357,7 @@ public virtual DiskEncryptionSetsUpdateOperation StartUpdate(string resourceGrou throw new ArgumentNullException(nameof(diskEncryptionSet)); } - using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsOperations.StartUpdate"); scope.Start(); try { @@ -386,7 +386,7 @@ public virtual async Task StartDeleteAsync(st throw new ArgumentNullException(nameof(diskEncryptionSetName)); } - using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsOperations.StartDelete"); scope.Start(); try { @@ -415,7 +415,7 @@ public virtual DiskEncryptionSetsDeleteOperation StartDelete(string resourceGrou throw new ArgumentNullException(nameof(diskEncryptionSetName)); } - using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("DiskEncryptionSetsOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/DiskEncryptionSetsRestClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/DiskEncryptionSetsRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/DiskEncryptionSetsRestClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/DiskEncryptionSetsRestOperations.cs index eddf5ff60c964..62c4ae65d8ab5 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/DiskEncryptionSetsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/DiskEncryptionSetsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Compute { - internal partial class DiskEncryptionSetsRestClient + internal partial class DiskEncryptionSetsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of DiskEncryptionSetsRestClient. + /// Initializes a new instance of DiskEncryptionSetsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public DiskEncryptionSetsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public DiskEncryptionSetsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/DisksClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/DisksOperations.cs similarity index 95% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/DisksClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/DisksOperations.cs index f60b8f20cc80e..3671acb64316d 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/DisksClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/DisksOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Compute { /// The Disks service client. - public partial class DisksClient + public partial class DisksOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal DisksRestClient RestClient { get; } - /// Initializes a new instance of DisksClient for mocking. - protected DisksClient() + internal DisksRestOperations RestClient { get; } + /// Initializes a new instance of DisksOperations for mocking. + protected DisksOperations() { } - /// Initializes a new instance of DisksClient. + /// Initializes a new instance of DisksOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal DisksClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal DisksOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new DisksRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new DisksRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal DisksClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string diskName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DisksClient.Get"); + using var scope = _clientDiagnostics.CreateScope("DisksOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string resourceGroupName, str /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string diskName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DisksClient.Get"); + using var scope = _clientDiagnostics.CreateScope("DisksOperations.Get"); scope.Start(); try { @@ -87,7 +87,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(string resourceGroup async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DisksClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("DisksOperations.ListByResourceGroup"); scope.Start(); try { @@ -102,7 +102,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DisksClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("DisksOperations.ListByResourceGroup"); scope.Start(); try { @@ -130,7 +130,7 @@ public virtual Pageable ListByResourceGroup(string resourceGroupName, Canc Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DisksClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("DisksOperations.ListByResourceGroup"); scope.Start(); try { @@ -145,7 +145,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DisksClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("DisksOperations.ListByResourceGroup"); scope.Start(); try { @@ -167,7 +167,7 @@ public virtual AsyncPageable ListAsync(CancellationToken cancellationToken { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DisksClient.List"); + using var scope = _clientDiagnostics.CreateScope("DisksOperations.List"); scope.Start(); try { @@ -182,7 +182,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DisksClient.List"); + using var scope = _clientDiagnostics.CreateScope("DisksOperations.List"); scope.Start(); try { @@ -204,7 +204,7 @@ public virtual Pageable List(CancellationToken cancellationToken = default { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DisksClient.List"); + using var scope = _clientDiagnostics.CreateScope("DisksOperations.List"); scope.Start(); try { @@ -219,7 +219,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DisksClient.List"); + using var scope = _clientDiagnostics.CreateScope("DisksOperations.List"); scope.Start(); try { @@ -255,7 +255,7 @@ public virtual async Task StartCreateOrUpdateAsync throw new ArgumentNullException(nameof(disk)); } - using var scope = _clientDiagnostics.CreateScope("DisksClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("DisksOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -289,7 +289,7 @@ public virtual DisksCreateOrUpdateOperation StartCreateOrUpdate(string resourceG throw new ArgumentNullException(nameof(disk)); } - using var scope = _clientDiagnostics.CreateScope("DisksClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("DisksOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -323,7 +323,7 @@ public virtual async Task StartUpdateAsync(string resource throw new ArgumentNullException(nameof(disk)); } - using var scope = _clientDiagnostics.CreateScope("DisksClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("DisksOperations.StartUpdate"); scope.Start(); try { @@ -357,7 +357,7 @@ public virtual DisksUpdateOperation StartUpdate(string resourceGroupName, string throw new ArgumentNullException(nameof(disk)); } - using var scope = _clientDiagnostics.CreateScope("DisksClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("DisksOperations.StartUpdate"); scope.Start(); try { @@ -386,7 +386,7 @@ public virtual async Task StartDeleteAsync(string resource throw new ArgumentNullException(nameof(diskName)); } - using var scope = _clientDiagnostics.CreateScope("DisksClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("DisksOperations.StartDelete"); scope.Start(); try { @@ -415,7 +415,7 @@ public virtual DisksDeleteOperation StartDelete(string resourceGroupName, string throw new ArgumentNullException(nameof(diskName)); } - using var scope = _clientDiagnostics.CreateScope("DisksClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("DisksOperations.StartDelete"); scope.Start(); try { @@ -449,7 +449,7 @@ public virtual async Task StartGrantAccessAsync(strin throw new ArgumentNullException(nameof(grantAccessData)); } - using var scope = _clientDiagnostics.CreateScope("DisksClient.StartGrantAccess"); + using var scope = _clientDiagnostics.CreateScope("DisksOperations.StartGrantAccess"); scope.Start(); try { @@ -483,7 +483,7 @@ public virtual DisksGrantAccessOperation StartGrantAccess(string resourceGroupNa throw new ArgumentNullException(nameof(grantAccessData)); } - using var scope = _clientDiagnostics.CreateScope("DisksClient.StartGrantAccess"); + using var scope = _clientDiagnostics.CreateScope("DisksOperations.StartGrantAccess"); scope.Start(); try { @@ -512,7 +512,7 @@ public virtual async Task StartRevokeAccessAsync(str throw new ArgumentNullException(nameof(diskName)); } - using var scope = _clientDiagnostics.CreateScope("DisksClient.StartRevokeAccess"); + using var scope = _clientDiagnostics.CreateScope("DisksOperations.StartRevokeAccess"); scope.Start(); try { @@ -541,7 +541,7 @@ public virtual DisksRevokeAccessOperation StartRevokeAccess(string resourceGroup throw new ArgumentNullException(nameof(diskName)); } - using var scope = _clientDiagnostics.CreateScope("DisksClient.StartRevokeAccess"); + using var scope = _clientDiagnostics.CreateScope("DisksOperations.StartRevokeAccess"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/DisksRestClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/DisksRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/DisksRestClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/DisksRestOperations.cs index febd33e79dc46..9a3259baf79bd 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/DisksRestClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/DisksRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Compute { - internal partial class DisksRestClient + internal partial class DisksRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of DisksRestClient. + /// Initializes a new instance of DisksRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public DisksRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public DisksRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleriesClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleriesOperations.cs similarity index 94% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleriesClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleriesOperations.cs index c9f657d93b40a..173a19dfbf745 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleriesClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleriesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Compute { /// The Galleries service client. - public partial class GalleriesClient + public partial class GalleriesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal GalleriesRestClient RestClient { get; } - /// Initializes a new instance of GalleriesClient for mocking. - protected GalleriesClient() + internal GalleriesRestOperations RestClient { get; } + /// Initializes a new instance of GalleriesOperations for mocking. + protected GalleriesOperations() { } - /// Initializes a new instance of GalleriesClient. + /// Initializes a new instance of GalleriesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal GalleriesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal GalleriesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new GalleriesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new GalleriesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal GalleriesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipel /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string galleryName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("GalleriesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("GalleriesOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string resourceGroupName, /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string galleryName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("GalleriesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("GalleriesOperations.Get"); scope.Start(); try { @@ -87,7 +87,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(string resourceGr async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GalleriesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("GalleriesOperations.ListByResourceGroup"); scope.Start(); try { @@ -102,7 +102,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GalleriesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("GalleriesOperations.ListByResourceGroup"); scope.Start(); try { @@ -130,7 +130,7 @@ public virtual Pageable ListByResourceGroup(string resourceGroupName, C Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GalleriesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("GalleriesOperations.ListByResourceGroup"); scope.Start(); try { @@ -145,7 +145,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GalleriesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("GalleriesOperations.ListByResourceGroup"); scope.Start(); try { @@ -167,7 +167,7 @@ public virtual AsyncPageable ListAsync(CancellationToken cancellationTo { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GalleriesClient.List"); + using var scope = _clientDiagnostics.CreateScope("GalleriesOperations.List"); scope.Start(); try { @@ -182,7 +182,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GalleriesClient.List"); + using var scope = _clientDiagnostics.CreateScope("GalleriesOperations.List"); scope.Start(); try { @@ -204,7 +204,7 @@ public virtual Pageable List(CancellationToken cancellationToken = defa { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GalleriesClient.List"); + using var scope = _clientDiagnostics.CreateScope("GalleriesOperations.List"); scope.Start(); try { @@ -219,7 +219,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GalleriesClient.List"); + using var scope = _clientDiagnostics.CreateScope("GalleriesOperations.List"); scope.Start(); try { @@ -255,7 +255,7 @@ public virtual async Task StartCreateOrUpdateA throw new ArgumentNullException(nameof(gallery)); } - using var scope = _clientDiagnostics.CreateScope("GalleriesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("GalleriesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -289,7 +289,7 @@ public virtual GalleriesCreateOrUpdateOperation StartCreateOrUpdate(string resou throw new ArgumentNullException(nameof(gallery)); } - using var scope = _clientDiagnostics.CreateScope("GalleriesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("GalleriesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -323,7 +323,7 @@ public virtual async Task StartUpdateAsync(string reso throw new ArgumentNullException(nameof(gallery)); } - using var scope = _clientDiagnostics.CreateScope("GalleriesClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("GalleriesOperations.StartUpdate"); scope.Start(); try { @@ -357,7 +357,7 @@ public virtual GalleriesUpdateOperation StartUpdate(string resourceGroupName, st throw new ArgumentNullException(nameof(gallery)); } - using var scope = _clientDiagnostics.CreateScope("GalleriesClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("GalleriesOperations.StartUpdate"); scope.Start(); try { @@ -386,7 +386,7 @@ public virtual async Task StartDeleteAsync(string reso throw new ArgumentNullException(nameof(galleryName)); } - using var scope = _clientDiagnostics.CreateScope("GalleriesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("GalleriesOperations.StartDelete"); scope.Start(); try { @@ -415,7 +415,7 @@ public virtual GalleriesDeleteOperation StartDelete(string resourceGroupName, st throw new ArgumentNullException(nameof(galleryName)); } - using var scope = _clientDiagnostics.CreateScope("GalleriesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("GalleriesOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleriesRestClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleriesRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleriesRestClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleriesRestOperations.cs index f6dc565cf2a8a..e9d43adb342f9 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleriesRestClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleriesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Compute { - internal partial class GalleriesRestClient + internal partial class GalleriesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of GalleriesRestClient. + /// Initializes a new instance of GalleriesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public GalleriesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public GalleriesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleryApplicationVersionsClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleryApplicationVersionsOperations.cs similarity index 95% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleryApplicationVersionsClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleryApplicationVersionsOperations.cs index 0303750a0fa0f..9c86b9a42e03e 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleryApplicationVersionsClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleryApplicationVersionsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Compute { /// The GalleryApplicationVersions service client. - public partial class GalleryApplicationVersionsClient + public partial class GalleryApplicationVersionsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal GalleryApplicationVersionsRestClient RestClient { get; } - /// Initializes a new instance of GalleryApplicationVersionsClient for mocking. - protected GalleryApplicationVersionsClient() + internal GalleryApplicationVersionsRestOperations RestClient { get; } + /// Initializes a new instance of GalleryApplicationVersionsOperations for mocking. + protected GalleryApplicationVersionsOperations() { } - /// Initializes a new instance of GalleryApplicationVersionsClient. + /// Initializes a new instance of GalleryApplicationVersionsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal GalleryApplicationVersionsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal GalleryApplicationVersionsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new GalleryApplicationVersionsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new GalleryApplicationVersionsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -45,7 +45,7 @@ internal GalleryApplicationVersionsClient(ClientDiagnostics clientDiagnostics, H /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string galleryName, string galleryApplicationName, string galleryApplicationVersionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("GalleryApplicationVersionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("GalleryApplicationVersionsOperations.Get"); scope.Start(); try { @@ -66,7 +66,7 @@ public virtual async Task> GetAsync(string r /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string galleryName, string galleryApplicationName, string galleryApplicationVersionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("GalleryApplicationVersionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("GalleryApplicationVersionsOperations.Get"); scope.Start(); try { @@ -101,7 +101,7 @@ public virtual AsyncPageable ListByGalleryApplication async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GalleryApplicationVersionsClient.ListByGalleryApplication"); + using var scope = _clientDiagnostics.CreateScope("GalleryApplicationVersionsOperations.ListByGalleryApplication"); scope.Start(); try { @@ -116,7 +116,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GalleryApplicationVersionsClient.ListByGalleryApplication"); + using var scope = _clientDiagnostics.CreateScope("GalleryApplicationVersionsOperations.ListByGalleryApplication"); scope.Start(); try { @@ -154,7 +154,7 @@ public virtual Pageable ListByGalleryApplication(stri Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GalleryApplicationVersionsClient.ListByGalleryApplication"); + using var scope = _clientDiagnostics.CreateScope("GalleryApplicationVersionsOperations.ListByGalleryApplication"); scope.Start(); try { @@ -169,7 +169,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GalleryApplicationVersionsClient.ListByGalleryApplication"); + using var scope = _clientDiagnostics.CreateScope("GalleryApplicationVersionsOperations.ListByGalleryApplication"); scope.Start(); try { @@ -215,7 +215,7 @@ public virtual async Task Sta throw new ArgumentNullException(nameof(galleryApplicationVersion)); } - using var scope = _clientDiagnostics.CreateScope("GalleryApplicationVersionsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("GalleryApplicationVersionsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -259,7 +259,7 @@ public virtual GalleryApplicationVersionsCreateOrUpdateOperation StartCreateOrUp throw new ArgumentNullException(nameof(galleryApplicationVersion)); } - using var scope = _clientDiagnostics.CreateScope("GalleryApplicationVersionsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("GalleryApplicationVersionsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -303,7 +303,7 @@ public virtual async Task StartUpdate throw new ArgumentNullException(nameof(galleryApplicationVersion)); } - using var scope = _clientDiagnostics.CreateScope("GalleryApplicationVersionsClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("GalleryApplicationVersionsOperations.StartUpdate"); scope.Start(); try { @@ -347,7 +347,7 @@ public virtual GalleryApplicationVersionsUpdateOperation StartUpdate(string reso throw new ArgumentNullException(nameof(galleryApplicationVersion)); } - using var scope = _clientDiagnostics.CreateScope("GalleryApplicationVersionsClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("GalleryApplicationVersionsOperations.StartUpdate"); scope.Start(); try { @@ -386,7 +386,7 @@ public virtual async Task StartDelete throw new ArgumentNullException(nameof(galleryApplicationVersionName)); } - using var scope = _clientDiagnostics.CreateScope("GalleryApplicationVersionsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("GalleryApplicationVersionsOperations.StartDelete"); scope.Start(); try { @@ -425,7 +425,7 @@ public virtual GalleryApplicationVersionsDeleteOperation StartDelete(string reso throw new ArgumentNullException(nameof(galleryApplicationVersionName)); } - using var scope = _clientDiagnostics.CreateScope("GalleryApplicationVersionsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("GalleryApplicationVersionsOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleryApplicationVersionsRestClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleryApplicationVersionsRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleryApplicationVersionsRestClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleryApplicationVersionsRestOperations.cs index 24c19a946f30c..2476eec809330 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleryApplicationVersionsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleryApplicationVersionsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Compute { - internal partial class GalleryApplicationVersionsRestClient + internal partial class GalleryApplicationVersionsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of GalleryApplicationVersionsRestClient. + /// Initializes a new instance of GalleryApplicationVersionsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public GalleryApplicationVersionsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public GalleryApplicationVersionsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleryApplicationsClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleryApplicationsOperations.cs similarity index 95% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleryApplicationsClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleryApplicationsOperations.cs index 3a7d6e466df44..f4392c9354d23 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleryApplicationsClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleryApplicationsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Compute { /// The GalleryApplications service client. - public partial class GalleryApplicationsClient + public partial class GalleryApplicationsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal GalleryApplicationsRestClient RestClient { get; } - /// Initializes a new instance of GalleryApplicationsClient for mocking. - protected GalleryApplicationsClient() + internal GalleryApplicationsRestOperations RestClient { get; } + /// Initializes a new instance of GalleryApplicationsOperations for mocking. + protected GalleryApplicationsOperations() { } - /// Initializes a new instance of GalleryApplicationsClient. + /// Initializes a new instance of GalleryApplicationsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal GalleryApplicationsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal GalleryApplicationsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new GalleryApplicationsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new GalleryApplicationsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal GalleryApplicationsClient(ClientDiagnostics clientDiagnostics, HttpPipe /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string galleryName, string galleryApplicationName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("GalleryApplicationsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("GalleryApplicationsOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resource /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string galleryName, string galleryApplicationName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("GalleryApplicationsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("GalleryApplicationsOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListByGalleryAsync(string resou async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GalleryApplicationsClient.ListByGallery"); + using var scope = _clientDiagnostics.CreateScope("GalleryApplicationsOperations.ListByGallery"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GalleryApplicationsClient.ListByGallery"); + using var scope = _clientDiagnostics.CreateScope("GalleryApplicationsOperations.ListByGallery"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable ListByGallery(string resourceGroupNa Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GalleryApplicationsClient.ListByGallery"); + using var scope = _clientDiagnostics.CreateScope("GalleryApplicationsOperations.ListByGallery"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GalleryApplicationsClient.ListByGallery"); + using var scope = _clientDiagnostics.CreateScope("GalleryApplicationsOperations.ListByGallery"); scope.Start(); try { @@ -198,7 +198,7 @@ public virtual async Task StartCreat throw new ArgumentNullException(nameof(galleryApplication)); } - using var scope = _clientDiagnostics.CreateScope("GalleryApplicationsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("GalleryApplicationsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -237,7 +237,7 @@ public virtual GalleryApplicationsCreateOrUpdateOperation StartCreateOrUpdate(st throw new ArgumentNullException(nameof(galleryApplication)); } - using var scope = _clientDiagnostics.CreateScope("GalleryApplicationsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("GalleryApplicationsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -276,7 +276,7 @@ public virtual async Task StartUpdateAsync(s throw new ArgumentNullException(nameof(galleryApplication)); } - using var scope = _clientDiagnostics.CreateScope("GalleryApplicationsClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("GalleryApplicationsOperations.StartUpdate"); scope.Start(); try { @@ -315,7 +315,7 @@ public virtual GalleryApplicationsUpdateOperation StartUpdate(string resourceGro throw new ArgumentNullException(nameof(galleryApplication)); } - using var scope = _clientDiagnostics.CreateScope("GalleryApplicationsClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("GalleryApplicationsOperations.StartUpdate"); scope.Start(); try { @@ -349,7 +349,7 @@ public virtual async Task StartDeleteAsync(s throw new ArgumentNullException(nameof(galleryApplicationName)); } - using var scope = _clientDiagnostics.CreateScope("GalleryApplicationsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("GalleryApplicationsOperations.StartDelete"); scope.Start(); try { @@ -383,7 +383,7 @@ public virtual GalleryApplicationsDeleteOperation StartDelete(string resourceGro throw new ArgumentNullException(nameof(galleryApplicationName)); } - using var scope = _clientDiagnostics.CreateScope("GalleryApplicationsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("GalleryApplicationsOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleryApplicationsRestClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleryApplicationsRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleryApplicationsRestClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleryApplicationsRestOperations.cs index e8a5304a3ab4d..cfd10876214ba 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleryApplicationsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleryApplicationsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Compute { - internal partial class GalleryApplicationsRestClient + internal partial class GalleryApplicationsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of GalleryApplicationsRestClient. + /// Initializes a new instance of GalleryApplicationsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public GalleryApplicationsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public GalleryApplicationsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleryImageVersionsClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleryImageVersionsOperations.cs similarity index 95% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleryImageVersionsClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleryImageVersionsOperations.cs index 01f0fe9675cdf..425d2a8acb898 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleryImageVersionsClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleryImageVersionsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Compute { /// The GalleryImageVersions service client. - public partial class GalleryImageVersionsClient + public partial class GalleryImageVersionsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal GalleryImageVersionsRestClient RestClient { get; } - /// Initializes a new instance of GalleryImageVersionsClient for mocking. - protected GalleryImageVersionsClient() + internal GalleryImageVersionsRestOperations RestClient { get; } + /// Initializes a new instance of GalleryImageVersionsOperations for mocking. + protected GalleryImageVersionsOperations() { } - /// Initializes a new instance of GalleryImageVersionsClient. + /// Initializes a new instance of GalleryImageVersionsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal GalleryImageVersionsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal GalleryImageVersionsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new GalleryImageVersionsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new GalleryImageVersionsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -45,7 +45,7 @@ internal GalleryImageVersionsClient(ClientDiagnostics clientDiagnostics, HttpPip /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string galleryName, string galleryImageName, string galleryImageVersionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("GalleryImageVersionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("GalleryImageVersionsOperations.Get"); scope.Start(); try { @@ -66,7 +66,7 @@ public virtual async Task> GetAsync(string resourc /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string galleryName, string galleryImageName, string galleryImageVersionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("GalleryImageVersionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("GalleryImageVersionsOperations.Get"); scope.Start(); try { @@ -101,7 +101,7 @@ public virtual AsyncPageable ListByGalleryImageAsync(string async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GalleryImageVersionsClient.ListByGalleryImage"); + using var scope = _clientDiagnostics.CreateScope("GalleryImageVersionsOperations.ListByGalleryImage"); scope.Start(); try { @@ -116,7 +116,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GalleryImageVersionsClient.ListByGalleryImage"); + using var scope = _clientDiagnostics.CreateScope("GalleryImageVersionsOperations.ListByGalleryImage"); scope.Start(); try { @@ -154,7 +154,7 @@ public virtual Pageable ListByGalleryImage(string resourceG Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GalleryImageVersionsClient.ListByGalleryImage"); + using var scope = _clientDiagnostics.CreateScope("GalleryImageVersionsOperations.ListByGalleryImage"); scope.Start(); try { @@ -169,7 +169,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GalleryImageVersionsClient.ListByGalleryImage"); + using var scope = _clientDiagnostics.CreateScope("GalleryImageVersionsOperations.ListByGalleryImage"); scope.Start(); try { @@ -215,7 +215,7 @@ public virtual async Task StartCrea throw new ArgumentNullException(nameof(galleryImageVersion)); } - using var scope = _clientDiagnostics.CreateScope("GalleryImageVersionsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("GalleryImageVersionsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -259,7 +259,7 @@ public virtual GalleryImageVersionsCreateOrUpdateOperation StartCreateOrUpdate(s throw new ArgumentNullException(nameof(galleryImageVersion)); } - using var scope = _clientDiagnostics.CreateScope("GalleryImageVersionsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("GalleryImageVersionsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -303,7 +303,7 @@ public virtual async Task StartUpdateAsync( throw new ArgumentNullException(nameof(galleryImageVersion)); } - using var scope = _clientDiagnostics.CreateScope("GalleryImageVersionsClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("GalleryImageVersionsOperations.StartUpdate"); scope.Start(); try { @@ -347,7 +347,7 @@ public virtual GalleryImageVersionsUpdateOperation StartUpdate(string resourceGr throw new ArgumentNullException(nameof(galleryImageVersion)); } - using var scope = _clientDiagnostics.CreateScope("GalleryImageVersionsClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("GalleryImageVersionsOperations.StartUpdate"); scope.Start(); try { @@ -386,7 +386,7 @@ public virtual async Task StartDeleteAsync( throw new ArgumentNullException(nameof(galleryImageVersionName)); } - using var scope = _clientDiagnostics.CreateScope("GalleryImageVersionsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("GalleryImageVersionsOperations.StartDelete"); scope.Start(); try { @@ -425,7 +425,7 @@ public virtual GalleryImageVersionsDeleteOperation StartDelete(string resourceGr throw new ArgumentNullException(nameof(galleryImageVersionName)); } - using var scope = _clientDiagnostics.CreateScope("GalleryImageVersionsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("GalleryImageVersionsOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleryImageVersionsRestClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleryImageVersionsRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleryImageVersionsRestClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleryImageVersionsRestOperations.cs index d16e81df778c5..d194d512bce8e 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleryImageVersionsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleryImageVersionsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Compute { - internal partial class GalleryImageVersionsRestClient + internal partial class GalleryImageVersionsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of GalleryImageVersionsRestClient. + /// Initializes a new instance of GalleryImageVersionsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public GalleryImageVersionsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public GalleryImageVersionsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleryImagesClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleryImagesOperations.cs similarity index 95% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleryImagesClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleryImagesOperations.cs index 9af20f8ca6274..c9e0a233aaad7 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleryImagesClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleryImagesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Compute { /// The GalleryImages service client. - public partial class GalleryImagesClient + public partial class GalleryImagesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal GalleryImagesRestClient RestClient { get; } - /// Initializes a new instance of GalleryImagesClient for mocking. - protected GalleryImagesClient() + internal GalleryImagesRestOperations RestClient { get; } + /// Initializes a new instance of GalleryImagesOperations for mocking. + protected GalleryImagesOperations() { } - /// Initializes a new instance of GalleryImagesClient. + /// Initializes a new instance of GalleryImagesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal GalleryImagesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal GalleryImagesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new GalleryImagesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new GalleryImagesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal GalleryImagesClient(ClientDiagnostics clientDiagnostics, HttpPipeline p /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string galleryName, string galleryImageName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("GalleryImagesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("GalleryImagesOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGroupN /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string galleryName, string galleryImageName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("GalleryImagesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("GalleryImagesOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListByGalleryAsync(string resourceGro async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GalleryImagesClient.ListByGallery"); + using var scope = _clientDiagnostics.CreateScope("GalleryImagesOperations.ListByGallery"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GalleryImagesClient.ListByGallery"); + using var scope = _clientDiagnostics.CreateScope("GalleryImagesOperations.ListByGallery"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable ListByGallery(string resourceGroupName, st Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GalleryImagesClient.ListByGallery"); + using var scope = _clientDiagnostics.CreateScope("GalleryImagesOperations.ListByGallery"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("GalleryImagesClient.ListByGallery"); + using var scope = _clientDiagnostics.CreateScope("GalleryImagesOperations.ListByGallery"); scope.Start(); try { @@ -198,7 +198,7 @@ public virtual async Task StartCreateOrUpd throw new ArgumentNullException(nameof(galleryImage)); } - using var scope = _clientDiagnostics.CreateScope("GalleryImagesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("GalleryImagesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -237,7 +237,7 @@ public virtual GalleryImagesCreateOrUpdateOperation StartCreateOrUpdate(string r throw new ArgumentNullException(nameof(galleryImage)); } - using var scope = _clientDiagnostics.CreateScope("GalleryImagesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("GalleryImagesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -276,7 +276,7 @@ public virtual async Task StartUpdateAsync(string throw new ArgumentNullException(nameof(galleryImage)); } - using var scope = _clientDiagnostics.CreateScope("GalleryImagesClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("GalleryImagesOperations.StartUpdate"); scope.Start(); try { @@ -315,7 +315,7 @@ public virtual GalleryImagesUpdateOperation StartUpdate(string resourceGroupName throw new ArgumentNullException(nameof(galleryImage)); } - using var scope = _clientDiagnostics.CreateScope("GalleryImagesClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("GalleryImagesOperations.StartUpdate"); scope.Start(); try { @@ -349,7 +349,7 @@ public virtual async Task StartDeleteAsync(string throw new ArgumentNullException(nameof(galleryImageName)); } - using var scope = _clientDiagnostics.CreateScope("GalleryImagesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("GalleryImagesOperations.StartDelete"); scope.Start(); try { @@ -383,7 +383,7 @@ public virtual GalleryImagesDeleteOperation StartDelete(string resourceGroupName throw new ArgumentNullException(nameof(galleryImageName)); } - using var scope = _clientDiagnostics.CreateScope("GalleryImagesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("GalleryImagesOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleryImagesRestClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleryImagesRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleryImagesRestClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleryImagesRestOperations.cs index 2edf567134f71..064ceab987d10 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleryImagesRestClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/GalleryImagesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Compute { - internal partial class GalleryImagesRestClient + internal partial class GalleryImagesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of GalleryImagesRestClient. + /// Initializes a new instance of GalleryImagesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public GalleryImagesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public GalleryImagesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ImagesClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ImagesOperations.cs similarity index 94% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ImagesClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ImagesOperations.cs index e02be4cf69138..8c4e4cae55575 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ImagesClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ImagesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Compute { /// The Images service client. - public partial class ImagesClient + public partial class ImagesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ImagesRestClient RestClient { get; } - /// Initializes a new instance of ImagesClient for mocking. - protected ImagesClient() + internal ImagesRestOperations RestClient { get; } + /// Initializes a new instance of ImagesOperations for mocking. + protected ImagesOperations() { } - /// Initializes a new instance of ImagesClient. + /// Initializes a new instance of ImagesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ImagesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ImagesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ImagesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ImagesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal ImagesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string imageName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ImagesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ImagesOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGroupName, st /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string imageName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ImagesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ImagesOperations.Get"); scope.Start(); try { @@ -89,7 +89,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(string resourceGrou async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ImagesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ImagesOperations.ListByResourceGroup"); scope.Start(); try { @@ -104,7 +104,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ImagesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ImagesOperations.ListByResourceGroup"); scope.Start(); try { @@ -132,7 +132,7 @@ public virtual Pageable ListByResourceGroup(string resourceGroupName, Can Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ImagesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ImagesOperations.ListByResourceGroup"); scope.Start(); try { @@ -147,7 +147,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ImagesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ImagesOperations.ListByResourceGroup"); scope.Start(); try { @@ -169,7 +169,7 @@ public virtual AsyncPageable ListAsync(CancellationToken cancellationToke { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ImagesClient.List"); + using var scope = _clientDiagnostics.CreateScope("ImagesOperations.List"); scope.Start(); try { @@ -184,7 +184,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ImagesClient.List"); + using var scope = _clientDiagnostics.CreateScope("ImagesOperations.List"); scope.Start(); try { @@ -206,7 +206,7 @@ public virtual Pageable List(CancellationToken cancellationToken = defaul { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ImagesClient.List"); + using var scope = _clientDiagnostics.CreateScope("ImagesOperations.List"); scope.Start(); try { @@ -221,7 +221,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ImagesClient.List"); + using var scope = _clientDiagnostics.CreateScope("ImagesOperations.List"); scope.Start(); try { @@ -257,7 +257,7 @@ public virtual async Task StartCreateOrUpdateAsyn throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ImagesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ImagesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -291,7 +291,7 @@ public virtual ImagesCreateOrUpdateOperation StartCreateOrUpdate(string resource throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ImagesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ImagesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -325,7 +325,7 @@ public virtual async Task StartUpdateAsync(string resourc throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ImagesClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("ImagesOperations.StartUpdate"); scope.Start(); try { @@ -359,7 +359,7 @@ public virtual ImagesUpdateOperation StartUpdate(string resourceGroupName, strin throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ImagesClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("ImagesOperations.StartUpdate"); scope.Start(); try { @@ -388,7 +388,7 @@ public virtual async Task StartDeleteAsync(string resourc throw new ArgumentNullException(nameof(imageName)); } - using var scope = _clientDiagnostics.CreateScope("ImagesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ImagesOperations.StartDelete"); scope.Start(); try { @@ -417,7 +417,7 @@ public virtual ImagesDeleteOperation StartDelete(string resourceGroupName, strin throw new ArgumentNullException(nameof(imageName)); } - using var scope = _clientDiagnostics.CreateScope("ImagesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ImagesOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ImagesRestClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ImagesRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ImagesRestClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ImagesRestOperations.cs index 55ba5a1a52870..a450b739798d5 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ImagesRestClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ImagesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Compute { - internal partial class ImagesRestClient + internal partial class ImagesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ImagesRestClient. + /// Initializes a new instance of ImagesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ImagesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ImagesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/LogAnalyticsClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/LogAnalyticsOperations.cs similarity index 91% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/LogAnalyticsClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/LogAnalyticsOperations.cs index 3e1df836c8749..290287bb14872 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/LogAnalyticsClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/LogAnalyticsOperations.cs @@ -14,23 +14,23 @@ namespace Azure.Management.Compute { /// The LogAnalytics service client. - public partial class LogAnalyticsClient + public partial class LogAnalyticsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal LogAnalyticsRestClient RestClient { get; } - /// Initializes a new instance of LogAnalyticsClient for mocking. - protected LogAnalyticsClient() + internal LogAnalyticsRestOperations RestClient { get; } + /// Initializes a new instance of LogAnalyticsOperations for mocking. + protected LogAnalyticsOperations() { } - /// Initializes a new instance of LogAnalyticsClient. + /// Initializes a new instance of LogAnalyticsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal LogAnalyticsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal LogAnalyticsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new LogAnalyticsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new LogAnalyticsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -50,7 +50,7 @@ public virtual async Task Star throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("LogAnalyticsClient.StartExportRequestRateByInterval"); + using var scope = _clientDiagnostics.CreateScope("LogAnalyticsOperations.StartExportRequestRateByInterval"); scope.Start(); try { @@ -79,7 +79,7 @@ public virtual LogAnalyticsExportRequestRateByIntervalOperation StartExportReque throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("LogAnalyticsClient.StartExportRequestRateByInterval"); + using var scope = _clientDiagnostics.CreateScope("LogAnalyticsOperations.StartExportRequestRateByInterval"); scope.Start(); try { @@ -108,7 +108,7 @@ public virtual async Task StartExp throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("LogAnalyticsClient.StartExportThrottledRequests"); + using var scope = _clientDiagnostics.CreateScope("LogAnalyticsOperations.StartExportThrottledRequests"); scope.Start(); try { @@ -137,7 +137,7 @@ public virtual LogAnalyticsExportThrottledRequestsOperation StartExportThrottled throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("LogAnalyticsClient.StartExportThrottledRequests"); + using var scope = _clientDiagnostics.CreateScope("LogAnalyticsOperations.StartExportThrottledRequests"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/LogAnalyticsRestClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/LogAnalyticsRestOperations.cs similarity index 97% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/LogAnalyticsRestClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/LogAnalyticsRestOperations.cs index e78bda9aa28e0..d491bdf7f1445 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/LogAnalyticsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/LogAnalyticsRestOperations.cs @@ -15,20 +15,20 @@ namespace Azure.Management.Compute { - internal partial class LogAnalyticsRestClient + internal partial class LogAnalyticsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of LogAnalyticsRestClient. + /// Initializes a new instance of LogAnalyticsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public LogAnalyticsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public LogAnalyticsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/OperationsClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/Operations.cs similarity index 81% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/OperationsClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/Operations.cs index 22981307b53ca..3dd5526d8f4ec 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/OperationsClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/Operations.cs @@ -15,23 +15,23 @@ namespace Azure.Management.Compute { - /// The Operations service client. - public partial class OperationsClient + /// The service client. + public partial class Operations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal OperationsRestClient RestClient { get; } - /// Initializes a new instance of OperationsClient for mocking. - protected OperationsClient() + internal RestOperations RestClient { get; } + /// Initializes a new instance of Operations for mocking. + protected Operations() { } - /// Initializes a new instance of OperationsClient. + /// Initializes a new instance of Operations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// server parameter. - internal OperationsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null) + internal Operations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null) { - RestClient = new OperationsRestClient(clientDiagnostics, pipeline, endpoint); + RestClient = new RestOperations(clientDiagnostics, pipeline, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -42,7 +42,7 @@ public virtual AsyncPageable ListAsync(CancellationToken { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("OperationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("Operations.List"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual Pageable List(CancellationToken cancellati { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("OperationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("Operations.List"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ProximityPlacementGroupsClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ProximityPlacementGroupsOperations.cs similarity index 92% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ProximityPlacementGroupsClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ProximityPlacementGroupsOperations.cs index fe72f1dec9122..3fef447b7a234 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ProximityPlacementGroupsClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ProximityPlacementGroupsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Compute { /// The ProximityPlacementGroups service client. - public partial class ProximityPlacementGroupsClient + public partial class ProximityPlacementGroupsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ProximityPlacementGroupsRestClient RestClient { get; } - /// Initializes a new instance of ProximityPlacementGroupsClient for mocking. - protected ProximityPlacementGroupsClient() + internal ProximityPlacementGroupsRestOperations RestClient { get; } + /// Initializes a new instance of ProximityPlacementGroupsOperations for mocking. + protected ProximityPlacementGroupsOperations() { } - /// Initializes a new instance of ProximityPlacementGroupsClient. + /// Initializes a new instance of ProximityPlacementGroupsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ProximityPlacementGroupsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ProximityPlacementGroupsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ProximityPlacementGroupsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ProximityPlacementGroupsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal ProximityPlacementGroupsClient(ClientDiagnostics clientDiagnostics, Htt /// The cancellation token to use. public virtual async Task> CreateOrUpdateAsync(string resourceGroupName, string proximityPlacementGroupName, ProximityPlacementGroup parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsOperations.CreateOrUpdate"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> CreateOrUpdateAsync /// The cancellation token to use. public virtual Response CreateOrUpdate(string resourceGroupName, string proximityPlacementGroupName, ProximityPlacementGroup parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsOperations.CreateOrUpdate"); scope.Start(); try { @@ -84,7 +84,7 @@ public virtual Response CreateOrUpdate(string resourceG /// The cancellation token to use. public virtual async Task> UpdateAsync(string resourceGroupName, string proximityPlacementGroupName, UpdateResource parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsClient.Update"); + using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsOperations.Update"); scope.Start(); try { @@ -104,7 +104,7 @@ public virtual async Task> UpdateAsync(string /// The cancellation token to use. public virtual Response Update(string resourceGroupName, string proximityPlacementGroupName, UpdateResource parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsClient.Update"); + using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsOperations.Update"); scope.Start(); try { @@ -123,7 +123,7 @@ public virtual Response Update(string resourceGroupName /// The cancellation token to use. public virtual async Task DeleteAsync(string resourceGroupName, string proximityPlacementGroupName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsOperations.Delete"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual async Task DeleteAsync(string resourceGroupName, string /// The cancellation token to use. public virtual Response Delete(string resourceGroupName, string proximityPlacementGroupName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsOperations.Delete"); scope.Start(); try { @@ -162,7 +162,7 @@ public virtual Response Delete(string resourceGroupName, string proximityPlaceme /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string proximityPlacementGroupName, string includeColocationStatus = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsOperations.Get"); scope.Start(); try { @@ -182,7 +182,7 @@ public virtual async Task> GetAsync(string res /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string proximityPlacementGroupName, string includeColocationStatus = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsOperations.Get"); scope.Start(); try { @@ -201,7 +201,7 @@ public virtual AsyncPageable ListBySubscriptionAsync(Ca { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsOperations.ListBySubscription"); scope.Start(); try { @@ -216,7 +216,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsOperations.ListBySubscription"); scope.Start(); try { @@ -238,7 +238,7 @@ public virtual Pageable ListBySubscription(Cancellation { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsOperations.ListBySubscription"); scope.Start(); try { @@ -253,7 +253,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsOperations.ListBySubscription"); scope.Start(); try { @@ -281,7 +281,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(s async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsOperations.ListByResourceGroup"); scope.Start(); try { @@ -296,7 +296,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsOperations.ListByResourceGroup"); scope.Start(); try { @@ -324,7 +324,7 @@ public virtual Pageable ListByResourceGroup(string reso Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsOperations.ListByResourceGroup"); scope.Start(); try { @@ -339,7 +339,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ProximityPlacementGroupsOperations.ListByResourceGroup"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ProximityPlacementGroupsRestClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ProximityPlacementGroupsRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ProximityPlacementGroupsRestClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ProximityPlacementGroupsRestOperations.cs index ee9e7f22c23fa..3a35c5e8d9c4c 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ProximityPlacementGroupsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ProximityPlacementGroupsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Compute { - internal partial class ProximityPlacementGroupsRestClient + internal partial class ProximityPlacementGroupsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ProximityPlacementGroupsRestClient. + /// Initializes a new instance of ProximityPlacementGroupsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ProximityPlacementGroupsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ProximityPlacementGroupsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ResourceSkusClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ResourceSkusOperations.cs similarity index 88% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ResourceSkusClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ResourceSkusOperations.cs index fb110bd3e7087..b8ac079d393d5 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ResourceSkusClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ResourceSkusOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Compute { /// The ResourceSkus service client. - public partial class ResourceSkusClient + public partial class ResourceSkusOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ResourceSkusRestClient RestClient { get; } - /// Initializes a new instance of ResourceSkusClient for mocking. - protected ResourceSkusClient() + internal ResourceSkusRestOperations RestClient { get; } + /// Initializes a new instance of ResourceSkusOperations for mocking. + protected ResourceSkusOperations() { } - /// Initializes a new instance of ResourceSkusClient. + /// Initializes a new instance of ResourceSkusOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ResourceSkusClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ResourceSkusOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ResourceSkusRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ResourceSkusRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ public virtual AsyncPageable ListAsync(string filter = null, Cancel { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ResourceSkusClient.List"); + using var scope = _clientDiagnostics.CreateScope("ResourceSkusOperations.List"); scope.Start(); try { @@ -59,7 +59,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ResourceSkusClient.List"); + using var scope = _clientDiagnostics.CreateScope("ResourceSkusOperations.List"); scope.Start(); try { @@ -82,7 +82,7 @@ public virtual Pageable List(string filter = null, CancellationToke { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ResourceSkusClient.List"); + using var scope = _clientDiagnostics.CreateScope("ResourceSkusOperations.List"); scope.Start(); try { @@ -97,7 +97,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ResourceSkusClient.List"); + using var scope = _clientDiagnostics.CreateScope("ResourceSkusOperations.List"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ResourceSkusRestClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ResourceSkusRestOperations.cs similarity index 97% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ResourceSkusRestClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ResourceSkusRestOperations.cs index 3fc359ffde789..8ea734ea7a7f1 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ResourceSkusRestClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/ResourceSkusRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Compute { - internal partial class ResourceSkusRestClient + internal partial class ResourceSkusRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ResourceSkusRestClient. + /// Initializes a new instance of ResourceSkusRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ResourceSkusRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ResourceSkusRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/OperationsRestClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/RestOperations.cs similarity index 94% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/OperationsRestClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/RestOperations.cs index 52de69cd10c5c..ad70c019f7820 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/OperationsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/RestOperations.cs @@ -16,17 +16,17 @@ namespace Azure.Management.Compute { - internal partial class OperationsRestClient + internal partial class RestOperations { private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of OperationsRestClient. + /// Initializes a new instance of RestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// server parameter. - public OperationsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null) + public RestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null) { endpoint ??= new Uri("https://management.azure.com"); diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/SnapshotsClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/SnapshotsOperations.cs similarity index 95% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/SnapshotsClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/SnapshotsOperations.cs index 7794d2a881b6e..ef83b76204c69 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/SnapshotsClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/SnapshotsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Compute { /// The Snapshots service client. - public partial class SnapshotsClient + public partial class SnapshotsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal SnapshotsRestClient RestClient { get; } - /// Initializes a new instance of SnapshotsClient for mocking. - protected SnapshotsClient() + internal SnapshotsRestOperations RestClient { get; } + /// Initializes a new instance of SnapshotsOperations for mocking. + protected SnapshotsOperations() { } - /// Initializes a new instance of SnapshotsClient. + /// Initializes a new instance of SnapshotsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal SnapshotsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal SnapshotsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new SnapshotsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new SnapshotsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal SnapshotsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipel /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string snapshotName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("SnapshotsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("SnapshotsOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string resourceGroupName, /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string snapshotName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("SnapshotsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("SnapshotsOperations.Get"); scope.Start(); try { @@ -87,7 +87,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(string resourceG async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SnapshotsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("SnapshotsOperations.ListByResourceGroup"); scope.Start(); try { @@ -102,7 +102,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SnapshotsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("SnapshotsOperations.ListByResourceGroup"); scope.Start(); try { @@ -130,7 +130,7 @@ public virtual Pageable ListByResourceGroup(string resourceGroupName, Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SnapshotsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("SnapshotsOperations.ListByResourceGroup"); scope.Start(); try { @@ -145,7 +145,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SnapshotsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("SnapshotsOperations.ListByResourceGroup"); scope.Start(); try { @@ -167,7 +167,7 @@ public virtual AsyncPageable ListAsync(CancellationToken cancellationT { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SnapshotsClient.List"); + using var scope = _clientDiagnostics.CreateScope("SnapshotsOperations.List"); scope.Start(); try { @@ -182,7 +182,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SnapshotsClient.List"); + using var scope = _clientDiagnostics.CreateScope("SnapshotsOperations.List"); scope.Start(); try { @@ -204,7 +204,7 @@ public virtual Pageable List(CancellationToken cancellationToken = def { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SnapshotsClient.List"); + using var scope = _clientDiagnostics.CreateScope("SnapshotsOperations.List"); scope.Start(); try { @@ -219,7 +219,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SnapshotsClient.List"); + using var scope = _clientDiagnostics.CreateScope("SnapshotsOperations.List"); scope.Start(); try { @@ -255,7 +255,7 @@ public virtual async Task StartCreateOrUpdateA throw new ArgumentNullException(nameof(snapshot)); } - using var scope = _clientDiagnostics.CreateScope("SnapshotsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("SnapshotsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -289,7 +289,7 @@ public virtual SnapshotsCreateOrUpdateOperation StartCreateOrUpdate(string resou throw new ArgumentNullException(nameof(snapshot)); } - using var scope = _clientDiagnostics.CreateScope("SnapshotsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("SnapshotsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -323,7 +323,7 @@ public virtual async Task StartUpdateAsync(string reso throw new ArgumentNullException(nameof(snapshot)); } - using var scope = _clientDiagnostics.CreateScope("SnapshotsClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("SnapshotsOperations.StartUpdate"); scope.Start(); try { @@ -357,7 +357,7 @@ public virtual SnapshotsUpdateOperation StartUpdate(string resourceGroupName, st throw new ArgumentNullException(nameof(snapshot)); } - using var scope = _clientDiagnostics.CreateScope("SnapshotsClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("SnapshotsOperations.StartUpdate"); scope.Start(); try { @@ -386,7 +386,7 @@ public virtual async Task StartDeleteAsync(string reso throw new ArgumentNullException(nameof(snapshotName)); } - using var scope = _clientDiagnostics.CreateScope("SnapshotsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("SnapshotsOperations.StartDelete"); scope.Start(); try { @@ -415,7 +415,7 @@ public virtual SnapshotsDeleteOperation StartDelete(string resourceGroupName, st throw new ArgumentNullException(nameof(snapshotName)); } - using var scope = _clientDiagnostics.CreateScope("SnapshotsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("SnapshotsOperations.StartDelete"); scope.Start(); try { @@ -449,7 +449,7 @@ public virtual async Task StartGrantAccessAsync(s throw new ArgumentNullException(nameof(grantAccessData)); } - using var scope = _clientDiagnostics.CreateScope("SnapshotsClient.StartGrantAccess"); + using var scope = _clientDiagnostics.CreateScope("SnapshotsOperations.StartGrantAccess"); scope.Start(); try { @@ -483,7 +483,7 @@ public virtual SnapshotsGrantAccessOperation StartGrantAccess(string resourceGro throw new ArgumentNullException(nameof(grantAccessData)); } - using var scope = _clientDiagnostics.CreateScope("SnapshotsClient.StartGrantAccess"); + using var scope = _clientDiagnostics.CreateScope("SnapshotsOperations.StartGrantAccess"); scope.Start(); try { @@ -512,7 +512,7 @@ public virtual async Task StartRevokeAccessAsync throw new ArgumentNullException(nameof(snapshotName)); } - using var scope = _clientDiagnostics.CreateScope("SnapshotsClient.StartRevokeAccess"); + using var scope = _clientDiagnostics.CreateScope("SnapshotsOperations.StartRevokeAccess"); scope.Start(); try { @@ -541,7 +541,7 @@ public virtual SnapshotsRevokeAccessOperation StartRevokeAccess(string resourceG throw new ArgumentNullException(nameof(snapshotName)); } - using var scope = _clientDiagnostics.CreateScope("SnapshotsClient.StartRevokeAccess"); + using var scope = _clientDiagnostics.CreateScope("SnapshotsOperations.StartRevokeAccess"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/SnapshotsRestClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/SnapshotsRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/SnapshotsRestClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/SnapshotsRestOperations.cs index 72c81516d66b5..932348428e779 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/SnapshotsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/SnapshotsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Compute { - internal partial class SnapshotsRestClient + internal partial class SnapshotsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of SnapshotsRestClient. + /// Initializes a new instance of SnapshotsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public SnapshotsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public SnapshotsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/SshPublicKeysClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/SshPublicKeysOperations.cs similarity index 93% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/SshPublicKeysClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/SshPublicKeysOperations.cs index 5edf44747985a..31d65d8762455 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/SshPublicKeysClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/SshPublicKeysOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Compute { /// The SshPublicKeys service client. - public partial class SshPublicKeysClient + public partial class SshPublicKeysOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal SshPublicKeysRestClient RestClient { get; } - /// Initializes a new instance of SshPublicKeysClient for mocking. - protected SshPublicKeysClient() + internal SshPublicKeysRestOperations RestClient { get; } + /// Initializes a new instance of SshPublicKeysOperations for mocking. + protected SshPublicKeysOperations() { } - /// Initializes a new instance of SshPublicKeysClient. + /// Initializes a new instance of SshPublicKeysOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal SshPublicKeysClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal SshPublicKeysOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new SshPublicKeysRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new SshPublicKeysRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal SshPublicKeysClient(ClientDiagnostics clientDiagnostics, HttpPipeline p /// The cancellation token to use. public virtual async Task> CreateAsync(string resourceGroupName, string sshPublicKeyName, SshPublicKeyResource parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("SshPublicKeysClient.Create"); + using var scope = _clientDiagnostics.CreateScope("SshPublicKeysOperations.Create"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> CreateAsync(string res /// The cancellation token to use. public virtual Response Create(string resourceGroupName, string sshPublicKeyName, SshPublicKeyResource parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("SshPublicKeysClient.Create"); + using var scope = _clientDiagnostics.CreateScope("SshPublicKeysOperations.Create"); scope.Start(); try { @@ -84,7 +84,7 @@ public virtual Response Create(string resourceGroupName, s /// The cancellation token to use. public virtual async Task> UpdateAsync(string resourceGroupName, string sshPublicKeyName, SshPublicKeyUpdateResource parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("SshPublicKeysClient.Update"); + using var scope = _clientDiagnostics.CreateScope("SshPublicKeysOperations.Update"); scope.Start(); try { @@ -104,7 +104,7 @@ public virtual async Task> UpdateAsync(string res /// The cancellation token to use. public virtual Response Update(string resourceGroupName, string sshPublicKeyName, SshPublicKeyUpdateResource parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("SshPublicKeysClient.Update"); + using var scope = _clientDiagnostics.CreateScope("SshPublicKeysOperations.Update"); scope.Start(); try { @@ -123,7 +123,7 @@ public virtual Response Update(string resourceGroupName, s /// The cancellation token to use. public virtual async Task DeleteAsync(string resourceGroupName, string sshPublicKeyName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("SshPublicKeysClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("SshPublicKeysOperations.Delete"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual async Task DeleteAsync(string resourceGroupName, string /// The cancellation token to use. public virtual Response Delete(string resourceGroupName, string sshPublicKeyName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("SshPublicKeysClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("SshPublicKeysOperations.Delete"); scope.Start(); try { @@ -161,7 +161,7 @@ public virtual Response Delete(string resourceGroupName, string sshPublicKeyName /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string sshPublicKeyName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("SshPublicKeysClient.Get"); + using var scope = _clientDiagnostics.CreateScope("SshPublicKeysOperations.Get"); scope.Start(); try { @@ -180,7 +180,7 @@ public virtual async Task> GetAsync(string resour /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string sshPublicKeyName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("SshPublicKeysClient.Get"); + using var scope = _clientDiagnostics.CreateScope("SshPublicKeysOperations.Get"); scope.Start(); try { @@ -199,7 +199,7 @@ public virtual Response Get(string resourceGroupName, stri /// The cancellation token to use. public virtual async Task> GenerateKeyPairAsync(string resourceGroupName, string sshPublicKeyName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("SshPublicKeysClient.GenerateKeyPair"); + using var scope = _clientDiagnostics.CreateScope("SshPublicKeysOperations.GenerateKeyPair"); scope.Start(); try { @@ -218,7 +218,7 @@ public virtual async Task> GenerateK /// The cancellation token to use. public virtual Response GenerateKeyPair(string resourceGroupName, string sshPublicKeyName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("SshPublicKeysClient.GenerateKeyPair"); + using var scope = _clientDiagnostics.CreateScope("SshPublicKeysOperations.GenerateKeyPair"); scope.Start(); try { @@ -237,7 +237,7 @@ public virtual AsyncPageable ListBySubscriptionAsync(Cance { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SshPublicKeysClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("SshPublicKeysOperations.ListBySubscription"); scope.Start(); try { @@ -252,7 +252,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SshPublicKeysClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("SshPublicKeysOperations.ListBySubscription"); scope.Start(); try { @@ -274,7 +274,7 @@ public virtual Pageable ListBySubscription(CancellationTok { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SshPublicKeysClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("SshPublicKeysOperations.ListBySubscription"); scope.Start(); try { @@ -289,7 +289,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SshPublicKeysClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("SshPublicKeysOperations.ListBySubscription"); scope.Start(); try { @@ -317,7 +317,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(stri async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SshPublicKeysClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("SshPublicKeysOperations.ListByResourceGroup"); scope.Start(); try { @@ -332,7 +332,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SshPublicKeysClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("SshPublicKeysOperations.ListByResourceGroup"); scope.Start(); try { @@ -360,7 +360,7 @@ public virtual Pageable ListByResourceGroup(string resourc Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SshPublicKeysClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("SshPublicKeysOperations.ListByResourceGroup"); scope.Start(); try { @@ -375,7 +375,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SshPublicKeysClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("SshPublicKeysOperations.ListByResourceGroup"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/SshPublicKeysRestClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/SshPublicKeysRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/SshPublicKeysRestClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/SshPublicKeysRestOperations.cs index edcead030a01b..e5020069aa49a 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/SshPublicKeysRestClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/SshPublicKeysRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Compute { - internal partial class SshPublicKeysRestClient + internal partial class SshPublicKeysRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of SshPublicKeysRestClient. + /// Initializes a new instance of SshPublicKeysRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public SshPublicKeysRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public SshPublicKeysRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/UsageClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/UsageOperations.cs similarity index 88% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/UsageClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/UsageOperations.cs index e7d4efb492d57..747096447db47 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/UsageClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/UsageOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Compute { /// The Usage service client. - public partial class UsageClient + public partial class UsageOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal UsageRestClient RestClient { get; } - /// Initializes a new instance of UsageClient for mocking. - protected UsageClient() + internal UsageRestOperations RestClient { get; } + /// Initializes a new instance of UsageOperations for mocking. + protected UsageOperations() { } - /// Initializes a new instance of UsageClient. + /// Initializes a new instance of UsageOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal UsageClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal UsageOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new UsageRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new UsageRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -49,7 +49,7 @@ public virtual AsyncPageable ListAsync(string location, CancellationToken async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("UsageClient.List"); + using var scope = _clientDiagnostics.CreateScope("UsageOperations.List"); scope.Start(); try { @@ -64,7 +64,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("UsageClient.List"); + using var scope = _clientDiagnostics.CreateScope("UsageOperations.List"); scope.Start(); try { @@ -92,7 +92,7 @@ public virtual Pageable List(string location, CancellationToken cancellat Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("UsageClient.List"); + using var scope = _clientDiagnostics.CreateScope("UsageOperations.List"); scope.Start(); try { @@ -107,7 +107,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("UsageClient.List"); + using var scope = _clientDiagnostics.CreateScope("UsageOperations.List"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/UsageRestClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/UsageRestOperations.cs similarity index 97% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/UsageRestClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/UsageRestOperations.cs index 92b8b3ab7836e..b8c27de557613 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/UsageRestClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/UsageRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Compute { - internal partial class UsageRestClient + internal partial class UsageRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of UsageRestClient. + /// Initializes a new instance of UsageRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public UsageRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public UsageRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineExtensionImagesClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineExtensionImagesOperations.cs similarity index 89% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineExtensionImagesClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineExtensionImagesOperations.cs index 3caa5de6c6625..5ccb638d21ed4 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineExtensionImagesClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineExtensionImagesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Compute { /// The VirtualMachineExtensionImages service client. - public partial class VirtualMachineExtensionImagesClient + public partial class VirtualMachineExtensionImagesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VirtualMachineExtensionImagesRestClient RestClient { get; } - /// Initializes a new instance of VirtualMachineExtensionImagesClient for mocking. - protected VirtualMachineExtensionImagesClient() + internal VirtualMachineExtensionImagesRestOperations RestClient { get; } + /// Initializes a new instance of VirtualMachineExtensionImagesOperations for mocking. + protected VirtualMachineExtensionImagesOperations() { } - /// Initializes a new instance of VirtualMachineExtensionImagesClient. + /// Initializes a new instance of VirtualMachineExtensionImagesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VirtualMachineExtensionImagesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VirtualMachineExtensionImagesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VirtualMachineExtensionImagesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VirtualMachineExtensionImagesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -45,7 +45,7 @@ internal VirtualMachineExtensionImagesClient(ClientDiagnostics clientDiagnostics /// The cancellation token to use. public virtual async Task> GetAsync(string location, string publisherName, string type, string version, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionImagesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionImagesOperations.Get"); scope.Start(); try { @@ -66,7 +66,7 @@ public virtual async Task> GetAsync(strin /// The cancellation token to use. public virtual Response Get(string location, string publisherName, string type, string version, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionImagesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionImagesOperations.Get"); scope.Start(); try { @@ -85,7 +85,7 @@ public virtual Response Get(string location, strin /// The cancellation token to use. public virtual async Task>> ListTypesAsync(string location, string publisherName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionImagesClient.ListTypes"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionImagesOperations.ListTypes"); scope.Start(); try { @@ -104,7 +104,7 @@ public virtual async Task>> /// The cancellation token to use. public virtual Response> ListTypes(string location, string publisherName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionImagesClient.ListTypes"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionImagesOperations.ListTypes"); scope.Start(); try { @@ -127,7 +127,7 @@ public virtual Response> ListTypes(s /// The cancellation token to use. public virtual async Task>> ListVersionsAsync(string location, string publisherName, string type, string filter = null, int? top = null, string orderby = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionImagesClient.ListVersions"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionImagesOperations.ListVersions"); scope.Start(); try { @@ -150,7 +150,7 @@ public virtual async Task>> /// The cancellation token to use. public virtual Response> ListVersions(string location, string publisherName, string type, string filter = null, int? top = null, string orderby = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionImagesClient.ListVersions"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionImagesOperations.ListVersions"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineExtensionImagesRestClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineExtensionImagesRestOperations.cs similarity index 98% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineExtensionImagesRestClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineExtensionImagesRestOperations.cs index 6d395ec5b2adf..9d9d0117876f0 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineExtensionImagesRestClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineExtensionImagesRestOperations.cs @@ -17,20 +17,20 @@ namespace Azure.Management.Compute { - internal partial class VirtualMachineExtensionImagesRestClient + internal partial class VirtualMachineExtensionImagesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of VirtualMachineExtensionImagesRestClient. + /// Initializes a new instance of VirtualMachineExtensionImagesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VirtualMachineExtensionImagesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VirtualMachineExtensionImagesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineExtensionsClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineExtensionsOperations.cs similarity index 94% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineExtensionsClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineExtensionsOperations.cs index f0bc998ae61fb..a7df0959d0cdb 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineExtensionsClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineExtensionsOperations.cs @@ -15,23 +15,23 @@ namespace Azure.Management.Compute { /// The VirtualMachineExtensions service client. - public partial class VirtualMachineExtensionsClient + public partial class VirtualMachineExtensionsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VirtualMachineExtensionsRestClient RestClient { get; } - /// Initializes a new instance of VirtualMachineExtensionsClient for mocking. - protected VirtualMachineExtensionsClient() + internal VirtualMachineExtensionsRestOperations RestClient { get; } + /// Initializes a new instance of VirtualMachineExtensionsOperations for mocking. + protected VirtualMachineExtensionsOperations() { } - /// Initializes a new instance of VirtualMachineExtensionsClient. + /// Initializes a new instance of VirtualMachineExtensionsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VirtualMachineExtensionsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VirtualMachineExtensionsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VirtualMachineExtensionsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VirtualMachineExtensionsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal VirtualMachineExtensionsClient(ClientDiagnostics clientDiagnostics, Htt /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string vmName, string vmExtensionName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionsOperations.Get"); scope.Start(); try { @@ -65,7 +65,7 @@ public virtual async Task> GetAsync(string res /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string vmName, string vmExtensionName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionsOperations.Get"); scope.Start(); try { @@ -85,7 +85,7 @@ public virtual Response Get(string resourceGroupName, s /// The cancellation token to use. public virtual async Task> ListAsync(string resourceGroupName, string vmName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionsOperations.List"); scope.Start(); try { @@ -105,7 +105,7 @@ public virtual async Task> ListAsyn /// The cancellation token to use. public virtual Response List(string resourceGroupName, string vmName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionsOperations.List"); scope.Start(); try { @@ -143,7 +143,7 @@ public virtual async Task Start throw new ArgumentNullException(nameof(extensionParameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -182,7 +182,7 @@ public virtual VirtualMachineExtensionsCreateOrUpdateOperation StartCreateOrUpda throw new ArgumentNullException(nameof(extensionParameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -221,7 +221,7 @@ public virtual async Task StartUpdateAs throw new ArgumentNullException(nameof(extensionParameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionsClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionsOperations.StartUpdate"); scope.Start(); try { @@ -260,7 +260,7 @@ public virtual VirtualMachineExtensionsUpdateOperation StartUpdate(string resour throw new ArgumentNullException(nameof(extensionParameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionsClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionsOperations.StartUpdate"); scope.Start(); try { @@ -294,7 +294,7 @@ public virtual async Task StartDeleteAs throw new ArgumentNullException(nameof(vmExtensionName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionsOperations.StartDelete"); scope.Start(); try { @@ -328,7 +328,7 @@ public virtual VirtualMachineExtensionsDeleteOperation StartDelete(string resour throw new ArgumentNullException(nameof(vmExtensionName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineExtensionsOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineExtensionsRestClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineExtensionsRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineExtensionsRestClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineExtensionsRestOperations.cs index cf9993c003de3..839ae946018ad 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineExtensionsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineExtensionsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Compute { - internal partial class VirtualMachineExtensionsRestClient + internal partial class VirtualMachineExtensionsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of VirtualMachineExtensionsRestClient. + /// Initializes a new instance of VirtualMachineExtensionsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VirtualMachineExtensionsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VirtualMachineExtensionsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineImagesClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineImagesOperations.cs similarity index 92% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineImagesClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineImagesOperations.cs index 473823c2280ad..b2dbbf3a36e82 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineImagesClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineImagesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Compute { /// The VirtualMachineImages service client. - public partial class VirtualMachineImagesClient + public partial class VirtualMachineImagesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VirtualMachineImagesRestClient RestClient { get; } - /// Initializes a new instance of VirtualMachineImagesClient for mocking. - protected VirtualMachineImagesClient() + internal VirtualMachineImagesRestOperations RestClient { get; } + /// Initializes a new instance of VirtualMachineImagesOperations for mocking. + protected VirtualMachineImagesOperations() { } - /// Initializes a new instance of VirtualMachineImagesClient. + /// Initializes a new instance of VirtualMachineImagesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VirtualMachineImagesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VirtualMachineImagesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VirtualMachineImagesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VirtualMachineImagesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -46,7 +46,7 @@ internal VirtualMachineImagesClient(ClientDiagnostics clientDiagnostics, HttpPip /// The cancellation token to use. public virtual async Task> GetAsync(string location, string publisherName, string offer, string skus, string version, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineImagesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineImagesOperations.Get"); scope.Start(); try { @@ -68,7 +68,7 @@ public virtual async Task> GetAsync(string locatio /// The cancellation token to use. public virtual Response Get(string location, string publisherName, string offer, string skus, string version, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineImagesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineImagesOperations.Get"); scope.Start(); try { @@ -92,7 +92,7 @@ public virtual Response Get(string location, string publish /// The cancellation token to use. public virtual async Task>> ListAsync(string location, string publisherName, string offer, string skus, string expand = null, int? top = null, string orderby = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineImagesClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineImagesOperations.List"); scope.Start(); try { @@ -116,7 +116,7 @@ public virtual async Task>> /// The cancellation token to use. public virtual Response> List(string location, string publisherName, string offer, string skus, string expand = null, int? top = null, string orderby = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineImagesClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineImagesOperations.List"); scope.Start(); try { @@ -135,7 +135,7 @@ public virtual Response> List(string /// The cancellation token to use. public virtual async Task>> ListOffersAsync(string location, string publisherName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineImagesClient.ListOffers"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineImagesOperations.ListOffers"); scope.Start(); try { @@ -154,7 +154,7 @@ public virtual async Task>> /// The cancellation token to use. public virtual Response> ListOffers(string location, string publisherName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineImagesClient.ListOffers"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineImagesOperations.ListOffers"); scope.Start(); try { @@ -172,7 +172,7 @@ public virtual Response> ListOffers(s /// The cancellation token to use. public virtual async Task>> ListPublishersAsync(string location, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineImagesClient.ListPublishers"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineImagesOperations.ListPublishers"); scope.Start(); try { @@ -190,7 +190,7 @@ public virtual async Task>> /// The cancellation token to use. public virtual Response> ListPublishers(string location, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineImagesClient.ListPublishers"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineImagesOperations.ListPublishers"); scope.Start(); try { @@ -210,7 +210,7 @@ public virtual Response> ListPublishe /// The cancellation token to use. public virtual async Task>> ListSkusAsync(string location, string publisherName, string offer, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineImagesClient.ListSkus"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineImagesOperations.ListSkus"); scope.Start(); try { @@ -230,7 +230,7 @@ public virtual async Task>> /// The cancellation token to use. public virtual Response> ListSkus(string location, string publisherName, string offer, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineImagesClient.ListSkus"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineImagesOperations.ListSkus"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineImagesRestClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineImagesRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineImagesRestClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineImagesRestOperations.cs index ac0497ef99a74..50ce8e17fa6e1 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineImagesRestClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineImagesRestOperations.cs @@ -17,20 +17,20 @@ namespace Azure.Management.Compute { - internal partial class VirtualMachineImagesRestClient + internal partial class VirtualMachineImagesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of VirtualMachineImagesRestClient. + /// Initializes a new instance of VirtualMachineImagesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VirtualMachineImagesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VirtualMachineImagesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineRunCommandsClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineRunCommandsOperations.cs similarity index 89% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineRunCommandsClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineRunCommandsOperations.cs index 9c5a1a81a077a..2e16b312040ad 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineRunCommandsClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineRunCommandsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Compute { /// The VirtualMachineRunCommands service client. - public partial class VirtualMachineRunCommandsClient + public partial class VirtualMachineRunCommandsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VirtualMachineRunCommandsRestClient RestClient { get; } - /// Initializes a new instance of VirtualMachineRunCommandsClient for mocking. - protected VirtualMachineRunCommandsClient() + internal VirtualMachineRunCommandsRestOperations RestClient { get; } + /// Initializes a new instance of VirtualMachineRunCommandsOperations for mocking. + protected VirtualMachineRunCommandsOperations() { } - /// Initializes a new instance of VirtualMachineRunCommandsClient. + /// Initializes a new instance of VirtualMachineRunCommandsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VirtualMachineRunCommandsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VirtualMachineRunCommandsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VirtualMachineRunCommandsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VirtualMachineRunCommandsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal VirtualMachineRunCommandsClient(ClientDiagnostics clientDiagnostics, Ht /// The cancellation token to use. public virtual async Task> GetAsync(string location, string commandId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineRunCommandsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineRunCommandsOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string location /// The cancellation token to use. public virtual Response Get(string location, string commandId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineRunCommandsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineRunCommandsOperations.Get"); scope.Start(); try { @@ -87,7 +87,7 @@ public virtual AsyncPageable ListAsync(string location, async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineRunCommandsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineRunCommandsOperations.List"); scope.Start(); try { @@ -102,7 +102,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineRunCommandsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineRunCommandsOperations.List"); scope.Start(); try { @@ -130,7 +130,7 @@ public virtual Pageable List(string location, Cancellati Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineRunCommandsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineRunCommandsOperations.List"); scope.Start(); try { @@ -145,7 +145,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineRunCommandsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineRunCommandsOperations.List"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineRunCommandsRestClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineRunCommandsRestOperations.cs similarity index 98% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineRunCommandsRestClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineRunCommandsRestOperations.cs index 3fe141a84a716..cf543f0d29664 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineRunCommandsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineRunCommandsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Compute { - internal partial class VirtualMachineRunCommandsRestClient + internal partial class VirtualMachineRunCommandsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of VirtualMachineRunCommandsRestClient. + /// Initializes a new instance of VirtualMachineRunCommandsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VirtualMachineRunCommandsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VirtualMachineRunCommandsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineScaleSetExtensionsClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineScaleSetExtensionsOperations.cs similarity index 94% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineScaleSetExtensionsClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineScaleSetExtensionsOperations.cs index f6c12c018f952..a81a89b16aac8 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineScaleSetExtensionsClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineScaleSetExtensionsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Compute { /// The VirtualMachineScaleSetExtensions service client. - public partial class VirtualMachineScaleSetExtensionsClient + public partial class VirtualMachineScaleSetExtensionsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VirtualMachineScaleSetExtensionsRestClient RestClient { get; } - /// Initializes a new instance of VirtualMachineScaleSetExtensionsClient for mocking. - protected VirtualMachineScaleSetExtensionsClient() + internal VirtualMachineScaleSetExtensionsRestOperations RestClient { get; } + /// Initializes a new instance of VirtualMachineScaleSetExtensionsOperations for mocking. + protected VirtualMachineScaleSetExtensionsOperations() { } - /// Initializes a new instance of VirtualMachineScaleSetExtensionsClient. + /// Initializes a new instance of VirtualMachineScaleSetExtensionsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VirtualMachineScaleSetExtensionsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VirtualMachineScaleSetExtensionsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VirtualMachineScaleSetExtensionsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VirtualMachineScaleSetExtensionsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -45,7 +45,7 @@ internal VirtualMachineScaleSetExtensionsClient(ClientDiagnostics clientDiagnost /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string vmScaleSetName, string vmssExtensionName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetExtensionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetExtensionsOperations.Get"); scope.Start(); try { @@ -66,7 +66,7 @@ public virtual async Task> GetAsync(st /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string vmScaleSetName, string vmssExtensionName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetExtensionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetExtensionsOperations.Get"); scope.Start(); try { @@ -96,7 +96,7 @@ public virtual AsyncPageable ListAsync(string r async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetExtensionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetExtensionsOperations.List"); scope.Start(); try { @@ -111,7 +111,7 @@ async Task> FirstPageFunc(int? pageSizeHin } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetExtensionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetExtensionsOperations.List"); scope.Start(); try { @@ -144,7 +144,7 @@ public virtual Pageable List(string resourceGro Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetExtensionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetExtensionsOperations.List"); scope.Start(); try { @@ -159,7 +159,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetExtensionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetExtensionsOperations.List"); scope.Start(); try { @@ -200,7 +200,7 @@ public virtual async Task Start throw new ArgumentNullException(nameof(extensionParameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetExtensionsClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetExtensionsOperations.StartUpdate"); scope.Start(); try { @@ -317,7 +317,7 @@ public virtual VirtualMachineScaleSetExtensionsUpdateOperation StartUpdate(strin throw new ArgumentNullException(nameof(extensionParameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetExtensionsClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetExtensionsOperations.StartUpdate"); scope.Start(); try { @@ -351,7 +351,7 @@ public virtual async Task Start throw new ArgumentNullException(nameof(vmssExtensionName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetExtensionsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetExtensionsOperations.StartDelete"); scope.Start(); try { @@ -385,7 +385,7 @@ public virtual VirtualMachineScaleSetExtensionsDeleteOperation StartDelete(strin throw new ArgumentNullException(nameof(vmssExtensionName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetExtensionsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetExtensionsOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineScaleSetExtensionsRestClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineScaleSetExtensionsRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineScaleSetExtensionsRestClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineScaleSetExtensionsRestOperations.cs index a6e6b43c7c7ac..16498c989e664 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineScaleSetExtensionsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineScaleSetExtensionsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Compute { - internal partial class VirtualMachineScaleSetExtensionsRestClient + internal partial class VirtualMachineScaleSetExtensionsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of VirtualMachineScaleSetExtensionsRestClient. + /// Initializes a new instance of VirtualMachineScaleSetExtensionsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VirtualMachineScaleSetExtensionsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VirtualMachineScaleSetExtensionsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineScaleSetRollingUpgradesClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineScaleSetRollingUpgradesOperations.cs similarity index 91% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineScaleSetRollingUpgradesClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineScaleSetRollingUpgradesOperations.cs index c75db1219a8fe..4d2d1cb8b3ab3 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineScaleSetRollingUpgradesClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineScaleSetRollingUpgradesOperations.cs @@ -15,23 +15,23 @@ namespace Azure.Management.Compute { /// The VirtualMachineScaleSetRollingUpgrades service client. - public partial class VirtualMachineScaleSetRollingUpgradesClient + public partial class VirtualMachineScaleSetRollingUpgradesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VirtualMachineScaleSetRollingUpgradesRestClient RestClient { get; } - /// Initializes a new instance of VirtualMachineScaleSetRollingUpgradesClient for mocking. - protected VirtualMachineScaleSetRollingUpgradesClient() + internal VirtualMachineScaleSetRollingUpgradesRestOperations RestClient { get; } + /// Initializes a new instance of VirtualMachineScaleSetRollingUpgradesOperations for mocking. + protected VirtualMachineScaleSetRollingUpgradesOperations() { } - /// Initializes a new instance of VirtualMachineScaleSetRollingUpgradesClient. + /// Initializes a new instance of VirtualMachineScaleSetRollingUpgradesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VirtualMachineScaleSetRollingUpgradesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VirtualMachineScaleSetRollingUpgradesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VirtualMachineScaleSetRollingUpgradesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VirtualMachineScaleSetRollingUpgradesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -42,7 +42,7 @@ internal VirtualMachineScaleSetRollingUpgradesClient(ClientDiagnostics clientDia /// The cancellation token to use. public virtual async Task> GetLatestAsync(string resourceGroupName, string vmScaleSetName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetRollingUpgradesClient.GetLatest"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetRollingUpgradesOperations.GetLatest"); scope.Start(); try { @@ -61,7 +61,7 @@ public virtual async Task> GetLatestAsync(str /// The cancellation token to use. public virtual Response GetLatest(string resourceGroupName, string vmScaleSetName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetRollingUpgradesClient.GetLatest"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetRollingUpgradesOperations.GetLatest"); scope.Start(); try { @@ -89,7 +89,7 @@ public virtual async Task throw new ArgumentNullException(nameof(vmScaleSetName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetRollingUpgradesClient.StartCancel"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetRollingUpgradesOperations.StartCancel"); scope.Start(); try { @@ -118,7 +118,7 @@ public virtual VirtualMachineScaleSetRollingUpgradesCancelOperation StartCancel( throw new ArgumentNullException(nameof(vmScaleSetName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetRollingUpgradesClient.StartCancel"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetRollingUpgradesOperations.StartCancel"); scope.Start(); try { @@ -147,7 +147,7 @@ public virtual async Task Initializes a new instance of VirtualMachineScaleSetRollingUpgradesRestClient. + /// Initializes a new instance of VirtualMachineScaleSetRollingUpgradesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VirtualMachineScaleSetRollingUpgradesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VirtualMachineScaleSetRollingUpgradesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineScaleSetVMExtensionsClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineScaleSetVMExtensionsOperations.cs similarity index 94% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineScaleSetVMExtensionsClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineScaleSetVMExtensionsOperations.cs index 24f1c8ebc70ac..927743b5d2977 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineScaleSetVMExtensionsClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineScaleSetVMExtensionsOperations.cs @@ -15,23 +15,23 @@ namespace Azure.Management.Compute { /// The VirtualMachineScaleSetVMExtensions service client. - public partial class VirtualMachineScaleSetVMExtensionsClient + public partial class VirtualMachineScaleSetVMExtensionsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VirtualMachineScaleSetVMExtensionsRestClient RestClient { get; } - /// Initializes a new instance of VirtualMachineScaleSetVMExtensionsClient for mocking. - protected VirtualMachineScaleSetVMExtensionsClient() + internal VirtualMachineScaleSetVMExtensionsRestOperations RestClient { get; } + /// Initializes a new instance of VirtualMachineScaleSetVMExtensionsOperations for mocking. + protected VirtualMachineScaleSetVMExtensionsOperations() { } - /// Initializes a new instance of VirtualMachineScaleSetVMExtensionsClient. + /// Initializes a new instance of VirtualMachineScaleSetVMExtensionsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VirtualMachineScaleSetVMExtensionsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VirtualMachineScaleSetVMExtensionsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VirtualMachineScaleSetVMExtensionsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VirtualMachineScaleSetVMExtensionsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -45,7 +45,7 @@ internal VirtualMachineScaleSetVMExtensionsClient(ClientDiagnostics clientDiagno /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string vmScaleSetName, string instanceId, string vmExtensionName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMExtensionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMExtensionsOperations.Get"); scope.Start(); try { @@ -67,7 +67,7 @@ public virtual async Task> GetAsync(string res /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string vmScaleSetName, string instanceId, string vmExtensionName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMExtensionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMExtensionsOperations.Get"); scope.Start(); try { @@ -88,7 +88,7 @@ public virtual Response Get(string resourceGroupName, s /// The cancellation token to use. public virtual async Task> ListAsync(string resourceGroupName, string vmScaleSetName, string instanceId, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMExtensionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMExtensionsOperations.List"); scope.Start(); try { @@ -109,7 +109,7 @@ public virtual async Task> ListAsyn /// The cancellation token to use. public virtual Response List(string resourceGroupName, string vmScaleSetName, string instanceId, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMExtensionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMExtensionsOperations.List"); scope.Start(); try { @@ -152,7 +152,7 @@ public virtual async Task Sta throw new ArgumentNullException(nameof(extensionParameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMExtensionsClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMExtensionsOperations.StartUpdate"); scope.Start(); try { @@ -284,7 +284,7 @@ public virtual VirtualMachineScaleSetVMExtensionsUpdateOperation StartUpdate(str throw new ArgumentNullException(nameof(extensionParameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMExtensionsClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMExtensionsOperations.StartUpdate"); scope.Start(); try { @@ -323,7 +323,7 @@ public virtual async Task Sta throw new ArgumentNullException(nameof(vmExtensionName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMExtensionsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMExtensionsOperations.StartDelete"); scope.Start(); try { @@ -362,7 +362,7 @@ public virtual VirtualMachineScaleSetVMExtensionsDeleteOperation StartDelete(str throw new ArgumentNullException(nameof(vmExtensionName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMExtensionsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMExtensionsOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineScaleSetVMExtensionsRestClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineScaleSetVMExtensionsRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineScaleSetVMExtensionsRestClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineScaleSetVMExtensionsRestOperations.cs index f3fe4c1466d3b..a71be5a914de9 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineScaleSetVMExtensionsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineScaleSetVMExtensionsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Compute { - internal partial class VirtualMachineScaleSetVMExtensionsRestClient + internal partial class VirtualMachineScaleSetVMExtensionsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of VirtualMachineScaleSetVMExtensionsRestClient. + /// Initializes a new instance of VirtualMachineScaleSetVMExtensionsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VirtualMachineScaleSetVMExtensionsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VirtualMachineScaleSetVMExtensionsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineScaleSetVMsClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineScaleSetVMsOperations.cs similarity index 96% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineScaleSetVMsClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineScaleSetVMsOperations.cs index 6066cd22188a8..4a8a35df6d258 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineScaleSetVMsClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineScaleSetVMsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Compute { /// The VirtualMachineScaleSetVMs service client. - public partial class VirtualMachineScaleSetVMsClient + public partial class VirtualMachineScaleSetVMsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VirtualMachineScaleSetVMsRestClient RestClient { get; } - /// Initializes a new instance of VirtualMachineScaleSetVMsClient for mocking. - protected VirtualMachineScaleSetVMsClient() + internal VirtualMachineScaleSetVMsRestOperations RestClient { get; } + /// Initializes a new instance of VirtualMachineScaleSetVMsOperations for mocking. + protected VirtualMachineScaleSetVMsOperations() { } - /// Initializes a new instance of VirtualMachineScaleSetVMsClient. + /// Initializes a new instance of VirtualMachineScaleSetVMsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VirtualMachineScaleSetVMsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VirtualMachineScaleSetVMsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VirtualMachineScaleSetVMsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VirtualMachineScaleSetVMsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal VirtualMachineScaleSetVMsClient(ClientDiagnostics clientDiagnostics, Ht /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string vmScaleSetName, string instanceId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string re /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string vmScaleSetName, string instanceId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.Get"); scope.Start(); try { @@ -84,7 +84,7 @@ public virtual Response Get(string resourceGroupName, /// The cancellation token to use. public virtual async Task> GetInstanceViewAsync(string resourceGroupName, string vmScaleSetName, string instanceId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.GetInstanceView"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.GetInstanceView"); scope.Start(); try { @@ -104,7 +104,7 @@ public virtual async Task> GetIns /// The cancellation token to use. public virtual Response GetInstanceView(string resourceGroupName, string vmScaleSetName, string instanceId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.GetInstanceView"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.GetInstanceView"); scope.Start(); try { @@ -124,7 +124,7 @@ public virtual Response GetInstanceView(st /// The cancellation token to use. public virtual async Task SimulateEvictionAsync(string resourceGroupName, string vmScaleSetName, string instanceId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.SimulateEviction"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.SimulateEviction"); scope.Start(); try { @@ -144,7 +144,7 @@ public virtual async Task SimulateEvictionAsync(string resourceGroupNa /// The cancellation token to use. public virtual Response SimulateEviction(string resourceGroupName, string vmScaleSetName, string instanceId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.SimulateEviction"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.SimulateEviction"); scope.Start(); try { @@ -177,7 +177,7 @@ public virtual AsyncPageable ListAsync(string resource async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.List"); scope.Start(); try { @@ -192,7 +192,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.List"); scope.Start(); try { @@ -228,7 +228,7 @@ public virtual Pageable List(string resourceGroupName, Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.List"); scope.Start(); try { @@ -243,7 +243,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.List"); scope.Start(); try { @@ -280,7 +280,7 @@ public virtual async Task StartReimag throw new ArgumentNullException(nameof(instanceId)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.StartReimage"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.StartReimage"); scope.Start(); try { @@ -315,7 +315,7 @@ public virtual VirtualMachineScaleSetVMsReimageOperation StartReimage(string res throw new ArgumentNullException(nameof(instanceId)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.StartReimage"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.StartReimage"); scope.Start(); try { @@ -349,7 +349,7 @@ public virtual async Task StartRei throw new ArgumentNullException(nameof(instanceId)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.StartReimageAll"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.StartReimageAll"); scope.Start(); try { @@ -383,7 +383,7 @@ public virtual VirtualMachineScaleSetVMsReimageAllOperation StartReimageAll(stri throw new ArgumentNullException(nameof(instanceId)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.StartReimageAll"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.StartReimageAll"); scope.Start(); try { @@ -417,7 +417,7 @@ public virtual async Task StartDea throw new ArgumentNullException(nameof(instanceId)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.StartDeallocate"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.StartDeallocate"); scope.Start(); try { @@ -451,7 +451,7 @@ public virtual VirtualMachineScaleSetVMsDeallocateOperation StartDeallocate(stri throw new ArgumentNullException(nameof(instanceId)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.StartDeallocate"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.StartDeallocate"); scope.Start(); try { @@ -490,7 +490,7 @@ public virtual async Task StartUpdateA throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.StartUpdate"); scope.Start(); try { @@ -529,7 +529,7 @@ public virtual VirtualMachineScaleSetVMsUpdateOperation StartUpdate(string resou throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.StartUpdate"); scope.Start(); try { @@ -563,7 +563,7 @@ public virtual async Task StartDeleteA throw new ArgumentNullException(nameof(instanceId)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.StartDelete"); scope.Start(); try { @@ -597,7 +597,7 @@ public virtual VirtualMachineScaleSetVMsDeleteOperation StartDelete(string resou throw new ArgumentNullException(nameof(instanceId)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.StartDelete"); scope.Start(); try { @@ -632,7 +632,7 @@ public virtual async Task StartPower throw new ArgumentNullException(nameof(instanceId)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.StartPowerOff"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.StartPowerOff"); scope.Start(); try { @@ -667,7 +667,7 @@ public virtual VirtualMachineScaleSetVMsPowerOffOperation StartPowerOff(string r throw new ArgumentNullException(nameof(instanceId)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.StartPowerOff"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.StartPowerOff"); scope.Start(); try { @@ -701,7 +701,7 @@ public virtual async Task StartRestar throw new ArgumentNullException(nameof(instanceId)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.StartRestart"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.StartRestart"); scope.Start(); try { @@ -735,7 +735,7 @@ public virtual VirtualMachineScaleSetVMsRestartOperation StartRestart(string res throw new ArgumentNullException(nameof(instanceId)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.StartRestart"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.StartRestart"); scope.Start(); try { @@ -769,7 +769,7 @@ public virtual async Task StartStartAsy throw new ArgumentNullException(nameof(instanceId)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.StartStart"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.StartStart"); scope.Start(); try { @@ -803,7 +803,7 @@ public virtual VirtualMachineScaleSetVMsStartOperation StartStart(string resourc throw new ArgumentNullException(nameof(instanceId)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.StartStart"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.StartStart"); scope.Start(); try { @@ -837,7 +837,7 @@ public virtual async Task StartRedep throw new ArgumentNullException(nameof(instanceId)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.StartRedeploy"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.StartRedeploy"); scope.Start(); try { @@ -871,7 +871,7 @@ public virtual VirtualMachineScaleSetVMsRedeployOperation StartRedeploy(string r throw new ArgumentNullException(nameof(instanceId)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.StartRedeploy"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.StartRedeploy"); scope.Start(); try { @@ -905,7 +905,7 @@ public virtual async Task throw new ArgumentNullException(nameof(instanceId)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.StartPerformMaintenance"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.StartPerformMaintenance"); scope.Start(); try { @@ -939,7 +939,7 @@ public virtual VirtualMachineScaleSetVMsPerformMaintenanceOperation StartPerform throw new ArgumentNullException(nameof(instanceId)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.StartPerformMaintenance"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.StartPerformMaintenance"); scope.Start(); try { @@ -978,7 +978,7 @@ public virtual async Task StartRun throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.StartRunCommand"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.StartRunCommand"); scope.Start(); try { @@ -1017,7 +1017,7 @@ public virtual VirtualMachineScaleSetVMsRunCommandOperation StartRunCommand(stri throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsClient.StartRunCommand"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetVMsOperations.StartRunCommand"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineScaleSetVMsRestClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineScaleSetVMsRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineScaleSetVMsRestClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineScaleSetVMsRestOperations.cs index c2e9a230014dd..6fbbeed4549b2 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineScaleSetVMsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineScaleSetVMsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Compute { - internal partial class VirtualMachineScaleSetVMsRestClient + internal partial class VirtualMachineScaleSetVMsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of VirtualMachineScaleSetVMsRestClient. + /// Initializes a new instance of VirtualMachineScaleSetVMsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VirtualMachineScaleSetVMsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VirtualMachineScaleSetVMsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineScaleSetsClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineScaleSetsOperations.cs similarity index 95% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineScaleSetsClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineScaleSetsOperations.cs index 988a25584e876..3d8d87af77dce 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineScaleSetsClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineScaleSetsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Compute { /// The VirtualMachineScaleSets service client. - public partial class VirtualMachineScaleSetsClient + public partial class VirtualMachineScaleSetsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VirtualMachineScaleSetsRestClient RestClient { get; } - /// Initializes a new instance of VirtualMachineScaleSetsClient for mocking. - protected VirtualMachineScaleSetsClient() + internal VirtualMachineScaleSetsRestOperations RestClient { get; } + /// Initializes a new instance of VirtualMachineScaleSetsOperations for mocking. + protected VirtualMachineScaleSetsOperations() { } - /// Initializes a new instance of VirtualMachineScaleSetsClient. + /// Initializes a new instance of VirtualMachineScaleSetsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VirtualMachineScaleSetsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VirtualMachineScaleSetsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VirtualMachineScaleSetsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VirtualMachineScaleSetsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal VirtualMachineScaleSetsClient(ClientDiagnostics clientDiagnostics, Http /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string vmScaleSetName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string reso /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string vmScaleSetName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.Get"); scope.Start(); try { @@ -81,7 +81,7 @@ public virtual Response Get(string resourceGroupName, st /// The cancellation token to use. public virtual async Task> GetInstanceViewAsync(string resourceGroupName, string vmScaleSetName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.GetInstanceView"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.GetInstanceView"); scope.Start(); try { @@ -100,7 +100,7 @@ public virtual async Task> GetInsta /// The cancellation token to use. public virtual Response GetInstanceView(string resourceGroupName, string vmScaleSetName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.GetInstanceView"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.GetInstanceView"); scope.Start(); try { @@ -120,7 +120,7 @@ public virtual Response GetInstanceView(stri /// The cancellation token to use. public virtual async Task> ForceRecoveryServiceFabricPlatformUpdateDomainWalkAsync(string resourceGroupName, string vmScaleSetName, int platformUpdateDomain, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.ForceRecoveryServiceFabricPlatformUpdateDomainWalk"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.ForceRecoveryServiceFabricPlatformUpdateDomainWalk"); scope.Start(); try { @@ -140,7 +140,7 @@ public virtual async Task> ForceRecoveryServiceFa /// The cancellation token to use. public virtual Response ForceRecoveryServiceFabricPlatformUpdateDomainWalk(string resourceGroupName, string vmScaleSetName, int platformUpdateDomain, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.ForceRecoveryServiceFabricPlatformUpdateDomainWalk"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.ForceRecoveryServiceFabricPlatformUpdateDomainWalk"); scope.Start(); try { @@ -160,7 +160,7 @@ public virtual Response ForceRecoveryServiceFabricPlatform /// The cancellation token to use. public virtual async Task ConvertToSinglePlacementGroupAsync(string resourceGroupName, string vmScaleSetName, VMScaleSetConvertToSinglePlacementGroupInput parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.ConvertToSinglePlacementGroup"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.ConvertToSinglePlacementGroup"); scope.Start(); try { @@ -180,7 +180,7 @@ public virtual async Task ConvertToSinglePlacementGroupAsync(string re /// The cancellation token to use. public virtual Response ConvertToSinglePlacementGroup(string resourceGroupName, string vmScaleSetName, VMScaleSetConvertToSinglePlacementGroupInput parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.ConvertToSinglePlacementGroup"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.ConvertToSinglePlacementGroup"); scope.Start(); try { @@ -205,7 +205,7 @@ public virtual AsyncPageable ListAsync(string resourceGr async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.List"); scope.Start(); try { @@ -220,7 +220,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.List"); scope.Start(); try { @@ -248,7 +248,7 @@ public virtual Pageable List(string resourceGroupName, C Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.List"); scope.Start(); try { @@ -263,7 +263,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.List"); scope.Start(); try { @@ -285,7 +285,7 @@ public virtual AsyncPageable ListAllAsync(CancellationTo { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.ListAll"); scope.Start(); try { @@ -300,7 +300,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.ListAll"); scope.Start(); try { @@ -322,7 +322,7 @@ public virtual Pageable ListAll(CancellationToken cancel { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.ListAll"); scope.Start(); try { @@ -337,7 +337,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.ListAll"); scope.Start(); try { @@ -370,7 +370,7 @@ public virtual AsyncPageable ListSkusAsync(string res async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.ListSkus"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.ListSkus"); scope.Start(); try { @@ -385,7 +385,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.ListSkus"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.ListSkus"); scope.Start(); try { @@ -418,7 +418,7 @@ public virtual Pageable ListSkus(string resourceGroup Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.ListSkus"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.ListSkus"); scope.Start(); try { @@ -433,7 +433,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.ListSkus"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.ListSkus"); scope.Start(); try { @@ -466,7 +466,7 @@ public virtual AsyncPageable GetOSUpgradeH async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.GetOSUpgradeHistory"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.GetOSUpgradeHistory"); scope.Start(); try { @@ -481,7 +481,7 @@ async Task> FirstPageFunc(int? pageSi } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.GetOSUpgradeHistory"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.GetOSUpgradeHistory"); scope.Start(); try { @@ -514,7 +514,7 @@ public virtual Pageable GetOSUpgradeHistor Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.GetOSUpgradeHistory"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.GetOSUpgradeHistory"); scope.Start(); try { @@ -529,7 +529,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.GetOSUpgradeHistory"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.GetOSUpgradeHistory"); scope.Start(); try { @@ -565,7 +565,7 @@ public virtual async Task StartC throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -599,7 +599,7 @@ public virtual VirtualMachineScaleSetsCreateOrUpdateOperation StartCreateOrUpdat throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -633,7 +633,7 @@ public virtual async Task StartUpdateAsy throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartUpdate"); scope.Start(); try { @@ -667,7 +667,7 @@ public virtual VirtualMachineScaleSetsUpdateOperation StartUpdate(string resourc throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartUpdate"); scope.Start(); try { @@ -696,7 +696,7 @@ public virtual async Task StartDeleteAsy throw new ArgumentNullException(nameof(vmScaleSetName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartDelete"); scope.Start(); try { @@ -725,7 +725,7 @@ public virtual VirtualMachineScaleSetsDeleteOperation StartDelete(string resourc throw new ArgumentNullException(nameof(vmScaleSetName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartDelete"); scope.Start(); try { @@ -755,7 +755,7 @@ public virtual async Task StartDeall throw new ArgumentNullException(nameof(vmScaleSetName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartDeallocate"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartDeallocate"); scope.Start(); try { @@ -785,7 +785,7 @@ public virtual VirtualMachineScaleSetsDeallocateOperation StartDeallocate(string throw new ArgumentNullException(nameof(vmScaleSetName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartDeallocate"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartDeallocate"); scope.Start(); try { @@ -819,7 +819,7 @@ public virtual async Task Start throw new ArgumentNullException(nameof(vmInstanceIDs)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartDeleteInstances"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartDeleteInstances"); scope.Start(); try { @@ -853,7 +853,7 @@ public virtual VirtualMachineScaleSetsDeleteInstancesOperation StartDeleteInstan throw new ArgumentNullException(nameof(vmInstanceIDs)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartDeleteInstances"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartDeleteInstances"); scope.Start(); try { @@ -884,7 +884,7 @@ public virtual async Task StartPowerOf throw new ArgumentNullException(nameof(vmScaleSetName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartPowerOff"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartPowerOff"); scope.Start(); try { @@ -915,7 +915,7 @@ public virtual VirtualMachineScaleSetsPowerOffOperation StartPowerOff(string res throw new ArgumentNullException(nameof(vmScaleSetName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartPowerOff"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartPowerOff"); scope.Start(); try { @@ -945,7 +945,7 @@ public virtual async Task StartRestartA throw new ArgumentNullException(nameof(vmScaleSetName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartRestart"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartRestart"); scope.Start(); try { @@ -975,7 +975,7 @@ public virtual VirtualMachineScaleSetsRestartOperation StartRestart(string resou throw new ArgumentNullException(nameof(vmScaleSetName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartRestart"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartRestart"); scope.Start(); try { @@ -1005,7 +1005,7 @@ public virtual async Task StartStartAsync throw new ArgumentNullException(nameof(vmScaleSetName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartStart"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartStart"); scope.Start(); try { @@ -1035,7 +1035,7 @@ public virtual VirtualMachineScaleSetsStartOperation StartStart(string resourceG throw new ArgumentNullException(nameof(vmScaleSetName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartStart"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartStart"); scope.Start(); try { @@ -1065,7 +1065,7 @@ public virtual async Task StartRedeplo throw new ArgumentNullException(nameof(vmScaleSetName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartRedeploy"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartRedeploy"); scope.Start(); try { @@ -1095,7 +1095,7 @@ public virtual VirtualMachineScaleSetsRedeployOperation StartRedeploy(string res throw new ArgumentNullException(nameof(vmScaleSetName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartRedeploy"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartRedeploy"); scope.Start(); try { @@ -1125,7 +1125,7 @@ public virtual async Task St throw new ArgumentNullException(nameof(vmScaleSetName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartPerformMaintenance"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartPerformMaintenance"); scope.Start(); try { @@ -1155,7 +1155,7 @@ public virtual VirtualMachineScaleSetsPerformMaintenanceOperation StartPerformMa throw new ArgumentNullException(nameof(vmScaleSetName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartPerformMaintenance"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartPerformMaintenance"); scope.Start(); try { @@ -1189,7 +1189,7 @@ public virtual async Task Start throw new ArgumentNullException(nameof(vmInstanceIDs)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartUpdateInstances"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartUpdateInstances"); scope.Start(); try { @@ -1223,7 +1223,7 @@ public virtual VirtualMachineScaleSetsUpdateInstancesOperation StartUpdateInstan throw new ArgumentNullException(nameof(vmInstanceIDs)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartUpdateInstances"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartUpdateInstances"); scope.Start(); try { @@ -1253,7 +1253,7 @@ public virtual async Task StartReimageA throw new ArgumentNullException(nameof(vmScaleSetName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartReimage"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartReimage"); scope.Start(); try { @@ -1283,7 +1283,7 @@ public virtual VirtualMachineScaleSetsReimageOperation StartReimage(string resou throw new ArgumentNullException(nameof(vmScaleSetName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartReimage"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartReimage"); scope.Start(); try { @@ -1313,7 +1313,7 @@ public virtual async Task StartReima throw new ArgumentNullException(nameof(vmScaleSetName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartReimageAll"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartReimageAll"); scope.Start(); try { @@ -1343,7 +1343,7 @@ public virtual VirtualMachineScaleSetsReimageAllOperation StartReimageAll(string throw new ArgumentNullException(nameof(vmScaleSetName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsClient.StartReimageAll"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineScaleSetsOperations.StartReimageAll"); scope.Start(); try { @@ -1377,7 +1377,7 @@ public virtual async Task Initializes a new instance of VirtualMachineScaleSetsRestClient. + /// Initializes a new instance of VirtualMachineScaleSetsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VirtualMachineScaleSetsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VirtualMachineScaleSetsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineSizesClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineSizesOperations.cs similarity index 86% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineSizesClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineSizesOperations.cs index 5c9985931c6af..bacf734dfdc84 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineSizesClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineSizesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Compute { /// The VirtualMachineSizes service client. - public partial class VirtualMachineSizesClient + public partial class VirtualMachineSizesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VirtualMachineSizesRestClient RestClient { get; } - /// Initializes a new instance of VirtualMachineSizesClient for mocking. - protected VirtualMachineSizesClient() + internal VirtualMachineSizesRestOperations RestClient { get; } + /// Initializes a new instance of VirtualMachineSizesOperations for mocking. + protected VirtualMachineSizesOperations() { } - /// Initializes a new instance of VirtualMachineSizesClient. + /// Initializes a new instance of VirtualMachineSizesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VirtualMachineSizesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VirtualMachineSizesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VirtualMachineSizesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VirtualMachineSizesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -49,7 +49,7 @@ public virtual AsyncPageable ListAsync(string location, Canc async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineSizesClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineSizesOperations.List"); scope.Start(); try { @@ -77,7 +77,7 @@ public virtual Pageable List(string location, CancellationTo Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachineSizesClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachineSizesOperations.List"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineSizesRestClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineSizesRestOperations.cs similarity index 95% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineSizesRestClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineSizesRestOperations.cs index 5b4f086b78855..f7764311cb36d 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineSizesRestClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachineSizesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Compute { - internal partial class VirtualMachineSizesRestClient + internal partial class VirtualMachineSizesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of VirtualMachineSizesRestClient. + /// Initializes a new instance of VirtualMachineSizesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VirtualMachineSizesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VirtualMachineSizesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachinesClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachinesOperations.cs similarity index 96% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachinesClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachinesOperations.cs index 836ea9736be2b..02572d8786271 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachinesClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachinesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Compute { /// The VirtualMachines service client. - public partial class VirtualMachinesClient + public partial class VirtualMachinesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VirtualMachinesRestClient RestClient { get; } - /// Initializes a new instance of VirtualMachinesClient for mocking. - protected VirtualMachinesClient() + internal VirtualMachinesRestOperations RestClient { get; } + /// Initializes a new instance of VirtualMachinesOperations for mocking. + protected VirtualMachinesOperations() { } - /// Initializes a new instance of VirtualMachinesClient. + /// Initializes a new instance of VirtualMachinesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VirtualMachinesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VirtualMachinesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VirtualMachinesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VirtualMachinesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal VirtualMachinesClient(ClientDiagnostics clientDiagnostics, HttpPipeline /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string vmName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string resourceGrou /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string vmName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.Get"); scope.Start(); try { @@ -81,7 +81,7 @@ public virtual Response Get(string resourceGroupName, string vmN /// The cancellation token to use. public virtual async Task> InstanceViewAsync(string resourceGroupName, string vmName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.InstanceView"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.InstanceView"); scope.Start(); try { @@ -100,7 +100,7 @@ public virtual async Task> InstanceViewAsyn /// The cancellation token to use. public virtual Response InstanceView(string resourceGroupName, string vmName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.InstanceView"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.InstanceView"); scope.Start(); try { @@ -119,7 +119,7 @@ public virtual Response InstanceView(string resource /// The cancellation token to use. public virtual async Task GeneralizeAsync(string resourceGroupName, string vmName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.Generalize"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.Generalize"); scope.Start(); try { @@ -138,7 +138,7 @@ public virtual async Task GeneralizeAsync(string resourceGroupName, st /// The cancellation token to use. public virtual Response Generalize(string resourceGroupName, string vmName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.Generalize"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.Generalize"); scope.Start(); try { @@ -157,7 +157,7 @@ public virtual Response Generalize(string resourceGroupName, string vmName, Canc /// The cancellation token to use. public virtual async Task SimulateEvictionAsync(string resourceGroupName, string vmName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.SimulateEviction"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.SimulateEviction"); scope.Start(); try { @@ -176,7 +176,7 @@ public virtual async Task SimulateEvictionAsync(string resourceGroupNa /// The cancellation token to use. public virtual Response SimulateEviction(string resourceGroupName, string vmName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.SimulateEviction"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.SimulateEviction"); scope.Start(); try { @@ -201,7 +201,7 @@ public virtual AsyncPageable ListByLocationAsync(string location async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.ListByLocation"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.ListByLocation"); scope.Start(); try { @@ -216,7 +216,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.ListByLocation"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.ListByLocation"); scope.Start(); try { @@ -244,7 +244,7 @@ public virtual Pageable ListByLocation(string location, Cancella Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.ListByLocation"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.ListByLocation"); scope.Start(); try { @@ -259,7 +259,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.ListByLocation"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.ListByLocation"); scope.Start(); try { @@ -287,7 +287,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName, async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.List"); scope.Start(); try { @@ -302,7 +302,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.List"); scope.Start(); try { @@ -330,7 +330,7 @@ public virtual Pageable List(string resourceGroupName, Cancellat Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.List"); scope.Start(); try { @@ -345,7 +345,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.List"); scope.Start(); try { @@ -368,7 +368,7 @@ public virtual AsyncPageable ListAllAsync(string statusOnly = nu { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.ListAll"); scope.Start(); try { @@ -383,7 +383,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.ListAll"); scope.Start(); try { @@ -406,7 +406,7 @@ public virtual Pageable ListAll(string statusOnly = null, Cancel { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.ListAll"); scope.Start(); try { @@ -421,7 +421,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.ListAll"); scope.Start(); try { @@ -454,7 +454,7 @@ public virtual AsyncPageable ListAvailableSizesAsync(string async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.ListAvailableSizes"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.ListAvailableSizes"); scope.Start(); try { @@ -487,7 +487,7 @@ public virtual Pageable ListAvailableSizes(string resourceGr Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.ListAvailableSizes"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.ListAvailableSizes"); scope.Start(); try { @@ -523,7 +523,7 @@ public virtual async Task StartCaptureAsync(str throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartCapture"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartCapture"); scope.Start(); try { @@ -557,7 +557,7 @@ public virtual VirtualMachinesCaptureOperation StartCapture(string resourceGroup throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartCapture"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartCapture"); scope.Start(); try { @@ -591,7 +591,7 @@ public virtual async Task StartCreateOrU throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -625,7 +625,7 @@ public virtual VirtualMachinesCreateOrUpdateOperation StartCreateOrUpdate(string throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -659,7 +659,7 @@ public virtual async Task StartUpdateAsync(strin throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartUpdate"); scope.Start(); try { @@ -693,7 +693,7 @@ public virtual VirtualMachinesUpdateOperation StartUpdate(string resourceGroupNa throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartUpdate"); scope.Start(); try { @@ -722,7 +722,7 @@ public virtual async Task StartDeleteAsync(strin throw new ArgumentNullException(nameof(vmName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartDelete"); scope.Start(); try { @@ -751,7 +751,7 @@ public virtual VirtualMachinesDeleteOperation StartDelete(string resourceGroupNa throw new ArgumentNullException(nameof(vmName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartDelete"); scope.Start(); try { @@ -780,7 +780,7 @@ public virtual async Task StartCo throw new ArgumentNullException(nameof(vmName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartConvertToManagedDisks"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartConvertToManagedDisks"); scope.Start(); try { @@ -809,7 +809,7 @@ public virtual VirtualMachinesConvertToManagedDisksOperation StartConvertToManag throw new ArgumentNullException(nameof(vmName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartConvertToManagedDisks"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartConvertToManagedDisks"); scope.Start(); try { @@ -838,7 +838,7 @@ public virtual async Task StartDeallocateAsy throw new ArgumentNullException(nameof(vmName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartDeallocate"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartDeallocate"); scope.Start(); try { @@ -867,7 +867,7 @@ public virtual VirtualMachinesDeallocateOperation StartDeallocate(string resourc throw new ArgumentNullException(nameof(vmName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartDeallocate"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartDeallocate"); scope.Start(); try { @@ -897,7 +897,7 @@ public virtual async Task StartPowerOffAsync(s throw new ArgumentNullException(nameof(vmName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartPowerOff"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartPowerOff"); scope.Start(); try { @@ -927,7 +927,7 @@ public virtual VirtualMachinesPowerOffOperation StartPowerOff(string resourceGro throw new ArgumentNullException(nameof(vmName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartPowerOff"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartPowerOff"); scope.Start(); try { @@ -956,7 +956,7 @@ public virtual async Task StartReapplyAsync(str throw new ArgumentNullException(nameof(vmName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartReapply"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartReapply"); scope.Start(); try { @@ -985,7 +985,7 @@ public virtual VirtualMachinesReapplyOperation StartReapply(string resourceGroup throw new ArgumentNullException(nameof(vmName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartReapply"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartReapply"); scope.Start(); try { @@ -1014,7 +1014,7 @@ public virtual async Task StartRestartAsync(str throw new ArgumentNullException(nameof(vmName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartRestart"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartRestart"); scope.Start(); try { @@ -1043,7 +1043,7 @@ public virtual VirtualMachinesRestartOperation StartRestart(string resourceGroup throw new ArgumentNullException(nameof(vmName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartRestart"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartRestart"); scope.Start(); try { @@ -1072,7 +1072,7 @@ public virtual async Task StartStartAsync(string throw new ArgumentNullException(nameof(vmName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartStart"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartStart"); scope.Start(); try { @@ -1101,7 +1101,7 @@ public virtual VirtualMachinesStartOperation StartStart(string resourceGroupName throw new ArgumentNullException(nameof(vmName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartStart"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartStart"); scope.Start(); try { @@ -1130,7 +1130,7 @@ public virtual async Task StartRedeployAsync(s throw new ArgumentNullException(nameof(vmName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartRedeploy"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartRedeploy"); scope.Start(); try { @@ -1159,7 +1159,7 @@ public virtual VirtualMachinesRedeployOperation StartRedeploy(string resourceGro throw new ArgumentNullException(nameof(vmName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartRedeploy"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartRedeploy"); scope.Start(); try { @@ -1189,7 +1189,7 @@ public virtual async Task StartReimageAsync(str throw new ArgumentNullException(nameof(vmName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartReimage"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartReimage"); scope.Start(); try { @@ -1219,7 +1219,7 @@ public virtual VirtualMachinesReimageOperation StartReimage(string resourceGroup throw new ArgumentNullException(nameof(vmName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartReimage"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartReimage"); scope.Start(); try { @@ -1248,7 +1248,7 @@ public virtual async Task StartPerfo throw new ArgumentNullException(nameof(vmName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartPerformMaintenance"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartPerformMaintenance"); scope.Start(); try { @@ -1277,7 +1277,7 @@ public virtual VirtualMachinesPerformMaintenanceOperation StartPerformMaintenanc throw new ArgumentNullException(nameof(vmName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartPerformMaintenance"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartPerformMaintenance"); scope.Start(); try { @@ -1311,7 +1311,7 @@ public virtual async Task StartRunCommandAsy throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartRunCommand"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartRunCommand"); scope.Start(); try { @@ -1345,7 +1345,7 @@ public virtual VirtualMachinesRunCommandOperation StartRunCommand(string resourc throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualMachinesClient.StartRunCommand"); + using var scope = _clientDiagnostics.CreateScope("VirtualMachinesOperations.StartRunCommand"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachinesRestClient.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachinesRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachinesRestClient.cs rename to sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachinesRestOperations.cs index b8c43309f76ec..28dae7b96d2f6 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachinesRestClient.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/VirtualMachinesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Compute { - internal partial class VirtualMachinesRestClient + internal partial class VirtualMachinesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of VirtualMachinesRestClient. + /// Initializes a new instance of VirtualMachinesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VirtualMachinesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VirtualMachinesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ApplicationGatewaysClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ApplicationGatewaysOperations.cs similarity index 94% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ApplicationGatewaysClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ApplicationGatewaysOperations.cs index d39add5c23052..cfb8c6a395b71 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ApplicationGatewaysClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ApplicationGatewaysOperations.cs @@ -17,23 +17,23 @@ namespace Azure.Management.Network { /// The ApplicationGateways service client. - public partial class ApplicationGatewaysClient + public partial class ApplicationGatewaysOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ApplicationGatewaysRestClient RestClient { get; } - /// Initializes a new instance of ApplicationGatewaysClient for mocking. - protected ApplicationGatewaysClient() + internal ApplicationGatewaysRestOperations RestClient { get; } + /// Initializes a new instance of ApplicationGatewaysOperations for mocking. + protected ApplicationGatewaysOperations() { } - /// Initializes a new instance of ApplicationGatewaysClient. + /// Initializes a new instance of ApplicationGatewaysOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ApplicationGatewaysClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ApplicationGatewaysOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ApplicationGatewaysRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ApplicationGatewaysRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal ApplicationGatewaysClient(ClientDiagnostics clientDiagnostics, HttpPipe /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string applicationGatewayName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.Get"); scope.Start(); try { @@ -63,7 +63,7 @@ public virtual async Task> GetAsync(string resource /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string applicationGatewayName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.Get"); scope.Start(); try { @@ -83,7 +83,7 @@ public virtual Response Get(string resourceGroupName, string /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string applicationGatewayName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.UpdateTags"); scope.Start(); try { @@ -103,7 +103,7 @@ public virtual async Task> UpdateTagsAsync(string r /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string applicationGatewayName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.UpdateTags"); scope.Start(); try { @@ -120,7 +120,7 @@ public virtual Response UpdateTags(string resourceGroupName, /// The cancellation token to use. public virtual async Task>> ListAvailableServerVariablesAsync(CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.ListAvailableServerVariables"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.ListAvailableServerVariables"); scope.Start(); try { @@ -137,7 +137,7 @@ public virtual async Task>> ListAvailableServerVa /// The cancellation token to use. public virtual Response> ListAvailableServerVariables(CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.ListAvailableServerVariables"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.ListAvailableServerVariables"); scope.Start(); try { @@ -154,7 +154,7 @@ public virtual Response> ListAvailableServerVariables(Canc /// The cancellation token to use. public virtual async Task>> ListAvailableRequestHeadersAsync(CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.ListAvailableRequestHeaders"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.ListAvailableRequestHeaders"); scope.Start(); try { @@ -171,7 +171,7 @@ public virtual async Task>> ListAvailableRequestH /// The cancellation token to use. public virtual Response> ListAvailableRequestHeaders(CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.ListAvailableRequestHeaders"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.ListAvailableRequestHeaders"); scope.Start(); try { @@ -188,7 +188,7 @@ public virtual Response> ListAvailableRequestHeaders(Cance /// The cancellation token to use. public virtual async Task>> ListAvailableResponseHeadersAsync(CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.ListAvailableResponseHeaders"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.ListAvailableResponseHeaders"); scope.Start(); try { @@ -205,7 +205,7 @@ public virtual async Task>> ListAvailableResponse /// The cancellation token to use. public virtual Response> ListAvailableResponseHeaders(CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.ListAvailableResponseHeaders"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.ListAvailableResponseHeaders"); scope.Start(); try { @@ -222,7 +222,7 @@ public virtual Response> ListAvailableResponseHeaders(Canc /// The cancellation token to use. public virtual async Task> ListAvailableWafRuleSetsAsync(CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.ListAvailableWafRuleSets"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.ListAvailableWafRuleSets"); scope.Start(); try { @@ -239,7 +239,7 @@ public virtual async Task /// The cancellation token to use. public virtual Response ListAvailableWafRuleSets(CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.ListAvailableWafRuleSets"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.ListAvailableWafRuleSets"); scope.Start(); try { @@ -256,7 +256,7 @@ public virtual Response ListAvaila /// The cancellation token to use. public virtual async Task> ListAvailableSslOptionsAsync(CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.ListAvailableSslOptions"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.ListAvailableSslOptions"); scope.Start(); try { @@ -273,7 +273,7 @@ public virtual async Task> ListA /// The cancellation token to use. public virtual Response ListAvailableSslOptions(CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.ListAvailableSslOptions"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.ListAvailableSslOptions"); scope.Start(); try { @@ -291,7 +291,7 @@ public virtual Response ListAvailableSslO /// The cancellation token to use. public virtual async Task> GetSslPredefinedPolicyAsync(string predefinedPolicyName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.GetSslPredefinedPolicy"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.GetSslPredefinedPolicy"); scope.Start(); try { @@ -309,7 +309,7 @@ public virtual async Task> GetSs /// The cancellation token to use. public virtual Response GetSslPredefinedPolicy(string predefinedPolicyName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.GetSslPredefinedPolicy"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.GetSslPredefinedPolicy"); scope.Start(); try { @@ -334,7 +334,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupN async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.List"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.List"); scope.Start(); try { @@ -349,7 +349,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.List"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.List"); scope.Start(); try { @@ -377,7 +377,7 @@ public virtual Pageable List(string resourceGroupName, Cance Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.List"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.List"); scope.Start(); try { @@ -392,7 +392,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.List"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.List"); scope.Start(); try { @@ -414,7 +414,7 @@ public virtual AsyncPageable ListAllAsync(CancellationToken { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.ListAll"); scope.Start(); try { @@ -429,7 +429,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.ListAll"); scope.Start(); try { @@ -451,7 +451,7 @@ public virtual Pageable ListAll(CancellationToken cancellati { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.ListAll"); scope.Start(); try { @@ -466,7 +466,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.ListAll"); scope.Start(); try { @@ -488,7 +488,7 @@ public virtual AsyncPageable ListAvailabl { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.ListAvailableSslPredefinedPolicies"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.ListAvailableSslPredefinedPolicies"); scope.Start(); try { @@ -503,7 +503,7 @@ async Task> FirstPageFunc(int? pageS } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.ListAvailableSslPredefinedPolicies"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.ListAvailableSslPredefinedPolicies"); scope.Start(); try { @@ -525,7 +525,7 @@ public virtual Pageable ListAvailableSslP { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.ListAvailableSslPredefinedPolicies"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.ListAvailableSslPredefinedPolicies"); scope.Start(); try { @@ -540,7 +540,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.ListAvailableSslPredefinedPolicies"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.ListAvailableSslPredefinedPolicies"); scope.Start(); try { @@ -571,7 +571,7 @@ public virtual async Task StartDeleteAsync(s throw new ArgumentNullException(nameof(applicationGatewayName)); } - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.StartDelete"); scope.Start(); try { @@ -600,7 +600,7 @@ public virtual ApplicationGatewaysDeleteOperation StartDelete(string resourceGro throw new ArgumentNullException(nameof(applicationGatewayName)); } - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.StartDelete"); scope.Start(); try { @@ -634,7 +634,7 @@ public virtual async Task StartCreat throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -668,7 +668,7 @@ public virtual ApplicationGatewaysCreateOrUpdateOperation StartCreateOrUpdate(st throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -697,7 +697,7 @@ public virtual async Task StartStartAsync(str throw new ArgumentNullException(nameof(applicationGatewayName)); } - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.StartStart"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.StartStart"); scope.Start(); try { @@ -726,7 +726,7 @@ public virtual ApplicationGatewaysStartOperation StartStart(string resourceGroup throw new ArgumentNullException(nameof(applicationGatewayName)); } - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.StartStart"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.StartStart"); scope.Start(); try { @@ -755,7 +755,7 @@ public virtual async Task StartStopAsync(strin throw new ArgumentNullException(nameof(applicationGatewayName)); } - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.StartStop"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.StartStop"); scope.Start(); try { @@ -784,7 +784,7 @@ public virtual ApplicationGatewaysStopOperation StartStop(string resourceGroupNa throw new ArgumentNullException(nameof(applicationGatewayName)); } - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.StartStop"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.StartStop"); scope.Start(); try { @@ -814,7 +814,7 @@ public virtual async Task StartBacken throw new ArgumentNullException(nameof(applicationGatewayName)); } - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.StartBackendHealth"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.StartBackendHealth"); scope.Start(); try { @@ -844,7 +844,7 @@ public virtual ApplicationGatewaysBackendHealthOperation StartBackendHealth(stri throw new ArgumentNullException(nameof(applicationGatewayName)); } - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.StartBackendHealth"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.StartBackendHealth"); scope.Start(); try { @@ -879,7 +879,7 @@ public virtual async Task Sta throw new ArgumentNullException(nameof(probeRequest)); } - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.StartBackendHealthOnDemand"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.StartBackendHealthOnDemand"); scope.Start(); try { @@ -914,7 +914,7 @@ public virtual ApplicationGatewaysBackendHealthOnDemandOperation StartBackendHea throw new ArgumentNullException(nameof(probeRequest)); } - using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysClient.StartBackendHealthOnDemand"); + using var scope = _clientDiagnostics.CreateScope("ApplicationGatewaysOperations.StartBackendHealthOnDemand"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ApplicationGatewaysRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ApplicationGatewaysRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ApplicationGatewaysRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ApplicationGatewaysRestOperations.cs index 348e2cb8bac6c..f034639c9410d 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ApplicationGatewaysRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ApplicationGatewaysRestOperations.cs @@ -17,20 +17,20 @@ namespace Azure.Management.Network { - internal partial class ApplicationGatewaysRestClient + internal partial class ApplicationGatewaysRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ApplicationGatewaysRestClient. + /// Initializes a new instance of ApplicationGatewaysRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ApplicationGatewaysRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ApplicationGatewaysRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ApplicationSecurityGroupsClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ApplicationSecurityGroupsOperations.cs similarity index 93% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ApplicationSecurityGroupsClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ApplicationSecurityGroupsOperations.cs index af8eb0074d948..7248c85aa7b59 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ApplicationSecurityGroupsClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ApplicationSecurityGroupsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The ApplicationSecurityGroups service client. - public partial class ApplicationSecurityGroupsClient + public partial class ApplicationSecurityGroupsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ApplicationSecurityGroupsRestClient RestClient { get; } - /// Initializes a new instance of ApplicationSecurityGroupsClient for mocking. - protected ApplicationSecurityGroupsClient() + internal ApplicationSecurityGroupsRestOperations RestClient { get; } + /// Initializes a new instance of ApplicationSecurityGroupsOperations for mocking. + protected ApplicationSecurityGroupsOperations() { } - /// Initializes a new instance of ApplicationSecurityGroupsClient. + /// Initializes a new instance of ApplicationSecurityGroupsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ApplicationSecurityGroupsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ApplicationSecurityGroupsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ApplicationSecurityGroupsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ApplicationSecurityGroupsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal ApplicationSecurityGroupsClient(ClientDiagnostics clientDiagnostics, Ht /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string applicationSecurityGroupName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string re /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string applicationSecurityGroupName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsOperations.Get"); scope.Start(); try { @@ -82,7 +82,7 @@ public virtual Response Get(string resourceGroupName, /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string applicationSecurityGroupName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsOperations.UpdateTags"); scope.Start(); try { @@ -102,7 +102,7 @@ public virtual async Task> UpdateTagsAsync(st /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string applicationSecurityGroupName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsOperations.UpdateTags"); scope.Start(); try { @@ -121,7 +121,7 @@ public virtual AsyncPageable ListAllAsync(Cancellation { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsOperations.ListAll"); scope.Start(); try { @@ -136,7 +136,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsOperations.ListAll"); scope.Start(); try { @@ -158,7 +158,7 @@ public virtual Pageable ListAll(CancellationToken canc { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsOperations.ListAll"); scope.Start(); try { @@ -173,7 +173,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsOperations.ListAll"); scope.Start(); try { @@ -201,7 +201,7 @@ public virtual AsyncPageable ListAsync(string resource async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsOperations.List"); scope.Start(); try { @@ -216,7 +216,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsOperations.List"); scope.Start(); try { @@ -244,7 +244,7 @@ public virtual Pageable List(string resourceGroupName, Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsOperations.List"); scope.Start(); try { @@ -259,7 +259,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsOperations.List"); scope.Start(); try { @@ -290,7 +290,7 @@ public virtual async Task StartDeleteA throw new ArgumentNullException(nameof(applicationSecurityGroupName)); } - using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsOperations.StartDelete"); scope.Start(); try { @@ -319,7 +319,7 @@ public virtual ApplicationSecurityGroupsDeleteOperation StartDelete(string resou throw new ArgumentNullException(nameof(applicationSecurityGroupName)); } - using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsOperations.StartDelete"); scope.Start(); try { @@ -353,7 +353,7 @@ public virtual async Task Star throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -387,7 +387,7 @@ public virtual ApplicationSecurityGroupsCreateOrUpdateOperation StartCreateOrUpd throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ApplicationSecurityGroupsOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ApplicationSecurityGroupsRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ApplicationSecurityGroupsRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ApplicationSecurityGroupsRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ApplicationSecurityGroupsRestOperations.cs index d9534a3b6b9cc..3d4733bab7d41 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ApplicationSecurityGroupsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ApplicationSecurityGroupsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class ApplicationSecurityGroupsRestClient + internal partial class ApplicationSecurityGroupsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ApplicationSecurityGroupsRestClient. + /// Initializes a new instance of ApplicationSecurityGroupsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ApplicationSecurityGroupsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ApplicationSecurityGroupsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailableDelegationsClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailableDelegationsOperations.cs similarity index 88% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailableDelegationsClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailableDelegationsOperations.cs index c0c229f18f689..28f50919ba3ec 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailableDelegationsClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailableDelegationsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The AvailableDelegations service client. - public partial class AvailableDelegationsClient + public partial class AvailableDelegationsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal AvailableDelegationsRestClient RestClient { get; } - /// Initializes a new instance of AvailableDelegationsClient for mocking. - protected AvailableDelegationsClient() + internal AvailableDelegationsRestOperations RestClient { get; } + /// Initializes a new instance of AvailableDelegationsOperations for mocking. + protected AvailableDelegationsOperations() { } - /// Initializes a new instance of AvailableDelegationsClient. + /// Initializes a new instance of AvailableDelegationsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal AvailableDelegationsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal AvailableDelegationsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new AvailableDelegationsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new AvailableDelegationsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -49,7 +49,7 @@ public virtual AsyncPageable ListAsync(string location, Can async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailableDelegationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("AvailableDelegationsOperations.List"); scope.Start(); try { @@ -64,7 +64,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailableDelegationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("AvailableDelegationsOperations.List"); scope.Start(); try { @@ -92,7 +92,7 @@ public virtual Pageable List(string location, CancellationT Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailableDelegationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("AvailableDelegationsOperations.List"); scope.Start(); try { @@ -107,7 +107,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailableDelegationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("AvailableDelegationsOperations.List"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailableDelegationsRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailableDelegationsRestOperations.cs similarity index 97% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailableDelegationsRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailableDelegationsRestOperations.cs index 5a8cfe35a1ef5..b862b6f5c8348 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailableDelegationsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailableDelegationsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class AvailableDelegationsRestClient + internal partial class AvailableDelegationsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of AvailableDelegationsRestClient. + /// Initializes a new instance of AvailableDelegationsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public AvailableDelegationsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public AvailableDelegationsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailableEndpointServicesClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailableEndpointServicesOperations.cs similarity index 87% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailableEndpointServicesClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailableEndpointServicesOperations.cs index cf384dccd59bf..f7244448c1f72 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailableEndpointServicesClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailableEndpointServicesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The AvailableEndpointServices service client. - public partial class AvailableEndpointServicesClient + public partial class AvailableEndpointServicesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal AvailableEndpointServicesRestClient RestClient { get; } - /// Initializes a new instance of AvailableEndpointServicesClient for mocking. - protected AvailableEndpointServicesClient() + internal AvailableEndpointServicesRestOperations RestClient { get; } + /// Initializes a new instance of AvailableEndpointServicesOperations for mocking. + protected AvailableEndpointServicesOperations() { } - /// Initializes a new instance of AvailableEndpointServicesClient. + /// Initializes a new instance of AvailableEndpointServicesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal AvailableEndpointServicesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal AvailableEndpointServicesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new AvailableEndpointServicesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new AvailableEndpointServicesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -49,7 +49,7 @@ public virtual AsyncPageable ListAsync(string location, C async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailableEndpointServicesClient.List"); + using var scope = _clientDiagnostics.CreateScope("AvailableEndpointServicesOperations.List"); scope.Start(); try { @@ -64,7 +64,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailableEndpointServicesClient.List"); + using var scope = _clientDiagnostics.CreateScope("AvailableEndpointServicesOperations.List"); scope.Start(); try { @@ -92,7 +92,7 @@ public virtual Pageable List(string location, Cancellatio Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailableEndpointServicesClient.List"); + using var scope = _clientDiagnostics.CreateScope("AvailableEndpointServicesOperations.List"); scope.Start(); try { @@ -107,7 +107,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailableEndpointServicesClient.List"); + using var scope = _clientDiagnostics.CreateScope("AvailableEndpointServicesOperations.List"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailableEndpointServicesRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailableEndpointServicesRestOperations.cs similarity index 97% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailableEndpointServicesRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailableEndpointServicesRestOperations.cs index a472648a71ded..5cca555ec3a2a 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailableEndpointServicesRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailableEndpointServicesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class AvailableEndpointServicesRestClient + internal partial class AvailableEndpointServicesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of AvailableEndpointServicesRestClient. + /// Initializes a new instance of AvailableEndpointServicesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public AvailableEndpointServicesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public AvailableEndpointServicesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailablePrivateEndpointTypesClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailablePrivateEndpointTypesOperations.cs similarity index 90% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailablePrivateEndpointTypesClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailablePrivateEndpointTypesOperations.cs index ba794634b5c96..bfa60583804a4 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailablePrivateEndpointTypesClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailablePrivateEndpointTypesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The AvailablePrivateEndpointTypes service client. - public partial class AvailablePrivateEndpointTypesClient + public partial class AvailablePrivateEndpointTypesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal AvailablePrivateEndpointTypesRestClient RestClient { get; } - /// Initializes a new instance of AvailablePrivateEndpointTypesClient for mocking. - protected AvailablePrivateEndpointTypesClient() + internal AvailablePrivateEndpointTypesRestOperations RestClient { get; } + /// Initializes a new instance of AvailablePrivateEndpointTypesOperations for mocking. + protected AvailablePrivateEndpointTypesOperations() { } - /// Initializes a new instance of AvailablePrivateEndpointTypesClient. + /// Initializes a new instance of AvailablePrivateEndpointTypesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal AvailablePrivateEndpointTypesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal AvailablePrivateEndpointTypesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new AvailablePrivateEndpointTypesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new AvailablePrivateEndpointTypesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -49,7 +49,7 @@ public virtual AsyncPageable ListAsync(string loca async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailablePrivateEndpointTypesClient.List"); + using var scope = _clientDiagnostics.CreateScope("AvailablePrivateEndpointTypesOperations.List"); scope.Start(); try { @@ -64,7 +64,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailablePrivateEndpointTypesClient.List"); + using var scope = _clientDiagnostics.CreateScope("AvailablePrivateEndpointTypesOperations.List"); scope.Start(); try { @@ -92,7 +92,7 @@ public virtual Pageable List(string location, Canc Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailablePrivateEndpointTypesClient.List"); + using var scope = _clientDiagnostics.CreateScope("AvailablePrivateEndpointTypesOperations.List"); scope.Start(); try { @@ -107,7 +107,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailablePrivateEndpointTypesClient.List"); + using var scope = _clientDiagnostics.CreateScope("AvailablePrivateEndpointTypesOperations.List"); scope.Start(); try { @@ -140,7 +140,7 @@ public virtual AsyncPageable ListByResourceGroupAs async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailablePrivateEndpointTypesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("AvailablePrivateEndpointTypesOperations.ListByResourceGroup"); scope.Start(); try { @@ -155,7 +155,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailablePrivateEndpointTypesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("AvailablePrivateEndpointTypesOperations.ListByResourceGroup"); scope.Start(); try { @@ -188,7 +188,7 @@ public virtual Pageable ListByResourceGroup(string Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailablePrivateEndpointTypesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("AvailablePrivateEndpointTypesOperations.ListByResourceGroup"); scope.Start(); try { @@ -203,7 +203,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailablePrivateEndpointTypesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("AvailablePrivateEndpointTypesOperations.ListByResourceGroup"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailablePrivateEndpointTypesRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailablePrivateEndpointTypesRestOperations.cs similarity index 98% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailablePrivateEndpointTypesRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailablePrivateEndpointTypesRestOperations.cs index 2de800bfb343d..4241099042981 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailablePrivateEndpointTypesRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailablePrivateEndpointTypesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class AvailablePrivateEndpointTypesRestClient + internal partial class AvailablePrivateEndpointTypesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of AvailablePrivateEndpointTypesRestClient. + /// Initializes a new instance of AvailablePrivateEndpointTypesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public AvailablePrivateEndpointTypesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public AvailablePrivateEndpointTypesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailableResourceGroupDelegationsClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailableResourceGroupDelegationsOperations.cs similarity index 88% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailableResourceGroupDelegationsClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailableResourceGroupDelegationsOperations.cs index 639d5eb5a2256..419edf20658f5 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailableResourceGroupDelegationsClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailableResourceGroupDelegationsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The AvailableResourceGroupDelegations service client. - public partial class AvailableResourceGroupDelegationsClient + public partial class AvailableResourceGroupDelegationsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal AvailableResourceGroupDelegationsRestClient RestClient { get; } - /// Initializes a new instance of AvailableResourceGroupDelegationsClient for mocking. - protected AvailableResourceGroupDelegationsClient() + internal AvailableResourceGroupDelegationsRestOperations RestClient { get; } + /// Initializes a new instance of AvailableResourceGroupDelegationsOperations for mocking. + protected AvailableResourceGroupDelegationsOperations() { } - /// Initializes a new instance of AvailableResourceGroupDelegationsClient. + /// Initializes a new instance of AvailableResourceGroupDelegationsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal AvailableResourceGroupDelegationsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal AvailableResourceGroupDelegationsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new AvailableResourceGroupDelegationsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new AvailableResourceGroupDelegationsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -54,7 +54,7 @@ public virtual AsyncPageable ListAsync(string location, str async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailableResourceGroupDelegationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("AvailableResourceGroupDelegationsOperations.List"); scope.Start(); try { @@ -69,7 +69,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailableResourceGroupDelegationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("AvailableResourceGroupDelegationsOperations.List"); scope.Start(); try { @@ -102,7 +102,7 @@ public virtual Pageable List(string location, string resour Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailableResourceGroupDelegationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("AvailableResourceGroupDelegationsOperations.List"); scope.Start(); try { @@ -117,7 +117,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailableResourceGroupDelegationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("AvailableResourceGroupDelegationsOperations.List"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailableResourceGroupDelegationsRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailableResourceGroupDelegationsRestOperations.cs similarity index 98% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailableResourceGroupDelegationsRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailableResourceGroupDelegationsRestOperations.cs index 3eebfe4b8ecfd..9e65ad4931e2c 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailableResourceGroupDelegationsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailableResourceGroupDelegationsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class AvailableResourceGroupDelegationsRestClient + internal partial class AvailableResourceGroupDelegationsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of AvailableResourceGroupDelegationsRestClient. + /// Initializes a new instance of AvailableResourceGroupDelegationsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public AvailableResourceGroupDelegationsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public AvailableResourceGroupDelegationsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailableServiceAliasesClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailableServiceAliasesOperations.cs similarity index 90% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailableServiceAliasesClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailableServiceAliasesOperations.cs index e19e47f034cec..6828a8d60e066 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailableServiceAliasesClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailableServiceAliasesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The AvailableServiceAliases service client. - public partial class AvailableServiceAliasesClient + public partial class AvailableServiceAliasesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal AvailableServiceAliasesRestClient RestClient { get; } - /// Initializes a new instance of AvailableServiceAliasesClient for mocking. - protected AvailableServiceAliasesClient() + internal AvailableServiceAliasesRestOperations RestClient { get; } + /// Initializes a new instance of AvailableServiceAliasesOperations for mocking. + protected AvailableServiceAliasesOperations() { } - /// Initializes a new instance of AvailableServiceAliasesClient. + /// Initializes a new instance of AvailableServiceAliasesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal AvailableServiceAliasesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal AvailableServiceAliasesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new AvailableServiceAliasesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new AvailableServiceAliasesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -49,7 +49,7 @@ public virtual AsyncPageable ListAsync(string location, C async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailableServiceAliasesClient.List"); + using var scope = _clientDiagnostics.CreateScope("AvailableServiceAliasesOperations.List"); scope.Start(); try { @@ -64,7 +64,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailableServiceAliasesClient.List"); + using var scope = _clientDiagnostics.CreateScope("AvailableServiceAliasesOperations.List"); scope.Start(); try { @@ -92,7 +92,7 @@ public virtual Pageable List(string location, Cancellatio Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailableServiceAliasesClient.List"); + using var scope = _clientDiagnostics.CreateScope("AvailableServiceAliasesOperations.List"); scope.Start(); try { @@ -107,7 +107,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailableServiceAliasesClient.List"); + using var scope = _clientDiagnostics.CreateScope("AvailableServiceAliasesOperations.List"); scope.Start(); try { @@ -140,7 +140,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(str async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailableServiceAliasesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("AvailableServiceAliasesOperations.ListByResourceGroup"); scope.Start(); try { @@ -155,7 +155,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailableServiceAliasesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("AvailableServiceAliasesOperations.ListByResourceGroup"); scope.Start(); try { @@ -188,7 +188,7 @@ public virtual Pageable ListByResourceGroup(string resour Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailableServiceAliasesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("AvailableServiceAliasesOperations.ListByResourceGroup"); scope.Start(); try { @@ -203,7 +203,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AvailableServiceAliasesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("AvailableServiceAliasesOperations.ListByResourceGroup"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailableServiceAliasesRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailableServiceAliasesRestOperations.cs similarity index 98% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailableServiceAliasesRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailableServiceAliasesRestOperations.cs index 70e63c4877e48..4e6522ef95b4a 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailableServiceAliasesRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AvailableServiceAliasesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class AvailableServiceAliasesRestClient + internal partial class AvailableServiceAliasesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of AvailableServiceAliasesRestClient. + /// Initializes a new instance of AvailableServiceAliasesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public AvailableServiceAliasesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public AvailableServiceAliasesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AzureFirewallFqdnTagsClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AzureFirewallFqdnTagsOperations.cs similarity index 86% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AzureFirewallFqdnTagsClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AzureFirewallFqdnTagsOperations.cs index 51c14804a78a3..c9a82df2ff3f3 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AzureFirewallFqdnTagsClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AzureFirewallFqdnTagsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The AzureFirewallFqdnTags service client. - public partial class AzureFirewallFqdnTagsClient + public partial class AzureFirewallFqdnTagsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal AzureFirewallFqdnTagsRestClient RestClient { get; } - /// Initializes a new instance of AzureFirewallFqdnTagsClient for mocking. - protected AzureFirewallFqdnTagsClient() + internal AzureFirewallFqdnTagsRestOperations RestClient { get; } + /// Initializes a new instance of AzureFirewallFqdnTagsOperations for mocking. + protected AzureFirewallFqdnTagsOperations() { } - /// Initializes a new instance of AzureFirewallFqdnTagsClient. + /// Initializes a new instance of AzureFirewallFqdnTagsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal AzureFirewallFqdnTagsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal AzureFirewallFqdnTagsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new AzureFirewallFqdnTagsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new AzureFirewallFqdnTagsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ public virtual AsyncPageable ListAllAsync(CancellationToke { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AzureFirewallFqdnTagsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("AzureFirewallFqdnTagsOperations.ListAll"); scope.Start(); try { @@ -58,7 +58,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AzureFirewallFqdnTagsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("AzureFirewallFqdnTagsOperations.ListAll"); scope.Start(); try { @@ -80,7 +80,7 @@ public virtual Pageable ListAll(CancellationToken cancella { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AzureFirewallFqdnTagsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("AzureFirewallFqdnTagsOperations.ListAll"); scope.Start(); try { @@ -95,7 +95,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AzureFirewallFqdnTagsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("AzureFirewallFqdnTagsOperations.ListAll"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AzureFirewallFqdnTagsRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AzureFirewallFqdnTagsRestOperations.cs similarity index 97% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AzureFirewallFqdnTagsRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AzureFirewallFqdnTagsRestOperations.cs index f812c2e83e85c..85baf23667473 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AzureFirewallFqdnTagsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AzureFirewallFqdnTagsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class AzureFirewallFqdnTagsRestClient + internal partial class AzureFirewallFqdnTagsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of AzureFirewallFqdnTagsRestClient. + /// Initializes a new instance of AzureFirewallFqdnTagsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public AzureFirewallFqdnTagsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public AzureFirewallFqdnTagsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AzureFirewallsClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AzureFirewallsOperations.cs similarity index 94% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AzureFirewallsClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AzureFirewallsOperations.cs index 2fca296a1abeb..c64e499330378 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AzureFirewallsClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AzureFirewallsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The AzureFirewalls service client. - public partial class AzureFirewallsClient + public partial class AzureFirewallsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal AzureFirewallsRestClient RestClient { get; } - /// Initializes a new instance of AzureFirewallsClient for mocking. - protected AzureFirewallsClient() + internal AzureFirewallsRestOperations RestClient { get; } + /// Initializes a new instance of AzureFirewallsOperations for mocking. + protected AzureFirewallsOperations() { } - /// Initializes a new instance of AzureFirewallsClient. + /// Initializes a new instance of AzureFirewallsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal AzureFirewallsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal AzureFirewallsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new AzureFirewallsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new AzureFirewallsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal AzureFirewallsClient(ClientDiagnostics clientDiagnostics, HttpPipeline /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string azureFirewallName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("AzureFirewallsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("AzureFirewallsOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string resourceGroup /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string azureFirewallName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("AzureFirewallsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("AzureFirewallsOperations.Get"); scope.Start(); try { @@ -87,7 +87,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName, async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AzureFirewallsClient.List"); + using var scope = _clientDiagnostics.CreateScope("AzureFirewallsOperations.List"); scope.Start(); try { @@ -102,7 +102,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AzureFirewallsClient.List"); + using var scope = _clientDiagnostics.CreateScope("AzureFirewallsOperations.List"); scope.Start(); try { @@ -130,7 +130,7 @@ public virtual Pageable List(string resourceGroupName, Cancellati Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AzureFirewallsClient.List"); + using var scope = _clientDiagnostics.CreateScope("AzureFirewallsOperations.List"); scope.Start(); try { @@ -145,7 +145,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AzureFirewallsClient.List"); + using var scope = _clientDiagnostics.CreateScope("AzureFirewallsOperations.List"); scope.Start(); try { @@ -167,7 +167,7 @@ public virtual AsyncPageable ListAllAsync(CancellationToken cance { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AzureFirewallsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("AzureFirewallsOperations.ListAll"); scope.Start(); try { @@ -182,7 +182,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AzureFirewallsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("AzureFirewallsOperations.ListAll"); scope.Start(); try { @@ -204,7 +204,7 @@ public virtual Pageable ListAll(CancellationToken cancellationTok { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AzureFirewallsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("AzureFirewallsOperations.ListAll"); scope.Start(); try { @@ -219,7 +219,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("AzureFirewallsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("AzureFirewallsOperations.ListAll"); scope.Start(); try { @@ -250,7 +250,7 @@ public virtual async Task StartDeleteAsync(string throw new ArgumentNullException(nameof(azureFirewallName)); } - using var scope = _clientDiagnostics.CreateScope("AzureFirewallsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("AzureFirewallsOperations.StartDelete"); scope.Start(); try { @@ -279,7 +279,7 @@ public virtual AzureFirewallsDeleteOperation StartDelete(string resourceGroupNam throw new ArgumentNullException(nameof(azureFirewallName)); } - using var scope = _clientDiagnostics.CreateScope("AzureFirewallsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("AzureFirewallsOperations.StartDelete"); scope.Start(); try { @@ -313,7 +313,7 @@ public virtual async Task StartCreateOrUp throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("AzureFirewallsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("AzureFirewallsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -347,7 +347,7 @@ public virtual AzureFirewallsCreateOrUpdateOperation StartCreateOrUpdate(string throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("AzureFirewallsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("AzureFirewallsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -381,7 +381,7 @@ public virtual async Task StartUpdateTagsAsyn throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("AzureFirewallsClient.StartUpdateTags"); + using var scope = _clientDiagnostics.CreateScope("AzureFirewallsOperations.StartUpdateTags"); scope.Start(); try { @@ -415,7 +415,7 @@ public virtual AzureFirewallsUpdateTagsOperation StartUpdateTags(string resource throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("AzureFirewallsClient.StartUpdateTags"); + using var scope = _clientDiagnostics.CreateScope("AzureFirewallsOperations.StartUpdateTags"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AzureFirewallsRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AzureFirewallsRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AzureFirewallsRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AzureFirewallsRestOperations.cs index baa4c1833422a..1b4b9c6c44fb3 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AzureFirewallsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AzureFirewallsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class AzureFirewallsRestClient + internal partial class AzureFirewallsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of AzureFirewallsRestClient. + /// Initializes a new instance of AzureFirewallsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public AzureFirewallsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public AzureFirewallsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/BastionHostsClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/BastionHostsOperations.cs similarity index 94% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/BastionHostsClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/BastionHostsOperations.cs index 5363480597fbb..178ddce0ef734 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/BastionHostsClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/BastionHostsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The BastionHosts service client. - public partial class BastionHostsClient + public partial class BastionHostsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal BastionHostsRestClient RestClient { get; } - /// Initializes a new instance of BastionHostsClient for mocking. - protected BastionHostsClient() + internal BastionHostsRestOperations RestClient { get; } + /// Initializes a new instance of BastionHostsOperations for mocking. + protected BastionHostsOperations() { } - /// Initializes a new instance of BastionHostsClient. + /// Initializes a new instance of BastionHostsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal BastionHostsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal BastionHostsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new BastionHostsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new BastionHostsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal BastionHostsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pi /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string bastionHostName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BastionHostsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("BastionHostsOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string resourceGroupNa /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string bastionHostName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BastionHostsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("BastionHostsOperations.Get"); scope.Start(); try { @@ -81,7 +81,7 @@ public virtual AsyncPageable ListAsync(CancellationToken cancellati { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("BastionHostsClient.List"); + using var scope = _clientDiagnostics.CreateScope("BastionHostsOperations.List"); scope.Start(); try { @@ -96,7 +96,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("BastionHostsClient.List"); + using var scope = _clientDiagnostics.CreateScope("BastionHostsOperations.List"); scope.Start(); try { @@ -118,7 +118,7 @@ public virtual Pageable List(CancellationToken cancellationToken = { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("BastionHostsClient.List"); + using var scope = _clientDiagnostics.CreateScope("BastionHostsOperations.List"); scope.Start(); try { @@ -133,7 +133,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("BastionHostsClient.List"); + using var scope = _clientDiagnostics.CreateScope("BastionHostsOperations.List"); scope.Start(); try { @@ -161,7 +161,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(string resour async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("BastionHostsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("BastionHostsOperations.ListByResourceGroup"); scope.Start(); try { @@ -176,7 +176,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("BastionHostsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("BastionHostsOperations.ListByResourceGroup"); scope.Start(); try { @@ -204,7 +204,7 @@ public virtual Pageable ListByResourceGroup(string resourceGroupNam Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("BastionHostsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("BastionHostsOperations.ListByResourceGroup"); scope.Start(); try { @@ -219,7 +219,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("BastionHostsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("BastionHostsOperations.ListByResourceGroup"); scope.Start(); try { @@ -250,7 +250,7 @@ public virtual async Task StartDeleteAsync(string r throw new ArgumentNullException(nameof(bastionHostName)); } - using var scope = _clientDiagnostics.CreateScope("BastionHostsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("BastionHostsOperations.StartDelete"); scope.Start(); try { @@ -279,7 +279,7 @@ public virtual BastionHostsDeleteOperation StartDelete(string resourceGroupName, throw new ArgumentNullException(nameof(bastionHostName)); } - using var scope = _clientDiagnostics.CreateScope("BastionHostsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("BastionHostsOperations.StartDelete"); scope.Start(); try { @@ -313,7 +313,7 @@ public virtual async Task StartCreateOrUpda throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("BastionHostsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("BastionHostsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -347,7 +347,7 @@ public virtual BastionHostsCreateOrUpdateOperation StartCreateOrUpdate(string re throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("BastionHostsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("BastionHostsOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/BastionHostsRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/BastionHostsRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/BastionHostsRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/BastionHostsRestOperations.cs index b340a231858a2..9e52dd4b74f1e 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/BastionHostsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/BastionHostsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class BastionHostsRestClient + internal partial class BastionHostsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of BastionHostsRestClient. + /// Initializes a new instance of BastionHostsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public BastionHostsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public BastionHostsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/BgpServiceCommunitiesClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/BgpServiceCommunitiesOperations.cs similarity index 86% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/BgpServiceCommunitiesClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/BgpServiceCommunitiesOperations.cs index d4bad50ed4dda..d8cb114165e0b 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/BgpServiceCommunitiesClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/BgpServiceCommunitiesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The BgpServiceCommunities service client. - public partial class BgpServiceCommunitiesClient + public partial class BgpServiceCommunitiesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal BgpServiceCommunitiesRestClient RestClient { get; } - /// Initializes a new instance of BgpServiceCommunitiesClient for mocking. - protected BgpServiceCommunitiesClient() + internal BgpServiceCommunitiesRestOperations RestClient { get; } + /// Initializes a new instance of BgpServiceCommunitiesOperations for mocking. + protected BgpServiceCommunitiesOperations() { } - /// Initializes a new instance of BgpServiceCommunitiesClient. + /// Initializes a new instance of BgpServiceCommunitiesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal BgpServiceCommunitiesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal BgpServiceCommunitiesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new BgpServiceCommunitiesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new BgpServiceCommunitiesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ public virtual AsyncPageable ListAsync(CancellationToken ca { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("BgpServiceCommunitiesClient.List"); + using var scope = _clientDiagnostics.CreateScope("BgpServiceCommunitiesOperations.List"); scope.Start(); try { @@ -58,7 +58,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("BgpServiceCommunitiesClient.List"); + using var scope = _clientDiagnostics.CreateScope("BgpServiceCommunitiesOperations.List"); scope.Start(); try { @@ -80,7 +80,7 @@ public virtual Pageable List(CancellationToken cancellation { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("BgpServiceCommunitiesClient.List"); + using var scope = _clientDiagnostics.CreateScope("BgpServiceCommunitiesOperations.List"); scope.Start(); try { @@ -95,7 +95,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("BgpServiceCommunitiesClient.List"); + using var scope = _clientDiagnostics.CreateScope("BgpServiceCommunitiesOperations.List"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/BgpServiceCommunitiesRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/BgpServiceCommunitiesRestOperations.cs similarity index 97% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/BgpServiceCommunitiesRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/BgpServiceCommunitiesRestOperations.cs index c45589380c832..da120d1b1fefa 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/BgpServiceCommunitiesRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/BgpServiceCommunitiesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class BgpServiceCommunitiesRestClient + internal partial class BgpServiceCommunitiesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of BgpServiceCommunitiesRestClient. + /// Initializes a new instance of BgpServiceCommunitiesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public BgpServiceCommunitiesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public BgpServiceCommunitiesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ConnectionMonitorsClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ConnectionMonitorsOperations.cs similarity index 95% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ConnectionMonitorsClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ConnectionMonitorsOperations.cs index 9c4d36bd6c89d..d82d4f8284bb4 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ConnectionMonitorsClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ConnectionMonitorsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The ConnectionMonitors service client. - public partial class ConnectionMonitorsClient + public partial class ConnectionMonitorsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ConnectionMonitorsRestClient RestClient { get; } - /// Initializes a new instance of ConnectionMonitorsClient for mocking. - protected ConnectionMonitorsClient() + internal ConnectionMonitorsRestOperations RestClient { get; } + /// Initializes a new instance of ConnectionMonitorsOperations for mocking. + protected ConnectionMonitorsOperations() { } - /// Initializes a new instance of ConnectionMonitorsClient. + /// Initializes a new instance of ConnectionMonitorsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ConnectionMonitorsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ConnectionMonitorsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ConnectionMonitorsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ConnectionMonitorsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal ConnectionMonitorsClient(ClientDiagnostics clientDiagnostics, HttpPipel /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string networkWatcherName, string connectionMonitorName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string res /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string networkWatcherName, string connectionMonitorName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsOperations.Get"); scope.Start(); try { @@ -85,7 +85,7 @@ public virtual Response Get(string resourceGroupName, s /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string networkWatcherName, string connectionMonitorName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsOperations.UpdateTags"); scope.Start(); try { @@ -106,7 +106,7 @@ public virtual async Task> UpdateTagsAsync(str /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string networkWatcherName, string connectionMonitorName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsOperations.UpdateTags"); scope.Start(); try { @@ -136,7 +136,7 @@ public virtual AsyncPageable ListAsync(string resourceG async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsOperations.List"); scope.Start(); try { @@ -169,7 +169,7 @@ public virtual Pageable List(string resourceGroupName, Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsOperations.List"); scope.Start(); try { @@ -210,7 +210,7 @@ public virtual async Task StartCreate throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -249,7 +249,7 @@ public virtual ConnectionMonitorsCreateOrUpdateOperation StartCreateOrUpdate(str throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -283,7 +283,7 @@ public virtual async Task StartDeleteAsync(st throw new ArgumentNullException(nameof(connectionMonitorName)); } - using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsOperations.StartDelete"); scope.Start(); try { @@ -317,7 +317,7 @@ public virtual ConnectionMonitorsDeleteOperation StartDelete(string resourceGrou throw new ArgumentNullException(nameof(connectionMonitorName)); } - using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsOperations.StartDelete"); scope.Start(); try { @@ -351,7 +351,7 @@ public virtual async Task StartStopAsync(string throw new ArgumentNullException(nameof(connectionMonitorName)); } - using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsClient.StartStop"); + using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsOperations.StartStop"); scope.Start(); try { @@ -385,7 +385,7 @@ public virtual ConnectionMonitorsStopOperation StartStop(string resourceGroupNam throw new ArgumentNullException(nameof(connectionMonitorName)); } - using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsClient.StartStop"); + using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsOperations.StartStop"); scope.Start(); try { @@ -419,7 +419,7 @@ public virtual async Task StartStartAsync(stri throw new ArgumentNullException(nameof(connectionMonitorName)); } - using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsClient.StartStart"); + using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsOperations.StartStart"); scope.Start(); try { @@ -453,7 +453,7 @@ public virtual ConnectionMonitorsStartOperation StartStart(string resourceGroupN throw new ArgumentNullException(nameof(connectionMonitorName)); } - using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsClient.StartStart"); + using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsOperations.StartStart"); scope.Start(); try { @@ -487,7 +487,7 @@ public virtual async Task StartQueryAsync(stri throw new ArgumentNullException(nameof(connectionMonitorName)); } - using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsClient.StartQuery"); + using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsOperations.StartQuery"); scope.Start(); try { @@ -521,7 +521,7 @@ public virtual ConnectionMonitorsQueryOperation StartQuery(string resourceGroupN throw new ArgumentNullException(nameof(connectionMonitorName)); } - using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsClient.StartQuery"); + using var scope = _clientDiagnostics.CreateScope("ConnectionMonitorsOperations.StartQuery"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ConnectionMonitorsRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ConnectionMonitorsRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ConnectionMonitorsRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ConnectionMonitorsRestOperations.cs index 4b73296778679..aebfd42980530 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ConnectionMonitorsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ConnectionMonitorsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class ConnectionMonitorsRestClient + internal partial class ConnectionMonitorsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ConnectionMonitorsRestClient. + /// Initializes a new instance of ConnectionMonitorsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ConnectionMonitorsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ConnectionMonitorsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/DdosCustomPoliciesClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/DdosCustomPoliciesOperations.cs similarity index 93% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/DdosCustomPoliciesClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/DdosCustomPoliciesOperations.cs index ae5e295c67d79..d8851216f6f98 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/DdosCustomPoliciesClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/DdosCustomPoliciesOperations.cs @@ -15,23 +15,23 @@ namespace Azure.Management.Network { /// The DdosCustomPolicies service client. - public partial class DdosCustomPoliciesClient + public partial class DdosCustomPoliciesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal DdosCustomPoliciesRestClient RestClient { get; } - /// Initializes a new instance of DdosCustomPoliciesClient for mocking. - protected DdosCustomPoliciesClient() + internal DdosCustomPoliciesRestOperations RestClient { get; } + /// Initializes a new instance of DdosCustomPoliciesOperations for mocking. + protected DdosCustomPoliciesOperations() { } - /// Initializes a new instance of DdosCustomPoliciesClient. + /// Initializes a new instance of DdosCustomPoliciesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal DdosCustomPoliciesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal DdosCustomPoliciesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new DdosCustomPoliciesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new DdosCustomPoliciesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -42,7 +42,7 @@ internal DdosCustomPoliciesClient(ClientDiagnostics clientDiagnostics, HttpPipel /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string ddosCustomPolicyName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DdosCustomPoliciesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("DdosCustomPoliciesOperations.Get"); scope.Start(); try { @@ -61,7 +61,7 @@ public virtual async Task> GetAsync(string resourceGr /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string ddosCustomPolicyName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DdosCustomPoliciesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("DdosCustomPoliciesOperations.Get"); scope.Start(); try { @@ -81,7 +81,7 @@ public virtual Response Get(string resourceGroupName, string d /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string ddosCustomPolicyName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DdosCustomPoliciesClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("DdosCustomPoliciesOperations.UpdateTags"); scope.Start(); try { @@ -101,7 +101,7 @@ public virtual async Task> UpdateTagsAsync(string res /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string ddosCustomPolicyName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DdosCustomPoliciesClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("DdosCustomPoliciesOperations.UpdateTags"); scope.Start(); try { @@ -129,7 +129,7 @@ public virtual async Task StartDeleteAsync(st throw new ArgumentNullException(nameof(ddosCustomPolicyName)); } - using var scope = _clientDiagnostics.CreateScope("DdosCustomPoliciesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("DdosCustomPoliciesOperations.StartDelete"); scope.Start(); try { @@ -158,7 +158,7 @@ public virtual DdosCustomPoliciesDeleteOperation StartDelete(string resourceGrou throw new ArgumentNullException(nameof(ddosCustomPolicyName)); } - using var scope = _clientDiagnostics.CreateScope("DdosCustomPoliciesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("DdosCustomPoliciesOperations.StartDelete"); scope.Start(); try { @@ -192,7 +192,7 @@ public virtual async Task StartCreate throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("DdosCustomPoliciesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("DdosCustomPoliciesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -226,7 +226,7 @@ public virtual DdosCustomPoliciesCreateOrUpdateOperation StartCreateOrUpdate(str throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("DdosCustomPoliciesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("DdosCustomPoliciesOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/DdosCustomPoliciesRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/DdosCustomPoliciesRestOperations.cs similarity index 98% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/DdosCustomPoliciesRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/DdosCustomPoliciesRestOperations.cs index 8e9a611168add..265b563d8407e 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/DdosCustomPoliciesRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/DdosCustomPoliciesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class DdosCustomPoliciesRestClient + internal partial class DdosCustomPoliciesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of DdosCustomPoliciesRestClient. + /// Initializes a new instance of DdosCustomPoliciesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public DdosCustomPoliciesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public DdosCustomPoliciesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/DdosProtectionPlansClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/DdosProtectionPlansOperations.cs similarity index 93% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/DdosProtectionPlansClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/DdosProtectionPlansOperations.cs index 1c9c10bd83196..1c1d1d63579c7 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/DdosProtectionPlansClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/DdosProtectionPlansOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The DdosProtectionPlans service client. - public partial class DdosProtectionPlansClient + public partial class DdosProtectionPlansOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal DdosProtectionPlansRestClient RestClient { get; } - /// Initializes a new instance of DdosProtectionPlansClient for mocking. - protected DdosProtectionPlansClient() + internal DdosProtectionPlansRestOperations RestClient { get; } + /// Initializes a new instance of DdosProtectionPlansOperations for mocking. + protected DdosProtectionPlansOperations() { } - /// Initializes a new instance of DdosProtectionPlansClient. + /// Initializes a new instance of DdosProtectionPlansOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal DdosProtectionPlansClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal DdosProtectionPlansOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new DdosProtectionPlansRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new DdosProtectionPlansRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal DdosProtectionPlansClient(ClientDiagnostics clientDiagnostics, HttpPipe /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string ddosProtectionPlanName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansClient.Get"); + using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string resource /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string ddosProtectionPlanName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansClient.Get"); + using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansOperations.Get"); scope.Start(); try { @@ -82,7 +82,7 @@ public virtual Response Get(string resourceGroupName, string /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string ddosProtectionPlanName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansOperations.UpdateTags"); scope.Start(); try { @@ -102,7 +102,7 @@ public virtual async Task> UpdateTagsAsync(string r /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string ddosProtectionPlanName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansOperations.UpdateTags"); scope.Start(); try { @@ -121,7 +121,7 @@ public virtual AsyncPageable ListAsync(CancellationToken can { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansClient.List"); + using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansOperations.List"); scope.Start(); try { @@ -136,7 +136,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansClient.List"); + using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansOperations.List"); scope.Start(); try { @@ -158,7 +158,7 @@ public virtual Pageable List(CancellationToken cancellationT { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansClient.List"); + using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansOperations.List"); scope.Start(); try { @@ -173,7 +173,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansClient.List"); + using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansOperations.List"); scope.Start(); try { @@ -201,7 +201,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(string async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansOperations.ListByResourceGroup"); scope.Start(); try { @@ -216,7 +216,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansOperations.ListByResourceGroup"); scope.Start(); try { @@ -244,7 +244,7 @@ public virtual Pageable ListByResourceGroup(string resourceG Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansOperations.ListByResourceGroup"); scope.Start(); try { @@ -259,7 +259,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansOperations.ListByResourceGroup"); scope.Start(); try { @@ -290,7 +290,7 @@ public virtual async Task StartDeleteAsync(s throw new ArgumentNullException(nameof(ddosProtectionPlanName)); } - using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansOperations.StartDelete"); scope.Start(); try { @@ -319,7 +319,7 @@ public virtual DdosProtectionPlansDeleteOperation StartDelete(string resourceGro throw new ArgumentNullException(nameof(ddosProtectionPlanName)); } - using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansOperations.StartDelete"); scope.Start(); try { @@ -353,7 +353,7 @@ public virtual async Task StartCreat throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -387,7 +387,7 @@ public virtual DdosProtectionPlansCreateOrUpdateOperation StartCreateOrUpdate(st throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("DdosProtectionPlansOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/DdosProtectionPlansRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/DdosProtectionPlansRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/DdosProtectionPlansRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/DdosProtectionPlansRestOperations.cs index a21cdb3287ab5..27f89bb4d6d64 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/DdosProtectionPlansRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/DdosProtectionPlansRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class DdosProtectionPlansRestClient + internal partial class DdosProtectionPlansRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of DdosProtectionPlansRestClient. + /// Initializes a new instance of DdosProtectionPlansRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public DdosProtectionPlansRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public DdosProtectionPlansRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/DefaultSecurityRulesClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/DefaultSecurityRulesOperations.cs similarity index 91% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/DefaultSecurityRulesClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/DefaultSecurityRulesOperations.cs index bb484b68523c7..afb73903a5344 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/DefaultSecurityRulesClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/DefaultSecurityRulesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The DefaultSecurityRules service client. - public partial class DefaultSecurityRulesClient + public partial class DefaultSecurityRulesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal DefaultSecurityRulesRestClient RestClient { get; } - /// Initializes a new instance of DefaultSecurityRulesClient for mocking. - protected DefaultSecurityRulesClient() + internal DefaultSecurityRulesRestOperations RestClient { get; } + /// Initializes a new instance of DefaultSecurityRulesOperations for mocking. + protected DefaultSecurityRulesOperations() { } - /// Initializes a new instance of DefaultSecurityRulesClient. + /// Initializes a new instance of DefaultSecurityRulesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal DefaultSecurityRulesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal DefaultSecurityRulesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new DefaultSecurityRulesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new DefaultSecurityRulesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal DefaultSecurityRulesClient(ClientDiagnostics clientDiagnostics, HttpPip /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string networkSecurityGroupName, string defaultSecurityRuleName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DefaultSecurityRulesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("DefaultSecurityRulesOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGroupN /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string networkSecurityGroupName, string defaultSecurityRuleName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DefaultSecurityRulesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("DefaultSecurityRulesOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName, s async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DefaultSecurityRulesClient.List"); + using var scope = _clientDiagnostics.CreateScope("DefaultSecurityRulesOperations.List"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DefaultSecurityRulesClient.List"); + using var scope = _clientDiagnostics.CreateScope("DefaultSecurityRulesOperations.List"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable List(string resourceGroupName, string netw Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DefaultSecurityRulesClient.List"); + using var scope = _clientDiagnostics.CreateScope("DefaultSecurityRulesOperations.List"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DefaultSecurityRulesClient.List"); + using var scope = _clientDiagnostics.CreateScope("DefaultSecurityRulesOperations.List"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/DefaultSecurityRulesRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/DefaultSecurityRulesRestOperations.cs similarity index 98% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/DefaultSecurityRulesRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/DefaultSecurityRulesRestOperations.cs index bba5521c88f21..aa8df1b5cd837 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/DefaultSecurityRulesRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/DefaultSecurityRulesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class DefaultSecurityRulesRestClient + internal partial class DefaultSecurityRulesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of DefaultSecurityRulesRestClient. + /// Initializes a new instance of DefaultSecurityRulesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public DefaultSecurityRulesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public DefaultSecurityRulesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCircuitAuthorizationsClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCircuitAuthorizationsOperations.cs similarity index 93% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCircuitAuthorizationsClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCircuitAuthorizationsOperations.cs index daaf0c807d1f0..8c1b6a36b0f9e 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCircuitAuthorizationsClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCircuitAuthorizationsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The ExpressRouteCircuitAuthorizations service client. - public partial class ExpressRouteCircuitAuthorizationsClient + public partial class ExpressRouteCircuitAuthorizationsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ExpressRouteCircuitAuthorizationsRestClient RestClient { get; } - /// Initializes a new instance of ExpressRouteCircuitAuthorizationsClient for mocking. - protected ExpressRouteCircuitAuthorizationsClient() + internal ExpressRouteCircuitAuthorizationsRestOperations RestClient { get; } + /// Initializes a new instance of ExpressRouteCircuitAuthorizationsOperations for mocking. + protected ExpressRouteCircuitAuthorizationsOperations() { } - /// Initializes a new instance of ExpressRouteCircuitAuthorizationsClient. + /// Initializes a new instance of ExpressRouteCircuitAuthorizationsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ExpressRouteCircuitAuthorizationsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ExpressRouteCircuitAuthorizationsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ExpressRouteCircuitAuthorizationsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ExpressRouteCircuitAuthorizationsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal ExpressRouteCircuitAuthorizationsClient(ClientDiagnostics clientDiagnos /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string circuitName, string authorizationName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitAuthorizationsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitAuthorizationsOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(s /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string circuitName, string authorizationName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitAuthorizationsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitAuthorizationsOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListAsync(string async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitAuthorizationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitAuthorizationsOperations.List"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHi } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitAuthorizationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitAuthorizationsOperations.List"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable List(string resourceGr Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitAuthorizationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitAuthorizationsOperations.List"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitAuthorizationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitAuthorizationsOperations.List"); scope.Start(); try { @@ -193,7 +193,7 @@ public virtual async Task Star throw new ArgumentNullException(nameof(authorizationName)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitAuthorizationsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitAuthorizationsOperations.StartDelete"); scope.Start(); try { @@ -227,7 +227,7 @@ public virtual ExpressRouteCircuitAuthorizationsDeleteOperation StartDelete(stri throw new ArgumentNullException(nameof(authorizationName)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitAuthorizationsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitAuthorizationsOperations.StartDelete"); scope.Start(); try { @@ -266,7 +266,7 @@ public virtual async Task Initializes a new instance of ExpressRouteCircuitAuthorizationsRestClient. + /// Initializes a new instance of ExpressRouteCircuitAuthorizationsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ExpressRouteCircuitAuthorizationsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ExpressRouteCircuitAuthorizationsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCircuitConnectionsClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCircuitConnectionsOperations.cs similarity index 94% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCircuitConnectionsClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCircuitConnectionsOperations.cs index a91c19e8cf0b9..0792ac89a8702 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCircuitConnectionsClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCircuitConnectionsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The ExpressRouteCircuitConnections service client. - public partial class ExpressRouteCircuitConnectionsClient + public partial class ExpressRouteCircuitConnectionsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ExpressRouteCircuitConnectionsRestClient RestClient { get; } - /// Initializes a new instance of ExpressRouteCircuitConnectionsClient for mocking. - protected ExpressRouteCircuitConnectionsClient() + internal ExpressRouteCircuitConnectionsRestOperations RestClient { get; } + /// Initializes a new instance of ExpressRouteCircuitConnectionsOperations for mocking. + protected ExpressRouteCircuitConnectionsOperations() { } - /// Initializes a new instance of ExpressRouteCircuitConnectionsClient. + /// Initializes a new instance of ExpressRouteCircuitConnectionsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ExpressRouteCircuitConnectionsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ExpressRouteCircuitConnectionsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ExpressRouteCircuitConnectionsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ExpressRouteCircuitConnectionsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -45,7 +45,7 @@ internal ExpressRouteCircuitConnectionsClient(ClientDiagnostics clientDiagnostic /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string circuitName, string peeringName, string connectionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitConnectionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitConnectionsOperations.Get"); scope.Start(); try { @@ -66,7 +66,7 @@ public virtual async Task> GetAsync(stri /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string circuitName, string peeringName, string connectionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitConnectionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitConnectionsOperations.Get"); scope.Start(); try { @@ -101,7 +101,7 @@ public virtual AsyncPageable ListAsync(string res async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitConnectionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitConnectionsOperations.List"); scope.Start(); try { @@ -116,7 +116,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitConnectionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitConnectionsOperations.List"); scope.Start(); try { @@ -154,7 +154,7 @@ public virtual Pageable List(string resourceGroup Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitConnectionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitConnectionsOperations.List"); scope.Start(); try { @@ -169,7 +169,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitConnectionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitConnectionsOperations.List"); scope.Start(); try { @@ -210,7 +210,7 @@ public virtual async Task StartDe throw new ArgumentNullException(nameof(connectionName)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitConnectionsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitConnectionsOperations.StartDelete"); scope.Start(); try { @@ -249,7 +249,7 @@ public virtual ExpressRouteCircuitConnectionsDeleteOperation StartDelete(string throw new ArgumentNullException(nameof(connectionName)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitConnectionsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitConnectionsOperations.StartDelete"); scope.Start(); try { @@ -293,7 +293,7 @@ public virtual async Task throw new ArgumentNullException(nameof(expressRouteCircuitConnectionParameters)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitConnectionsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitConnectionsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -337,7 +337,7 @@ public virtual ExpressRouteCircuitConnectionsCreateOrUpdateOperation StartCreate throw new ArgumentNullException(nameof(expressRouteCircuitConnectionParameters)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitConnectionsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitConnectionsOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCircuitConnectionsRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCircuitConnectionsRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCircuitConnectionsRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCircuitConnectionsRestOperations.cs index c55b886d40f9d..8b29fea991e78 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCircuitConnectionsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCircuitConnectionsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class ExpressRouteCircuitConnectionsRestClient + internal partial class ExpressRouteCircuitConnectionsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ExpressRouteCircuitConnectionsRestClient. + /// Initializes a new instance of ExpressRouteCircuitConnectionsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ExpressRouteCircuitConnectionsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ExpressRouteCircuitConnectionsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCircuitPeeringsClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCircuitPeeringsOperations.cs similarity index 93% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCircuitPeeringsClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCircuitPeeringsOperations.cs index a6b7dd5fc9008..5a53f02587e6f 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCircuitPeeringsClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCircuitPeeringsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The ExpressRouteCircuitPeerings service client. - public partial class ExpressRouteCircuitPeeringsClient + public partial class ExpressRouteCircuitPeeringsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ExpressRouteCircuitPeeringsRestClient RestClient { get; } - /// Initializes a new instance of ExpressRouteCircuitPeeringsClient for mocking. - protected ExpressRouteCircuitPeeringsClient() + internal ExpressRouteCircuitPeeringsRestOperations RestClient { get; } + /// Initializes a new instance of ExpressRouteCircuitPeeringsOperations for mocking. + protected ExpressRouteCircuitPeeringsOperations() { } - /// Initializes a new instance of ExpressRouteCircuitPeeringsClient. + /// Initializes a new instance of ExpressRouteCircuitPeeringsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ExpressRouteCircuitPeeringsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ExpressRouteCircuitPeeringsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ExpressRouteCircuitPeeringsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ExpressRouteCircuitPeeringsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal ExpressRouteCircuitPeeringsClient(ClientDiagnostics clientDiagnostics, /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string circuitName, string peeringName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitPeeringsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitPeeringsOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string circuitName, string peeringName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitPeeringsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitPeeringsOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListAsync(string resour async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitPeeringsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitPeeringsOperations.List"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitPeeringsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitPeeringsOperations.List"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable List(string resourceGroupNam Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitPeeringsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitPeeringsOperations.List"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitPeeringsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitPeeringsOperations.List"); scope.Start(); try { @@ -193,7 +193,7 @@ public virtual async Task StartDelet throw new ArgumentNullException(nameof(peeringName)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitPeeringsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitPeeringsOperations.StartDelete"); scope.Start(); try { @@ -227,7 +227,7 @@ public virtual ExpressRouteCircuitPeeringsDeleteOperation StartDelete(string res throw new ArgumentNullException(nameof(peeringName)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitPeeringsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitPeeringsOperations.StartDelete"); scope.Start(); try { @@ -266,7 +266,7 @@ public virtual async Task St throw new ArgumentNullException(nameof(peeringParameters)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitPeeringsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitPeeringsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -305,7 +305,7 @@ public virtual ExpressRouteCircuitPeeringsCreateOrUpdateOperation StartCreateOrU throw new ArgumentNullException(nameof(peeringParameters)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitPeeringsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitPeeringsOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCircuitPeeringsRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCircuitPeeringsRestOperations.cs similarity index 98% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCircuitPeeringsRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCircuitPeeringsRestOperations.cs index fa6792f37d9c8..d2b78621243cf 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCircuitPeeringsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCircuitPeeringsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class ExpressRouteCircuitPeeringsRestClient + internal partial class ExpressRouteCircuitPeeringsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ExpressRouteCircuitPeeringsRestClient. + /// Initializes a new instance of ExpressRouteCircuitPeeringsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ExpressRouteCircuitPeeringsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ExpressRouteCircuitPeeringsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCircuitsClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCircuitsOperations.cs similarity index 95% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCircuitsClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCircuitsOperations.cs index 17e9775ec5360..3219f03761244 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCircuitsClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCircuitsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The ExpressRouteCircuits service client. - public partial class ExpressRouteCircuitsClient + public partial class ExpressRouteCircuitsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ExpressRouteCircuitsRestClient RestClient { get; } - /// Initializes a new instance of ExpressRouteCircuitsClient for mocking. - protected ExpressRouteCircuitsClient() + internal ExpressRouteCircuitsRestOperations RestClient { get; } + /// Initializes a new instance of ExpressRouteCircuitsOperations for mocking. + protected ExpressRouteCircuitsOperations() { } - /// Initializes a new instance of ExpressRouteCircuitsClient. + /// Initializes a new instance of ExpressRouteCircuitsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ExpressRouteCircuitsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ExpressRouteCircuitsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ExpressRouteCircuitsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ExpressRouteCircuitsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal ExpressRouteCircuitsClient(ClientDiagnostics clientDiagnostics, HttpPip /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string circuitName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string resourc /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string circuitName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.Get"); scope.Start(); try { @@ -82,7 +82,7 @@ public virtual Response Get(string resourceGroupName, strin /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string circuitName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.UpdateTags"); scope.Start(); try { @@ -102,7 +102,7 @@ public virtual async Task> UpdateTagsAsync(string /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string circuitName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.UpdateTags"); scope.Start(); try { @@ -121,7 +121,7 @@ public virtual Response UpdateTags(string resourceGroupName /// The cancellation token to use. public virtual async Task> GetStatsAsync(string resourceGroupName, string circuitName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.GetStats"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.GetStats"); scope.Start(); try { @@ -140,7 +140,7 @@ public virtual async Task> GetStatsAsync(stri /// The cancellation token to use. public virtual Response GetStats(string resourceGroupName, string circuitName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.GetStats"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.GetStats"); scope.Start(); try { @@ -160,7 +160,7 @@ public virtual Response GetStats(string resourceGroupN /// The cancellation token to use. public virtual async Task> GetPeeringStatsAsync(string resourceGroupName, string circuitName, string peeringName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.GetPeeringStats"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.GetPeeringStats"); scope.Start(); try { @@ -180,7 +180,7 @@ public virtual async Task> GetPeeringStatsAsy /// The cancellation token to use. public virtual Response GetPeeringStats(string resourceGroupName, string circuitName, string peeringName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.GetPeeringStats"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.GetPeeringStats"); scope.Start(); try { @@ -205,7 +205,7 @@ public virtual AsyncPageable ListAsync(string resourceGroup async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.List"); scope.Start(); try { @@ -220,7 +220,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.List"); scope.Start(); try { @@ -248,7 +248,7 @@ public virtual Pageable List(string resourceGroupName, Canc Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.List"); scope.Start(); try { @@ -263,7 +263,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.List"); scope.Start(); try { @@ -285,7 +285,7 @@ public virtual AsyncPageable ListAllAsync(CancellationToken { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.ListAll"); scope.Start(); try { @@ -300,7 +300,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.ListAll"); scope.Start(); try { @@ -322,7 +322,7 @@ public virtual Pageable ListAll(CancellationToken cancellat { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.ListAll"); scope.Start(); try { @@ -337,7 +337,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.ListAll"); scope.Start(); try { @@ -368,7 +368,7 @@ public virtual async Task StartDeleteAsync( throw new ArgumentNullException(nameof(circuitName)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.StartDelete"); scope.Start(); try { @@ -397,7 +397,7 @@ public virtual ExpressRouteCircuitsDeleteOperation StartDelete(string resourceGr throw new ArgumentNullException(nameof(circuitName)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.StartDelete"); scope.Start(); try { @@ -431,7 +431,7 @@ public virtual async Task StartCrea throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -465,7 +465,7 @@ public virtual ExpressRouteCircuitsCreateOrUpdateOperation StartCreateOrUpdate(s throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -504,7 +504,7 @@ public virtual async Task StartListAr throw new ArgumentNullException(nameof(devicePath)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.StartListArpTable"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.StartListArpTable"); scope.Start(); try { @@ -543,7 +543,7 @@ public virtual ExpressRouteCircuitsListArpTableOperation StartListArpTable(strin throw new ArgumentNullException(nameof(devicePath)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.StartListArpTable"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.StartListArpTable"); scope.Start(); try { @@ -582,7 +582,7 @@ public virtual async Task StartLis throw new ArgumentNullException(nameof(devicePath)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.StartListRoutesTable"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.StartListRoutesTable"); scope.Start(); try { @@ -621,7 +621,7 @@ public virtual ExpressRouteCircuitsListRoutesTableOperation StartListRoutesTable throw new ArgumentNullException(nameof(devicePath)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.StartListRoutesTable"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.StartListRoutesTable"); scope.Start(); try { @@ -660,7 +660,7 @@ public virtual async Task S throw new ArgumentNullException(nameof(devicePath)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.StartListRoutesTableSummary"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.StartListRoutesTableSummary"); scope.Start(); try { @@ -699,7 +699,7 @@ public virtual ExpressRouteCircuitsListRoutesTableSummaryOperation StartListRout throw new ArgumentNullException(nameof(devicePath)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsClient.StartListRoutesTableSummary"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCircuitsOperations.StartListRoutesTableSummary"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCircuitsRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCircuitsRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCircuitsRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCircuitsRestOperations.cs index d0db4e6a561c1..3a11f25fd4fc1 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCircuitsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCircuitsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class ExpressRouteCircuitsRestClient + internal partial class ExpressRouteCircuitsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ExpressRouteCircuitsRestClient. + /// Initializes a new instance of ExpressRouteCircuitsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ExpressRouteCircuitsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ExpressRouteCircuitsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteConnectionsClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteConnectionsOperations.cs similarity index 93% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteConnectionsClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteConnectionsOperations.cs index 34c790663d2c4..7cddefd4946cb 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteConnectionsClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteConnectionsOperations.cs @@ -15,23 +15,23 @@ namespace Azure.Management.Network { /// The ExpressRouteConnections service client. - public partial class ExpressRouteConnectionsClient + public partial class ExpressRouteConnectionsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ExpressRouteConnectionsRestClient RestClient { get; } - /// Initializes a new instance of ExpressRouteConnectionsClient for mocking. - protected ExpressRouteConnectionsClient() + internal ExpressRouteConnectionsRestOperations RestClient { get; } + /// Initializes a new instance of ExpressRouteConnectionsOperations for mocking. + protected ExpressRouteConnectionsOperations() { } - /// Initializes a new instance of ExpressRouteConnectionsClient. + /// Initializes a new instance of ExpressRouteConnectionsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ExpressRouteConnectionsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ExpressRouteConnectionsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ExpressRouteConnectionsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ExpressRouteConnectionsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal ExpressRouteConnectionsClient(ClientDiagnostics clientDiagnostics, Http /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string expressRouteGatewayName, string connectionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteConnectionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteConnectionsOperations.Get"); scope.Start(); try { @@ -63,7 +63,7 @@ public virtual async Task> GetAsync(string reso /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string expressRouteGatewayName, string connectionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteConnectionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteConnectionsOperations.Get"); scope.Start(); try { @@ -82,7 +82,7 @@ public virtual Response Get(string resourceGroupName, st /// The cancellation token to use. public virtual async Task> ListAsync(string resourceGroupName, string expressRouteGatewayName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteConnectionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteConnectionsOperations.List"); scope.Start(); try { @@ -101,7 +101,7 @@ public virtual async Task> ListAsync(string /// The cancellation token to use. public virtual Response List(string resourceGroupName, string expressRouteGatewayName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteConnectionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteConnectionsOperations.List"); scope.Start(); try { @@ -139,7 +139,7 @@ public virtual async Task StartC throw new ArgumentNullException(nameof(putExpressRouteConnectionParameters)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteConnectionsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteConnectionsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -178,7 +178,7 @@ public virtual ExpressRouteConnectionsCreateOrUpdateOperation StartCreateOrUpdat throw new ArgumentNullException(nameof(putExpressRouteConnectionParameters)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteConnectionsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteConnectionsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -212,7 +212,7 @@ public virtual async Task StartDeleteAsy throw new ArgumentNullException(nameof(connectionName)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteConnectionsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteConnectionsOperations.StartDelete"); scope.Start(); try { @@ -246,7 +246,7 @@ public virtual ExpressRouteConnectionsDeleteOperation StartDelete(string resourc throw new ArgumentNullException(nameof(connectionName)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteConnectionsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteConnectionsOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteConnectionsRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteConnectionsRestOperations.cs similarity index 98% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteConnectionsRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteConnectionsRestOperations.cs index 0113c2c1e0a02..c998dbf72561b 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteConnectionsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteConnectionsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class ExpressRouteConnectionsRestClient + internal partial class ExpressRouteConnectionsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ExpressRouteConnectionsRestClient. + /// Initializes a new instance of ExpressRouteConnectionsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ExpressRouteConnectionsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ExpressRouteConnectionsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCrossConnectionPeeringsClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCrossConnectionPeeringsOperations.cs similarity index 93% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCrossConnectionPeeringsClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCrossConnectionPeeringsOperations.cs index ede41f7ac94d1..5659d5d6237e4 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCrossConnectionPeeringsClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCrossConnectionPeeringsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The ExpressRouteCrossConnectionPeerings service client. - public partial class ExpressRouteCrossConnectionPeeringsClient + public partial class ExpressRouteCrossConnectionPeeringsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ExpressRouteCrossConnectionPeeringsRestClient RestClient { get; } - /// Initializes a new instance of ExpressRouteCrossConnectionPeeringsClient for mocking. - protected ExpressRouteCrossConnectionPeeringsClient() + internal ExpressRouteCrossConnectionPeeringsRestOperations RestClient { get; } + /// Initializes a new instance of ExpressRouteCrossConnectionPeeringsOperations for mocking. + protected ExpressRouteCrossConnectionPeeringsOperations() { } - /// Initializes a new instance of ExpressRouteCrossConnectionPeeringsClient. + /// Initializes a new instance of ExpressRouteCrossConnectionPeeringsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ExpressRouteCrossConnectionPeeringsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ExpressRouteCrossConnectionPeeringsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ExpressRouteCrossConnectionPeeringsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ExpressRouteCrossConnectionPeeringsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal ExpressRouteCrossConnectionPeeringsClient(ClientDiagnostics clientDiagn /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string crossConnectionName, string peeringName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionPeeringsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionPeeringsOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string crossConnectionName, string peeringName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionPeeringsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionPeeringsOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListAsync(strin async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionPeeringsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionPeeringsOperations.List"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSize } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionPeeringsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionPeeringsOperations.List"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable List(string resource Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionPeeringsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionPeeringsOperations.List"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionPeeringsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionPeeringsOperations.List"); scope.Start(); try { @@ -193,7 +193,7 @@ public virtual async Task St throw new ArgumentNullException(nameof(peeringName)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionPeeringsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionPeeringsOperations.StartDelete"); scope.Start(); try { @@ -227,7 +227,7 @@ public virtual ExpressRouteCrossConnectionPeeringsDeleteOperation StartDelete(st throw new ArgumentNullException(nameof(peeringName)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionPeeringsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionPeeringsOperations.StartDelete"); scope.Start(); try { @@ -266,7 +266,7 @@ public virtual async Task Initializes a new instance of ExpressRouteCrossConnectionPeeringsRestClient. + /// Initializes a new instance of ExpressRouteCrossConnectionPeeringsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ExpressRouteCrossConnectionPeeringsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ExpressRouteCrossConnectionPeeringsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCrossConnectionsClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCrossConnectionsOperations.cs similarity index 94% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCrossConnectionsClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCrossConnectionsOperations.cs index bf03c1cb42598..8708585f9e7d7 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCrossConnectionsClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCrossConnectionsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The ExpressRouteCrossConnections service client. - public partial class ExpressRouteCrossConnectionsClient + public partial class ExpressRouteCrossConnectionsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ExpressRouteCrossConnectionsRestClient RestClient { get; } - /// Initializes a new instance of ExpressRouteCrossConnectionsClient for mocking. - protected ExpressRouteCrossConnectionsClient() + internal ExpressRouteCrossConnectionsRestOperations RestClient { get; } + /// Initializes a new instance of ExpressRouteCrossConnectionsOperations for mocking. + protected ExpressRouteCrossConnectionsOperations() { } - /// Initializes a new instance of ExpressRouteCrossConnectionsClient. + /// Initializes a new instance of ExpressRouteCrossConnectionsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ExpressRouteCrossConnectionsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ExpressRouteCrossConnectionsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ExpressRouteCrossConnectionsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ExpressRouteCrossConnectionsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal ExpressRouteCrossConnectionsClient(ClientDiagnostics clientDiagnostics, /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string crossConnectionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string crossConnectionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsOperations.Get"); scope.Start(); try { @@ -82,7 +82,7 @@ public virtual Response Get(string resourceGroupNam /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string crossConnectionName, TagsObject crossConnectionParameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsOperations.UpdateTags"); scope.Start(); try { @@ -102,7 +102,7 @@ public virtual async Task> UpdateTagsAsync /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string crossConnectionName, TagsObject crossConnectionParameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsOperations.UpdateTags"); scope.Start(); try { @@ -121,7 +121,7 @@ public virtual AsyncPageable ListAsync(Cancellation { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsOperations.List"); scope.Start(); try { @@ -136,7 +136,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsOperations.List"); scope.Start(); try { @@ -158,7 +158,7 @@ public virtual Pageable List(CancellationToken canc { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsOperations.List"); scope.Start(); try { @@ -173,7 +173,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsOperations.List"); scope.Start(); try { @@ -201,7 +201,7 @@ public virtual AsyncPageable ListByResourceGroupAsy async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsOperations.ListByResourceGroup"); scope.Start(); try { @@ -216,7 +216,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsOperations.ListByResourceGroup"); scope.Start(); try { @@ -244,7 +244,7 @@ public virtual Pageable ListByResourceGroup(string Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsOperations.ListByResourceGroup"); scope.Start(); try { @@ -259,7 +259,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsOperations.ListByResourceGroup"); scope.Start(); try { @@ -295,7 +295,7 @@ public virtual async Task S throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -329,7 +329,7 @@ public virtual ExpressRouteCrossConnectionsCreateOrUpdateOperation StartCreateOr throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -368,7 +368,7 @@ public virtual async Task Sta throw new ArgumentNullException(nameof(devicePath)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsClient.StartListArpTable"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsOperations.StartListArpTable"); scope.Start(); try { @@ -407,7 +407,7 @@ public virtual ExpressRouteCrossConnectionsListArpTableOperation StartListArpTab throw new ArgumentNullException(nameof(devicePath)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsClient.StartListArpTable"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsOperations.StartListArpTable"); scope.Start(); try { @@ -446,7 +446,7 @@ public virtual async Task throw new ArgumentNullException(nameof(devicePath)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsClient.StartListRoutesTable"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsOperations.StartListRoutesTable"); scope.Start(); try { @@ -563,7 +563,7 @@ public virtual ExpressRouteCrossConnectionsListRoutesTableOperation StartListRou throw new ArgumentNullException(nameof(devicePath)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsClient.StartListRoutesTable"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteCrossConnectionsOperations.StartListRoutesTable"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCrossConnectionsRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCrossConnectionsRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCrossConnectionsRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCrossConnectionsRestOperations.cs index 7a0bf466d962e..39ced2fa93cc1 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCrossConnectionsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCrossConnectionsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class ExpressRouteCrossConnectionsRestClient + internal partial class ExpressRouteCrossConnectionsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ExpressRouteCrossConnectionsRestClient. + /// Initializes a new instance of ExpressRouteCrossConnectionsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ExpressRouteCrossConnectionsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ExpressRouteCrossConnectionsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteGatewaysClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteGatewaysOperations.cs similarity index 92% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteGatewaysClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteGatewaysOperations.cs index bc65c118b1e34..1175728661d65 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteGatewaysClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteGatewaysOperations.cs @@ -15,23 +15,23 @@ namespace Azure.Management.Network { /// The ExpressRouteGateways service client. - public partial class ExpressRouteGatewaysClient + public partial class ExpressRouteGatewaysOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ExpressRouteGatewaysRestClient RestClient { get; } - /// Initializes a new instance of ExpressRouteGatewaysClient for mocking. - protected ExpressRouteGatewaysClient() + internal ExpressRouteGatewaysRestOperations RestClient { get; } + /// Initializes a new instance of ExpressRouteGatewaysOperations for mocking. + protected ExpressRouteGatewaysOperations() { } - /// Initializes a new instance of ExpressRouteGatewaysClient. + /// Initializes a new instance of ExpressRouteGatewaysOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ExpressRouteGatewaysClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ExpressRouteGatewaysOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ExpressRouteGatewaysRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ExpressRouteGatewaysRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -40,7 +40,7 @@ internal ExpressRouteGatewaysClient(ClientDiagnostics clientDiagnostics, HttpPip /// The cancellation token to use. public virtual async Task> ListBySubscriptionAsync(CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteGatewaysClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteGatewaysOperations.ListBySubscription"); scope.Start(); try { @@ -57,7 +57,7 @@ public virtual async Task> ListBySubscriptionA /// The cancellation token to use. public virtual Response ListBySubscription(CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteGatewaysClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteGatewaysOperations.ListBySubscription"); scope.Start(); try { @@ -75,7 +75,7 @@ public virtual Response ListBySubscription(Cancellation /// The cancellation token to use. public virtual async Task> ListByResourceGroupAsync(string resourceGroupName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteGatewaysClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteGatewaysOperations.ListByResourceGroup"); scope.Start(); try { @@ -93,7 +93,7 @@ public virtual async Task> ListByResourceGroup /// The cancellation token to use. public virtual Response ListByResourceGroup(string resourceGroupName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteGatewaysClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteGatewaysOperations.ListByResourceGroup"); scope.Start(); try { @@ -112,7 +112,7 @@ public virtual Response ListByResourceGroup(string reso /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string expressRouteGatewayName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteGatewaysClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteGatewaysOperations.Get"); scope.Start(); try { @@ -131,7 +131,7 @@ public virtual async Task> GetAsync(string resourc /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string expressRouteGatewayName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteGatewaysClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteGatewaysOperations.Get"); scope.Start(); try { @@ -164,7 +164,7 @@ public virtual async Task StartCrea throw new ArgumentNullException(nameof(putExpressRouteGatewayParameters)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteGatewaysClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteGatewaysOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -198,7 +198,7 @@ public virtual ExpressRouteGatewaysCreateOrUpdateOperation StartCreateOrUpdate(s throw new ArgumentNullException(nameof(putExpressRouteGatewayParameters)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteGatewaysClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteGatewaysOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -227,7 +227,7 @@ public virtual async Task StartDeleteAsync( throw new ArgumentNullException(nameof(expressRouteGatewayName)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteGatewaysClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteGatewaysOperations.StartDelete"); scope.Start(); try { @@ -256,7 +256,7 @@ public virtual ExpressRouteGatewaysDeleteOperation StartDelete(string resourceGr throw new ArgumentNullException(nameof(expressRouteGatewayName)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRouteGatewaysClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteGatewaysOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteGatewaysRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteGatewaysRestOperations.cs similarity index 98% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteGatewaysRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteGatewaysRestOperations.cs index 62e382331967a..9b03a7170bef6 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteGatewaysRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteGatewaysRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class ExpressRouteGatewaysRestClient + internal partial class ExpressRouteGatewaysRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ExpressRouteGatewaysRestClient. + /// Initializes a new instance of ExpressRouteGatewaysRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ExpressRouteGatewaysRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ExpressRouteGatewaysRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteLinksClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteLinksOperations.cs similarity index 91% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteLinksClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteLinksOperations.cs index 93d8cb47dc292..a9187ed39d118 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteLinksClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteLinksOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The ExpressRouteLinks service client. - public partial class ExpressRouteLinksClient + public partial class ExpressRouteLinksOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ExpressRouteLinksRestClient RestClient { get; } - /// Initializes a new instance of ExpressRouteLinksClient for mocking. - protected ExpressRouteLinksClient() + internal ExpressRouteLinksRestOperations RestClient { get; } + /// Initializes a new instance of ExpressRouteLinksOperations for mocking. + protected ExpressRouteLinksOperations() { } - /// Initializes a new instance of ExpressRouteLinksClient. + /// Initializes a new instance of ExpressRouteLinksOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ExpressRouteLinksClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ExpressRouteLinksOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ExpressRouteLinksRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ExpressRouteLinksRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal ExpressRouteLinksClient(ClientDiagnostics clientDiagnostics, HttpPipeli /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string expressRoutePortName, string linkName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteLinksClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteLinksOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGr /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string expressRoutePortName, string linkName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteLinksClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteLinksOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupNam async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteLinksClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteLinksOperations.List"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteLinksClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteLinksOperations.List"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable List(string resourceGroupName, string Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteLinksClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteLinksOperations.List"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteLinksClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteLinksOperations.List"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteLinksRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteLinksRestOperations.cs similarity index 98% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteLinksRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteLinksRestOperations.cs index 17c7f8c59237f..80b0189ab1107 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteLinksRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteLinksRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class ExpressRouteLinksRestClient + internal partial class ExpressRouteLinksRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ExpressRouteLinksRestClient. + /// Initializes a new instance of ExpressRouteLinksRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ExpressRouteLinksRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ExpressRouteLinksRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRoutePortsLocationsClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRoutePortsLocationsOperations.cs similarity index 88% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRoutePortsLocationsClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRoutePortsLocationsOperations.cs index f83b137eb9a51..79be299578799 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRoutePortsLocationsClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRoutePortsLocationsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The ExpressRoutePortsLocations service client. - public partial class ExpressRoutePortsLocationsClient + public partial class ExpressRoutePortsLocationsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ExpressRoutePortsLocationsRestClient RestClient { get; } - /// Initializes a new instance of ExpressRoutePortsLocationsClient for mocking. - protected ExpressRoutePortsLocationsClient() + internal ExpressRoutePortsLocationsRestOperations RestClient { get; } + /// Initializes a new instance of ExpressRoutePortsLocationsOperations for mocking. + protected ExpressRoutePortsLocationsOperations() { } - /// Initializes a new instance of ExpressRoutePortsLocationsClient. + /// Initializes a new instance of ExpressRoutePortsLocationsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ExpressRoutePortsLocationsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ExpressRoutePortsLocationsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ExpressRoutePortsLocationsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ExpressRoutePortsLocationsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -42,7 +42,7 @@ internal ExpressRoutePortsLocationsClient(ClientDiagnostics clientDiagnostics, H /// The cancellation token to use. public virtual async Task> GetAsync(string locationName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsLocationsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsLocationsOperations.Get"); scope.Start(); try { @@ -60,7 +60,7 @@ public virtual async Task> GetAsync(string l /// The cancellation token to use. public virtual Response Get(string locationName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsLocationsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsLocationsOperations.Get"); scope.Start(); try { @@ -79,7 +79,7 @@ public virtual AsyncPageable ListAsync(CancellationTo { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsLocationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsLocationsOperations.List"); scope.Start(); try { @@ -94,7 +94,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsLocationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsLocationsOperations.List"); scope.Start(); try { @@ -116,7 +116,7 @@ public virtual Pageable List(CancellationToken cancel { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsLocationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsLocationsOperations.List"); scope.Start(); try { @@ -131,7 +131,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsLocationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsLocationsOperations.List"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRoutePortsLocationsRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRoutePortsLocationsRestOperations.cs similarity index 98% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRoutePortsLocationsRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRoutePortsLocationsRestOperations.cs index f16988c637ea8..7b6cf558f28aa 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRoutePortsLocationsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRoutePortsLocationsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class ExpressRoutePortsLocationsRestClient + internal partial class ExpressRoutePortsLocationsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ExpressRoutePortsLocationsRestClient. + /// Initializes a new instance of ExpressRoutePortsLocationsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ExpressRoutePortsLocationsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ExpressRoutePortsLocationsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRoutePortsClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRoutePortsOperations.cs similarity index 94% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRoutePortsClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRoutePortsOperations.cs index 2a09eb6700088..a697382849ceb 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRoutePortsClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRoutePortsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The ExpressRoutePorts service client. - public partial class ExpressRoutePortsClient + public partial class ExpressRoutePortsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ExpressRoutePortsRestClient RestClient { get; } - /// Initializes a new instance of ExpressRoutePortsClient for mocking. - protected ExpressRoutePortsClient() + internal ExpressRoutePortsRestOperations RestClient { get; } + /// Initializes a new instance of ExpressRoutePortsOperations for mocking. + protected ExpressRoutePortsOperations() { } - /// Initializes a new instance of ExpressRoutePortsClient. + /// Initializes a new instance of ExpressRoutePortsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ExpressRoutePortsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ExpressRoutePortsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ExpressRoutePortsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ExpressRoutePortsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal ExpressRoutePortsClient(ClientDiagnostics clientDiagnostics, HttpPipeli /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string expressRoutePortName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string resourceGr /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string expressRoutePortName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsOperations.Get"); scope.Start(); try { @@ -82,7 +82,7 @@ public virtual Response Get(string resourceGroupName, string e /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string expressRoutePortName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsOperations.UpdateTags"); scope.Start(); try { @@ -102,7 +102,7 @@ public virtual async Task> UpdateTagsAsync(string res /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string expressRoutePortName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsOperations.UpdateTags"); scope.Start(); try { @@ -127,7 +127,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(string r async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsOperations.ListByResourceGroup"); scope.Start(); try { @@ -142,7 +142,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsOperations.ListByResourceGroup"); scope.Start(); try { @@ -170,7 +170,7 @@ public virtual Pageable ListByResourceGroup(string resourceGro Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsOperations.ListByResourceGroup"); scope.Start(); try { @@ -185,7 +185,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsOperations.ListByResourceGroup"); scope.Start(); try { @@ -207,7 +207,7 @@ public virtual AsyncPageable ListAsync(CancellationToken cance { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsOperations.List"); scope.Start(); try { @@ -222,7 +222,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsOperations.List"); scope.Start(); try { @@ -244,7 +244,7 @@ public virtual Pageable List(CancellationToken cancellationTok { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsOperations.List"); scope.Start(); try { @@ -259,7 +259,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsOperations.List"); scope.Start(); try { @@ -290,7 +290,7 @@ public virtual async Task StartDeleteAsync(str throw new ArgumentNullException(nameof(expressRoutePortName)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsOperations.StartDelete"); scope.Start(); try { @@ -319,7 +319,7 @@ public virtual ExpressRoutePortsDeleteOperation StartDelete(string resourceGroup throw new ArgumentNullException(nameof(expressRoutePortName)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsOperations.StartDelete"); scope.Start(); try { @@ -353,7 +353,7 @@ public virtual async Task StartCreateO throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -387,7 +387,7 @@ public virtual ExpressRoutePortsCreateOrUpdateOperation StartCreateOrUpdate(stri throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ExpressRoutePortsOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRoutePortsRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRoutePortsRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRoutePortsRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRoutePortsRestOperations.cs index 86de73e1931e3..c2e8f529fc26b 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRoutePortsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRoutePortsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class ExpressRoutePortsRestClient + internal partial class ExpressRoutePortsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ExpressRoutePortsRestClient. + /// Initializes a new instance of ExpressRoutePortsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ExpressRoutePortsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ExpressRoutePortsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteServiceProvidersClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteServiceProvidersOperations.cs similarity index 85% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteServiceProvidersClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteServiceProvidersOperations.cs index 86f16918497bd..dd8dacf088904 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteServiceProvidersClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteServiceProvidersOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The ExpressRouteServiceProviders service client. - public partial class ExpressRouteServiceProvidersClient + public partial class ExpressRouteServiceProvidersOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ExpressRouteServiceProvidersRestClient RestClient { get; } - /// Initializes a new instance of ExpressRouteServiceProvidersClient for mocking. - protected ExpressRouteServiceProvidersClient() + internal ExpressRouteServiceProvidersRestOperations RestClient { get; } + /// Initializes a new instance of ExpressRouteServiceProvidersOperations for mocking. + protected ExpressRouteServiceProvidersOperations() { } - /// Initializes a new instance of ExpressRouteServiceProvidersClient. + /// Initializes a new instance of ExpressRouteServiceProvidersOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ExpressRouteServiceProvidersClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ExpressRouteServiceProvidersOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ExpressRouteServiceProvidersRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ExpressRouteServiceProvidersRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ public virtual AsyncPageable ListAsync(Cancellation { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteServiceProvidersClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteServiceProvidersOperations.List"); scope.Start(); try { @@ -58,7 +58,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteServiceProvidersClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteServiceProvidersOperations.List"); scope.Start(); try { @@ -80,7 +80,7 @@ public virtual Pageable List(CancellationToken canc { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteServiceProvidersClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteServiceProvidersOperations.List"); scope.Start(); try { @@ -95,7 +95,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ExpressRouteServiceProvidersClient.List"); + using var scope = _clientDiagnostics.CreateScope("ExpressRouteServiceProvidersOperations.List"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteServiceProvidersRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteServiceProvidersRestOperations.cs similarity index 96% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteServiceProvidersRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteServiceProvidersRestOperations.cs index f4f1e3ee5ad02..ceef124f0040b 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteServiceProvidersRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteServiceProvidersRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class ExpressRouteServiceProvidersRestClient + internal partial class ExpressRouteServiceProvidersRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ExpressRouteServiceProvidersRestClient. + /// Initializes a new instance of ExpressRouteServiceProvidersRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ExpressRouteServiceProvidersRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ExpressRouteServiceProvidersRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/FirewallPoliciesClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/FirewallPoliciesOperations.cs similarity index 94% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/FirewallPoliciesClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/FirewallPoliciesOperations.cs index efe1c5d097575..07ccaf5127c34 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/FirewallPoliciesClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/FirewallPoliciesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The FirewallPolicies service client. - public partial class FirewallPoliciesClient + public partial class FirewallPoliciesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal FirewallPoliciesRestClient RestClient { get; } - /// Initializes a new instance of FirewallPoliciesClient for mocking. - protected FirewallPoliciesClient() + internal FirewallPoliciesRestOperations RestClient { get; } + /// Initializes a new instance of FirewallPoliciesOperations for mocking. + protected FirewallPoliciesOperations() { } - /// Initializes a new instance of FirewallPoliciesClient. + /// Initializes a new instance of FirewallPoliciesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal FirewallPoliciesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal FirewallPoliciesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new FirewallPoliciesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new FirewallPoliciesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal FirewallPoliciesClient(ClientDiagnostics clientDiagnostics, HttpPipelin /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string firewallPolicyName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGrou /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string firewallPolicyName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesOperations.Get"); scope.Start(); try { @@ -89,7 +89,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName, async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesClient.List"); + using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesOperations.List"); scope.Start(); try { @@ -104,7 +104,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesClient.List"); + using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesOperations.List"); scope.Start(); try { @@ -132,7 +132,7 @@ public virtual Pageable List(string resourceGroupName, Cancellat Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesClient.List"); + using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesOperations.List"); scope.Start(); try { @@ -147,7 +147,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesClient.List"); + using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesOperations.List"); scope.Start(); try { @@ -169,7 +169,7 @@ public virtual AsyncPageable ListAllAsync(CancellationToken canc { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesOperations.ListAll"); scope.Start(); try { @@ -184,7 +184,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesOperations.ListAll"); scope.Start(); try { @@ -206,7 +206,7 @@ public virtual Pageable ListAll(CancellationToken cancellationTo { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesOperations.ListAll"); scope.Start(); try { @@ -221,7 +221,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesOperations.ListAll"); scope.Start(); try { @@ -252,7 +252,7 @@ public virtual async Task StartDeleteAsync(stri throw new ArgumentNullException(nameof(firewallPolicyName)); } - using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesOperations.StartDelete"); scope.Start(); try { @@ -281,7 +281,7 @@ public virtual FirewallPoliciesDeleteOperation StartDelete(string resourceGroupN throw new ArgumentNullException(nameof(firewallPolicyName)); } - using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesOperations.StartDelete"); scope.Start(); try { @@ -315,7 +315,7 @@ public virtual async Task StartCreateOr throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -349,7 +349,7 @@ public virtual FirewallPoliciesCreateOrUpdateOperation StartCreateOrUpdate(strin throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("FirewallPoliciesOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/FirewallPoliciesRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/FirewallPoliciesRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/FirewallPoliciesRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/FirewallPoliciesRestOperations.cs index 867a9ee9f44dd..6b09fce7419c5 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/FirewallPoliciesRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/FirewallPoliciesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class FirewallPoliciesRestClient + internal partial class FirewallPoliciesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of FirewallPoliciesRestClient. + /// Initializes a new instance of FirewallPoliciesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public FirewallPoliciesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public FirewallPoliciesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/FirewallPolicyRuleGroupsClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/FirewallPolicyRuleGroupsOperations.cs similarity index 93% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/FirewallPolicyRuleGroupsClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/FirewallPolicyRuleGroupsOperations.cs index 6e7aaf56b7cc0..1b1e7bc1a0861 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/FirewallPolicyRuleGroupsClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/FirewallPolicyRuleGroupsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The FirewallPolicyRuleGroups service client. - public partial class FirewallPolicyRuleGroupsClient + public partial class FirewallPolicyRuleGroupsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal FirewallPolicyRuleGroupsRestClient RestClient { get; } - /// Initializes a new instance of FirewallPolicyRuleGroupsClient for mocking. - protected FirewallPolicyRuleGroupsClient() + internal FirewallPolicyRuleGroupsRestOperations RestClient { get; } + /// Initializes a new instance of FirewallPolicyRuleGroupsOperations for mocking. + protected FirewallPolicyRuleGroupsOperations() { } - /// Initializes a new instance of FirewallPolicyRuleGroupsClient. + /// Initializes a new instance of FirewallPolicyRuleGroupsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal FirewallPolicyRuleGroupsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal FirewallPolicyRuleGroupsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new FirewallPolicyRuleGroupsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new FirewallPolicyRuleGroupsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal FirewallPolicyRuleGroupsClient(ClientDiagnostics clientDiagnostics, Htt /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string firewallPolicyName, string ruleGroupName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("FirewallPolicyRuleGroupsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("FirewallPolicyRuleGroupsOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string res /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string firewallPolicyName, string ruleGroupName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("FirewallPolicyRuleGroupsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("FirewallPolicyRuleGroupsOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListAsync(string resourceG async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("FirewallPolicyRuleGroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("FirewallPolicyRuleGroupsOperations.List"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("FirewallPolicyRuleGroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("FirewallPolicyRuleGroupsOperations.List"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable List(string resourceGroupName, Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("FirewallPolicyRuleGroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("FirewallPolicyRuleGroupsOperations.List"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("FirewallPolicyRuleGroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("FirewallPolicyRuleGroupsOperations.List"); scope.Start(); try { @@ -193,7 +193,7 @@ public virtual async Task StartDeleteAs throw new ArgumentNullException(nameof(ruleGroupName)); } - using var scope = _clientDiagnostics.CreateScope("FirewallPolicyRuleGroupsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("FirewallPolicyRuleGroupsOperations.StartDelete"); scope.Start(); try { @@ -227,7 +227,7 @@ public virtual FirewallPolicyRuleGroupsDeleteOperation StartDelete(string resour throw new ArgumentNullException(nameof(ruleGroupName)); } - using var scope = _clientDiagnostics.CreateScope("FirewallPolicyRuleGroupsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("FirewallPolicyRuleGroupsOperations.StartDelete"); scope.Start(); try { @@ -266,7 +266,7 @@ public virtual async Task Start throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("FirewallPolicyRuleGroupsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("FirewallPolicyRuleGroupsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -305,7 +305,7 @@ public virtual FirewallPolicyRuleGroupsCreateOrUpdateOperation StartCreateOrUpda throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("FirewallPolicyRuleGroupsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("FirewallPolicyRuleGroupsOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/FirewallPolicyRuleGroupsRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/FirewallPolicyRuleGroupsRestOperations.cs similarity index 98% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/FirewallPolicyRuleGroupsRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/FirewallPolicyRuleGroupsRestOperations.cs index d85c103d6cc9b..b61c22b41ddb7 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/FirewallPolicyRuleGroupsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/FirewallPolicyRuleGroupsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class FirewallPolicyRuleGroupsRestClient + internal partial class FirewallPolicyRuleGroupsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of FirewallPolicyRuleGroupsRestClient. + /// Initializes a new instance of FirewallPolicyRuleGroupsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public FirewallPolicyRuleGroupsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public FirewallPolicyRuleGroupsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/FlowLogsClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/FlowLogsOperations.cs similarity index 94% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/FlowLogsClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/FlowLogsOperations.cs index 7b9e032248681..9da716756bcc3 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/FlowLogsClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/FlowLogsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The FlowLogs service client. - public partial class FlowLogsClient + public partial class FlowLogsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal FlowLogsRestClient RestClient { get; } - /// Initializes a new instance of FlowLogsClient for mocking. - protected FlowLogsClient() + internal FlowLogsRestOperations RestClient { get; } + /// Initializes a new instance of FlowLogsOperations for mocking. + protected FlowLogsOperations() { } - /// Initializes a new instance of FlowLogsClient. + /// Initializes a new instance of FlowLogsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal FlowLogsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal FlowLogsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new FlowLogsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new FlowLogsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal FlowLogsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeli /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string networkWatcherName, string flowLogName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("FlowLogsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("FlowLogsOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGroupName, /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string networkWatcherName, string flowLogName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("FlowLogsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("FlowLogsOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName, string async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("FlowLogsClient.List"); + using var scope = _clientDiagnostics.CreateScope("FlowLogsOperations.List"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("FlowLogsClient.List"); + using var scope = _clientDiagnostics.CreateScope("FlowLogsOperations.List"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable List(string resourceGroupName, string networkWa Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("FlowLogsClient.List"); + using var scope = _clientDiagnostics.CreateScope("FlowLogsOperations.List"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("FlowLogsClient.List"); + using var scope = _clientDiagnostics.CreateScope("FlowLogsOperations.List"); scope.Start(); try { @@ -198,7 +198,7 @@ public virtual async Task StartCreateOrUpdateAs throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("FlowLogsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("FlowLogsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -237,7 +237,7 @@ public virtual FlowLogsCreateOrUpdateOperation StartCreateOrUpdate(string resour throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("FlowLogsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("FlowLogsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -271,7 +271,7 @@ public virtual async Task StartDeleteAsync(string resou throw new ArgumentNullException(nameof(flowLogName)); } - using var scope = _clientDiagnostics.CreateScope("FlowLogsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("FlowLogsOperations.StartDelete"); scope.Start(); try { @@ -305,7 +305,7 @@ public virtual FlowLogsDeleteOperation StartDelete(string resourceGroupName, str throw new ArgumentNullException(nameof(flowLogName)); } - using var scope = _clientDiagnostics.CreateScope("FlowLogsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("FlowLogsOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/FlowLogsRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/FlowLogsRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/FlowLogsRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/FlowLogsRestOperations.cs index 632b58b3a088c..722681fe31d12 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/FlowLogsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/FlowLogsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class FlowLogsRestClient + internal partial class FlowLogsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of FlowLogsRestClient. + /// Initializes a new instance of FlowLogsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public FlowLogsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public FlowLogsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/HubRouteTablesClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/HubRouteTablesOperations.cs similarity index 94% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/HubRouteTablesClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/HubRouteTablesOperations.cs index fc92a54a3b8eb..cdadc6471a0f5 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/HubRouteTablesClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/HubRouteTablesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The HubRouteTables service client. - public partial class HubRouteTablesClient + public partial class HubRouteTablesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal HubRouteTablesRestClient RestClient { get; } - /// Initializes a new instance of HubRouteTablesClient for mocking. - protected HubRouteTablesClient() + internal HubRouteTablesRestOperations RestClient { get; } + /// Initializes a new instance of HubRouteTablesOperations for mocking. + protected HubRouteTablesOperations() { } - /// Initializes a new instance of HubRouteTablesClient. + /// Initializes a new instance of HubRouteTablesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal HubRouteTablesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal HubRouteTablesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new HubRouteTablesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new HubRouteTablesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal HubRouteTablesClient(ClientDiagnostics clientDiagnostics, HttpPipeline /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string virtualHubName, string routeTableName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("HubRouteTablesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("HubRouteTablesOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGroup /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string virtualHubName, string routeTableName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("HubRouteTablesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("HubRouteTablesOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName, async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("HubRouteTablesClient.List"); + using var scope = _clientDiagnostics.CreateScope("HubRouteTablesOperations.List"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("HubRouteTablesClient.List"); + using var scope = _clientDiagnostics.CreateScope("HubRouteTablesOperations.List"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable List(string resourceGroupName, string vir Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("HubRouteTablesClient.List"); + using var scope = _clientDiagnostics.CreateScope("HubRouteTablesOperations.List"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("HubRouteTablesClient.List"); + using var scope = _clientDiagnostics.CreateScope("HubRouteTablesOperations.List"); scope.Start(); try { @@ -198,7 +198,7 @@ public virtual async Task StartCreateOrUp throw new ArgumentNullException(nameof(routeTableParameters)); } - using var scope = _clientDiagnostics.CreateScope("HubRouteTablesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("HubRouteTablesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -237,7 +237,7 @@ public virtual HubRouteTablesCreateOrUpdateOperation StartCreateOrUpdate(string throw new ArgumentNullException(nameof(routeTableParameters)); } - using var scope = _clientDiagnostics.CreateScope("HubRouteTablesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("HubRouteTablesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -271,7 +271,7 @@ public virtual async Task StartDeleteAsync(string throw new ArgumentNullException(nameof(routeTableName)); } - using var scope = _clientDiagnostics.CreateScope("HubRouteTablesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("HubRouteTablesOperations.StartDelete"); scope.Start(); try { @@ -305,7 +305,7 @@ public virtual HubRouteTablesDeleteOperation StartDelete(string resourceGroupNam throw new ArgumentNullException(nameof(routeTableName)); } - using var scope = _clientDiagnostics.CreateScope("HubRouteTablesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("HubRouteTablesOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/HubRouteTablesRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/HubRouteTablesRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/HubRouteTablesRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/HubRouteTablesRestOperations.cs index 1ce98e9dca6d1..f2bd585bbed7a 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/HubRouteTablesRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/HubRouteTablesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class HubRouteTablesRestClient + internal partial class HubRouteTablesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of HubRouteTablesRestClient. + /// Initializes a new instance of HubRouteTablesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public HubRouteTablesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public HubRouteTablesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/HubVirtualNetworkConnectionsClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/HubVirtualNetworkConnectionsOperations.cs similarity index 90% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/HubVirtualNetworkConnectionsClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/HubVirtualNetworkConnectionsOperations.cs index 48a67d60eff32..69ed25ed6d031 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/HubVirtualNetworkConnectionsClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/HubVirtualNetworkConnectionsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The HubVirtualNetworkConnections service client. - public partial class HubVirtualNetworkConnectionsClient + public partial class HubVirtualNetworkConnectionsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal HubVirtualNetworkConnectionsRestClient RestClient { get; } - /// Initializes a new instance of HubVirtualNetworkConnectionsClient for mocking. - protected HubVirtualNetworkConnectionsClient() + internal HubVirtualNetworkConnectionsRestOperations RestClient { get; } + /// Initializes a new instance of HubVirtualNetworkConnectionsOperations for mocking. + protected HubVirtualNetworkConnectionsOperations() { } - /// Initializes a new instance of HubVirtualNetworkConnectionsClient. + /// Initializes a new instance of HubVirtualNetworkConnectionsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal HubVirtualNetworkConnectionsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal HubVirtualNetworkConnectionsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new HubVirtualNetworkConnectionsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new HubVirtualNetworkConnectionsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal HubVirtualNetworkConnectionsClient(ClientDiagnostics clientDiagnostics, /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string virtualHubName, string connectionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("HubVirtualNetworkConnectionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("HubVirtualNetworkConnectionsOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string virtualHubName, string connectionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("HubVirtualNetworkConnectionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("HubVirtualNetworkConnectionsOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListAsync(string resou async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("HubVirtualNetworkConnectionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("HubVirtualNetworkConnectionsOperations.List"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("HubVirtualNetworkConnectionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("HubVirtualNetworkConnectionsOperations.List"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable List(string resourceGroupNa Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("HubVirtualNetworkConnectionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("HubVirtualNetworkConnectionsOperations.List"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("HubVirtualNetworkConnectionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("HubVirtualNetworkConnectionsOperations.List"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/HubVirtualNetworkConnectionsRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/HubVirtualNetworkConnectionsRestOperations.cs similarity index 98% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/HubVirtualNetworkConnectionsRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/HubVirtualNetworkConnectionsRestOperations.cs index b46a51ad909a1..d99c97d619771 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/HubVirtualNetworkConnectionsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/HubVirtualNetworkConnectionsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class HubVirtualNetworkConnectionsRestClient + internal partial class HubVirtualNetworkConnectionsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of HubVirtualNetworkConnectionsRestClient. + /// Initializes a new instance of HubVirtualNetworkConnectionsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public HubVirtualNetworkConnectionsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public HubVirtualNetworkConnectionsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/InboundNatRulesClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/InboundNatRulesOperations.cs similarity index 94% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/InboundNatRulesClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/InboundNatRulesOperations.cs index 04b6973e582b2..df406d63d6a0d 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/InboundNatRulesClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/InboundNatRulesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The InboundNatRules service client. - public partial class InboundNatRulesClient + public partial class InboundNatRulesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal InboundNatRulesRestClient RestClient { get; } - /// Initializes a new instance of InboundNatRulesClient for mocking. - protected InboundNatRulesClient() + internal InboundNatRulesRestOperations RestClient { get; } + /// Initializes a new instance of InboundNatRulesOperations for mocking. + protected InboundNatRulesOperations() { } - /// Initializes a new instance of InboundNatRulesClient. + /// Initializes a new instance of InboundNatRulesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal InboundNatRulesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal InboundNatRulesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new InboundNatRulesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new InboundNatRulesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -45,7 +45,7 @@ internal InboundNatRulesClient(ClientDiagnostics clientDiagnostics, HttpPipeline /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string loadBalancerName, string inboundNatRuleName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("InboundNatRulesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("InboundNatRulesOperations.Get"); scope.Start(); try { @@ -66,7 +66,7 @@ public virtual async Task> GetAsync(string resourceGrou /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string loadBalancerName, string inboundNatRuleName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("InboundNatRulesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("InboundNatRulesOperations.Get"); scope.Start(); try { @@ -96,7 +96,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName, async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("InboundNatRulesClient.List"); + using var scope = _clientDiagnostics.CreateScope("InboundNatRulesOperations.List"); scope.Start(); try { @@ -111,7 +111,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("InboundNatRulesClient.List"); + using var scope = _clientDiagnostics.CreateScope("InboundNatRulesOperations.List"); scope.Start(); try { @@ -144,7 +144,7 @@ public virtual Pageable List(string resourceGroupName, string lo Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("InboundNatRulesClient.List"); + using var scope = _clientDiagnostics.CreateScope("InboundNatRulesOperations.List"); scope.Start(); try { @@ -159,7 +159,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("InboundNatRulesClient.List"); + using var scope = _clientDiagnostics.CreateScope("InboundNatRulesOperations.List"); scope.Start(); try { @@ -195,7 +195,7 @@ public virtual async Task StartDeleteAsync(strin throw new ArgumentNullException(nameof(inboundNatRuleName)); } - using var scope = _clientDiagnostics.CreateScope("InboundNatRulesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("InboundNatRulesOperations.StartDelete"); scope.Start(); try { @@ -229,7 +229,7 @@ public virtual InboundNatRulesDeleteOperation StartDelete(string resourceGroupNa throw new ArgumentNullException(nameof(inboundNatRuleName)); } - using var scope = _clientDiagnostics.CreateScope("InboundNatRulesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("InboundNatRulesOperations.StartDelete"); scope.Start(); try { @@ -268,7 +268,7 @@ public virtual async Task StartCreateOrU throw new ArgumentNullException(nameof(inboundNatRuleParameters)); } - using var scope = _clientDiagnostics.CreateScope("InboundNatRulesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("InboundNatRulesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -307,7 +307,7 @@ public virtual InboundNatRulesCreateOrUpdateOperation StartCreateOrUpdate(string throw new ArgumentNullException(nameof(inboundNatRuleParameters)); } - using var scope = _clientDiagnostics.CreateScope("InboundNatRulesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("InboundNatRulesOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/InboundNatRulesRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/InboundNatRulesRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/InboundNatRulesRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/InboundNatRulesRestOperations.cs index 9a01cf8fdd4ba..4a2ebc2a5ccc5 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/InboundNatRulesRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/InboundNatRulesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class InboundNatRulesRestClient + internal partial class InboundNatRulesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of InboundNatRulesRestClient. + /// Initializes a new instance of InboundNatRulesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public InboundNatRulesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public InboundNatRulesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/IpAllocationsClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/IpAllocationsOperations.cs similarity index 94% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/IpAllocationsClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/IpAllocationsOperations.cs index 42cf3b88fa403..af6fe07ed3e90 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/IpAllocationsClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/IpAllocationsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The IpAllocations service client. - public partial class IpAllocationsClient + public partial class IpAllocationsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal IpAllocationsRestClient RestClient { get; } - /// Initializes a new instance of IpAllocationsClient for mocking. - protected IpAllocationsClient() + internal IpAllocationsRestOperations RestClient { get; } + /// Initializes a new instance of IpAllocationsOperations for mocking. + protected IpAllocationsOperations() { } - /// Initializes a new instance of IpAllocationsClient. + /// Initializes a new instance of IpAllocationsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal IpAllocationsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal IpAllocationsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new IpAllocationsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new IpAllocationsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal IpAllocationsClient(ClientDiagnostics clientDiagnostics, HttpPipeline p /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string ipAllocationName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("IpAllocationsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("IpAllocationsOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGroupN /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string ipAllocationName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("IpAllocationsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("IpAllocationsOperations.Get"); scope.Start(); try { @@ -84,7 +84,7 @@ public virtual Response Get(string resourceGroupName, string ipAll /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string ipAllocationName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("IpAllocationsClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("IpAllocationsOperations.UpdateTags"); scope.Start(); try { @@ -104,7 +104,7 @@ public virtual async Task> UpdateTagsAsync(string resourc /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string ipAllocationName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("IpAllocationsClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("IpAllocationsOperations.UpdateTags"); scope.Start(); try { @@ -123,7 +123,7 @@ public virtual AsyncPageable ListAsync(CancellationToken cancellat { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("IpAllocationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("IpAllocationsOperations.List"); scope.Start(); try { @@ -138,7 +138,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("IpAllocationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("IpAllocationsOperations.List"); scope.Start(); try { @@ -160,7 +160,7 @@ public virtual Pageable List(CancellationToken cancellationToken = { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("IpAllocationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("IpAllocationsOperations.List"); scope.Start(); try { @@ -175,7 +175,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("IpAllocationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("IpAllocationsOperations.List"); scope.Start(); try { @@ -203,7 +203,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(string resou async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("IpAllocationsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("IpAllocationsOperations.ListByResourceGroup"); scope.Start(); try { @@ -218,7 +218,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("IpAllocationsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("IpAllocationsOperations.ListByResourceGroup"); scope.Start(); try { @@ -246,7 +246,7 @@ public virtual Pageable ListByResourceGroup(string resourceGroupNa Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("IpAllocationsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("IpAllocationsOperations.ListByResourceGroup"); scope.Start(); try { @@ -261,7 +261,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("IpAllocationsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("IpAllocationsOperations.ListByResourceGroup"); scope.Start(); try { @@ -292,7 +292,7 @@ public virtual async Task StartDeleteAsync(string throw new ArgumentNullException(nameof(ipAllocationName)); } - using var scope = _clientDiagnostics.CreateScope("IpAllocationsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("IpAllocationsOperations.StartDelete"); scope.Start(); try { @@ -321,7 +321,7 @@ public virtual IpAllocationsDeleteOperation StartDelete(string resourceGroupName throw new ArgumentNullException(nameof(ipAllocationName)); } - using var scope = _clientDiagnostics.CreateScope("IpAllocationsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("IpAllocationsOperations.StartDelete"); scope.Start(); try { @@ -355,7 +355,7 @@ public virtual async Task StartCreateOrUpd throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("IpAllocationsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("IpAllocationsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -389,7 +389,7 @@ public virtual IpAllocationsCreateOrUpdateOperation StartCreateOrUpdate(string r throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("IpAllocationsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("IpAllocationsOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/IpAllocationsRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/IpAllocationsRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/IpAllocationsRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/IpAllocationsRestOperations.cs index c1e04d51466cb..4b14544d09a25 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/IpAllocationsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/IpAllocationsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class IpAllocationsRestClient + internal partial class IpAllocationsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of IpAllocationsRestClient. + /// Initializes a new instance of IpAllocationsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public IpAllocationsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public IpAllocationsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/IpGroupsClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/IpGroupsOperations.cs similarity index 94% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/IpGroupsClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/IpGroupsOperations.cs index cdc0ee0d5df94..d5f8892172f20 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/IpGroupsClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/IpGroupsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The IpGroups service client. - public partial class IpGroupsClient + public partial class IpGroupsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal IpGroupsRestClient RestClient { get; } - /// Initializes a new instance of IpGroupsClient for mocking. - protected IpGroupsClient() + internal IpGroupsRestOperations RestClient { get; } + /// Initializes a new instance of IpGroupsOperations for mocking. + protected IpGroupsOperations() { } - /// Initializes a new instance of IpGroupsClient. + /// Initializes a new instance of IpGroupsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal IpGroupsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal IpGroupsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new IpGroupsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new IpGroupsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal IpGroupsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeli /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string ipGroupsName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("IpGroupsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("IpGroupsOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGroupName, /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string ipGroupsName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("IpGroupsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("IpGroupsOperations.Get"); scope.Start(); try { @@ -84,7 +84,7 @@ public virtual Response Get(string resourceGroupName, string ipGroupsNa /// The cancellation token to use. public virtual async Task> UpdateGroupsAsync(string resourceGroupName, string ipGroupsName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("IpGroupsClient.UpdateGroups"); + using var scope = _clientDiagnostics.CreateScope("IpGroupsOperations.UpdateGroups"); scope.Start(); try { @@ -104,7 +104,7 @@ public virtual async Task> UpdateGroupsAsync(string resourceGr /// The cancellation token to use. public virtual Response UpdateGroups(string resourceGroupName, string ipGroupsName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("IpGroupsClient.UpdateGroups"); + using var scope = _clientDiagnostics.CreateScope("IpGroupsOperations.UpdateGroups"); scope.Start(); try { @@ -129,7 +129,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(string resourceGr async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("IpGroupsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("IpGroupsOperations.ListByResourceGroup"); scope.Start(); try { @@ -144,7 +144,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("IpGroupsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("IpGroupsOperations.ListByResourceGroup"); scope.Start(); try { @@ -172,7 +172,7 @@ public virtual Pageable ListByResourceGroup(string resourceGroupName, C Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("IpGroupsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("IpGroupsOperations.ListByResourceGroup"); scope.Start(); try { @@ -187,7 +187,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("IpGroupsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("IpGroupsOperations.ListByResourceGroup"); scope.Start(); try { @@ -209,7 +209,7 @@ public virtual AsyncPageable ListAsync(CancellationToken cancellationTo { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("IpGroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("IpGroupsOperations.List"); scope.Start(); try { @@ -224,7 +224,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("IpGroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("IpGroupsOperations.List"); scope.Start(); try { @@ -246,7 +246,7 @@ public virtual Pageable List(CancellationToken cancellationToken = defa { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("IpGroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("IpGroupsOperations.List"); scope.Start(); try { @@ -261,7 +261,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("IpGroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("IpGroupsOperations.List"); scope.Start(); try { @@ -297,7 +297,7 @@ public virtual async Task StartCreateOrUpdateAs throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("IpGroupsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("IpGroupsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -331,7 +331,7 @@ public virtual IpGroupsCreateOrUpdateOperation StartCreateOrUpdate(string resour throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("IpGroupsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("IpGroupsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -360,7 +360,7 @@ public virtual async Task StartDeleteAsync(string resou throw new ArgumentNullException(nameof(ipGroupsName)); } - using var scope = _clientDiagnostics.CreateScope("IpGroupsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("IpGroupsOperations.StartDelete"); scope.Start(); try { @@ -389,7 +389,7 @@ public virtual IpGroupsDeleteOperation StartDelete(string resourceGroupName, str throw new ArgumentNullException(nameof(ipGroupsName)); } - using var scope = _clientDiagnostics.CreateScope("IpGroupsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("IpGroupsOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/IpGroupsRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/IpGroupsRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/IpGroupsRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/IpGroupsRestOperations.cs index 133b9efc26229..5546be334c3d4 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/IpGroupsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/IpGroupsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class IpGroupsRestClient + internal partial class IpGroupsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of IpGroupsRestClient. + /// Initializes a new instance of IpGroupsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public IpGroupsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public IpGroupsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerBackendAddressPoolsClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerBackendAddressPoolsOperations.cs similarity index 93% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerBackendAddressPoolsClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerBackendAddressPoolsOperations.cs index 959fa562cba30..9d228d8a4dc34 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerBackendAddressPoolsClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerBackendAddressPoolsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The LoadBalancerBackendAddressPools service client. - public partial class LoadBalancerBackendAddressPoolsClient + public partial class LoadBalancerBackendAddressPoolsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal LoadBalancerBackendAddressPoolsRestClient RestClient { get; } - /// Initializes a new instance of LoadBalancerBackendAddressPoolsClient for mocking. - protected LoadBalancerBackendAddressPoolsClient() + internal LoadBalancerBackendAddressPoolsRestOperations RestClient { get; } + /// Initializes a new instance of LoadBalancerBackendAddressPoolsOperations for mocking. + protected LoadBalancerBackendAddressPoolsOperations() { } - /// Initializes a new instance of LoadBalancerBackendAddressPoolsClient. + /// Initializes a new instance of LoadBalancerBackendAddressPoolsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal LoadBalancerBackendAddressPoolsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal LoadBalancerBackendAddressPoolsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new LoadBalancerBackendAddressPoolsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new LoadBalancerBackendAddressPoolsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal LoadBalancerBackendAddressPoolsClient(ClientDiagnostics clientDiagnosti /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string loadBalancerName, string backendAddressPoolName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerBackendAddressPoolsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerBackendAddressPoolsOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resource /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string loadBalancerName, string backendAddressPoolName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerBackendAddressPoolsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerBackendAddressPoolsOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupN async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerBackendAddressPoolsClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerBackendAddressPoolsOperations.List"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerBackendAddressPoolsClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerBackendAddressPoolsOperations.List"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable List(string resourceGroupName, strin Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerBackendAddressPoolsClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerBackendAddressPoolsOperations.List"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerBackendAddressPoolsClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerBackendAddressPoolsOperations.List"); scope.Start(); try { @@ -198,7 +198,7 @@ public virtual async Task StartD throw new ArgumentNullException(nameof(backendAddressPoolName)); } - using var scope = _clientDiagnostics.CreateScope("LoadBalancerBackendAddressPoolsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerBackendAddressPoolsOperations.StartDelete"); scope.Start(); try { @@ -305,7 +305,7 @@ public virtual LoadBalancerBackendAddressPoolsDeleteOperation StartDelete(string throw new ArgumentNullException(nameof(backendAddressPoolName)); } - using var scope = _clientDiagnostics.CreateScope("LoadBalancerBackendAddressPoolsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerBackendAddressPoolsOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerBackendAddressPoolsRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerBackendAddressPoolsRestOperations.cs similarity index 98% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerBackendAddressPoolsRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerBackendAddressPoolsRestOperations.cs index 719c1774f6545..0a6e4be50fa35 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerBackendAddressPoolsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerBackendAddressPoolsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class LoadBalancerBackendAddressPoolsRestClient + internal partial class LoadBalancerBackendAddressPoolsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of LoadBalancerBackendAddressPoolsRestClient. + /// Initializes a new instance of LoadBalancerBackendAddressPoolsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public LoadBalancerBackendAddressPoolsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public LoadBalancerBackendAddressPoolsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerFrontendIPConfigurationsClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerFrontendIPConfigurationsOperations.cs similarity index 89% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerFrontendIPConfigurationsClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerFrontendIPConfigurationsOperations.cs index 39d561ef5877d..b893ce924687e 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerFrontendIPConfigurationsClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerFrontendIPConfigurationsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The LoadBalancerFrontendIPConfigurations service client. - public partial class LoadBalancerFrontendIPConfigurationsClient + public partial class LoadBalancerFrontendIPConfigurationsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal LoadBalancerFrontendIPConfigurationsRestClient RestClient { get; } - /// Initializes a new instance of LoadBalancerFrontendIPConfigurationsClient for mocking. - protected LoadBalancerFrontendIPConfigurationsClient() + internal LoadBalancerFrontendIPConfigurationsRestOperations RestClient { get; } + /// Initializes a new instance of LoadBalancerFrontendIPConfigurationsOperations for mocking. + protected LoadBalancerFrontendIPConfigurationsOperations() { } - /// Initializes a new instance of LoadBalancerFrontendIPConfigurationsClient. + /// Initializes a new instance of LoadBalancerFrontendIPConfigurationsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal LoadBalancerFrontendIPConfigurationsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal LoadBalancerFrontendIPConfigurationsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new LoadBalancerFrontendIPConfigurationsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new LoadBalancerFrontendIPConfigurationsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal LoadBalancerFrontendIPConfigurationsClient(ClientDiagnostics clientDiag /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string loadBalancerName, string frontendIPConfigurationName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerFrontendIPConfigurationsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerFrontendIPConfigurationsOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string res /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string loadBalancerName, string frontendIPConfigurationName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerFrontendIPConfigurationsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerFrontendIPConfigurationsOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListAsync(string resourceG async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerFrontendIPConfigurationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerFrontendIPConfigurationsOperations.List"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerFrontendIPConfigurationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerFrontendIPConfigurationsOperations.List"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable List(string resourceGroupName, Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerFrontendIPConfigurationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerFrontendIPConfigurationsOperations.List"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerFrontendIPConfigurationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerFrontendIPConfigurationsOperations.List"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerFrontendIPConfigurationsRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerFrontendIPConfigurationsRestOperations.cs similarity index 98% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerFrontendIPConfigurationsRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerFrontendIPConfigurationsRestOperations.cs index a0ec480c77dac..f360a669eadbc 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerFrontendIPConfigurationsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerFrontendIPConfigurationsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class LoadBalancerFrontendIPConfigurationsRestClient + internal partial class LoadBalancerFrontendIPConfigurationsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of LoadBalancerFrontendIPConfigurationsRestClient. + /// Initializes a new instance of LoadBalancerFrontendIPConfigurationsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public LoadBalancerFrontendIPConfigurationsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public LoadBalancerFrontendIPConfigurationsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerLoadBalancingRulesClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerLoadBalancingRulesOperations.cs similarity index 89% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerLoadBalancingRulesClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerLoadBalancingRulesOperations.cs index 73ef45ee287a7..d7021e3962f58 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerLoadBalancingRulesClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerLoadBalancingRulesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The LoadBalancerLoadBalancingRules service client. - public partial class LoadBalancerLoadBalancingRulesClient + public partial class LoadBalancerLoadBalancingRulesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal LoadBalancerLoadBalancingRulesRestClient RestClient { get; } - /// Initializes a new instance of LoadBalancerLoadBalancingRulesClient for mocking. - protected LoadBalancerLoadBalancingRulesClient() + internal LoadBalancerLoadBalancingRulesRestOperations RestClient { get; } + /// Initializes a new instance of LoadBalancerLoadBalancingRulesOperations for mocking. + protected LoadBalancerLoadBalancingRulesOperations() { } - /// Initializes a new instance of LoadBalancerLoadBalancingRulesClient. + /// Initializes a new instance of LoadBalancerLoadBalancingRulesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal LoadBalancerLoadBalancingRulesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal LoadBalancerLoadBalancingRulesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new LoadBalancerLoadBalancingRulesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new LoadBalancerLoadBalancingRulesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal LoadBalancerLoadBalancingRulesClient(ClientDiagnostics clientDiagnostic /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string loadBalancerName, string loadBalancingRuleName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerLoadBalancingRulesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerLoadBalancingRulesOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceG /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string loadBalancerName, string loadBalancingRuleName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerLoadBalancingRulesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerLoadBalancingRulesOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupNa async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerLoadBalancingRulesClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerLoadBalancingRulesOperations.List"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerLoadBalancingRulesClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerLoadBalancingRulesOperations.List"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable List(string resourceGroupName, string Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerLoadBalancingRulesClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerLoadBalancingRulesOperations.List"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerLoadBalancingRulesClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerLoadBalancingRulesOperations.List"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerLoadBalancingRulesRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerLoadBalancingRulesRestOperations.cs similarity index 98% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerLoadBalancingRulesRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerLoadBalancingRulesRestOperations.cs index 46130ee5cc87e..c17537c26c239 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerLoadBalancingRulesRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerLoadBalancingRulesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class LoadBalancerLoadBalancingRulesRestClient + internal partial class LoadBalancerLoadBalancingRulesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of LoadBalancerLoadBalancingRulesRestClient. + /// Initializes a new instance of LoadBalancerLoadBalancingRulesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public LoadBalancerLoadBalancingRulesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public LoadBalancerLoadBalancingRulesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerNetworkInterfacesClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerNetworkInterfacesOperations.cs similarity index 87% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerNetworkInterfacesClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerNetworkInterfacesOperations.cs index 02bd97018c6c3..1f5edb70b3726 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerNetworkInterfacesClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerNetworkInterfacesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The LoadBalancerNetworkInterfaces service client. - public partial class LoadBalancerNetworkInterfacesClient + public partial class LoadBalancerNetworkInterfacesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal LoadBalancerNetworkInterfacesRestClient RestClient { get; } - /// Initializes a new instance of LoadBalancerNetworkInterfacesClient for mocking. - protected LoadBalancerNetworkInterfacesClient() + internal LoadBalancerNetworkInterfacesRestOperations RestClient { get; } + /// Initializes a new instance of LoadBalancerNetworkInterfacesOperations for mocking. + protected LoadBalancerNetworkInterfacesOperations() { } - /// Initializes a new instance of LoadBalancerNetworkInterfacesClient. + /// Initializes a new instance of LoadBalancerNetworkInterfacesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal LoadBalancerNetworkInterfacesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal LoadBalancerNetworkInterfacesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new LoadBalancerNetworkInterfacesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new LoadBalancerNetworkInterfacesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -54,7 +54,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupNam async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerNetworkInterfacesClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerNetworkInterfacesOperations.List"); scope.Start(); try { @@ -69,7 +69,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerNetworkInterfacesClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerNetworkInterfacesOperations.List"); scope.Start(); try { @@ -102,7 +102,7 @@ public virtual Pageable List(string resourceGroupName, string Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerNetworkInterfacesClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerNetworkInterfacesOperations.List"); scope.Start(); try { @@ -117,7 +117,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerNetworkInterfacesClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerNetworkInterfacesOperations.List"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerNetworkInterfacesRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerNetworkInterfacesRestOperations.cs similarity index 97% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerNetworkInterfacesRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerNetworkInterfacesRestOperations.cs index c81d1d0b60634..50b7ed7bae07f 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerNetworkInterfacesRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerNetworkInterfacesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class LoadBalancerNetworkInterfacesRestClient + internal partial class LoadBalancerNetworkInterfacesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of LoadBalancerNetworkInterfacesRestClient. + /// Initializes a new instance of LoadBalancerNetworkInterfacesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public LoadBalancerNetworkInterfacesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public LoadBalancerNetworkInterfacesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerOutboundRulesClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerOutboundRulesOperations.cs similarity index 90% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerOutboundRulesClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerOutboundRulesOperations.cs index c2b134159a940..512d75b6b3385 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerOutboundRulesClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerOutboundRulesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The LoadBalancerOutboundRules service client. - public partial class LoadBalancerOutboundRulesClient + public partial class LoadBalancerOutboundRulesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal LoadBalancerOutboundRulesRestClient RestClient { get; } - /// Initializes a new instance of LoadBalancerOutboundRulesClient for mocking. - protected LoadBalancerOutboundRulesClient() + internal LoadBalancerOutboundRulesRestOperations RestClient { get; } + /// Initializes a new instance of LoadBalancerOutboundRulesOperations for mocking. + protected LoadBalancerOutboundRulesOperations() { } - /// Initializes a new instance of LoadBalancerOutboundRulesClient. + /// Initializes a new instance of LoadBalancerOutboundRulesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal LoadBalancerOutboundRulesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal LoadBalancerOutboundRulesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new LoadBalancerOutboundRulesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new LoadBalancerOutboundRulesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal LoadBalancerOutboundRulesClient(ClientDiagnostics clientDiagnostics, Ht /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string loadBalancerName, string outboundRuleName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerOutboundRulesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerOutboundRulesOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGroupN /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string loadBalancerName, string outboundRuleName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerOutboundRulesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerOutboundRulesOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName, s async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerOutboundRulesClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerOutboundRulesOperations.List"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerOutboundRulesClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerOutboundRulesOperations.List"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable List(string resourceGroupName, string load Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerOutboundRulesClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerOutboundRulesOperations.List"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerOutboundRulesClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerOutboundRulesOperations.List"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerOutboundRulesRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerOutboundRulesRestOperations.cs similarity index 98% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerOutboundRulesRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerOutboundRulesRestOperations.cs index 3986182eeb06d..4b3119b8de77c 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerOutboundRulesRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerOutboundRulesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class LoadBalancerOutboundRulesRestClient + internal partial class LoadBalancerOutboundRulesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of LoadBalancerOutboundRulesRestClient. + /// Initializes a new instance of LoadBalancerOutboundRulesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public LoadBalancerOutboundRulesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public LoadBalancerOutboundRulesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerProbesClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerProbesOperations.cs similarity index 91% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerProbesClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerProbesOperations.cs index 2cf20edf6cd25..06d0fe0dbce41 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerProbesClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerProbesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The LoadBalancerProbes service client. - public partial class LoadBalancerProbesClient + public partial class LoadBalancerProbesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal LoadBalancerProbesRestClient RestClient { get; } - /// Initializes a new instance of LoadBalancerProbesClient for mocking. - protected LoadBalancerProbesClient() + internal LoadBalancerProbesRestOperations RestClient { get; } + /// Initializes a new instance of LoadBalancerProbesOperations for mocking. + protected LoadBalancerProbesOperations() { } - /// Initializes a new instance of LoadBalancerProbesClient. + /// Initializes a new instance of LoadBalancerProbesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal LoadBalancerProbesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal LoadBalancerProbesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new LoadBalancerProbesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new LoadBalancerProbesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal LoadBalancerProbesClient(ClientDiagnostics clientDiagnostics, HttpPipel /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string loadBalancerName, string probeName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerProbesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerProbesOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGroupName, st /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string loadBalancerName, string probeName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerProbesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerProbesOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName, string l async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerProbesClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerProbesOperations.List"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerProbesClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerProbesOperations.List"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable List(string resourceGroupName, string loadBalance Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerProbesClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerProbesOperations.List"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancerProbesClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancerProbesOperations.List"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerProbesRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerProbesRestOperations.cs similarity index 98% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerProbesRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerProbesRestOperations.cs index db54258bf0ef1..2d77a50335f47 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerProbesRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancerProbesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class LoadBalancerProbesRestClient + internal partial class LoadBalancerProbesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of LoadBalancerProbesRestClient. + /// Initializes a new instance of LoadBalancerProbesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public LoadBalancerProbesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public LoadBalancerProbesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancersClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancersOperations.cs similarity index 94% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancersClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancersOperations.cs index 4958852f67bdc..3b535a58c45ed 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancersClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancersOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The LoadBalancers service client. - public partial class LoadBalancersClient + public partial class LoadBalancersOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal LoadBalancersRestClient RestClient { get; } - /// Initializes a new instance of LoadBalancersClient for mocking. - protected LoadBalancersClient() + internal LoadBalancersRestOperations RestClient { get; } + /// Initializes a new instance of LoadBalancersOperations for mocking. + protected LoadBalancersOperations() { } - /// Initializes a new instance of LoadBalancersClient. + /// Initializes a new instance of LoadBalancersOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal LoadBalancersClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal LoadBalancersOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new LoadBalancersRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new LoadBalancersRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal LoadBalancersClient(ClientDiagnostics clientDiagnostics, HttpPipeline p /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string loadBalancerName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancersClient.Get"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancersOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGroupN /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string loadBalancerName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancersClient.Get"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancersOperations.Get"); scope.Start(); try { @@ -84,7 +84,7 @@ public virtual Response Get(string resourceGroupName, string loadB /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string loadBalancerName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancersClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancersOperations.UpdateTags"); scope.Start(); try { @@ -104,7 +104,7 @@ public virtual async Task> UpdateTagsAsync(string resourc /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string loadBalancerName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancersClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancersOperations.UpdateTags"); scope.Start(); try { @@ -123,7 +123,7 @@ public virtual AsyncPageable ListAllAsync(CancellationToken cancel { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancersClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancersOperations.ListAll"); scope.Start(); try { @@ -138,7 +138,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancersClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancersOperations.ListAll"); scope.Start(); try { @@ -160,7 +160,7 @@ public virtual Pageable ListAll(CancellationToken cancellationToke { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancersClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancersOperations.ListAll"); scope.Start(); try { @@ -175,7 +175,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancersClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancersOperations.ListAll"); scope.Start(); try { @@ -203,7 +203,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName, C async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancersClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancersOperations.List"); scope.Start(); try { @@ -218,7 +218,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancersClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancersOperations.List"); scope.Start(); try { @@ -246,7 +246,7 @@ public virtual Pageable List(string resourceGroupName, Cancellatio Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancersClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancersOperations.List"); scope.Start(); try { @@ -261,7 +261,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LoadBalancersClient.List"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancersOperations.List"); scope.Start(); try { @@ -292,7 +292,7 @@ public virtual async Task StartDeleteAsync(string throw new ArgumentNullException(nameof(loadBalancerName)); } - using var scope = _clientDiagnostics.CreateScope("LoadBalancersClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancersOperations.StartDelete"); scope.Start(); try { @@ -321,7 +321,7 @@ public virtual LoadBalancersDeleteOperation StartDelete(string resourceGroupName throw new ArgumentNullException(nameof(loadBalancerName)); } - using var scope = _clientDiagnostics.CreateScope("LoadBalancersClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancersOperations.StartDelete"); scope.Start(); try { @@ -355,7 +355,7 @@ public virtual async Task StartCreateOrUpd throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("LoadBalancersClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancersOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -389,7 +389,7 @@ public virtual LoadBalancersCreateOrUpdateOperation StartCreateOrUpdate(string r throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("LoadBalancersClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("LoadBalancersOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancersRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancersRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancersRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancersRestOperations.cs index 9a25d005aa124..6fdb1596ae607 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancersRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LoadBalancersRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class LoadBalancersRestClient + internal partial class LoadBalancersRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of LoadBalancersRestClient. + /// Initializes a new instance of LoadBalancersRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public LoadBalancersRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public LoadBalancersRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LocalNetworkGatewaysClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LocalNetworkGatewaysOperations.cs similarity index 93% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LocalNetworkGatewaysClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LocalNetworkGatewaysOperations.cs index d9f0408c4d6fa..09a8fad34c73e 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LocalNetworkGatewaysClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LocalNetworkGatewaysOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The LocalNetworkGateways service client. - public partial class LocalNetworkGatewaysClient + public partial class LocalNetworkGatewaysOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal LocalNetworkGatewaysRestClient RestClient { get; } - /// Initializes a new instance of LocalNetworkGatewaysClient for mocking. - protected LocalNetworkGatewaysClient() + internal LocalNetworkGatewaysRestOperations RestClient { get; } + /// Initializes a new instance of LocalNetworkGatewaysOperations for mocking. + protected LocalNetworkGatewaysOperations() { } - /// Initializes a new instance of LocalNetworkGatewaysClient. + /// Initializes a new instance of LocalNetworkGatewaysOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal LocalNetworkGatewaysClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal LocalNetworkGatewaysOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new LocalNetworkGatewaysRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new LocalNetworkGatewaysRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal LocalNetworkGatewaysClient(ClientDiagnostics clientDiagnostics, HttpPip /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string localNetworkGatewayName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("LocalNetworkGatewaysClient.Get"); + using var scope = _clientDiagnostics.CreateScope("LocalNetworkGatewaysOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string resourc /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string localNetworkGatewayName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("LocalNetworkGatewaysClient.Get"); + using var scope = _clientDiagnostics.CreateScope("LocalNetworkGatewaysOperations.Get"); scope.Start(); try { @@ -82,7 +82,7 @@ public virtual Response Get(string resourceGroupName, strin /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string localNetworkGatewayName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("LocalNetworkGatewaysClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("LocalNetworkGatewaysOperations.UpdateTags"); scope.Start(); try { @@ -102,7 +102,7 @@ public virtual async Task> UpdateTagsAsync(string /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string localNetworkGatewayName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("LocalNetworkGatewaysClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("LocalNetworkGatewaysOperations.UpdateTags"); scope.Start(); try { @@ -127,7 +127,7 @@ public virtual AsyncPageable ListAsync(string resourceGroup async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LocalNetworkGatewaysClient.List"); + using var scope = _clientDiagnostics.CreateScope("LocalNetworkGatewaysOperations.List"); scope.Start(); try { @@ -142,7 +142,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LocalNetworkGatewaysClient.List"); + using var scope = _clientDiagnostics.CreateScope("LocalNetworkGatewaysOperations.List"); scope.Start(); try { @@ -170,7 +170,7 @@ public virtual Pageable List(string resourceGroupName, Canc Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LocalNetworkGatewaysClient.List"); + using var scope = _clientDiagnostics.CreateScope("LocalNetworkGatewaysOperations.List"); scope.Start(); try { @@ -185,7 +185,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("LocalNetworkGatewaysClient.List"); + using var scope = _clientDiagnostics.CreateScope("LocalNetworkGatewaysOperations.List"); scope.Start(); try { @@ -221,7 +221,7 @@ public virtual async Task StartCrea throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("LocalNetworkGatewaysClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("LocalNetworkGatewaysOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -255,7 +255,7 @@ public virtual LocalNetworkGatewaysCreateOrUpdateOperation StartCreateOrUpdate(s throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("LocalNetworkGatewaysClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("LocalNetworkGatewaysOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -284,7 +284,7 @@ public virtual async Task StartDeleteAsync( throw new ArgumentNullException(nameof(localNetworkGatewayName)); } - using var scope = _clientDiagnostics.CreateScope("LocalNetworkGatewaysClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("LocalNetworkGatewaysOperations.StartDelete"); scope.Start(); try { @@ -313,7 +313,7 @@ public virtual LocalNetworkGatewaysDeleteOperation StartDelete(string resourceGr throw new ArgumentNullException(nameof(localNetworkGatewayName)); } - using var scope = _clientDiagnostics.CreateScope("LocalNetworkGatewaysClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("LocalNetworkGatewaysOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LocalNetworkGatewaysRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LocalNetworkGatewaysRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LocalNetworkGatewaysRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LocalNetworkGatewaysRestOperations.cs index bc3c8e04102eb..fe24afd37aaf6 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LocalNetworkGatewaysRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/LocalNetworkGatewaysRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class LocalNetworkGatewaysRestClient + internal partial class LocalNetworkGatewaysRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of LocalNetworkGatewaysRestClient. + /// Initializes a new instance of LocalNetworkGatewaysRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public LocalNetworkGatewaysRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public LocalNetworkGatewaysRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NatGatewaysClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NatGatewaysOperations.cs similarity index 94% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NatGatewaysClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NatGatewaysOperations.cs index 85d8cab77b7e1..d085e06fe81c8 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NatGatewaysClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NatGatewaysOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The NatGateways service client. - public partial class NatGatewaysClient + public partial class NatGatewaysOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal NatGatewaysRestClient RestClient { get; } - /// Initializes a new instance of NatGatewaysClient for mocking. - protected NatGatewaysClient() + internal NatGatewaysRestOperations RestClient { get; } + /// Initializes a new instance of NatGatewaysOperations for mocking. + protected NatGatewaysOperations() { } - /// Initializes a new instance of NatGatewaysClient. + /// Initializes a new instance of NatGatewaysOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal NatGatewaysClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal NatGatewaysOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new NatGatewaysRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new NatGatewaysRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal NatGatewaysClient(ClientDiagnostics clientDiagnostics, HttpPipeline pip /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string natGatewayName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NatGatewaysClient.Get"); + using var scope = _clientDiagnostics.CreateScope("NatGatewaysOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGroupNam /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string natGatewayName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NatGatewaysClient.Get"); + using var scope = _clientDiagnostics.CreateScope("NatGatewaysOperations.Get"); scope.Start(); try { @@ -84,7 +84,7 @@ public virtual Response Get(string resourceGroupName, string natGate /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string natGatewayName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NatGatewaysClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("NatGatewaysOperations.UpdateTags"); scope.Start(); try { @@ -104,7 +104,7 @@ public virtual async Task> UpdateTagsAsync(string resourceG /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string natGatewayName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NatGatewaysClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("NatGatewaysOperations.UpdateTags"); scope.Start(); try { @@ -123,7 +123,7 @@ public virtual AsyncPageable ListAllAsync(CancellationToken cancella { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NatGatewaysClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("NatGatewaysOperations.ListAll"); scope.Start(); try { @@ -138,7 +138,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NatGatewaysClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("NatGatewaysOperations.ListAll"); scope.Start(); try { @@ -160,7 +160,7 @@ public virtual Pageable ListAll(CancellationToken cancellationToken { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NatGatewaysClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("NatGatewaysOperations.ListAll"); scope.Start(); try { @@ -175,7 +175,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NatGatewaysClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("NatGatewaysOperations.ListAll"); scope.Start(); try { @@ -203,7 +203,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName, Can async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NatGatewaysClient.List"); + using var scope = _clientDiagnostics.CreateScope("NatGatewaysOperations.List"); scope.Start(); try { @@ -218,7 +218,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NatGatewaysClient.List"); + using var scope = _clientDiagnostics.CreateScope("NatGatewaysOperations.List"); scope.Start(); try { @@ -246,7 +246,7 @@ public virtual Pageable List(string resourceGroupName, CancellationT Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NatGatewaysClient.List"); + using var scope = _clientDiagnostics.CreateScope("NatGatewaysOperations.List"); scope.Start(); try { @@ -261,7 +261,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NatGatewaysClient.List"); + using var scope = _clientDiagnostics.CreateScope("NatGatewaysOperations.List"); scope.Start(); try { @@ -292,7 +292,7 @@ public virtual async Task StartDeleteAsync(string re throw new ArgumentNullException(nameof(natGatewayName)); } - using var scope = _clientDiagnostics.CreateScope("NatGatewaysClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("NatGatewaysOperations.StartDelete"); scope.Start(); try { @@ -321,7 +321,7 @@ public virtual NatGatewaysDeleteOperation StartDelete(string resourceGroupName, throw new ArgumentNullException(nameof(natGatewayName)); } - using var scope = _clientDiagnostics.CreateScope("NatGatewaysClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("NatGatewaysOperations.StartDelete"); scope.Start(); try { @@ -355,7 +355,7 @@ public virtual async Task StartCreateOrUpdat throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NatGatewaysClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("NatGatewaysOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -389,7 +389,7 @@ public virtual NatGatewaysCreateOrUpdateOperation StartCreateOrUpdate(string res throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NatGatewaysClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("NatGatewaysOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NatGatewaysRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NatGatewaysRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NatGatewaysRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NatGatewaysRestOperations.cs index eb6925a91a4f2..e4ef57c7d896c 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NatGatewaysRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NatGatewaysRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class NatGatewaysRestClient + internal partial class NatGatewaysRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of NatGatewaysRestClient. + /// Initializes a new instance of NatGatewaysRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public NatGatewaysRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public NatGatewaysRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkInterfaceIPConfigurationsClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkInterfaceIPConfigurationsOperations.cs similarity index 90% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkInterfaceIPConfigurationsClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkInterfaceIPConfigurationsOperations.cs index 5d24deb8d9d36..aecee3d2125c5 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkInterfaceIPConfigurationsClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkInterfaceIPConfigurationsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The NetworkInterfaceIPConfigurations service client. - public partial class NetworkInterfaceIPConfigurationsClient + public partial class NetworkInterfaceIPConfigurationsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal NetworkInterfaceIPConfigurationsRestClient RestClient { get; } - /// Initializes a new instance of NetworkInterfaceIPConfigurationsClient for mocking. - protected NetworkInterfaceIPConfigurationsClient() + internal NetworkInterfaceIPConfigurationsRestOperations RestClient { get; } + /// Initializes a new instance of NetworkInterfaceIPConfigurationsOperations for mocking. + protected NetworkInterfaceIPConfigurationsOperations() { } - /// Initializes a new instance of NetworkInterfaceIPConfigurationsClient. + /// Initializes a new instance of NetworkInterfaceIPConfigurationsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal NetworkInterfaceIPConfigurationsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal NetworkInterfaceIPConfigurationsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new NetworkInterfaceIPConfigurationsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new NetworkInterfaceIPConfigurationsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal NetworkInterfaceIPConfigurationsClient(ClientDiagnostics clientDiagnost /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string networkInterfaceName, string ipConfigurationName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceIPConfigurationsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceIPConfigurationsOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(st /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string networkInterfaceName, string ipConfigurationName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceIPConfigurationsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceIPConfigurationsOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListAsync(string r async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceIPConfigurationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceIPConfigurationsOperations.List"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHin } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceIPConfigurationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceIPConfigurationsOperations.List"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable List(string resourceGro Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceIPConfigurationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceIPConfigurationsOperations.List"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceIPConfigurationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceIPConfigurationsOperations.List"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkInterfaceIPConfigurationsRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkInterfaceIPConfigurationsRestOperations.cs similarity index 98% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkInterfaceIPConfigurationsRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkInterfaceIPConfigurationsRestOperations.cs index 6f95452dfe22e..a642e4d3cf5e7 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkInterfaceIPConfigurationsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkInterfaceIPConfigurationsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class NetworkInterfaceIPConfigurationsRestClient + internal partial class NetworkInterfaceIPConfigurationsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of NetworkInterfaceIPConfigurationsRestClient. + /// Initializes a new instance of NetworkInterfaceIPConfigurationsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public NetworkInterfaceIPConfigurationsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public NetworkInterfaceIPConfigurationsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkInterfaceLoadBalancersClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkInterfaceLoadBalancersOperations.cs similarity index 87% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkInterfaceLoadBalancersClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkInterfaceLoadBalancersOperations.cs index 442fad1f918c1..9d65fe0d6888b 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkInterfaceLoadBalancersClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkInterfaceLoadBalancersOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The NetworkInterfaceLoadBalancers service client. - public partial class NetworkInterfaceLoadBalancersClient + public partial class NetworkInterfaceLoadBalancersOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal NetworkInterfaceLoadBalancersRestClient RestClient { get; } - /// Initializes a new instance of NetworkInterfaceLoadBalancersClient for mocking. - protected NetworkInterfaceLoadBalancersClient() + internal NetworkInterfaceLoadBalancersRestOperations RestClient { get; } + /// Initializes a new instance of NetworkInterfaceLoadBalancersOperations for mocking. + protected NetworkInterfaceLoadBalancersOperations() { } - /// Initializes a new instance of NetworkInterfaceLoadBalancersClient. + /// Initializes a new instance of NetworkInterfaceLoadBalancersOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal NetworkInterfaceLoadBalancersClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal NetworkInterfaceLoadBalancersOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new NetworkInterfaceLoadBalancersRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new NetworkInterfaceLoadBalancersRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -54,7 +54,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName, s async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceLoadBalancersClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceLoadBalancersOperations.List"); scope.Start(); try { @@ -69,7 +69,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceLoadBalancersClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceLoadBalancersOperations.List"); scope.Start(); try { @@ -102,7 +102,7 @@ public virtual Pageable List(string resourceGroupName, string netw Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceLoadBalancersClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceLoadBalancersOperations.List"); scope.Start(); try { @@ -117,7 +117,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceLoadBalancersClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceLoadBalancersOperations.List"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkInterfaceLoadBalancersRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkInterfaceLoadBalancersRestOperations.cs similarity index 97% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkInterfaceLoadBalancersRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkInterfaceLoadBalancersRestOperations.cs index 4376eedf933d2..ec0f909b301ad 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkInterfaceLoadBalancersRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkInterfaceLoadBalancersRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class NetworkInterfaceLoadBalancersRestClient + internal partial class NetworkInterfaceLoadBalancersRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of NetworkInterfaceLoadBalancersRestClient. + /// Initializes a new instance of NetworkInterfaceLoadBalancersRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public NetworkInterfaceLoadBalancersRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public NetworkInterfaceLoadBalancersRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkInterfaceTapConfigurationsClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkInterfaceTapConfigurationsOperations.cs similarity index 93% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkInterfaceTapConfigurationsClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkInterfaceTapConfigurationsOperations.cs index 65050e3f3bc63..ebad236298a0b 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkInterfaceTapConfigurationsClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkInterfaceTapConfigurationsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The NetworkInterfaceTapConfigurations service client. - public partial class NetworkInterfaceTapConfigurationsClient + public partial class NetworkInterfaceTapConfigurationsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal NetworkInterfaceTapConfigurationsRestClient RestClient { get; } - /// Initializes a new instance of NetworkInterfaceTapConfigurationsClient for mocking. - protected NetworkInterfaceTapConfigurationsClient() + internal NetworkInterfaceTapConfigurationsRestOperations RestClient { get; } + /// Initializes a new instance of NetworkInterfaceTapConfigurationsOperations for mocking. + protected NetworkInterfaceTapConfigurationsOperations() { } - /// Initializes a new instance of NetworkInterfaceTapConfigurationsClient. + /// Initializes a new instance of NetworkInterfaceTapConfigurationsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal NetworkInterfaceTapConfigurationsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal NetworkInterfaceTapConfigurationsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new NetworkInterfaceTapConfigurationsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new NetworkInterfaceTapConfigurationsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal NetworkInterfaceTapConfigurationsClient(ClientDiagnostics clientDiagnos /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string networkInterfaceName, string tapConfigurationName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceTapConfigurationsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceTapConfigurationsOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(s /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string networkInterfaceName, string tapConfigurationName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceTapConfigurationsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceTapConfigurationsOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListAsync(string async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceTapConfigurationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceTapConfigurationsOperations.List"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHi } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceTapConfigurationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceTapConfigurationsOperations.List"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable List(string resourceGr Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceTapConfigurationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceTapConfigurationsOperations.List"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceTapConfigurationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceTapConfigurationsOperations.List"); scope.Start(); try { @@ -193,7 +193,7 @@ public virtual async Task Star throw new ArgumentNullException(nameof(tapConfigurationName)); } - using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceTapConfigurationsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceTapConfigurationsOperations.StartDelete"); scope.Start(); try { @@ -227,7 +227,7 @@ public virtual NetworkInterfaceTapConfigurationsDeleteOperation StartDelete(stri throw new ArgumentNullException(nameof(tapConfigurationName)); } - using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceTapConfigurationsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfaceTapConfigurationsOperations.StartDelete"); scope.Start(); try { @@ -266,7 +266,7 @@ public virtual async Task Initializes a new instance of NetworkInterfaceTapConfigurationsRestClient. + /// Initializes a new instance of NetworkInterfaceTapConfigurationsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public NetworkInterfaceTapConfigurationsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public NetworkInterfaceTapConfigurationsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkInterfacesClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkInterfacesOperations.cs similarity index 94% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkInterfacesClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkInterfacesOperations.cs index 94b86c97fb145..9055cb066b022 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkInterfacesClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkInterfacesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The NetworkInterfaces service client. - public partial class NetworkInterfacesClient + public partial class NetworkInterfacesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal NetworkInterfacesRestClient RestClient { get; } - /// Initializes a new instance of NetworkInterfacesClient for mocking. - protected NetworkInterfacesClient() + internal NetworkInterfacesRestOperations RestClient { get; } + /// Initializes a new instance of NetworkInterfacesOperations for mocking. + protected NetworkInterfacesOperations() { } - /// Initializes a new instance of NetworkInterfacesClient. + /// Initializes a new instance of NetworkInterfacesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal NetworkInterfacesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal NetworkInterfacesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new NetworkInterfacesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new NetworkInterfacesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal NetworkInterfacesClient(ClientDiagnostics clientDiagnostics, HttpPipeli /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string networkInterfaceName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGr /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string networkInterfaceName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.Get"); scope.Start(); try { @@ -84,7 +84,7 @@ public virtual Response Get(string resourceGroupName, string n /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string networkInterfaceName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.UpdateTags"); scope.Start(); try { @@ -104,7 +104,7 @@ public virtual async Task> UpdateTagsAsync(string res /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string networkInterfaceName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.UpdateTags"); scope.Start(); try { @@ -126,7 +126,7 @@ public virtual Response UpdateTags(string resourceGroupName, s /// The cancellation token to use. public virtual async Task> GetVirtualMachineScaleSetNetworkInterfaceAsync(string resourceGroupName, string virtualMachineScaleSetName, string virtualmachineIndex, string networkInterfaceName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.GetVirtualMachineScaleSetNetworkInterface"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.GetVirtualMachineScaleSetNetworkInterface"); scope.Start(); try { @@ -148,7 +148,7 @@ public virtual async Task> GetVirtualMachineScaleSetN /// The cancellation token to use. public virtual Response GetVirtualMachineScaleSetNetworkInterface(string resourceGroupName, string virtualMachineScaleSetName, string virtualmachineIndex, string networkInterfaceName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.GetVirtualMachineScaleSetNetworkInterface"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.GetVirtualMachineScaleSetNetworkInterface"); scope.Start(); try { @@ -171,7 +171,7 @@ public virtual Response GetVirtualMachineScaleSetNetworkInterf /// The cancellation token to use. public virtual async Task> GetVirtualMachineScaleSetIpConfigurationAsync(string resourceGroupName, string virtualMachineScaleSetName, string virtualmachineIndex, string networkInterfaceName, string ipConfigurationName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.GetVirtualMachineScaleSetIpConfiguration"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.GetVirtualMachineScaleSetIpConfiguration"); scope.Start(); try { @@ -194,7 +194,7 @@ public virtual async Task> GetVirtualM /// The cancellation token to use. public virtual Response GetVirtualMachineScaleSetIpConfiguration(string resourceGroupName, string virtualMachineScaleSetName, string virtualmachineIndex, string networkInterfaceName, string ipConfigurationName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.GetVirtualMachineScaleSetIpConfiguration"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.GetVirtualMachineScaleSetIpConfiguration"); scope.Start(); try { @@ -213,7 +213,7 @@ public virtual AsyncPageable ListAllAsync(CancellationToken ca { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.ListAll"); scope.Start(); try { @@ -228,7 +228,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.ListAll"); scope.Start(); try { @@ -250,7 +250,7 @@ public virtual Pageable ListAll(CancellationToken cancellation { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.ListAll"); scope.Start(); try { @@ -265,7 +265,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.ListAll"); scope.Start(); try { @@ -293,7 +293,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupNam async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.List"); scope.Start(); try { @@ -308,7 +308,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.List"); scope.Start(); try { @@ -336,7 +336,7 @@ public virtual Pageable List(string resourceGroupName, Cancell Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.List"); scope.Start(); try { @@ -351,7 +351,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.List"); scope.Start(); try { @@ -389,7 +389,7 @@ public virtual AsyncPageable ListVirtualMachineScaleSetVMNetwo async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.ListVirtualMachineScaleSetVMNetworkInterfaces"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.ListVirtualMachineScaleSetVMNetworkInterfaces"); scope.Start(); try { @@ -404,7 +404,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.ListVirtualMachineScaleSetVMNetworkInterfaces"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.ListVirtualMachineScaleSetVMNetworkInterfaces"); scope.Start(); try { @@ -442,7 +442,7 @@ public virtual Pageable ListVirtualMachineScaleSetVMNetworkInt Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.ListVirtualMachineScaleSetVMNetworkInterfaces"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.ListVirtualMachineScaleSetVMNetworkInterfaces"); scope.Start(); try { @@ -457,7 +457,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.ListVirtualMachineScaleSetVMNetworkInterfaces"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.ListVirtualMachineScaleSetVMNetworkInterfaces"); scope.Start(); try { @@ -490,7 +490,7 @@ public virtual AsyncPageable ListVirtualMachineScaleSetNetwork async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.ListVirtualMachineScaleSetNetworkInterfaces"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.ListVirtualMachineScaleSetNetworkInterfaces"); scope.Start(); try { @@ -505,7 +505,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.ListVirtualMachineScaleSetNetworkInterfaces"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.ListVirtualMachineScaleSetNetworkInterfaces"); scope.Start(); try { @@ -538,7 +538,7 @@ public virtual Pageable ListVirtualMachineScaleSetNetworkInter Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.ListVirtualMachineScaleSetNetworkInterfaces"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.ListVirtualMachineScaleSetNetworkInterfaces"); scope.Start(); try { @@ -553,7 +553,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.ListVirtualMachineScaleSetNetworkInterfaces"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.ListVirtualMachineScaleSetNetworkInterfaces"); scope.Start(); try { @@ -597,7 +597,7 @@ public virtual AsyncPageable ListVirtualMachine async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.ListVirtualMachineScaleSetIpConfigurations"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.ListVirtualMachineScaleSetIpConfigurations"); scope.Start(); try { @@ -612,7 +612,7 @@ async Task> FirstPageFunc(int? pageSizeHin } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.ListVirtualMachineScaleSetIpConfigurations"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.ListVirtualMachineScaleSetIpConfigurations"); scope.Start(); try { @@ -656,7 +656,7 @@ public virtual Pageable ListVirtualMachineScale Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.ListVirtualMachineScaleSetIpConfigurations"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.ListVirtualMachineScaleSetIpConfigurations"); scope.Start(); try { @@ -671,7 +671,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.ListVirtualMachineScaleSetIpConfigurations"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.ListVirtualMachineScaleSetIpConfigurations"); scope.Start(); try { @@ -702,7 +702,7 @@ public virtual async Task StartDeleteAsync(str throw new ArgumentNullException(nameof(networkInterfaceName)); } - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.StartDelete"); scope.Start(); try { @@ -731,7 +731,7 @@ public virtual NetworkInterfacesDeleteOperation StartDelete(string resourceGroup throw new ArgumentNullException(nameof(networkInterfaceName)); } - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.StartDelete"); scope.Start(); try { @@ -765,7 +765,7 @@ public virtual async Task StartCreateO throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -799,7 +799,7 @@ public virtual NetworkInterfacesCreateOrUpdateOperation StartCreateOrUpdate(stri throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -828,7 +828,7 @@ public virtual async Task Star throw new ArgumentNullException(nameof(networkInterfaceName)); } - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.StartGetEffectiveRouteTable"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.StartGetEffectiveRouteTable"); scope.Start(); try { @@ -857,7 +857,7 @@ public virtual NetworkInterfacesGetEffectiveRouteTableOperation StartGetEffectiv throw new ArgumentNullException(nameof(networkInterfaceName)); } - using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesClient.StartGetEffectiveRouteTable"); + using var scope = _clientDiagnostics.CreateScope("NetworkInterfacesOperations.StartGetEffectiveRouteTable"); scope.Start(); try { @@ -886,7 +886,7 @@ public virtual async Task Initializes a new instance of NetworkInterfacesRestClient. + /// Initializes a new instance of NetworkInterfacesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public NetworkInterfacesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public NetworkInterfacesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkManagementClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkManagementClient.cs index 2e380f4faa2bd..d672fc9b4fd1f 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkManagementClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkManagementClient.cs @@ -53,574 +53,289 @@ public NetworkManagementClient(string subscriptionId, Uri endpoint, TokenCredent _endpoint = endpoint; } - /// Creates a new instance of ApplicationGatewaysClient. - public virtual ApplicationGatewaysClient GetApplicationGatewaysClient() - { - return new ApplicationGatewaysClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ApplicationGatewaysOperations. + public virtual ApplicationGatewaysOperations ApplicationGateways => new ApplicationGatewaysOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ApplicationSecurityGroupsClient. - public virtual ApplicationSecurityGroupsClient GetApplicationSecurityGroupsClient() - { - return new ApplicationSecurityGroupsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ApplicationSecurityGroupsOperations. + public virtual ApplicationSecurityGroupsOperations ApplicationSecurityGroups => new ApplicationSecurityGroupsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of AvailableDelegationsClient. - public virtual AvailableDelegationsClient GetAvailableDelegationsClient() - { - return new AvailableDelegationsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of AvailableDelegationsOperations. + public virtual AvailableDelegationsOperations AvailableDelegations => new AvailableDelegationsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of AvailableResourceGroupDelegationsClient. - public virtual AvailableResourceGroupDelegationsClient GetAvailableResourceGroupDelegationsClient() - { - return new AvailableResourceGroupDelegationsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of AvailableResourceGroupDelegationsOperations. + public virtual AvailableResourceGroupDelegationsOperations AvailableResourceGroupDelegations => new AvailableResourceGroupDelegationsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of AvailableServiceAliasesClient. - public virtual AvailableServiceAliasesClient GetAvailableServiceAliasesClient() - { - return new AvailableServiceAliasesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of AvailableServiceAliasesOperations. + public virtual AvailableServiceAliasesOperations AvailableServiceAliases => new AvailableServiceAliasesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of AzureFirewallsClient. - public virtual AzureFirewallsClient GetAzureFirewallsClient() - { - return new AzureFirewallsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of AzureFirewallsOperations. + public virtual AzureFirewallsOperations AzureFirewalls => new AzureFirewallsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of AzureFirewallFqdnTagsClient. - public virtual AzureFirewallFqdnTagsClient GetAzureFirewallFqdnTagsClient() - { - return new AzureFirewallFqdnTagsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of AzureFirewallFqdnTagsOperations. + public virtual AzureFirewallFqdnTagsOperations AzureFirewallFqdnTags => new AzureFirewallFqdnTagsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of BastionHostsClient. - public virtual BastionHostsClient GetBastionHostsClient() - { - return new BastionHostsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of BastionHostsOperations. + public virtual BastionHostsOperations BastionHosts => new BastionHostsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ServiceClient. - public virtual ServiceClient GetServiceClient() - { - return new ServiceClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ServiceOperations. + public virtual ServiceOperations Service => new ServiceOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of DdosCustomPoliciesClient. - public virtual DdosCustomPoliciesClient GetDdosCustomPoliciesClient() - { - return new DdosCustomPoliciesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of DdosCustomPoliciesOperations. + public virtual DdosCustomPoliciesOperations DdosCustomPolicies => new DdosCustomPoliciesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of DdosProtectionPlansClient. - public virtual DdosProtectionPlansClient GetDdosProtectionPlansClient() - { - return new DdosProtectionPlansClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of DdosProtectionPlansOperations. + public virtual DdosProtectionPlansOperations DdosProtectionPlans => new DdosProtectionPlansOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of AvailableEndpointServicesClient. - public virtual AvailableEndpointServicesClient GetAvailableEndpointServicesClient() - { - return new AvailableEndpointServicesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of AvailableEndpointServicesOperations. + public virtual AvailableEndpointServicesOperations AvailableEndpointServices => new AvailableEndpointServicesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ExpressRouteCircuitAuthorizationsClient. - public virtual ExpressRouteCircuitAuthorizationsClient GetExpressRouteCircuitAuthorizationsClient() - { - return new ExpressRouteCircuitAuthorizationsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ExpressRouteCircuitAuthorizationsOperations. + public virtual ExpressRouteCircuitAuthorizationsOperations ExpressRouteCircuitAuthorizations => new ExpressRouteCircuitAuthorizationsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ExpressRouteCircuitPeeringsClient. - public virtual ExpressRouteCircuitPeeringsClient GetExpressRouteCircuitPeeringsClient() - { - return new ExpressRouteCircuitPeeringsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ExpressRouteCircuitPeeringsOperations. + public virtual ExpressRouteCircuitPeeringsOperations ExpressRouteCircuitPeerings => new ExpressRouteCircuitPeeringsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ExpressRouteCircuitConnectionsClient. - public virtual ExpressRouteCircuitConnectionsClient GetExpressRouteCircuitConnectionsClient() - { - return new ExpressRouteCircuitConnectionsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ExpressRouteCircuitConnectionsOperations. + public virtual ExpressRouteCircuitConnectionsOperations ExpressRouteCircuitConnections => new ExpressRouteCircuitConnectionsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of PeerExpressRouteCircuitConnectionsClient. - public virtual PeerExpressRouteCircuitConnectionsClient GetPeerExpressRouteCircuitConnectionsClient() - { - return new PeerExpressRouteCircuitConnectionsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of PeerExpressRouteCircuitConnectionsOperations. + public virtual PeerExpressRouteCircuitConnectionsOperations PeerExpressRouteCircuitConnections => new PeerExpressRouteCircuitConnectionsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ExpressRouteCircuitsClient. - public virtual ExpressRouteCircuitsClient GetExpressRouteCircuitsClient() - { - return new ExpressRouteCircuitsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ExpressRouteCircuitsOperations. + public virtual ExpressRouteCircuitsOperations ExpressRouteCircuits => new ExpressRouteCircuitsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ExpressRouteServiceProvidersClient. - public virtual ExpressRouteServiceProvidersClient GetExpressRouteServiceProvidersClient() - { - return new ExpressRouteServiceProvidersClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ExpressRouteServiceProvidersOperations. + public virtual ExpressRouteServiceProvidersOperations ExpressRouteServiceProviders => new ExpressRouteServiceProvidersOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ExpressRouteCrossConnectionsClient. - public virtual ExpressRouteCrossConnectionsClient GetExpressRouteCrossConnectionsClient() - { - return new ExpressRouteCrossConnectionsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ExpressRouteCrossConnectionsOperations. + public virtual ExpressRouteCrossConnectionsOperations ExpressRouteCrossConnections => new ExpressRouteCrossConnectionsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ExpressRouteCrossConnectionPeeringsClient. - public virtual ExpressRouteCrossConnectionPeeringsClient GetExpressRouteCrossConnectionPeeringsClient() - { - return new ExpressRouteCrossConnectionPeeringsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ExpressRouteCrossConnectionPeeringsOperations. + public virtual ExpressRouteCrossConnectionPeeringsOperations ExpressRouteCrossConnectionPeerings => new ExpressRouteCrossConnectionPeeringsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ExpressRoutePortsLocationsClient. - public virtual ExpressRoutePortsLocationsClient GetExpressRoutePortsLocationsClient() - { - return new ExpressRoutePortsLocationsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ExpressRoutePortsLocationsOperations. + public virtual ExpressRoutePortsLocationsOperations ExpressRoutePortsLocations => new ExpressRoutePortsLocationsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ExpressRoutePortsClient. - public virtual ExpressRoutePortsClient GetExpressRoutePortsClient() - { - return new ExpressRoutePortsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ExpressRoutePortsOperations. + public virtual ExpressRoutePortsOperations ExpressRoutePorts => new ExpressRoutePortsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ExpressRouteLinksClient. - public virtual ExpressRouteLinksClient GetExpressRouteLinksClient() - { - return new ExpressRouteLinksClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ExpressRouteLinksOperations. + public virtual ExpressRouteLinksOperations ExpressRouteLinks => new ExpressRouteLinksOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of FirewallPoliciesClient. - public virtual FirewallPoliciesClient GetFirewallPoliciesClient() - { - return new FirewallPoliciesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of FirewallPoliciesOperations. + public virtual FirewallPoliciesOperations FirewallPolicies => new FirewallPoliciesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of FirewallPolicyRuleGroupsClient. - public virtual FirewallPolicyRuleGroupsClient GetFirewallPolicyRuleGroupsClient() - { - return new FirewallPolicyRuleGroupsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of FirewallPolicyRuleGroupsOperations. + public virtual FirewallPolicyRuleGroupsOperations FirewallPolicyRuleGroups => new FirewallPolicyRuleGroupsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of IpAllocationsClient. - public virtual IpAllocationsClient GetIpAllocationsClient() - { - return new IpAllocationsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of IpAllocationsOperations. + public virtual IpAllocationsOperations IpAllocations => new IpAllocationsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of IpGroupsClient. - public virtual IpGroupsClient GetIpGroupsClient() - { - return new IpGroupsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of IpGroupsOperations. + public virtual IpGroupsOperations IpGroups => new IpGroupsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of LoadBalancersClient. - public virtual LoadBalancersClient GetLoadBalancersClient() - { - return new LoadBalancersClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of LoadBalancersOperations. + public virtual LoadBalancersOperations LoadBalancers => new LoadBalancersOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of LoadBalancerBackendAddressPoolsClient. - public virtual LoadBalancerBackendAddressPoolsClient GetLoadBalancerBackendAddressPoolsClient() - { - return new LoadBalancerBackendAddressPoolsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of LoadBalancerBackendAddressPoolsOperations. + public virtual LoadBalancerBackendAddressPoolsOperations LoadBalancerBackendAddressPools => new LoadBalancerBackendAddressPoolsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of LoadBalancerFrontendIPConfigurationsClient. - public virtual LoadBalancerFrontendIPConfigurationsClient GetLoadBalancerFrontendIPConfigurationsClient() - { - return new LoadBalancerFrontendIPConfigurationsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of LoadBalancerFrontendIPConfigurationsOperations. + public virtual LoadBalancerFrontendIPConfigurationsOperations LoadBalancerFrontendIPConfigurations => new LoadBalancerFrontendIPConfigurationsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of InboundNatRulesClient. - public virtual InboundNatRulesClient GetInboundNatRulesClient() - { - return new InboundNatRulesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of InboundNatRulesOperations. + public virtual InboundNatRulesOperations InboundNatRules => new InboundNatRulesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of LoadBalancerLoadBalancingRulesClient. - public virtual LoadBalancerLoadBalancingRulesClient GetLoadBalancerLoadBalancingRulesClient() - { - return new LoadBalancerLoadBalancingRulesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of LoadBalancerLoadBalancingRulesOperations. + public virtual LoadBalancerLoadBalancingRulesOperations LoadBalancerLoadBalancingRules => new LoadBalancerLoadBalancingRulesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of LoadBalancerOutboundRulesClient. - public virtual LoadBalancerOutboundRulesClient GetLoadBalancerOutboundRulesClient() - { - return new LoadBalancerOutboundRulesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of LoadBalancerOutboundRulesOperations. + public virtual LoadBalancerOutboundRulesOperations LoadBalancerOutboundRules => new LoadBalancerOutboundRulesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of LoadBalancerNetworkInterfacesClient. - public virtual LoadBalancerNetworkInterfacesClient GetLoadBalancerNetworkInterfacesClient() - { - return new LoadBalancerNetworkInterfacesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of LoadBalancerNetworkInterfacesOperations. + public virtual LoadBalancerNetworkInterfacesOperations LoadBalancerNetworkInterfaces => new LoadBalancerNetworkInterfacesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of LoadBalancerProbesClient. - public virtual LoadBalancerProbesClient GetLoadBalancerProbesClient() - { - return new LoadBalancerProbesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of LoadBalancerProbesOperations. + public virtual LoadBalancerProbesOperations LoadBalancerProbes => new LoadBalancerProbesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of NatGatewaysClient. - public virtual NatGatewaysClient GetNatGatewaysClient() - { - return new NatGatewaysClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of NatGatewaysOperations. + public virtual NatGatewaysOperations NatGateways => new NatGatewaysOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of NetworkInterfacesClient. - public virtual NetworkInterfacesClient GetNetworkInterfacesClient() - { - return new NetworkInterfacesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of NetworkInterfacesOperations. + public virtual NetworkInterfacesOperations NetworkInterfaces => new NetworkInterfacesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of NetworkInterfaceIPConfigurationsClient. - public virtual NetworkInterfaceIPConfigurationsClient GetNetworkInterfaceIPConfigurationsClient() - { - return new NetworkInterfaceIPConfigurationsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of NetworkInterfaceIPConfigurationsOperations. + public virtual NetworkInterfaceIPConfigurationsOperations NetworkInterfaceIPConfigurations => new NetworkInterfaceIPConfigurationsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of NetworkInterfaceLoadBalancersClient. - public virtual NetworkInterfaceLoadBalancersClient GetNetworkInterfaceLoadBalancersClient() - { - return new NetworkInterfaceLoadBalancersClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of NetworkInterfaceLoadBalancersOperations. + public virtual NetworkInterfaceLoadBalancersOperations NetworkInterfaceLoadBalancers => new NetworkInterfaceLoadBalancersOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of NetworkInterfaceTapConfigurationsClient. - public virtual NetworkInterfaceTapConfigurationsClient GetNetworkInterfaceTapConfigurationsClient() - { - return new NetworkInterfaceTapConfigurationsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of NetworkInterfaceTapConfigurationsOperations. + public virtual NetworkInterfaceTapConfigurationsOperations NetworkInterfaceTapConfigurations => new NetworkInterfaceTapConfigurationsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of NetworkProfilesClient. - public virtual NetworkProfilesClient GetNetworkProfilesClient() - { - return new NetworkProfilesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of NetworkProfilesOperations. + public virtual NetworkProfilesOperations NetworkProfiles => new NetworkProfilesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of NetworkSecurityGroupsClient. - public virtual NetworkSecurityGroupsClient GetNetworkSecurityGroupsClient() - { - return new NetworkSecurityGroupsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of NetworkSecurityGroupsOperations. + public virtual NetworkSecurityGroupsOperations NetworkSecurityGroups => new NetworkSecurityGroupsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of SecurityRulesClient. - public virtual SecurityRulesClient GetSecurityRulesClient() - { - return new SecurityRulesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of SecurityRulesOperations. + public virtual SecurityRulesOperations SecurityRules => new SecurityRulesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of DefaultSecurityRulesClient. - public virtual DefaultSecurityRulesClient GetDefaultSecurityRulesClient() - { - return new DefaultSecurityRulesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of DefaultSecurityRulesOperations. + public virtual DefaultSecurityRulesOperations DefaultSecurityRules => new DefaultSecurityRulesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of NetworkVirtualAppliancesClient. - public virtual NetworkVirtualAppliancesClient GetNetworkVirtualAppliancesClient() - { - return new NetworkVirtualAppliancesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of NetworkVirtualAppliancesOperations. + public virtual NetworkVirtualAppliancesOperations NetworkVirtualAppliances => new NetworkVirtualAppliancesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of NetworkWatchersClient. - public virtual NetworkWatchersClient GetNetworkWatchersClient() - { - return new NetworkWatchersClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of NetworkWatchersOperations. + public virtual NetworkWatchersOperations NetworkWatchers => new NetworkWatchersOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of PacketCapturesClient. - public virtual PacketCapturesClient GetPacketCapturesClient() - { - return new PacketCapturesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of PacketCapturesOperations. + public virtual PacketCapturesOperations PacketCaptures => new PacketCapturesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ConnectionMonitorsClient. - public virtual ConnectionMonitorsClient GetConnectionMonitorsClient() - { - return new ConnectionMonitorsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ConnectionMonitorsOperations. + public virtual ConnectionMonitorsOperations ConnectionMonitors => new ConnectionMonitorsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of FlowLogsClient. - public virtual FlowLogsClient GetFlowLogsClient() - { - return new FlowLogsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of FlowLogsOperations. + public virtual FlowLogsOperations FlowLogs => new FlowLogsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of OperationsClient. - public virtual OperationsClient GetOperationsClient() - { - return new OperationsClient(_clientDiagnostics, _pipeline, _endpoint); - } + /// Returns an instance of Operations. + public virtual Operations Operations => new Operations(_clientDiagnostics, _pipeline, _endpoint); - /// Creates a new instance of PrivateEndpointsClient. - public virtual PrivateEndpointsClient GetPrivateEndpointsClient() - { - return new PrivateEndpointsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of PrivateEndpointsOperations. + public virtual PrivateEndpointsOperations PrivateEndpoints => new PrivateEndpointsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of AvailablePrivateEndpointTypesClient. - public virtual AvailablePrivateEndpointTypesClient GetAvailablePrivateEndpointTypesClient() - { - return new AvailablePrivateEndpointTypesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of AvailablePrivateEndpointTypesOperations. + public virtual AvailablePrivateEndpointTypesOperations AvailablePrivateEndpointTypes => new AvailablePrivateEndpointTypesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of PrivateDnsZoneGroupsClient. - public virtual PrivateDnsZoneGroupsClient GetPrivateDnsZoneGroupsClient() - { - return new PrivateDnsZoneGroupsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of PrivateDnsZoneGroupsOperations. + public virtual PrivateDnsZoneGroupsOperations PrivateDnsZoneGroups => new PrivateDnsZoneGroupsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of PrivateLinkServicesClient. - public virtual PrivateLinkServicesClient GetPrivateLinkServicesClient() - { - return new PrivateLinkServicesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of PrivateLinkServicesOperations. + public virtual PrivateLinkServicesOperations PrivateLinkServices => new PrivateLinkServicesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of PublicIPAddressesClient. - public virtual PublicIPAddressesClient GetPublicIPAddressesClient() - { - return new PublicIPAddressesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of PublicIPAddressesOperations. + public virtual PublicIPAddressesOperations PublicIPAddresses => new PublicIPAddressesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of PublicIPPrefixesClient. - public virtual PublicIPPrefixesClient GetPublicIPPrefixesClient() - { - return new PublicIPPrefixesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of PublicIPPrefixesOperations. + public virtual PublicIPPrefixesOperations PublicIPPrefixes => new PublicIPPrefixesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of RouteFiltersClient. - public virtual RouteFiltersClient GetRouteFiltersClient() - { - return new RouteFiltersClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of RouteFiltersOperations. + public virtual RouteFiltersOperations RouteFilters => new RouteFiltersOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of RouteFilterRulesClient. - public virtual RouteFilterRulesClient GetRouteFilterRulesClient() - { - return new RouteFilterRulesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of RouteFilterRulesOperations. + public virtual RouteFilterRulesOperations RouteFilterRules => new RouteFilterRulesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of RouteTablesClient. - public virtual RouteTablesClient GetRouteTablesClient() - { - return new RouteTablesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of RouteTablesOperations. + public virtual RouteTablesOperations RouteTables => new RouteTablesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of RoutesClient. - public virtual RoutesClient GetRoutesClient() - { - return new RoutesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of RoutesOperations. + public virtual RoutesOperations Routes => new RoutesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of SecurityPartnerProvidersClient. - public virtual SecurityPartnerProvidersClient GetSecurityPartnerProvidersClient() - { - return new SecurityPartnerProvidersClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of SecurityPartnerProvidersOperations. + public virtual SecurityPartnerProvidersOperations SecurityPartnerProviders => new SecurityPartnerProvidersOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of BgpServiceCommunitiesClient. - public virtual BgpServiceCommunitiesClient GetBgpServiceCommunitiesClient() - { - return new BgpServiceCommunitiesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of BgpServiceCommunitiesOperations. + public virtual BgpServiceCommunitiesOperations BgpServiceCommunities => new BgpServiceCommunitiesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ServiceEndpointPoliciesClient. - public virtual ServiceEndpointPoliciesClient GetServiceEndpointPoliciesClient() - { - return new ServiceEndpointPoliciesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ServiceEndpointPoliciesOperations. + public virtual ServiceEndpointPoliciesOperations ServiceEndpointPolicies => new ServiceEndpointPoliciesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ServiceEndpointPolicyDefinitionsClient. - public virtual ServiceEndpointPolicyDefinitionsClient GetServiceEndpointPolicyDefinitionsClient() - { - return new ServiceEndpointPolicyDefinitionsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ServiceEndpointPolicyDefinitionsOperations. + public virtual ServiceEndpointPolicyDefinitionsOperations ServiceEndpointPolicyDefinitions => new ServiceEndpointPolicyDefinitionsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ServiceTagsClient. - public virtual ServiceTagsClient GetServiceTagsClient() - { - return new ServiceTagsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ServiceTagsOperations. + public virtual ServiceTagsOperations ServiceTags => new ServiceTagsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of UsagesClient. - public virtual UsagesClient GetUsagesClient() - { - return new UsagesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of UsagesOperations. + public virtual UsagesOperations Usages => new UsagesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VirtualNetworksClient. - public virtual VirtualNetworksClient GetVirtualNetworksClient() - { - return new VirtualNetworksClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VirtualNetworksOperations. + public virtual VirtualNetworksOperations VirtualNetworks => new VirtualNetworksOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of SubnetsClient. - public virtual SubnetsClient GetSubnetsClient() - { - return new SubnetsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of SubnetsOperations. + public virtual SubnetsOperations Subnets => new SubnetsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ResourceNavigationLinksClient. - public virtual ResourceNavigationLinksClient GetResourceNavigationLinksClient() - { - return new ResourceNavigationLinksClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ResourceNavigationLinksOperations. + public virtual ResourceNavigationLinksOperations ResourceNavigationLinks => new ResourceNavigationLinksOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ServiceAssociationLinksClient. - public virtual ServiceAssociationLinksClient GetServiceAssociationLinksClient() - { - return new ServiceAssociationLinksClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ServiceAssociationLinksOperations. + public virtual ServiceAssociationLinksOperations ServiceAssociationLinks => new ServiceAssociationLinksOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VirtualNetworkPeeringsClient. - public virtual VirtualNetworkPeeringsClient GetVirtualNetworkPeeringsClient() - { - return new VirtualNetworkPeeringsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VirtualNetworkPeeringsOperations. + public virtual VirtualNetworkPeeringsOperations VirtualNetworkPeerings => new VirtualNetworkPeeringsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VirtualNetworkGatewaysClient. - public virtual VirtualNetworkGatewaysClient GetVirtualNetworkGatewaysClient() - { - return new VirtualNetworkGatewaysClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VirtualNetworkGatewaysOperations. + public virtual VirtualNetworkGatewaysOperations VirtualNetworkGateways => new VirtualNetworkGatewaysOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VirtualNetworkGatewayConnectionsClient. - public virtual VirtualNetworkGatewayConnectionsClient GetVirtualNetworkGatewayConnectionsClient() - { - return new VirtualNetworkGatewayConnectionsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VirtualNetworkGatewayConnectionsOperations. + public virtual VirtualNetworkGatewayConnectionsOperations VirtualNetworkGatewayConnections => new VirtualNetworkGatewayConnectionsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of LocalNetworkGatewaysClient. - public virtual LocalNetworkGatewaysClient GetLocalNetworkGatewaysClient() - { - return new LocalNetworkGatewaysClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of LocalNetworkGatewaysOperations. + public virtual LocalNetworkGatewaysOperations LocalNetworkGateways => new LocalNetworkGatewaysOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VirtualNetworkTapsClient. - public virtual VirtualNetworkTapsClient GetVirtualNetworkTapsClient() - { - return new VirtualNetworkTapsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VirtualNetworkTapsOperations. + public virtual VirtualNetworkTapsOperations VirtualNetworkTaps => new VirtualNetworkTapsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VirtualRoutersClient. - public virtual VirtualRoutersClient GetVirtualRoutersClient() - { - return new VirtualRoutersClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VirtualRoutersOperations. + public virtual VirtualRoutersOperations VirtualRouters => new VirtualRoutersOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VirtualRouterPeeringsClient. - public virtual VirtualRouterPeeringsClient GetVirtualRouterPeeringsClient() - { - return new VirtualRouterPeeringsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VirtualRouterPeeringsOperations. + public virtual VirtualRouterPeeringsOperations VirtualRouterPeerings => new VirtualRouterPeeringsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VirtualWansClient. - public virtual VirtualWansClient GetVirtualWansClient() - { - return new VirtualWansClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VirtualWansOperations. + public virtual VirtualWansOperations VirtualWans => new VirtualWansOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VpnSitesClient. - public virtual VpnSitesClient GetVpnSitesClient() - { - return new VpnSitesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VpnSitesOperations. + public virtual VpnSitesOperations VpnSites => new VpnSitesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VpnSiteLinksClient. - public virtual VpnSiteLinksClient GetVpnSiteLinksClient() - { - return new VpnSiteLinksClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VpnSiteLinksOperations. + public virtual VpnSiteLinksOperations VpnSiteLinks => new VpnSiteLinksOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VpnSitesConfigurationClient. - public virtual VpnSitesConfigurationClient GetVpnSitesConfigurationClient() - { - return new VpnSitesConfigurationClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VpnSitesConfigurationOperations. + public virtual VpnSitesConfigurationOperations VpnSitesConfiguration => new VpnSitesConfigurationOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VpnServerConfigurationsClient. - public virtual VpnServerConfigurationsClient GetVpnServerConfigurationsClient() - { - return new VpnServerConfigurationsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VpnServerConfigurationsOperations. + public virtual VpnServerConfigurationsOperations VpnServerConfigurations => new VpnServerConfigurationsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VirtualHubsClient. - public virtual VirtualHubsClient GetVirtualHubsClient() - { - return new VirtualHubsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VirtualHubsOperations. + public virtual VirtualHubsOperations VirtualHubs => new VirtualHubsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of HubVirtualNetworkConnectionsClient. - public virtual HubVirtualNetworkConnectionsClient GetHubVirtualNetworkConnectionsClient() - { - return new HubVirtualNetworkConnectionsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of HubVirtualNetworkConnectionsOperations. + public virtual HubVirtualNetworkConnectionsOperations HubVirtualNetworkConnections => new HubVirtualNetworkConnectionsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VpnGatewaysClient. - public virtual VpnGatewaysClient GetVpnGatewaysClient() - { - return new VpnGatewaysClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VpnGatewaysOperations. + public virtual VpnGatewaysOperations VpnGateways => new VpnGatewaysOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VpnConnectionsClient. - public virtual VpnConnectionsClient GetVpnConnectionsClient() - { - return new VpnConnectionsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VpnConnectionsOperations. + public virtual VpnConnectionsOperations VpnConnections => new VpnConnectionsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VpnSiteLinkConnectionsClient. - public virtual VpnSiteLinkConnectionsClient GetVpnSiteLinkConnectionsClient() - { - return new VpnSiteLinkConnectionsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VpnSiteLinkConnectionsOperations. + public virtual VpnSiteLinkConnectionsOperations VpnSiteLinkConnections => new VpnSiteLinkConnectionsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VpnLinkConnectionsClient. - public virtual VpnLinkConnectionsClient GetVpnLinkConnectionsClient() - { - return new VpnLinkConnectionsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VpnLinkConnectionsOperations. + public virtual VpnLinkConnectionsOperations VpnLinkConnections => new VpnLinkConnectionsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of P2SVpnGatewaysClient. - public virtual P2SVpnGatewaysClient GetP2SVpnGatewaysClient() - { - return new P2SVpnGatewaysClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of P2SVpnGatewaysOperations. + public virtual P2SVpnGatewaysOperations P2SVpnGateways => new P2SVpnGatewaysOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VpnServerConfigurationsAssociatedWithVirtualWanClient. - public virtual VpnServerConfigurationsAssociatedWithVirtualWanClient GetVpnServerConfigurationsAssociatedWithVirtualWanClient() - { - return new VpnServerConfigurationsAssociatedWithVirtualWanClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VpnServerConfigurationsAssociatedWithVirtualWanOperations. + public virtual VpnServerConfigurationsAssociatedWithVirtualWanOperations VpnServerConfigurationsAssociatedWithVirtualWan => new VpnServerConfigurationsAssociatedWithVirtualWanOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of VirtualHubRouteTableV2SClient. - public virtual VirtualHubRouteTableV2SClient GetVirtualHubRouteTableV2SClient() - { - return new VirtualHubRouteTableV2SClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of VirtualHubRouteTableV2SOperations. + public virtual VirtualHubRouteTableV2SOperations VirtualHubRouteTableV2S => new VirtualHubRouteTableV2SOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ExpressRouteGatewaysClient. - public virtual ExpressRouteGatewaysClient GetExpressRouteGatewaysClient() - { - return new ExpressRouteGatewaysClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ExpressRouteGatewaysOperations. + public virtual ExpressRouteGatewaysOperations ExpressRouteGateways => new ExpressRouteGatewaysOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ExpressRouteConnectionsClient. - public virtual ExpressRouteConnectionsClient GetExpressRouteConnectionsClient() - { - return new ExpressRouteConnectionsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ExpressRouteConnectionsOperations. + public virtual ExpressRouteConnectionsOperations ExpressRouteConnections => new ExpressRouteConnectionsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of HubRouteTablesClient. - public virtual HubRouteTablesClient GetHubRouteTablesClient() - { - return new HubRouteTablesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of HubRouteTablesOperations. + public virtual HubRouteTablesOperations HubRouteTables => new HubRouteTablesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of WebApplicationFirewallPoliciesClient. - public virtual WebApplicationFirewallPoliciesClient GetWebApplicationFirewallPoliciesClient() - { - return new WebApplicationFirewallPoliciesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of WebApplicationFirewallPoliciesOperations. + public virtual WebApplicationFirewallPoliciesOperations WebApplicationFirewallPolicies => new WebApplicationFirewallPoliciesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); } } diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkProfilesClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkProfilesOperations.cs similarity index 94% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkProfilesClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkProfilesOperations.cs index 79715d42d3e26..aeb9936f8fd4b 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkProfilesClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkProfilesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The NetworkProfiles service client. - public partial class NetworkProfilesClient + public partial class NetworkProfilesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal NetworkProfilesRestClient RestClient { get; } - /// Initializes a new instance of NetworkProfilesClient for mocking. - protected NetworkProfilesClient() + internal NetworkProfilesRestOperations RestClient { get; } + /// Initializes a new instance of NetworkProfilesOperations for mocking. + protected NetworkProfilesOperations() { } - /// Initializes a new instance of NetworkProfilesClient. + /// Initializes a new instance of NetworkProfilesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal NetworkProfilesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal NetworkProfilesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new NetworkProfilesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new NetworkProfilesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal NetworkProfilesClient(ClientDiagnostics clientDiagnostics, HttpPipeline /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string networkProfileName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkProfilesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("NetworkProfilesOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGrou /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string networkProfileName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkProfilesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("NetworkProfilesOperations.Get"); scope.Start(); try { @@ -84,7 +84,7 @@ public virtual Response Get(string resourceGroupName, string net /// The cancellation token to use. public virtual async Task> CreateOrUpdateAsync(string resourceGroupName, string networkProfileName, NetworkProfile parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkProfilesClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("NetworkProfilesOperations.CreateOrUpdate"); scope.Start(); try { @@ -104,7 +104,7 @@ public virtual async Task> CreateOrUpdateAsync(string r /// The cancellation token to use. public virtual Response CreateOrUpdate(string resourceGroupName, string networkProfileName, NetworkProfile parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkProfilesClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("NetworkProfilesOperations.CreateOrUpdate"); scope.Start(); try { @@ -124,7 +124,7 @@ public virtual Response CreateOrUpdate(string resourceGroupName, /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string networkProfileName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkProfilesClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("NetworkProfilesOperations.UpdateTags"); scope.Start(); try { @@ -144,7 +144,7 @@ public virtual async Task> UpdateTagsAsync(string resou /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string networkProfileName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkProfilesClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("NetworkProfilesOperations.UpdateTags"); scope.Start(); try { @@ -163,7 +163,7 @@ public virtual AsyncPageable ListAllAsync(CancellationToken canc { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkProfilesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("NetworkProfilesOperations.ListAll"); scope.Start(); try { @@ -178,7 +178,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkProfilesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("NetworkProfilesOperations.ListAll"); scope.Start(); try { @@ -200,7 +200,7 @@ public virtual Pageable ListAll(CancellationToken cancellationTo { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkProfilesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("NetworkProfilesOperations.ListAll"); scope.Start(); try { @@ -215,7 +215,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkProfilesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("NetworkProfilesOperations.ListAll"); scope.Start(); try { @@ -243,7 +243,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName, async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkProfilesClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkProfilesOperations.List"); scope.Start(); try { @@ -258,7 +258,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkProfilesClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkProfilesOperations.List"); scope.Start(); try { @@ -286,7 +286,7 @@ public virtual Pageable List(string resourceGroupName, Cancellat Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkProfilesClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkProfilesOperations.List"); scope.Start(); try { @@ -301,7 +301,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkProfilesClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkProfilesOperations.List"); scope.Start(); try { @@ -332,7 +332,7 @@ public virtual async Task StartDeleteAsync(strin throw new ArgumentNullException(nameof(networkProfileName)); } - using var scope = _clientDiagnostics.CreateScope("NetworkProfilesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("NetworkProfilesOperations.StartDelete"); scope.Start(); try { @@ -361,7 +361,7 @@ public virtual NetworkProfilesDeleteOperation StartDelete(string resourceGroupNa throw new ArgumentNullException(nameof(networkProfileName)); } - using var scope = _clientDiagnostics.CreateScope("NetworkProfilesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("NetworkProfilesOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkProfilesRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkProfilesRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkProfilesRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkProfilesRestOperations.cs index 33b2d229eea82..90d6256297f94 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkProfilesRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkProfilesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class NetworkProfilesRestClient + internal partial class NetworkProfilesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of NetworkProfilesRestClient. + /// Initializes a new instance of NetworkProfilesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public NetworkProfilesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public NetworkProfilesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkSecurityGroupsClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkSecurityGroupsOperations.cs similarity index 93% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkSecurityGroupsClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkSecurityGroupsOperations.cs index c42149a52b498..8fc63f75da898 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkSecurityGroupsClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkSecurityGroupsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The NetworkSecurityGroups service client. - public partial class NetworkSecurityGroupsClient + public partial class NetworkSecurityGroupsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal NetworkSecurityGroupsRestClient RestClient { get; } - /// Initializes a new instance of NetworkSecurityGroupsClient for mocking. - protected NetworkSecurityGroupsClient() + internal NetworkSecurityGroupsRestOperations RestClient { get; } + /// Initializes a new instance of NetworkSecurityGroupsOperations for mocking. + protected NetworkSecurityGroupsOperations() { } - /// Initializes a new instance of NetworkSecurityGroupsClient. + /// Initializes a new instance of NetworkSecurityGroupsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal NetworkSecurityGroupsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal NetworkSecurityGroupsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new NetworkSecurityGroupsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new NetworkSecurityGroupsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal NetworkSecurityGroupsClient(ClientDiagnostics clientDiagnostics, HttpPi /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string networkSecurityGroupName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resour /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string networkSecurityGroupName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsOperations.Get"); scope.Start(); try { @@ -84,7 +84,7 @@ public virtual Response Get(string resourceGroupName, stri /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string networkSecurityGroupName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsOperations.UpdateTags"); scope.Start(); try { @@ -104,7 +104,7 @@ public virtual async Task> UpdateTagsAsync(string /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string networkSecurityGroupName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsOperations.UpdateTags"); scope.Start(); try { @@ -123,7 +123,7 @@ public virtual AsyncPageable ListAllAsync(CancellationToke { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsOperations.ListAll"); scope.Start(); try { @@ -138,7 +138,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsOperations.ListAll"); scope.Start(); try { @@ -160,7 +160,7 @@ public virtual Pageable ListAll(CancellationToken cancella { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsOperations.ListAll"); scope.Start(); try { @@ -175,7 +175,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsOperations.ListAll"); scope.Start(); try { @@ -203,7 +203,7 @@ public virtual AsyncPageable ListAsync(string resourceGrou async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsOperations.List"); scope.Start(); try { @@ -218,7 +218,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsOperations.List"); scope.Start(); try { @@ -246,7 +246,7 @@ public virtual Pageable List(string resourceGroupName, Can Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsOperations.List"); scope.Start(); try { @@ -261,7 +261,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsOperations.List"); scope.Start(); try { @@ -292,7 +292,7 @@ public virtual async Task StartDeleteAsync throw new ArgumentNullException(nameof(networkSecurityGroupName)); } - using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsOperations.StartDelete"); scope.Start(); try { @@ -321,7 +321,7 @@ public virtual NetworkSecurityGroupsDeleteOperation StartDelete(string resourceG throw new ArgumentNullException(nameof(networkSecurityGroupName)); } - using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsOperations.StartDelete"); scope.Start(); try { @@ -355,7 +355,7 @@ public virtual async Task StartCre throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -389,7 +389,7 @@ public virtual NetworkSecurityGroupsCreateOrUpdateOperation StartCreateOrUpdate( throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("NetworkSecurityGroupsOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkSecurityGroupsRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkSecurityGroupsRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkSecurityGroupsRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkSecurityGroupsRestOperations.cs index e764fa51f6eea..dd39ee374b2d7 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkSecurityGroupsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkSecurityGroupsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class NetworkSecurityGroupsRestClient + internal partial class NetworkSecurityGroupsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of NetworkSecurityGroupsRestClient. + /// Initializes a new instance of NetworkSecurityGroupsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public NetworkSecurityGroupsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public NetworkSecurityGroupsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkVirtualAppliancesClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkVirtualAppliancesOperations.cs similarity index 93% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkVirtualAppliancesClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkVirtualAppliancesOperations.cs index bb555852ddb41..3b49909068eb5 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkVirtualAppliancesClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkVirtualAppliancesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The NetworkVirtualAppliances service client. - public partial class NetworkVirtualAppliancesClient + public partial class NetworkVirtualAppliancesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal NetworkVirtualAppliancesRestClient RestClient { get; } - /// Initializes a new instance of NetworkVirtualAppliancesClient for mocking. - protected NetworkVirtualAppliancesClient() + internal NetworkVirtualAppliancesRestOperations RestClient { get; } + /// Initializes a new instance of NetworkVirtualAppliancesOperations for mocking. + protected NetworkVirtualAppliancesOperations() { } - /// Initializes a new instance of NetworkVirtualAppliancesClient. + /// Initializes a new instance of NetworkVirtualAppliancesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal NetworkVirtualAppliancesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal NetworkVirtualAppliancesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new NetworkVirtualAppliancesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new NetworkVirtualAppliancesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal NetworkVirtualAppliancesClient(ClientDiagnostics clientDiagnostics, Htt /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string networkVirtualApplianceName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string res /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string networkVirtualApplianceName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesOperations.Get"); scope.Start(); try { @@ -84,7 +84,7 @@ public virtual Response Get(string resourceGroupName, s /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string networkVirtualApplianceName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesOperations.UpdateTags"); scope.Start(); try { @@ -104,7 +104,7 @@ public virtual async Task> UpdateTagsAsync(str /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string networkVirtualApplianceName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesOperations.UpdateTags"); scope.Start(); try { @@ -129,7 +129,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(s async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesOperations.ListByResourceGroup"); scope.Start(); try { @@ -144,7 +144,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesOperations.ListByResourceGroup"); scope.Start(); try { @@ -172,7 +172,7 @@ public virtual Pageable ListByResourceGroup(string reso Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesOperations.ListByResourceGroup"); scope.Start(); try { @@ -187,7 +187,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesOperations.ListByResourceGroup"); scope.Start(); try { @@ -209,7 +209,7 @@ public virtual AsyncPageable ListAsync(CancellationToke { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesOperations.List"); scope.Start(); try { @@ -224,7 +224,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesOperations.List"); scope.Start(); try { @@ -246,7 +246,7 @@ public virtual Pageable List(CancellationToken cancella { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesOperations.List"); scope.Start(); try { @@ -261,7 +261,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesOperations.List"); scope.Start(); try { @@ -292,7 +292,7 @@ public virtual async Task StartDeleteAs throw new ArgumentNullException(nameof(networkVirtualApplianceName)); } - using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesOperations.StartDelete"); scope.Start(); try { @@ -321,7 +321,7 @@ public virtual NetworkVirtualAppliancesDeleteOperation StartDelete(string resour throw new ArgumentNullException(nameof(networkVirtualApplianceName)); } - using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesOperations.StartDelete"); scope.Start(); try { @@ -355,7 +355,7 @@ public virtual async Task Start throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -389,7 +389,7 @@ public virtual NetworkVirtualAppliancesCreateOrUpdateOperation StartCreateOrUpda throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("NetworkVirtualAppliancesOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkVirtualAppliancesRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkVirtualAppliancesRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkVirtualAppliancesRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkVirtualAppliancesRestOperations.cs index c15b2293b0f7c..5c1351b6c1ae1 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkVirtualAppliancesRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkVirtualAppliancesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class NetworkVirtualAppliancesRestClient + internal partial class NetworkVirtualAppliancesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of NetworkVirtualAppliancesRestClient. + /// Initializes a new instance of NetworkVirtualAppliancesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public NetworkVirtualAppliancesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public NetworkVirtualAppliancesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkWatchersClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkWatchersOperations.cs similarity index 96% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkWatchersClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkWatchersOperations.cs index f2129cb51ec77..3925b29bc35b4 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkWatchersClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/NetworkWatchersOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The NetworkWatchers service client. - public partial class NetworkWatchersClient + public partial class NetworkWatchersOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal NetworkWatchersRestClient RestClient { get; } - /// Initializes a new instance of NetworkWatchersClient for mocking. - protected NetworkWatchersClient() + internal NetworkWatchersRestOperations RestClient { get; } + /// Initializes a new instance of NetworkWatchersOperations for mocking. + protected NetworkWatchersOperations() { } - /// Initializes a new instance of NetworkWatchersClient. + /// Initializes a new instance of NetworkWatchersOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal NetworkWatchersClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal NetworkWatchersOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new NetworkWatchersRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new NetworkWatchersRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal NetworkWatchersClient(ClientDiagnostics clientDiagnostics, HttpPipeline /// The cancellation token to use. public virtual async Task> CreateOrUpdateAsync(string resourceGroupName, string networkWatcherName, NetworkWatcher parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.CreateOrUpdate"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> CreateOrUpdateAsync(string r /// The cancellation token to use. public virtual Response CreateOrUpdate(string resourceGroupName, string networkWatcherName, NetworkWatcher parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.CreateOrUpdate"); scope.Start(); try { @@ -83,7 +83,7 @@ public virtual Response CreateOrUpdate(string resourceGroupName, /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string networkWatcherName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.Get"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.Get"); scope.Start(); try { @@ -102,7 +102,7 @@ public virtual async Task> GetAsync(string resourceGrou /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string networkWatcherName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.Get"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.Get"); scope.Start(); try { @@ -122,7 +122,7 @@ public virtual Response Get(string resourceGroupName, string net /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string networkWatcherName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.UpdateTags"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual async Task> UpdateTagsAsync(string resou /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string networkWatcherName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.UpdateTags"); scope.Start(); try { @@ -162,7 +162,7 @@ public virtual Response UpdateTags(string resourceGroupName, str /// The cancellation token to use. public virtual async Task> GetTopologyAsync(string resourceGroupName, string networkWatcherName, TopologyParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.GetTopology"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.GetTopology"); scope.Start(); try { @@ -182,7 +182,7 @@ public virtual async Task> GetTopologyAsync(string resourceGr /// The cancellation token to use. public virtual Response GetTopology(string resourceGroupName, string networkWatcherName, TopologyParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.GetTopology"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.GetTopology"); scope.Start(); try { @@ -207,7 +207,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName, async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.List"); scope.Start(); try { @@ -235,7 +235,7 @@ public virtual Pageable List(string resourceGroupName, Cancellat Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.List"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.List"); scope.Start(); try { @@ -257,7 +257,7 @@ public virtual AsyncPageable ListAllAsync(CancellationToken canc { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.ListAll"); scope.Start(); try { @@ -279,7 +279,7 @@ public virtual Pageable ListAll(CancellationToken cancellationTo { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.ListAll"); scope.Start(); try { @@ -310,7 +310,7 @@ public virtual async Task StartDeleteAsync(strin throw new ArgumentNullException(nameof(networkWatcherName)); } - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.StartDelete"); scope.Start(); try { @@ -339,7 +339,7 @@ public virtual NetworkWatchersDeleteOperation StartDelete(string resourceGroupNa throw new ArgumentNullException(nameof(networkWatcherName)); } - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.StartDelete"); scope.Start(); try { @@ -373,7 +373,7 @@ public virtual async Task StartVerifyIPFlo throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.StartVerifyIPFlow"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.StartVerifyIPFlow"); scope.Start(); try { @@ -407,7 +407,7 @@ public virtual NetworkWatchersVerifyIPFlowOperation StartVerifyIPFlow(string res throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.StartVerifyIPFlow"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.StartVerifyIPFlow"); scope.Start(); try { @@ -441,7 +441,7 @@ public virtual async Task StartGetNextHopAsy throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.StartGetNextHop"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.StartGetNextHop"); scope.Start(); try { @@ -475,7 +475,7 @@ public virtual NetworkWatchersGetNextHopOperation StartGetNextHop(string resourc throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.StartGetNextHop"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.StartGetNextHop"); scope.Start(); try { @@ -509,7 +509,7 @@ public virtual async Task StartGetVM throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.StartGetVMSecurityRules"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.StartGetVMSecurityRules"); scope.Start(); try { @@ -543,7 +543,7 @@ public virtual NetworkWatchersGetVMSecurityRulesOperation StartGetVMSecurityRule throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.StartGetVMSecurityRules"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.StartGetVMSecurityRules"); scope.Start(); try { @@ -577,7 +577,7 @@ public virtual async Task StartGetTr throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.StartGetTroubleshooting"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.StartGetTroubleshooting"); scope.Start(); try { @@ -611,7 +611,7 @@ public virtual NetworkWatchersGetTroubleshootingOperation StartGetTroubleshootin throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.StartGetTroubleshooting"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.StartGetTroubleshooting"); scope.Start(); try { @@ -645,7 +645,7 @@ public virtual async Task Star throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.StartGetTroubleshootingResult"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.StartGetTroubleshootingResult"); scope.Start(); try { @@ -679,7 +679,7 @@ public virtual NetworkWatchersGetTroubleshootingResultOperation StartGetTroubles throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.StartGetTroubleshootingResult"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.StartGetTroubleshootingResult"); scope.Start(); try { @@ -713,7 +713,7 @@ public virtual async Task Start throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.StartSetFlowLogConfiguration"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.StartSetFlowLogConfiguration"); scope.Start(); try { @@ -747,7 +747,7 @@ public virtual NetworkWatchersSetFlowLogConfigurationOperation StartSetFlowLogCo throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.StartSetFlowLogConfiguration"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.StartSetFlowLogConfiguration"); scope.Start(); try { @@ -781,7 +781,7 @@ public virtual async Task StartGetFlow throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.StartGetFlowLogStatus"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.StartGetFlowLogStatus"); scope.Start(); try { @@ -815,7 +815,7 @@ public virtual NetworkWatchersGetFlowLogStatusOperation StartGetFlowLogStatus(st throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.StartGetFlowLogStatus"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.StartGetFlowLogStatus"); scope.Start(); try { @@ -849,7 +849,7 @@ public virtual async Task StartCheckC throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.StartCheckConnectivity"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.StartCheckConnectivity"); scope.Start(); try { @@ -883,7 +883,7 @@ public virtual NetworkWatchersCheckConnectivityOperation StartCheckConnectivity( throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.StartCheckConnectivity"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.StartCheckConnectivity"); scope.Start(); try { @@ -917,7 +917,7 @@ public virtual async Task St throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.StartGetAzureReachabilityReport"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.StartGetAzureReachabilityReport"); scope.Start(); try { @@ -951,7 +951,7 @@ public virtual NetworkWatchersGetAzureReachabilityReportOperation StartGetAzureR throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.StartGetAzureReachabilityReport"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.StartGetAzureReachabilityReport"); scope.Start(); try { @@ -985,7 +985,7 @@ public virtual async Task StartL throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.StartListAvailableProviders"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.StartListAvailableProviders"); scope.Start(); try { @@ -1019,7 +1019,7 @@ public virtual NetworkWatchersListAvailableProvidersOperation StartListAvailable throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("NetworkWatchersClient.StartListAvailableProviders"); + using var scope = _clientDiagnostics.CreateScope("NetworkWatchersOperations.StartListAvailableProviders"); scope.Start(); try { @@ -1053,7 +1053,7 @@ public virtual async Task Initializes a new instance of NetworkWatchersRestClient. + /// Initializes a new instance of NetworkWatchersRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public NetworkWatchersRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public NetworkWatchersRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/OperationsClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/Operations.cs similarity index 85% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/OperationsClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/Operations.cs index 3a019c70cde41..063535b3b9941 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/OperationsClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/Operations.cs @@ -15,23 +15,23 @@ namespace Azure.Management.Network { - /// The Operations service client. - public partial class OperationsClient + /// The service client. + public partial class Operations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal OperationsRestClient RestClient { get; } - /// Initializes a new instance of OperationsClient for mocking. - protected OperationsClient() + internal RestOperations RestClient { get; } + /// Initializes a new instance of Operations for mocking. + protected Operations() { } - /// Initializes a new instance of OperationsClient. + /// Initializes a new instance of Operations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// server parameter. - internal OperationsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null) + internal Operations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null) { - RestClient = new OperationsRestClient(clientDiagnostics, pipeline, endpoint); + RestClient = new RestOperations(clientDiagnostics, pipeline, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -42,7 +42,7 @@ public virtual AsyncPageable ListAsync(CancellationToken cancellation { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("OperationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("Operations.List"); scope.Start(); try { @@ -57,7 +57,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("OperationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("Operations.List"); scope.Start(); try { @@ -79,7 +79,7 @@ public virtual Pageable List(CancellationToken cancellationToken = de { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("OperationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("Operations.List"); scope.Start(); try { @@ -94,7 +94,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("OperationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("Operations.List"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/P2SVpnGatewaysClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/P2SVpnGatewaysOperations.cs similarity index 95% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/P2SVpnGatewaysClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/P2SVpnGatewaysOperations.cs index bd0ca8e6a1a9f..e8d62cb536ffe 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/P2SVpnGatewaysClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/P2SVpnGatewaysOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The P2SVpnGateways service client. - public partial class P2SVpnGatewaysClient + public partial class P2SVpnGatewaysOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal P2SVpnGatewaysRestClient RestClient { get; } - /// Initializes a new instance of P2SVpnGatewaysClient for mocking. - protected P2SVpnGatewaysClient() + internal P2SVpnGatewaysRestOperations RestClient { get; } + /// Initializes a new instance of P2SVpnGatewaysOperations for mocking. + protected P2SVpnGatewaysOperations() { } - /// Initializes a new instance of P2SVpnGatewaysClient. + /// Initializes a new instance of P2SVpnGatewaysOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal P2SVpnGatewaysClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal P2SVpnGatewaysOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new P2SVpnGatewaysRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new P2SVpnGatewaysRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal P2SVpnGatewaysClient(ClientDiagnostics clientDiagnostics, HttpPipeline /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string gatewayName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysClient.Get"); + using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string resourceGroup /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string gatewayName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysClient.Get"); + using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysOperations.Get"); scope.Start(); try { @@ -82,7 +82,7 @@ public virtual Response Get(string resourceGroupName, string gate /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string gatewayName, TagsObject p2SVpnGatewayParameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysOperations.UpdateTags"); scope.Start(); try { @@ -102,7 +102,7 @@ public virtual async Task> UpdateTagsAsync(string resour /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string gatewayName, TagsObject p2SVpnGatewayParameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysOperations.UpdateTags"); scope.Start(); try { @@ -127,7 +127,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(string reso async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysOperations.ListByResourceGroup"); scope.Start(); try { @@ -142,7 +142,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysOperations.ListByResourceGroup"); scope.Start(); try { @@ -170,7 +170,7 @@ public virtual Pageable ListByResourceGroup(string resourceGroupN Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysOperations.ListByResourceGroup"); scope.Start(); try { @@ -185,7 +185,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysOperations.ListByResourceGroup"); scope.Start(); try { @@ -207,7 +207,7 @@ public virtual AsyncPageable ListAsync(CancellationToken cancella { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysClient.List"); + using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysOperations.List"); scope.Start(); try { @@ -222,7 +222,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysClient.List"); + using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysOperations.List"); scope.Start(); try { @@ -244,7 +244,7 @@ public virtual Pageable List(CancellationToken cancellationToken { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysClient.List"); + using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysOperations.List"); scope.Start(); try { @@ -259,7 +259,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysClient.List"); + using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysOperations.List"); scope.Start(); try { @@ -295,7 +295,7 @@ public virtual async Task StartCreateOrUp throw new ArgumentNullException(nameof(p2SVpnGatewayParameters)); } - using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -329,7 +329,7 @@ public virtual P2SVpnGatewaysCreateOrUpdateOperation StartCreateOrUpdate(string throw new ArgumentNullException(nameof(p2SVpnGatewayParameters)); } - using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -358,7 +358,7 @@ public virtual async Task StartDeleteAsync(string throw new ArgumentNullException(nameof(gatewayName)); } - using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysOperations.StartDelete"); scope.Start(); try { @@ -387,7 +387,7 @@ public virtual P2SVpnGatewaysDeleteOperation StartDelete(string resourceGroupNam throw new ArgumentNullException(nameof(gatewayName)); } - using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysOperations.StartDelete"); scope.Start(); try { @@ -421,7 +421,7 @@ public virtual async Task StartGenera throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysClient.StartGenerateVpnProfile"); + using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysOperations.StartGenerateVpnProfile"); scope.Start(); try { @@ -455,7 +455,7 @@ public virtual P2SVpnGatewaysGenerateVpnProfileOperation StartGenerateVpnProfile throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysClient.StartGenerateVpnProfile"); + using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysOperations.StartGenerateVpnProfile"); scope.Start(); try { @@ -484,7 +484,7 @@ public virtual async Task Star throw new ArgumentNullException(nameof(gatewayName)); } - using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysClient.StartGetP2SVpnConnectionHealth"); + using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysOperations.StartGetP2SVpnConnectionHealth"); scope.Start(); try { @@ -513,7 +513,7 @@ public virtual P2SVpnGatewaysGetP2SVpnConnectionHealthOperation StartGetP2SVpnCo throw new ArgumentNullException(nameof(gatewayName)); } - using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysClient.StartGetP2SVpnConnectionHealth"); + using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysOperations.StartGetP2SVpnConnectionHealth"); scope.Start(); try { @@ -547,7 +547,7 @@ public virtual async Task St throw new ArgumentNullException(nameof(request)); } - using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysClient.StartDisconnectP2SVpnConnections"); + using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysOperations.StartDisconnectP2SVpnConnections"); scope.Start(); try { @@ -649,7 +649,7 @@ public virtual P2SVpnGatewaysDisconnectP2SVpnConnectionsOperation StartDisconnec throw new ArgumentNullException(nameof(request)); } - using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysClient.StartDisconnectP2SVpnConnections"); + using var scope = _clientDiagnostics.CreateScope("P2SVpnGatewaysOperations.StartDisconnectP2SVpnConnections"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/P2SVpnGatewaysRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/P2SVpnGatewaysRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/P2SVpnGatewaysRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/P2SVpnGatewaysRestOperations.cs index 85fe289e78f89..fc6085b6b0257 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/P2SVpnGatewaysRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/P2SVpnGatewaysRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class P2SVpnGatewaysRestClient + internal partial class P2SVpnGatewaysRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of P2SVpnGatewaysRestClient. + /// Initializes a new instance of P2SVpnGatewaysRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public P2SVpnGatewaysRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public P2SVpnGatewaysRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PacketCapturesClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PacketCapturesOperations.cs similarity index 95% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PacketCapturesClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PacketCapturesOperations.cs index 038b0cc8ed459..f0714dd6b05bd 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PacketCapturesClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PacketCapturesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The PacketCaptures service client. - public partial class PacketCapturesClient + public partial class PacketCapturesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal PacketCapturesRestClient RestClient { get; } - /// Initializes a new instance of PacketCapturesClient for mocking. - protected PacketCapturesClient() + internal PacketCapturesRestOperations RestClient { get; } + /// Initializes a new instance of PacketCapturesOperations for mocking. + protected PacketCapturesOperations() { } - /// Initializes a new instance of PacketCapturesClient. + /// Initializes a new instance of PacketCapturesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal PacketCapturesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal PacketCapturesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new PacketCapturesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new PacketCapturesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal PacketCapturesClient(ClientDiagnostics clientDiagnostics, HttpPipeline /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string networkWatcherName, string packetCaptureName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PacketCapturesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("PacketCapturesOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourc /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string networkWatcherName, string packetCaptureName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PacketCapturesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("PacketCapturesOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListAsync(string resourceGroup async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PacketCapturesClient.List"); + using var scope = _clientDiagnostics.CreateScope("PacketCapturesOperations.List"); scope.Start(); try { @@ -127,7 +127,7 @@ public virtual Pageable List(string resourceGroupName, stri Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PacketCapturesClient.List"); + using var scope = _clientDiagnostics.CreateScope("PacketCapturesOperations.List"); scope.Start(); try { @@ -168,7 +168,7 @@ public virtual async Task StartCreateAsync(string throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("PacketCapturesClient.StartCreate"); + using var scope = _clientDiagnostics.CreateScope("PacketCapturesOperations.StartCreate"); scope.Start(); try { @@ -207,7 +207,7 @@ public virtual PacketCapturesCreateOperation StartCreate(string resourceGroupNam throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("PacketCapturesClient.StartCreate"); + using var scope = _clientDiagnostics.CreateScope("PacketCapturesOperations.StartCreate"); scope.Start(); try { @@ -241,7 +241,7 @@ public virtual async Task StartDeleteAsync(string throw new ArgumentNullException(nameof(packetCaptureName)); } - using var scope = _clientDiagnostics.CreateScope("PacketCapturesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("PacketCapturesOperations.StartDelete"); scope.Start(); try { @@ -275,7 +275,7 @@ public virtual PacketCapturesDeleteOperation StartDelete(string resourceGroupNam throw new ArgumentNullException(nameof(packetCaptureName)); } - using var scope = _clientDiagnostics.CreateScope("PacketCapturesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("PacketCapturesOperations.StartDelete"); scope.Start(); try { @@ -309,7 +309,7 @@ public virtual async Task StartStopAsync(string res throw new ArgumentNullException(nameof(packetCaptureName)); } - using var scope = _clientDiagnostics.CreateScope("PacketCapturesClient.StartStop"); + using var scope = _clientDiagnostics.CreateScope("PacketCapturesOperations.StartStop"); scope.Start(); try { @@ -343,7 +343,7 @@ public virtual PacketCapturesStopOperation StartStop(string resourceGroupName, s throw new ArgumentNullException(nameof(packetCaptureName)); } - using var scope = _clientDiagnostics.CreateScope("PacketCapturesClient.StartStop"); + using var scope = _clientDiagnostics.CreateScope("PacketCapturesOperations.StartStop"); scope.Start(); try { @@ -377,7 +377,7 @@ public virtual async Task StartGetStatusAsync( throw new ArgumentNullException(nameof(packetCaptureName)); } - using var scope = _clientDiagnostics.CreateScope("PacketCapturesClient.StartGetStatus"); + using var scope = _clientDiagnostics.CreateScope("PacketCapturesOperations.StartGetStatus"); scope.Start(); try { @@ -411,7 +411,7 @@ public virtual PacketCapturesGetStatusOperation StartGetStatus(string resourceGr throw new ArgumentNullException(nameof(packetCaptureName)); } - using var scope = _clientDiagnostics.CreateScope("PacketCapturesClient.StartGetStatus"); + using var scope = _clientDiagnostics.CreateScope("PacketCapturesOperations.StartGetStatus"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PacketCapturesRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PacketCapturesRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PacketCapturesRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PacketCapturesRestOperations.cs index 4d7a49586526e..7d524041c8b26 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PacketCapturesRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PacketCapturesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class PacketCapturesRestClient + internal partial class PacketCapturesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of PacketCapturesRestClient. + /// Initializes a new instance of PacketCapturesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public PacketCapturesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public PacketCapturesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PeerExpressRouteCircuitConnectionsClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PeerExpressRouteCircuitConnectionsOperations.cs similarity index 90% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PeerExpressRouteCircuitConnectionsClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PeerExpressRouteCircuitConnectionsOperations.cs index 73d89397505c8..a565e485a9d45 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PeerExpressRouteCircuitConnectionsClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PeerExpressRouteCircuitConnectionsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The PeerExpressRouteCircuitConnections service client. - public partial class PeerExpressRouteCircuitConnectionsClient + public partial class PeerExpressRouteCircuitConnectionsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal PeerExpressRouteCircuitConnectionsRestClient RestClient { get; } - /// Initializes a new instance of PeerExpressRouteCircuitConnectionsClient for mocking. - protected PeerExpressRouteCircuitConnectionsClient() + internal PeerExpressRouteCircuitConnectionsRestOperations RestClient { get; } + /// Initializes a new instance of PeerExpressRouteCircuitConnectionsOperations for mocking. + protected PeerExpressRouteCircuitConnectionsOperations() { } - /// Initializes a new instance of PeerExpressRouteCircuitConnectionsClient. + /// Initializes a new instance of PeerExpressRouteCircuitConnectionsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal PeerExpressRouteCircuitConnectionsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal PeerExpressRouteCircuitConnectionsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new PeerExpressRouteCircuitConnectionsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new PeerExpressRouteCircuitConnectionsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -45,7 +45,7 @@ internal PeerExpressRouteCircuitConnectionsClient(ClientDiagnostics clientDiagno /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string circuitName, string peeringName, string connectionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PeerExpressRouteCircuitConnectionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("PeerExpressRouteCircuitConnectionsOperations.Get"); scope.Start(); try { @@ -66,7 +66,7 @@ public virtual async Task> GetAsync( /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string circuitName, string peeringName, string connectionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PeerExpressRouteCircuitConnectionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("PeerExpressRouteCircuitConnectionsOperations.Get"); scope.Start(); try { @@ -101,7 +101,7 @@ public virtual AsyncPageable ListAsync(string async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PeerExpressRouteCircuitConnectionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("PeerExpressRouteCircuitConnectionsOperations.List"); scope.Start(); try { @@ -116,7 +116,7 @@ async Task> FirstPageFunc(int? pageSizeH } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PeerExpressRouteCircuitConnectionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("PeerExpressRouteCircuitConnectionsOperations.List"); scope.Start(); try { @@ -154,7 +154,7 @@ public virtual Pageable List(string resourceG Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PeerExpressRouteCircuitConnectionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("PeerExpressRouteCircuitConnectionsOperations.List"); scope.Start(); try { @@ -169,7 +169,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PeerExpressRouteCircuitConnectionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("PeerExpressRouteCircuitConnectionsOperations.List"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PeerExpressRouteCircuitConnectionsRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PeerExpressRouteCircuitConnectionsRestOperations.cs similarity index 98% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PeerExpressRouteCircuitConnectionsRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PeerExpressRouteCircuitConnectionsRestOperations.cs index fef122e078595..ffbfafd16f95a 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PeerExpressRouteCircuitConnectionsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PeerExpressRouteCircuitConnectionsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class PeerExpressRouteCircuitConnectionsRestClient + internal partial class PeerExpressRouteCircuitConnectionsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of PeerExpressRouteCircuitConnectionsRestClient. + /// Initializes a new instance of PeerExpressRouteCircuitConnectionsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public PeerExpressRouteCircuitConnectionsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public PeerExpressRouteCircuitConnectionsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PrivateDnsZoneGroupsClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PrivateDnsZoneGroupsOperations.cs similarity index 94% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PrivateDnsZoneGroupsClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PrivateDnsZoneGroupsOperations.cs index 87eb792de5129..7b3fb77d12f20 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PrivateDnsZoneGroupsClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PrivateDnsZoneGroupsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The PrivateDnsZoneGroups service client. - public partial class PrivateDnsZoneGroupsClient + public partial class PrivateDnsZoneGroupsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal PrivateDnsZoneGroupsRestClient RestClient { get; } - /// Initializes a new instance of PrivateDnsZoneGroupsClient for mocking. - protected PrivateDnsZoneGroupsClient() + internal PrivateDnsZoneGroupsRestOperations RestClient { get; } + /// Initializes a new instance of PrivateDnsZoneGroupsOperations for mocking. + protected PrivateDnsZoneGroupsOperations() { } - /// Initializes a new instance of PrivateDnsZoneGroupsClient. + /// Initializes a new instance of PrivateDnsZoneGroupsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal PrivateDnsZoneGroupsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal PrivateDnsZoneGroupsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new PrivateDnsZoneGroupsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new PrivateDnsZoneGroupsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal PrivateDnsZoneGroupsClient(ClientDiagnostics clientDiagnostics, HttpPip /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string privateEndpointName, string privateDnsZoneGroupName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateDnsZoneGroupsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("PrivateDnsZoneGroupsOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourc /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string privateEndpointName, string privateDnsZoneGroupName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateDnsZoneGroupsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("PrivateDnsZoneGroupsOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListAsync(string privateEndpoi async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateDnsZoneGroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("PrivateDnsZoneGroupsOperations.List"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateDnsZoneGroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("PrivateDnsZoneGroupsOperations.List"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable List(string privateEndpointName, st Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateDnsZoneGroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("PrivateDnsZoneGroupsOperations.List"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateDnsZoneGroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("PrivateDnsZoneGroupsOperations.List"); scope.Start(); try { @@ -193,7 +193,7 @@ public virtual async Task StartDeleteAsync( throw new ArgumentNullException(nameof(privateDnsZoneGroupName)); } - using var scope = _clientDiagnostics.CreateScope("PrivateDnsZoneGroupsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("PrivateDnsZoneGroupsOperations.StartDelete"); scope.Start(); try { @@ -227,7 +227,7 @@ public virtual PrivateDnsZoneGroupsDeleteOperation StartDelete(string resourceGr throw new ArgumentNullException(nameof(privateDnsZoneGroupName)); } - using var scope = _clientDiagnostics.CreateScope("PrivateDnsZoneGroupsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("PrivateDnsZoneGroupsOperations.StartDelete"); scope.Start(); try { @@ -266,7 +266,7 @@ public virtual async Task StartCrea throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("PrivateDnsZoneGroupsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("PrivateDnsZoneGroupsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -305,7 +305,7 @@ public virtual PrivateDnsZoneGroupsCreateOrUpdateOperation StartCreateOrUpdate(s throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("PrivateDnsZoneGroupsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("PrivateDnsZoneGroupsOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PrivateDnsZoneGroupsRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PrivateDnsZoneGroupsRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PrivateDnsZoneGroupsRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PrivateDnsZoneGroupsRestOperations.cs index 123368dd9e27d..2b083cb156ffb 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PrivateDnsZoneGroupsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PrivateDnsZoneGroupsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class PrivateDnsZoneGroupsRestClient + internal partial class PrivateDnsZoneGroupsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of PrivateDnsZoneGroupsRestClient. + /// Initializes a new instance of PrivateDnsZoneGroupsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public PrivateDnsZoneGroupsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public PrivateDnsZoneGroupsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PrivateEndpointsClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PrivateEndpointsOperations.cs similarity index 93% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PrivateEndpointsClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PrivateEndpointsOperations.cs index c8f2cba13ec76..8e7d0bd89b50c 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PrivateEndpointsClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PrivateEndpointsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The PrivateEndpoints service client. - public partial class PrivateEndpointsClient + public partial class PrivateEndpointsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal PrivateEndpointsRestClient RestClient { get; } - /// Initializes a new instance of PrivateEndpointsClient for mocking. - protected PrivateEndpointsClient() + internal PrivateEndpointsRestOperations RestClient { get; } + /// Initializes a new instance of PrivateEndpointsOperations for mocking. + protected PrivateEndpointsOperations() { } - /// Initializes a new instance of PrivateEndpointsClient. + /// Initializes a new instance of PrivateEndpointsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal PrivateEndpointsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal PrivateEndpointsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new PrivateEndpointsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new PrivateEndpointsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal PrivateEndpointsClient(ClientDiagnostics clientDiagnostics, HttpPipelin /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string privateEndpointName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGro /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string privateEndpointName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsOperations.Get"); scope.Start(); try { @@ -89,7 +89,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsClient.List"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsOperations.List"); scope.Start(); try { @@ -104,7 +104,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsClient.List"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsOperations.List"); scope.Start(); try { @@ -132,7 +132,7 @@ public virtual Pageable List(string resourceGroupName, Cancella Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsClient.List"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsOperations.List"); scope.Start(); try { @@ -147,7 +147,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsClient.List"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsOperations.List"); scope.Start(); try { @@ -169,7 +169,7 @@ public virtual AsyncPageable ListBySubscriptionAsync(Cancellati { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsOperations.ListBySubscription"); scope.Start(); try { @@ -184,7 +184,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsOperations.ListBySubscription"); scope.Start(); try { @@ -206,7 +206,7 @@ public virtual Pageable ListBySubscription(CancellationToken ca { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsOperations.ListBySubscription"); scope.Start(); try { @@ -221,7 +221,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsOperations.ListBySubscription"); scope.Start(); try { @@ -252,7 +252,7 @@ public virtual async Task StartDeleteAsync(stri throw new ArgumentNullException(nameof(privateEndpointName)); } - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsOperations.StartDelete"); scope.Start(); try { @@ -281,7 +281,7 @@ public virtual PrivateEndpointsDeleteOperation StartDelete(string resourceGroupN throw new ArgumentNullException(nameof(privateEndpointName)); } - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsOperations.StartDelete"); scope.Start(); try { @@ -315,7 +315,7 @@ public virtual async Task StartCreateOr throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -349,7 +349,7 @@ public virtual PrivateEndpointsCreateOrUpdateOperation StartCreateOrUpdate(strin throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointsOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PrivateEndpointsRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PrivateEndpointsRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PrivateEndpointsRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PrivateEndpointsRestOperations.cs index 3fae1f6d8014e..6095b53c6e45c 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PrivateEndpointsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PrivateEndpointsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class PrivateEndpointsRestClient + internal partial class PrivateEndpointsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of PrivateEndpointsRestClient. + /// Initializes a new instance of PrivateEndpointsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public PrivateEndpointsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public PrivateEndpointsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PrivateLinkServicesClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PrivateLinkServicesOperations.cs similarity index 94% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PrivateLinkServicesClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PrivateLinkServicesOperations.cs index 73979cf20c6f4..906498c7f85fe 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PrivateLinkServicesClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PrivateLinkServicesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The PrivateLinkServices service client. - public partial class PrivateLinkServicesClient + public partial class PrivateLinkServicesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal PrivateLinkServicesRestClient RestClient { get; } - /// Initializes a new instance of PrivateLinkServicesClient for mocking. - protected PrivateLinkServicesClient() + internal PrivateLinkServicesRestOperations RestClient { get; } + /// Initializes a new instance of PrivateLinkServicesOperations for mocking. + protected PrivateLinkServicesOperations() { } - /// Initializes a new instance of PrivateLinkServicesClient. + /// Initializes a new instance of PrivateLinkServicesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal PrivateLinkServicesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal PrivateLinkServicesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new PrivateLinkServicesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new PrivateLinkServicesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal PrivateLinkServicesClient(ClientDiagnostics clientDiagnostics, HttpPipe /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string serviceName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resource /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string serviceName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.Get"); scope.Start(); try { @@ -85,7 +85,7 @@ public virtual Response Get(string resourceGroupName, string /// The cancellation token to use. public virtual async Task> GetPrivateEndpointConnectionAsync(string resourceGroupName, string serviceName, string peConnectionName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.GetPrivateEndpointConnection"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.GetPrivateEndpointConnection"); scope.Start(); try { @@ -106,7 +106,7 @@ public virtual async Task> GetPrivateEndpoin /// The cancellation token to use. public virtual Response GetPrivateEndpointConnection(string resourceGroupName, string serviceName, string peConnectionName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.GetPrivateEndpointConnection"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.GetPrivateEndpointConnection"); scope.Start(); try { @@ -127,7 +127,7 @@ public virtual Response GetPrivateEndpointConnection( /// The cancellation token to use. public virtual async Task> UpdatePrivateEndpointConnectionAsync(string resourceGroupName, string serviceName, string peConnectionName, PrivateEndpointConnection parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.UpdatePrivateEndpointConnection"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.UpdatePrivateEndpointConnection"); scope.Start(); try { @@ -148,7 +148,7 @@ public virtual async Task> UpdatePrivateEndp /// The cancellation token to use. public virtual Response UpdatePrivateEndpointConnection(string resourceGroupName, string serviceName, string peConnectionName, PrivateEndpointConnection parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.UpdatePrivateEndpointConnection"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.UpdatePrivateEndpointConnection"); scope.Start(); try { @@ -167,7 +167,7 @@ public virtual Response UpdatePrivateEndpointConnecti /// The cancellation token to use. public virtual async Task> CheckPrivateLinkServiceVisibilityAsync(string location, CheckPrivateLinkServiceVisibilityRequest parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.CheckPrivateLinkServiceVisibility"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.CheckPrivateLinkServiceVisibility"); scope.Start(); try { @@ -186,7 +186,7 @@ public virtual async Task> CheckPrivateLi /// The cancellation token to use. public virtual Response CheckPrivateLinkServiceVisibility(string location, CheckPrivateLinkServiceVisibilityRequest parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.CheckPrivateLinkServiceVisibility"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.CheckPrivateLinkServiceVisibility"); scope.Start(); try { @@ -206,7 +206,7 @@ public virtual Response CheckPrivateLinkServiceVis /// The cancellation token to use. public virtual async Task> CheckPrivateLinkServiceVisibilityByResourceGroupAsync(string location, string resourceGroupName, CheckPrivateLinkServiceVisibilityRequest parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.CheckPrivateLinkServiceVisibilityByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.CheckPrivateLinkServiceVisibilityByResourceGroup"); scope.Start(); try { @@ -226,7 +226,7 @@ public virtual async Task> CheckPrivateLi /// The cancellation token to use. public virtual Response CheckPrivateLinkServiceVisibilityByResourceGroup(string location, string resourceGroupName, CheckPrivateLinkServiceVisibilityRequest parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.CheckPrivateLinkServiceVisibilityByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.CheckPrivateLinkServiceVisibilityByResourceGroup"); scope.Start(); try { @@ -251,7 +251,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupN async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.List"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.List"); scope.Start(); try { @@ -266,7 +266,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.List"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.List"); scope.Start(); try { @@ -294,7 +294,7 @@ public virtual Pageable List(string resourceGroupName, Cance Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.List"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.List"); scope.Start(); try { @@ -309,7 +309,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.List"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.List"); scope.Start(); try { @@ -331,7 +331,7 @@ public virtual AsyncPageable ListBySubscriptionAsync(Cancell { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.ListBySubscription"); scope.Start(); try { @@ -346,7 +346,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.ListBySubscription"); scope.Start(); try { @@ -368,7 +368,7 @@ public virtual Pageable ListBySubscription(CancellationToken { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.ListBySubscription"); scope.Start(); try { @@ -383,7 +383,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.ListBySubscription"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.ListBySubscription"); scope.Start(); try { @@ -416,7 +416,7 @@ public virtual AsyncPageable ListPrivateEndpointConne async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.ListPrivateEndpointConnections"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.ListPrivateEndpointConnections"); scope.Start(); try { @@ -431,7 +431,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.ListPrivateEndpointConnections"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.ListPrivateEndpointConnections"); scope.Start(); try { @@ -464,7 +464,7 @@ public virtual Pageable ListPrivateEndpointConnection Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.ListPrivateEndpointConnections"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.ListPrivateEndpointConnections"); scope.Start(); try { @@ -479,7 +479,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.ListPrivateEndpointConnections"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.ListPrivateEndpointConnections"); scope.Start(); try { @@ -507,7 +507,7 @@ public virtual AsyncPageable ListAutoApprovedPri async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.ListAutoApprovedPrivateLinkServices"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.ListAutoApprovedPrivateLinkServices"); scope.Start(); try { @@ -522,7 +522,7 @@ async Task> FirstPageFunc(int? pageSizeHint } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.ListAutoApprovedPrivateLinkServices"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.ListAutoApprovedPrivateLinkServices"); scope.Start(); try { @@ -550,7 +550,7 @@ public virtual Pageable ListAutoApprovedPrivateL Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.ListAutoApprovedPrivateLinkServices"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.ListAutoApprovedPrivateLinkServices"); scope.Start(); try { @@ -565,7 +565,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.ListAutoApprovedPrivateLinkServices"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.ListAutoApprovedPrivateLinkServices"); scope.Start(); try { @@ -598,7 +598,7 @@ public virtual AsyncPageable ListAutoApprovedPri async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.ListAutoApprovedPrivateLinkServicesByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.ListAutoApprovedPrivateLinkServicesByResourceGroup"); scope.Start(); try { @@ -613,7 +613,7 @@ async Task> FirstPageFunc(int? pageSizeHint } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.ListAutoApprovedPrivateLinkServicesByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.ListAutoApprovedPrivateLinkServicesByResourceGroup"); scope.Start(); try { @@ -646,7 +646,7 @@ public virtual Pageable ListAutoApprovedPrivateL Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.ListAutoApprovedPrivateLinkServicesByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.ListAutoApprovedPrivateLinkServicesByResourceGroup"); scope.Start(); try { @@ -661,7 +661,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.ListAutoApprovedPrivateLinkServicesByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.ListAutoApprovedPrivateLinkServicesByResourceGroup"); scope.Start(); try { @@ -692,7 +692,7 @@ public virtual async Task StartDeleteAsync(s throw new ArgumentNullException(nameof(serviceName)); } - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.StartDelete"); scope.Start(); try { @@ -721,7 +721,7 @@ public virtual PrivateLinkServicesDeleteOperation StartDelete(string resourceGro throw new ArgumentNullException(nameof(serviceName)); } - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.StartDelete"); scope.Start(); try { @@ -755,7 +755,7 @@ public virtual async Task StartCreat throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -789,7 +789,7 @@ public virtual PrivateLinkServicesCreateOrUpdateOperation StartCreateOrUpdate(st throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkServicesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -823,7 +823,7 @@ public virtual async Task Initializes a new instance of PrivateLinkServicesRestClient. + /// Initializes a new instance of PrivateLinkServicesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public PrivateLinkServicesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public PrivateLinkServicesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PublicIPAddressesClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PublicIPAddressesOperations.cs similarity index 94% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PublicIPAddressesClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PublicIPAddressesOperations.cs index 7ba3c73cd66e8..bfb237c0f9711 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PublicIPAddressesClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PublicIPAddressesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The PublicIPAddresses service client. - public partial class PublicIPAddressesClient + public partial class PublicIPAddressesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal PublicIPAddressesRestClient RestClient { get; } - /// Initializes a new instance of PublicIPAddressesClient for mocking. - protected PublicIPAddressesClient() + internal PublicIPAddressesRestOperations RestClient { get; } + /// Initializes a new instance of PublicIPAddressesOperations for mocking. + protected PublicIPAddressesOperations() { } - /// Initializes a new instance of PublicIPAddressesClient. + /// Initializes a new instance of PublicIPAddressesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal PublicIPAddressesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal PublicIPAddressesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new PublicIPAddressesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new PublicIPAddressesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal PublicIPAddressesClient(ClientDiagnostics clientDiagnostics, HttpPipeli /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string publicIpAddressName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGro /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string publicIpAddressName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.Get"); scope.Start(); try { @@ -84,7 +84,7 @@ public virtual Response Get(string resourceGroupName, string pu /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string publicIpAddressName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.UpdateTags"); scope.Start(); try { @@ -104,7 +104,7 @@ public virtual async Task> UpdateTagsAsync(string reso /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string publicIpAddressName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.UpdateTags"); scope.Start(); try { @@ -128,7 +128,7 @@ public virtual Response UpdateTags(string resourceGroupName, st /// The cancellation token to use. public virtual async Task> GetVirtualMachineScaleSetPublicIPAddressAsync(string resourceGroupName, string virtualMachineScaleSetName, string virtualmachineIndex, string networkInterfaceName, string ipConfigurationName, string publicIpAddressName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.GetVirtualMachineScaleSetPublicIPAddress"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.GetVirtualMachineScaleSetPublicIPAddress"); scope.Start(); try { @@ -152,7 +152,7 @@ public virtual async Task> GetVirtualMachineScaleSetPu /// The cancellation token to use. public virtual Response GetVirtualMachineScaleSetPublicIPAddress(string resourceGroupName, string virtualMachineScaleSetName, string virtualmachineIndex, string networkInterfaceName, string ipConfigurationName, string publicIpAddressName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.GetVirtualMachineScaleSetPublicIPAddress"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.GetVirtualMachineScaleSetPublicIPAddress"); scope.Start(); try { @@ -171,7 +171,7 @@ public virtual AsyncPageable ListAllAsync(CancellationToken can { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.ListAll"); scope.Start(); try { @@ -186,7 +186,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.ListAll"); scope.Start(); try { @@ -208,7 +208,7 @@ public virtual Pageable ListAll(CancellationToken cancellationT { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.ListAll"); scope.Start(); try { @@ -223,7 +223,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.ListAll"); scope.Start(); try { @@ -251,7 +251,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.List"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.List"); scope.Start(); try { @@ -266,7 +266,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.List"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.List"); scope.Start(); try { @@ -294,7 +294,7 @@ public virtual Pageable List(string resourceGroupName, Cancella Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.List"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.List"); scope.Start(); try { @@ -309,7 +309,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.List"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.List"); scope.Start(); try { @@ -342,7 +342,7 @@ public virtual AsyncPageable ListVirtualMachineScaleSetPublicIP async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.ListVirtualMachineScaleSetPublicIPAddresses"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.ListVirtualMachineScaleSetPublicIPAddresses"); scope.Start(); try { @@ -357,7 +357,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.ListVirtualMachineScaleSetPublicIPAddresses"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.ListVirtualMachineScaleSetPublicIPAddresses"); scope.Start(); try { @@ -390,7 +390,7 @@ public virtual Pageable ListVirtualMachineScaleSetPublicIPAddre Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.ListVirtualMachineScaleSetPublicIPAddresses"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.ListVirtualMachineScaleSetPublicIPAddresses"); scope.Start(); try { @@ -405,7 +405,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.ListVirtualMachineScaleSetPublicIPAddresses"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.ListVirtualMachineScaleSetPublicIPAddresses"); scope.Start(); try { @@ -453,7 +453,7 @@ public virtual AsyncPageable ListVirtualMachineScaleSetVMPublic async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.ListVirtualMachineScaleSetVMPublicIPAddresses"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.ListVirtualMachineScaleSetVMPublicIPAddresses"); scope.Start(); try { @@ -468,7 +468,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.ListVirtualMachineScaleSetVMPublicIPAddresses"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.ListVirtualMachineScaleSetVMPublicIPAddresses"); scope.Start(); try { @@ -516,7 +516,7 @@ public virtual Pageable ListVirtualMachineScaleSetVMPublicIPAdd Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.ListVirtualMachineScaleSetVMPublicIPAddresses"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.ListVirtualMachineScaleSetVMPublicIPAddresses"); scope.Start(); try { @@ -531,7 +531,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.ListVirtualMachineScaleSetVMPublicIPAddresses"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.ListVirtualMachineScaleSetVMPublicIPAddresses"); scope.Start(); try { @@ -562,7 +562,7 @@ public virtual async Task StartDeleteAsync(str throw new ArgumentNullException(nameof(publicIpAddressName)); } - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.StartDelete"); scope.Start(); try { @@ -591,7 +591,7 @@ public virtual PublicIPAddressesDeleteOperation StartDelete(string resourceGroup throw new ArgumentNullException(nameof(publicIpAddressName)); } - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.StartDelete"); scope.Start(); try { @@ -625,7 +625,7 @@ public virtual async Task StartCreateO throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -659,7 +659,7 @@ public virtual PublicIPAddressesCreateOrUpdateOperation StartCreateOrUpdate(stri throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("PublicIPAddressesOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PublicIPAddressesRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PublicIPAddressesRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PublicIPAddressesRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PublicIPAddressesRestOperations.cs index cf51c686efbc4..2e07c19937be4 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PublicIPAddressesRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PublicIPAddressesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class PublicIPAddressesRestClient + internal partial class PublicIPAddressesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of PublicIPAddressesRestClient. + /// Initializes a new instance of PublicIPAddressesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public PublicIPAddressesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public PublicIPAddressesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PublicIPPrefixesClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PublicIPPrefixesOperations.cs similarity index 94% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PublicIPPrefixesClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PublicIPPrefixesOperations.cs index 786f2ea0f396c..41e472c10a5f1 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PublicIPPrefixesClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PublicIPPrefixesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The PublicIPPrefixes service client. - public partial class PublicIPPrefixesClient + public partial class PublicIPPrefixesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal PublicIPPrefixesRestClient RestClient { get; } - /// Initializes a new instance of PublicIPPrefixesClient for mocking. - protected PublicIPPrefixesClient() + internal PublicIPPrefixesRestOperations RestClient { get; } + /// Initializes a new instance of PublicIPPrefixesOperations for mocking. + protected PublicIPPrefixesOperations() { } - /// Initializes a new instance of PublicIPPrefixesClient. + /// Initializes a new instance of PublicIPPrefixesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal PublicIPPrefixesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal PublicIPPrefixesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new PublicIPPrefixesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new PublicIPPrefixesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal PublicIPPrefixesClient(ClientDiagnostics clientDiagnostics, HttpPipelin /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string publicIpPrefixName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGrou /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string publicIpPrefixName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesOperations.Get"); scope.Start(); try { @@ -84,7 +84,7 @@ public virtual Response Get(string resourceGroupName, string pub /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string publicIpPrefixName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesOperations.UpdateTags"); scope.Start(); try { @@ -104,7 +104,7 @@ public virtual async Task> UpdateTagsAsync(string resou /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string publicIpPrefixName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesOperations.UpdateTags"); scope.Start(); try { @@ -123,7 +123,7 @@ public virtual AsyncPageable ListAllAsync(CancellationToken canc { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesOperations.ListAll"); scope.Start(); try { @@ -138,7 +138,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesOperations.ListAll"); scope.Start(); try { @@ -160,7 +160,7 @@ public virtual Pageable ListAll(CancellationToken cancellationTo { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesOperations.ListAll"); scope.Start(); try { @@ -175,7 +175,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesOperations.ListAll"); scope.Start(); try { @@ -203,7 +203,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName, async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesClient.List"); + using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesOperations.List"); scope.Start(); try { @@ -218,7 +218,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesClient.List"); + using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesOperations.List"); scope.Start(); try { @@ -246,7 +246,7 @@ public virtual Pageable List(string resourceGroupName, Cancellat Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesClient.List"); + using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesOperations.List"); scope.Start(); try { @@ -261,7 +261,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesClient.List"); + using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesOperations.List"); scope.Start(); try { @@ -292,7 +292,7 @@ public virtual async Task StartDeleteAsync(stri throw new ArgumentNullException(nameof(publicIpPrefixName)); } - using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesOperations.StartDelete"); scope.Start(); try { @@ -321,7 +321,7 @@ public virtual PublicIPPrefixesDeleteOperation StartDelete(string resourceGroupN throw new ArgumentNullException(nameof(publicIpPrefixName)); } - using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesOperations.StartDelete"); scope.Start(); try { @@ -355,7 +355,7 @@ public virtual async Task StartCreateOr throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -389,7 +389,7 @@ public virtual PublicIPPrefixesCreateOrUpdateOperation StartCreateOrUpdate(strin throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("PublicIPPrefixesOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PublicIPPrefixesRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PublicIPPrefixesRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PublicIPPrefixesRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PublicIPPrefixesRestOperations.cs index 4687db4856336..07cd112cb178b 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PublicIPPrefixesRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/PublicIPPrefixesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class PublicIPPrefixesRestClient + internal partial class PublicIPPrefixesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of PublicIPPrefixesRestClient. + /// Initializes a new instance of PublicIPPrefixesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public PublicIPPrefixesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public PublicIPPrefixesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ResourceNavigationLinksClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ResourceNavigationLinksOperations.cs similarity index 84% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ResourceNavigationLinksClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ResourceNavigationLinksOperations.cs index 8a40cebb8c358..0b06e9dfe26d7 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ResourceNavigationLinksClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ResourceNavigationLinksOperations.cs @@ -15,23 +15,23 @@ namespace Azure.Management.Network { /// The ResourceNavigationLinks service client. - public partial class ResourceNavigationLinksClient + public partial class ResourceNavigationLinksOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ResourceNavigationLinksRestClient RestClient { get; } - /// Initializes a new instance of ResourceNavigationLinksClient for mocking. - protected ResourceNavigationLinksClient() + internal ResourceNavigationLinksRestOperations RestClient { get; } + /// Initializes a new instance of ResourceNavigationLinksOperations for mocking. + protected ResourceNavigationLinksOperations() { } - /// Initializes a new instance of ResourceNavigationLinksClient. + /// Initializes a new instance of ResourceNavigationLinksOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ResourceNavigationLinksClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ResourceNavigationLinksOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ResourceNavigationLinksRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ResourceNavigationLinksRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal ResourceNavigationLinksClient(ClientDiagnostics clientDiagnostics, Http /// The cancellation token to use. public virtual async Task> ListAsync(string resourceGroupName, string virtualNetworkName, string subnetName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ResourceNavigationLinksClient.List"); + using var scope = _clientDiagnostics.CreateScope("ResourceNavigationLinksOperations.List"); scope.Start(); try { @@ -63,7 +63,7 @@ public virtual async Task> ListAsync /// The cancellation token to use. public virtual Response List(string resourceGroupName, string virtualNetworkName, string subnetName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ResourceNavigationLinksClient.List"); + using var scope = _clientDiagnostics.CreateScope("ResourceNavigationLinksOperations.List"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ResourceNavigationLinksRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ResourceNavigationLinksRestOperations.cs similarity index 96% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ResourceNavigationLinksRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ResourceNavigationLinksRestOperations.cs index d0834bafe64f1..f2be87f1bc48b 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ResourceNavigationLinksRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ResourceNavigationLinksRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class ResourceNavigationLinksRestClient + internal partial class ResourceNavigationLinksRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ResourceNavigationLinksRestClient. + /// Initializes a new instance of ResourceNavigationLinksRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ResourceNavigationLinksRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ResourceNavigationLinksRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/OperationsRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/RestOperations.cs similarity index 96% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/OperationsRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/RestOperations.cs index 2579c6d317a17..deefe7f2cce36 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/OperationsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/RestOperations.cs @@ -16,17 +16,17 @@ namespace Azure.Management.Network { - internal partial class OperationsRestClient + internal partial class RestOperations { private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of OperationsRestClient. + /// Initializes a new instance of RestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// server parameter. - public OperationsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null) + public RestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null) { endpoint ??= new Uri("https://management.azure.com"); diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/RouteFilterRulesClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/RouteFilterRulesOperations.cs similarity index 94% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/RouteFilterRulesClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/RouteFilterRulesOperations.cs index f6441a9d60f11..2da0620e1b8e9 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/RouteFilterRulesClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/RouteFilterRulesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The RouteFilterRules service client. - public partial class RouteFilterRulesClient + public partial class RouteFilterRulesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal RouteFilterRulesRestClient RestClient { get; } - /// Initializes a new instance of RouteFilterRulesClient for mocking. - protected RouteFilterRulesClient() + internal RouteFilterRulesRestOperations RestClient { get; } + /// Initializes a new instance of RouteFilterRulesOperations for mocking. + protected RouteFilterRulesOperations() { } - /// Initializes a new instance of RouteFilterRulesClient. + /// Initializes a new instance of RouteFilterRulesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal RouteFilterRulesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal RouteFilterRulesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new RouteFilterRulesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new RouteFilterRulesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal RouteFilterRulesClient(ClientDiagnostics clientDiagnostics, HttpPipelin /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string routeFilterName, string ruleName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("RouteFilterRulesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("RouteFilterRulesOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGro /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string routeFilterName, string ruleName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("RouteFilterRulesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("RouteFilterRulesOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListByRouteFilterAsync(string reso async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RouteFilterRulesClient.ListByRouteFilter"); + using var scope = _clientDiagnostics.CreateScope("RouteFilterRulesOperations.ListByRouteFilter"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RouteFilterRulesClient.ListByRouteFilter"); + using var scope = _clientDiagnostics.CreateScope("RouteFilterRulesOperations.ListByRouteFilter"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable ListByRouteFilter(string resourceGroupN Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RouteFilterRulesClient.ListByRouteFilter"); + using var scope = _clientDiagnostics.CreateScope("RouteFilterRulesOperations.ListByRouteFilter"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RouteFilterRulesClient.ListByRouteFilter"); + using var scope = _clientDiagnostics.CreateScope("RouteFilterRulesOperations.ListByRouteFilter"); scope.Start(); try { @@ -193,7 +193,7 @@ public virtual async Task StartDeleteAsync(stri throw new ArgumentNullException(nameof(ruleName)); } - using var scope = _clientDiagnostics.CreateScope("RouteFilterRulesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("RouteFilterRulesOperations.StartDelete"); scope.Start(); try { @@ -227,7 +227,7 @@ public virtual RouteFilterRulesDeleteOperation StartDelete(string resourceGroupN throw new ArgumentNullException(nameof(ruleName)); } - using var scope = _clientDiagnostics.CreateScope("RouteFilterRulesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("RouteFilterRulesOperations.StartDelete"); scope.Start(); try { @@ -266,7 +266,7 @@ public virtual async Task StartCreateOr throw new ArgumentNullException(nameof(routeFilterRuleParameters)); } - using var scope = _clientDiagnostics.CreateScope("RouteFilterRulesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("RouteFilterRulesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -305,7 +305,7 @@ public virtual RouteFilterRulesCreateOrUpdateOperation StartCreateOrUpdate(strin throw new ArgumentNullException(nameof(routeFilterRuleParameters)); } - using var scope = _clientDiagnostics.CreateScope("RouteFilterRulesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("RouteFilterRulesOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/RouteFilterRulesRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/RouteFilterRulesRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/RouteFilterRulesRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/RouteFilterRulesRestOperations.cs index 66c444b92c128..876437f09f779 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/RouteFilterRulesRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/RouteFilterRulesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class RouteFilterRulesRestClient + internal partial class RouteFilterRulesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of RouteFilterRulesRestClient. + /// Initializes a new instance of RouteFilterRulesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public RouteFilterRulesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public RouteFilterRulesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/RouteFiltersClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/RouteFiltersOperations.cs similarity index 94% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/RouteFiltersClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/RouteFiltersOperations.cs index 5855691edc54f..bbb12e6aade3b 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/RouteFiltersClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/RouteFiltersOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The RouteFilters service client. - public partial class RouteFiltersClient + public partial class RouteFiltersOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal RouteFiltersRestClient RestClient { get; } - /// Initializes a new instance of RouteFiltersClient for mocking. - protected RouteFiltersClient() + internal RouteFiltersRestOperations RestClient { get; } + /// Initializes a new instance of RouteFiltersOperations for mocking. + protected RouteFiltersOperations() { } - /// Initializes a new instance of RouteFiltersClient. + /// Initializes a new instance of RouteFiltersOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal RouteFiltersClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal RouteFiltersOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new RouteFiltersRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new RouteFiltersRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal RouteFiltersClient(ClientDiagnostics clientDiagnostics, HttpPipeline pi /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string routeFilterName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("RouteFiltersClient.Get"); + using var scope = _clientDiagnostics.CreateScope("RouteFiltersOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGroupNa /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string routeFilterName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("RouteFiltersClient.Get"); + using var scope = _clientDiagnostics.CreateScope("RouteFiltersOperations.Get"); scope.Start(); try { @@ -84,7 +84,7 @@ public virtual Response Get(string resourceGroupName, string routeF /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string routeFilterName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("RouteFiltersClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("RouteFiltersOperations.UpdateTags"); scope.Start(); try { @@ -104,7 +104,7 @@ public virtual async Task> UpdateTagsAsync(string resource /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string routeFilterName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("RouteFiltersClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("RouteFiltersOperations.UpdateTags"); scope.Start(); try { @@ -129,7 +129,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(string resour async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RouteFiltersClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("RouteFiltersOperations.ListByResourceGroup"); scope.Start(); try { @@ -144,7 +144,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RouteFiltersClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("RouteFiltersOperations.ListByResourceGroup"); scope.Start(); try { @@ -172,7 +172,7 @@ public virtual Pageable ListByResourceGroup(string resourceGroupNam Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RouteFiltersClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("RouteFiltersOperations.ListByResourceGroup"); scope.Start(); try { @@ -187,7 +187,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RouteFiltersClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("RouteFiltersOperations.ListByResourceGroup"); scope.Start(); try { @@ -209,7 +209,7 @@ public virtual AsyncPageable ListAsync(CancellationToken cancellati { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RouteFiltersClient.List"); + using var scope = _clientDiagnostics.CreateScope("RouteFiltersOperations.List"); scope.Start(); try { @@ -224,7 +224,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RouteFiltersClient.List"); + using var scope = _clientDiagnostics.CreateScope("RouteFiltersOperations.List"); scope.Start(); try { @@ -246,7 +246,7 @@ public virtual Pageable List(CancellationToken cancellationToken = { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RouteFiltersClient.List"); + using var scope = _clientDiagnostics.CreateScope("RouteFiltersOperations.List"); scope.Start(); try { @@ -261,7 +261,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RouteFiltersClient.List"); + using var scope = _clientDiagnostics.CreateScope("RouteFiltersOperations.List"); scope.Start(); try { @@ -292,7 +292,7 @@ public virtual async Task StartDeleteAsync(string r throw new ArgumentNullException(nameof(routeFilterName)); } - using var scope = _clientDiagnostics.CreateScope("RouteFiltersClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("RouteFiltersOperations.StartDelete"); scope.Start(); try { @@ -321,7 +321,7 @@ public virtual RouteFiltersDeleteOperation StartDelete(string resourceGroupName, throw new ArgumentNullException(nameof(routeFilterName)); } - using var scope = _clientDiagnostics.CreateScope("RouteFiltersClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("RouteFiltersOperations.StartDelete"); scope.Start(); try { @@ -355,7 +355,7 @@ public virtual async Task StartCreateOrUpda throw new ArgumentNullException(nameof(routeFilterParameters)); } - using var scope = _clientDiagnostics.CreateScope("RouteFiltersClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("RouteFiltersOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -389,7 +389,7 @@ public virtual RouteFiltersCreateOrUpdateOperation StartCreateOrUpdate(string re throw new ArgumentNullException(nameof(routeFilterParameters)); } - using var scope = _clientDiagnostics.CreateScope("RouteFiltersClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("RouteFiltersOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/RouteFiltersRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/RouteFiltersRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/RouteFiltersRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/RouteFiltersRestOperations.cs index 84040b4374375..c16c82a6cd900 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/RouteFiltersRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/RouteFiltersRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class RouteFiltersRestClient + internal partial class RouteFiltersRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of RouteFiltersRestClient. + /// Initializes a new instance of RouteFiltersRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public RouteFiltersRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public RouteFiltersRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/RouteTablesClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/RouteTablesOperations.cs similarity index 94% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/RouteTablesClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/RouteTablesOperations.cs index 7a9226f27f051..fb06169c4ae41 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/RouteTablesClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/RouteTablesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The RouteTables service client. - public partial class RouteTablesClient + public partial class RouteTablesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal RouteTablesRestClient RestClient { get; } - /// Initializes a new instance of RouteTablesClient for mocking. - protected RouteTablesClient() + internal RouteTablesRestOperations RestClient { get; } + /// Initializes a new instance of RouteTablesOperations for mocking. + protected RouteTablesOperations() { } - /// Initializes a new instance of RouteTablesClient. + /// Initializes a new instance of RouteTablesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal RouteTablesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal RouteTablesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new RouteTablesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new RouteTablesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal RouteTablesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pip /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string routeTableName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("RouteTablesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("RouteTablesOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGroupNam /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string routeTableName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("RouteTablesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("RouteTablesOperations.Get"); scope.Start(); try { @@ -84,7 +84,7 @@ public virtual Response Get(string resourceGroupName, string routeTa /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string routeTableName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("RouteTablesClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("RouteTablesOperations.UpdateTags"); scope.Start(); try { @@ -104,7 +104,7 @@ public virtual async Task> UpdateTagsAsync(string resourceG /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string routeTableName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("RouteTablesClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("RouteTablesOperations.UpdateTags"); scope.Start(); try { @@ -129,7 +129,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName, Can async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RouteTablesClient.List"); + using var scope = _clientDiagnostics.CreateScope("RouteTablesOperations.List"); scope.Start(); try { @@ -144,7 +144,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RouteTablesClient.List"); + using var scope = _clientDiagnostics.CreateScope("RouteTablesOperations.List"); scope.Start(); try { @@ -172,7 +172,7 @@ public virtual Pageable List(string resourceGroupName, CancellationT Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RouteTablesClient.List"); + using var scope = _clientDiagnostics.CreateScope("RouteTablesOperations.List"); scope.Start(); try { @@ -187,7 +187,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RouteTablesClient.List"); + using var scope = _clientDiagnostics.CreateScope("RouteTablesOperations.List"); scope.Start(); try { @@ -209,7 +209,7 @@ public virtual AsyncPageable ListAllAsync(CancellationToken cancella { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RouteTablesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("RouteTablesOperations.ListAll"); scope.Start(); try { @@ -224,7 +224,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RouteTablesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("RouteTablesOperations.ListAll"); scope.Start(); try { @@ -246,7 +246,7 @@ public virtual Pageable ListAll(CancellationToken cancellationToken { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RouteTablesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("RouteTablesOperations.ListAll"); scope.Start(); try { @@ -261,7 +261,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RouteTablesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("RouteTablesOperations.ListAll"); scope.Start(); try { @@ -292,7 +292,7 @@ public virtual async Task StartDeleteAsync(string re throw new ArgumentNullException(nameof(routeTableName)); } - using var scope = _clientDiagnostics.CreateScope("RouteTablesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("RouteTablesOperations.StartDelete"); scope.Start(); try { @@ -321,7 +321,7 @@ public virtual RouteTablesDeleteOperation StartDelete(string resourceGroupName, throw new ArgumentNullException(nameof(routeTableName)); } - using var scope = _clientDiagnostics.CreateScope("RouteTablesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("RouteTablesOperations.StartDelete"); scope.Start(); try { @@ -355,7 +355,7 @@ public virtual async Task StartCreateOrUpdat throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("RouteTablesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("RouteTablesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -389,7 +389,7 @@ public virtual RouteTablesCreateOrUpdateOperation StartCreateOrUpdate(string res throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("RouteTablesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("RouteTablesOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/RouteTablesRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/RouteTablesRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/RouteTablesRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/RouteTablesRestOperations.cs index 733db0afa2e3b..9bc6608e52d18 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/RouteTablesRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/RouteTablesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class RouteTablesRestClient + internal partial class RouteTablesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of RouteTablesRestClient. + /// Initializes a new instance of RouteTablesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public RouteTablesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public RouteTablesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/RoutesClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/RoutesOperations.cs similarity index 94% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/RoutesClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/RoutesOperations.cs index fd51bca1b977c..8713940b521f1 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/RoutesClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/RoutesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The Routes service client. - public partial class RoutesClient + public partial class RoutesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal RoutesRestClient RestClient { get; } - /// Initializes a new instance of RoutesClient for mocking. - protected RoutesClient() + internal RoutesRestOperations RestClient { get; } + /// Initializes a new instance of RoutesOperations for mocking. + protected RoutesOperations() { } - /// Initializes a new instance of RoutesClient. + /// Initializes a new instance of RoutesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal RoutesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal RoutesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new RoutesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new RoutesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal RoutesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string routeTableName, string routeName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("RoutesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("RoutesOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGroupName, st /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string routeTableName, string routeName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("RoutesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("RoutesOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName, string r async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RoutesClient.List"); + using var scope = _clientDiagnostics.CreateScope("RoutesOperations.List"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RoutesClient.List"); + using var scope = _clientDiagnostics.CreateScope("RoutesOperations.List"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable List(string resourceGroupName, string routeTableN Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RoutesClient.List"); + using var scope = _clientDiagnostics.CreateScope("RoutesOperations.List"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("RoutesClient.List"); + using var scope = _clientDiagnostics.CreateScope("RoutesOperations.List"); scope.Start(); try { @@ -193,7 +193,7 @@ public virtual async Task StartDeleteAsync(string resourc throw new ArgumentNullException(nameof(routeName)); } - using var scope = _clientDiagnostics.CreateScope("RoutesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("RoutesOperations.StartDelete"); scope.Start(); try { @@ -227,7 +227,7 @@ public virtual RoutesDeleteOperation StartDelete(string resourceGroupName, strin throw new ArgumentNullException(nameof(routeName)); } - using var scope = _clientDiagnostics.CreateScope("RoutesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("RoutesOperations.StartDelete"); scope.Start(); try { @@ -266,7 +266,7 @@ public virtual async Task StartCreateOrUpdateAsyn throw new ArgumentNullException(nameof(routeParameters)); } - using var scope = _clientDiagnostics.CreateScope("RoutesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("RoutesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -305,7 +305,7 @@ public virtual RoutesCreateOrUpdateOperation StartCreateOrUpdate(string resource throw new ArgumentNullException(nameof(routeParameters)); } - using var scope = _clientDiagnostics.CreateScope("RoutesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("RoutesOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/RoutesRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/RoutesRestOperations.cs similarity index 98% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/RoutesRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/RoutesRestOperations.cs index 5d4690d45e130..6dc1e62a44df2 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/RoutesRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/RoutesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class RoutesRestClient + internal partial class RoutesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of RoutesRestClient. + /// Initializes a new instance of RoutesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public RoutesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public RoutesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/SecurityPartnerProvidersClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/SecurityPartnerProvidersOperations.cs similarity index 93% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/SecurityPartnerProvidersClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/SecurityPartnerProvidersOperations.cs index e25f39e4787a2..3ee876e5f451e 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/SecurityPartnerProvidersClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/SecurityPartnerProvidersOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The SecurityPartnerProviders service client. - public partial class SecurityPartnerProvidersClient + public partial class SecurityPartnerProvidersOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal SecurityPartnerProvidersRestClient RestClient { get; } - /// Initializes a new instance of SecurityPartnerProvidersClient for mocking. - protected SecurityPartnerProvidersClient() + internal SecurityPartnerProvidersRestOperations RestClient { get; } + /// Initializes a new instance of SecurityPartnerProvidersOperations for mocking. + protected SecurityPartnerProvidersOperations() { } - /// Initializes a new instance of SecurityPartnerProvidersClient. + /// Initializes a new instance of SecurityPartnerProvidersOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal SecurityPartnerProvidersClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal SecurityPartnerProvidersOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new SecurityPartnerProvidersRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new SecurityPartnerProvidersRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal SecurityPartnerProvidersClient(ClientDiagnostics clientDiagnostics, Htt /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string securityPartnerProviderName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersClient.Get"); + using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string res /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string securityPartnerProviderName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersClient.Get"); + using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersOperations.Get"); scope.Start(); try { @@ -82,7 +82,7 @@ public virtual Response Get(string resourceGroupName, s /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string securityPartnerProviderName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersOperations.UpdateTags"); scope.Start(); try { @@ -102,7 +102,7 @@ public virtual async Task> UpdateTagsAsync(str /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string securityPartnerProviderName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersOperations.UpdateTags"); scope.Start(); try { @@ -127,7 +127,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(s async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersOperations.ListByResourceGroup"); scope.Start(); try { @@ -142,7 +142,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersOperations.ListByResourceGroup"); scope.Start(); try { @@ -170,7 +170,7 @@ public virtual Pageable ListByResourceGroup(string reso Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersOperations.ListByResourceGroup"); scope.Start(); try { @@ -185,7 +185,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersOperations.ListByResourceGroup"); scope.Start(); try { @@ -207,7 +207,7 @@ public virtual AsyncPageable ListAsync(CancellationToke { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersClient.List"); + using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersOperations.List"); scope.Start(); try { @@ -222,7 +222,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersClient.List"); + using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersOperations.List"); scope.Start(); try { @@ -244,7 +244,7 @@ public virtual Pageable List(CancellationToken cancella { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersClient.List"); + using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersOperations.List"); scope.Start(); try { @@ -259,7 +259,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersClient.List"); + using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersOperations.List"); scope.Start(); try { @@ -290,7 +290,7 @@ public virtual async Task StartDeleteAs throw new ArgumentNullException(nameof(securityPartnerProviderName)); } - using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersOperations.StartDelete"); scope.Start(); try { @@ -319,7 +319,7 @@ public virtual SecurityPartnerProvidersDeleteOperation StartDelete(string resour throw new ArgumentNullException(nameof(securityPartnerProviderName)); } - using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersOperations.StartDelete"); scope.Start(); try { @@ -353,7 +353,7 @@ public virtual async Task Start throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -387,7 +387,7 @@ public virtual SecurityPartnerProvidersCreateOrUpdateOperation StartCreateOrUpda throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("SecurityPartnerProvidersOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/SecurityPartnerProvidersRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/SecurityPartnerProvidersRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/SecurityPartnerProvidersRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/SecurityPartnerProvidersRestOperations.cs index 81191f1a1cb44..2aaf5d2994f02 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/SecurityPartnerProvidersRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/SecurityPartnerProvidersRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class SecurityPartnerProvidersRestClient + internal partial class SecurityPartnerProvidersRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of SecurityPartnerProvidersRestClient. + /// Initializes a new instance of SecurityPartnerProvidersRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public SecurityPartnerProvidersRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public SecurityPartnerProvidersRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/SecurityRulesClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/SecurityRulesOperations.cs similarity index 94% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/SecurityRulesClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/SecurityRulesOperations.cs index a1563025de725..5957a2c135b49 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/SecurityRulesClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/SecurityRulesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The SecurityRules service client. - public partial class SecurityRulesClient + public partial class SecurityRulesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal SecurityRulesRestClient RestClient { get; } - /// Initializes a new instance of SecurityRulesClient for mocking. - protected SecurityRulesClient() + internal SecurityRulesRestOperations RestClient { get; } + /// Initializes a new instance of SecurityRulesOperations for mocking. + protected SecurityRulesOperations() { } - /// Initializes a new instance of SecurityRulesClient. + /// Initializes a new instance of SecurityRulesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal SecurityRulesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal SecurityRulesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new SecurityRulesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new SecurityRulesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal SecurityRulesClient(ClientDiagnostics clientDiagnostics, HttpPipeline p /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string networkSecurityGroupName, string securityRuleName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("SecurityRulesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("SecurityRulesOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGroupN /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string networkSecurityGroupName, string securityRuleName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("SecurityRulesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("SecurityRulesOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName, s async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SecurityRulesClient.List"); + using var scope = _clientDiagnostics.CreateScope("SecurityRulesOperations.List"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SecurityRulesClient.List"); + using var scope = _clientDiagnostics.CreateScope("SecurityRulesOperations.List"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable List(string resourceGroupName, string netw Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SecurityRulesClient.List"); + using var scope = _clientDiagnostics.CreateScope("SecurityRulesOperations.List"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SecurityRulesClient.List"); + using var scope = _clientDiagnostics.CreateScope("SecurityRulesOperations.List"); scope.Start(); try { @@ -193,7 +193,7 @@ public virtual async Task StartDeleteAsync(string throw new ArgumentNullException(nameof(securityRuleName)); } - using var scope = _clientDiagnostics.CreateScope("SecurityRulesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("SecurityRulesOperations.StartDelete"); scope.Start(); try { @@ -227,7 +227,7 @@ public virtual SecurityRulesDeleteOperation StartDelete(string resourceGroupName throw new ArgumentNullException(nameof(securityRuleName)); } - using var scope = _clientDiagnostics.CreateScope("SecurityRulesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("SecurityRulesOperations.StartDelete"); scope.Start(); try { @@ -266,7 +266,7 @@ public virtual async Task StartCreateOrUpd throw new ArgumentNullException(nameof(securityRuleParameters)); } - using var scope = _clientDiagnostics.CreateScope("SecurityRulesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("SecurityRulesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -305,7 +305,7 @@ public virtual SecurityRulesCreateOrUpdateOperation StartCreateOrUpdate(string r throw new ArgumentNullException(nameof(securityRuleParameters)); } - using var scope = _clientDiagnostics.CreateScope("SecurityRulesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("SecurityRulesOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/SecurityRulesRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/SecurityRulesRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/SecurityRulesRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/SecurityRulesRestOperations.cs index 98e3f80476d89..3eebd56c1f18a 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/SecurityRulesRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/SecurityRulesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class SecurityRulesRestClient + internal partial class SecurityRulesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of SecurityRulesRestClient. + /// Initializes a new instance of SecurityRulesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public SecurityRulesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public SecurityRulesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ServiceAssociationLinksClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ServiceAssociationLinksOperations.cs similarity index 84% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ServiceAssociationLinksClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ServiceAssociationLinksOperations.cs index 412149c456136..3585594aa1d6d 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ServiceAssociationLinksClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ServiceAssociationLinksOperations.cs @@ -15,23 +15,23 @@ namespace Azure.Management.Network { /// The ServiceAssociationLinks service client. - public partial class ServiceAssociationLinksClient + public partial class ServiceAssociationLinksOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ServiceAssociationLinksRestClient RestClient { get; } - /// Initializes a new instance of ServiceAssociationLinksClient for mocking. - protected ServiceAssociationLinksClient() + internal ServiceAssociationLinksRestOperations RestClient { get; } + /// Initializes a new instance of ServiceAssociationLinksOperations for mocking. + protected ServiceAssociationLinksOperations() { } - /// Initializes a new instance of ServiceAssociationLinksClient. + /// Initializes a new instance of ServiceAssociationLinksOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ServiceAssociationLinksClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ServiceAssociationLinksOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ServiceAssociationLinksRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ServiceAssociationLinksRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal ServiceAssociationLinksClient(ClientDiagnostics clientDiagnostics, Http /// The cancellation token to use. public virtual async Task> ListAsync(string resourceGroupName, string virtualNetworkName, string subnetName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ServiceAssociationLinksClient.List"); + using var scope = _clientDiagnostics.CreateScope("ServiceAssociationLinksOperations.List"); scope.Start(); try { @@ -63,7 +63,7 @@ public virtual async Task> ListAsync /// The cancellation token to use. public virtual Response List(string resourceGroupName, string virtualNetworkName, string subnetName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ServiceAssociationLinksClient.List"); + using var scope = _clientDiagnostics.CreateScope("ServiceAssociationLinksOperations.List"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ServiceAssociationLinksRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ServiceAssociationLinksRestOperations.cs similarity index 96% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ServiceAssociationLinksRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ServiceAssociationLinksRestOperations.cs index 00a926ee468e1..b3923fc09576c 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ServiceAssociationLinksRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ServiceAssociationLinksRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class ServiceAssociationLinksRestClient + internal partial class ServiceAssociationLinksRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ServiceAssociationLinksRestClient. + /// Initializes a new instance of ServiceAssociationLinksRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ServiceAssociationLinksRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ServiceAssociationLinksRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ServiceEndpointPoliciesClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ServiceEndpointPoliciesOperations.cs similarity index 93% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ServiceEndpointPoliciesClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ServiceEndpointPoliciesOperations.cs index 0b020b13766c4..1822964cfc2ae 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ServiceEndpointPoliciesClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ServiceEndpointPoliciesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The ServiceEndpointPolicies service client. - public partial class ServiceEndpointPoliciesClient + public partial class ServiceEndpointPoliciesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ServiceEndpointPoliciesRestClient RestClient { get; } - /// Initializes a new instance of ServiceEndpointPoliciesClient for mocking. - protected ServiceEndpointPoliciesClient() + internal ServiceEndpointPoliciesRestOperations RestClient { get; } + /// Initializes a new instance of ServiceEndpointPoliciesOperations for mocking. + protected ServiceEndpointPoliciesOperations() { } - /// Initializes a new instance of ServiceEndpointPoliciesClient. + /// Initializes a new instance of ServiceEndpointPoliciesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ServiceEndpointPoliciesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ServiceEndpointPoliciesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ServiceEndpointPoliciesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ServiceEndpointPoliciesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal ServiceEndpointPoliciesClient(ClientDiagnostics clientDiagnostics, Http /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string serviceEndpointPolicyName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resou /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string serviceEndpointPolicyName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesOperations.Get"); scope.Start(); try { @@ -84,7 +84,7 @@ public virtual Response Get(string resourceGroupName, str /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string serviceEndpointPolicyName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesOperations.UpdateTags"); scope.Start(); try { @@ -104,7 +104,7 @@ public virtual async Task> UpdateTagsAsync(strin /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string serviceEndpointPolicyName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesOperations.UpdateTags"); scope.Start(); try { @@ -123,7 +123,7 @@ public virtual AsyncPageable ListAsync(CancellationToken { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesClient.List"); + using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesOperations.List"); scope.Start(); try { @@ -138,7 +138,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesClient.List"); + using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesOperations.List"); scope.Start(); try { @@ -160,7 +160,7 @@ public virtual Pageable List(CancellationToken cancellati { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesClient.List"); + using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesOperations.List"); scope.Start(); try { @@ -175,7 +175,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesClient.List"); + using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesOperations.List"); scope.Start(); try { @@ -203,7 +203,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(str async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesOperations.ListByResourceGroup"); scope.Start(); try { @@ -218,7 +218,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesOperations.ListByResourceGroup"); scope.Start(); try { @@ -246,7 +246,7 @@ public virtual Pageable ListByResourceGroup(string resour Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesOperations.ListByResourceGroup"); scope.Start(); try { @@ -261,7 +261,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesOperations.ListByResourceGroup"); scope.Start(); try { @@ -292,7 +292,7 @@ public virtual async Task StartDeleteAsy throw new ArgumentNullException(nameof(serviceEndpointPolicyName)); } - using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesOperations.StartDelete"); scope.Start(); try { @@ -321,7 +321,7 @@ public virtual ServiceEndpointPoliciesDeleteOperation StartDelete(string resourc throw new ArgumentNullException(nameof(serviceEndpointPolicyName)); } - using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesOperations.StartDelete"); scope.Start(); try { @@ -355,7 +355,7 @@ public virtual async Task StartC throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -389,7 +389,7 @@ public virtual ServiceEndpointPoliciesCreateOrUpdateOperation StartCreateOrUpdat throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPoliciesOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ServiceEndpointPoliciesRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ServiceEndpointPoliciesRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ServiceEndpointPoliciesRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ServiceEndpointPoliciesRestOperations.cs index da5178b2026d4..6d0955af6040b 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ServiceEndpointPoliciesRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ServiceEndpointPoliciesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class ServiceEndpointPoliciesRestClient + internal partial class ServiceEndpointPoliciesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ServiceEndpointPoliciesRestClient. + /// Initializes a new instance of ServiceEndpointPoliciesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ServiceEndpointPoliciesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ServiceEndpointPoliciesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ServiceEndpointPolicyDefinitionsClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ServiceEndpointPolicyDefinitionsOperations.cs similarity index 93% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ServiceEndpointPolicyDefinitionsClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ServiceEndpointPolicyDefinitionsOperations.cs index 53a2c11000319..4c0b8318df92c 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ServiceEndpointPolicyDefinitionsClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ServiceEndpointPolicyDefinitionsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The ServiceEndpointPolicyDefinitions service client. - public partial class ServiceEndpointPolicyDefinitionsClient + public partial class ServiceEndpointPolicyDefinitionsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ServiceEndpointPolicyDefinitionsRestClient RestClient { get; } - /// Initializes a new instance of ServiceEndpointPolicyDefinitionsClient for mocking. - protected ServiceEndpointPolicyDefinitionsClient() + internal ServiceEndpointPolicyDefinitionsRestOperations RestClient { get; } + /// Initializes a new instance of ServiceEndpointPolicyDefinitionsOperations for mocking. + protected ServiceEndpointPolicyDefinitionsOperations() { } - /// Initializes a new instance of ServiceEndpointPolicyDefinitionsClient. + /// Initializes a new instance of ServiceEndpointPolicyDefinitionsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ServiceEndpointPolicyDefinitionsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ServiceEndpointPolicyDefinitionsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ServiceEndpointPolicyDefinitionsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ServiceEndpointPolicyDefinitionsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal ServiceEndpointPolicyDefinitionsClient(ClientDiagnostics clientDiagnost /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string serviceEndpointPolicyName, string serviceEndpointPolicyDefinitionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPolicyDefinitionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPolicyDefinitionsOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(st /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string serviceEndpointPolicyName, string serviceEndpointPolicyDefinitionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPolicyDefinitionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPolicyDefinitionsOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListByResourceGrou async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPolicyDefinitionsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPolicyDefinitionsOperations.ListByResourceGroup"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHin } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPolicyDefinitionsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPolicyDefinitionsOperations.ListByResourceGroup"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable ListByResourceGroup(str Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPolicyDefinitionsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPolicyDefinitionsOperations.ListByResourceGroup"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPolicyDefinitionsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPolicyDefinitionsOperations.ListByResourceGroup"); scope.Start(); try { @@ -193,7 +193,7 @@ public virtual async Task Start throw new ArgumentNullException(nameof(serviceEndpointPolicyDefinitionName)); } - using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPolicyDefinitionsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPolicyDefinitionsOperations.StartDelete"); scope.Start(); try { @@ -227,7 +227,7 @@ public virtual ServiceEndpointPolicyDefinitionsDeleteOperation StartDelete(strin throw new ArgumentNullException(nameof(serviceEndpointPolicyDefinitionName)); } - using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPolicyDefinitionsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ServiceEndpointPolicyDefinitionsOperations.StartDelete"); scope.Start(); try { @@ -266,7 +266,7 @@ public virtual async Task Initializes a new instance of ServiceEndpointPolicyDefinitionsRestClient. + /// Initializes a new instance of ServiceEndpointPolicyDefinitionsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ServiceEndpointPolicyDefinitionsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ServiceEndpointPolicyDefinitionsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ServiceClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ServiceOperations.cs similarity index 95% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ServiceClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ServiceOperations.cs index 13e11b1a72edf..313055328c19e 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ServiceClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ServiceOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The Service service client. - public partial class ServiceClient + public partial class ServiceOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ServiceRestClient RestClient { get; } - /// Initializes a new instance of ServiceClient for mocking. - protected ServiceClient() + internal ServiceRestOperations RestClient { get; } + /// Initializes a new instance of ServiceOperations for mocking. + protected ServiceOperations() { } - /// Initializes a new instance of ServiceClient. + /// Initializes a new instance of ServiceOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ServiceClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ServiceOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ServiceRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ServiceRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal ServiceClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipelin /// The cancellation token to use. public virtual async Task> CheckDnsNameAvailabilityAsync(string location, string domainNameLabel, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ServiceClient.CheckDnsNameAvailability"); + using var scope = _clientDiagnostics.CreateScope("ServiceOperations.CheckDnsNameAvailability"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> CheckDnsNameAvail /// The cancellation token to use. public virtual Response CheckDnsNameAvailability(string location, string domainNameLabel, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ServiceClient.CheckDnsNameAvailability"); + using var scope = _clientDiagnostics.CreateScope("ServiceOperations.CheckDnsNameAvailability"); scope.Start(); try { @@ -81,7 +81,7 @@ public virtual Response CheckDnsNameAvailability(stri /// The cancellation token to use. public virtual async Task> SupportedSecurityProvidersAsync(string resourceGroupName, string virtualWANName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ServiceClient.SupportedSecurityProviders"); + using var scope = _clientDiagnostics.CreateScope("ServiceOperations.SupportedSecurityProviders"); scope.Start(); try { @@ -100,7 +100,7 @@ public virtual async Task> SupportedSecuri /// The cancellation token to use. public virtual Response SupportedSecurityProviders(string resourceGroupName, string virtualWANName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ServiceClient.SupportedSecurityProviders"); + using var scope = _clientDiagnostics.CreateScope("ServiceOperations.SupportedSecurityProviders"); scope.Start(); try { @@ -135,7 +135,7 @@ public virtual AsyncPageable GetBastionShareableLinkAsync( async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServiceClient.GetBastionShareableLink"); + using var scope = _clientDiagnostics.CreateScope("ServiceOperations.GetBastionShareableLink"); scope.Start(); try { @@ -150,7 +150,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServiceClient.GetBastionShareableLink"); + using var scope = _clientDiagnostics.CreateScope("ServiceOperations.GetBastionShareableLink"); scope.Start(); try { @@ -188,7 +188,7 @@ public virtual Pageable GetBastionShareableLink(string res Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServiceClient.GetBastionShareableLink"); + using var scope = _clientDiagnostics.CreateScope("ServiceOperations.GetBastionShareableLink"); scope.Start(); try { @@ -203,7 +203,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServiceClient.GetBastionShareableLink"); + using var scope = _clientDiagnostics.CreateScope("ServiceOperations.GetBastionShareableLink"); scope.Start(); try { @@ -241,7 +241,7 @@ public virtual AsyncPageable DisconnectActiveSessionsAsync( async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServiceClient.DisconnectActiveSessions"); + using var scope = _clientDiagnostics.CreateScope("ServiceOperations.DisconnectActiveSessions"); scope.Start(); try { @@ -256,7 +256,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServiceClient.DisconnectActiveSessions"); + using var scope = _clientDiagnostics.CreateScope("ServiceOperations.DisconnectActiveSessions"); scope.Start(); try { @@ -294,7 +294,7 @@ public virtual Pageable DisconnectActiveSessions(string res Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServiceClient.DisconnectActiveSessions"); + using var scope = _clientDiagnostics.CreateScope("ServiceOperations.DisconnectActiveSessions"); scope.Start(); try { @@ -309,7 +309,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ServiceClient.DisconnectActiveSessions"); + using var scope = _clientDiagnostics.CreateScope("ServiceOperations.DisconnectActiveSessions"); scope.Start(); try { @@ -345,7 +345,7 @@ public virtual async Task StartPutBasti throw new ArgumentNullException(nameof(bslRequest)); } - using var scope = _clientDiagnostics.CreateScope("ServiceClient.StartPutBastionShareableLink"); + using var scope = _clientDiagnostics.CreateScope("ServiceOperations.StartPutBastionShareableLink"); scope.Start(); try { @@ -379,7 +379,7 @@ public virtual ServicePutBastionShareableLinkOperation StartPutBastionShareableL throw new ArgumentNullException(nameof(bslRequest)); } - using var scope = _clientDiagnostics.CreateScope("ServiceClient.StartPutBastionShareableLink"); + using var scope = _clientDiagnostics.CreateScope("ServiceOperations.StartPutBastionShareableLink"); scope.Start(); try { @@ -413,7 +413,7 @@ public virtual async Task StartDelet throw new ArgumentNullException(nameof(bslRequest)); } - using var scope = _clientDiagnostics.CreateScope("ServiceClient.StartDeleteBastionShareableLink"); + using var scope = _clientDiagnostics.CreateScope("ServiceOperations.StartDeleteBastionShareableLink"); scope.Start(); try { @@ -447,7 +447,7 @@ public virtual ServiceDeleteBastionShareableLinkOperation StartDeleteBastionShar throw new ArgumentNullException(nameof(bslRequest)); } - using var scope = _clientDiagnostics.CreateScope("ServiceClient.StartDeleteBastionShareableLink"); + using var scope = _clientDiagnostics.CreateScope("ServiceOperations.StartDeleteBastionShareableLink"); scope.Start(); try { @@ -476,7 +476,7 @@ public virtual async Task StartGetActiveSessi throw new ArgumentNullException(nameof(bastionHostName)); } - using var scope = _clientDiagnostics.CreateScope("ServiceClient.StartGetActiveSessions"); + using var scope = _clientDiagnostics.CreateScope("ServiceOperations.StartGetActiveSessions"); scope.Start(); try { @@ -505,7 +505,7 @@ public virtual ServiceGetActiveSessionsOperation StartGetActiveSessions(string r throw new ArgumentNullException(nameof(bastionHostName)); } - using var scope = _clientDiagnostics.CreateScope("ServiceClient.StartGetActiveSessions"); + using var scope = _clientDiagnostics.CreateScope("ServiceOperations.StartGetActiveSessions"); scope.Start(); try { @@ -539,7 +539,7 @@ public virtual async Task Initializes a new instance of ServiceRestClient. + /// Initializes a new instance of ServiceRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ServiceRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ServiceRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ServiceTagsClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ServiceTagsOperations.cs similarity index 82% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ServiceTagsClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ServiceTagsOperations.cs index d925d27f0f078..e4cbc5fb05575 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ServiceTagsClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ServiceTagsOperations.cs @@ -15,23 +15,23 @@ namespace Azure.Management.Network { /// The ServiceTags service client. - public partial class ServiceTagsClient + public partial class ServiceTagsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ServiceTagsRestClient RestClient { get; } - /// Initializes a new instance of ServiceTagsClient for mocking. - protected ServiceTagsClient() + internal ServiceTagsRestOperations RestClient { get; } + /// Initializes a new instance of ServiceTagsOperations for mocking. + protected ServiceTagsOperations() { } - /// Initializes a new instance of ServiceTagsClient. + /// Initializes a new instance of ServiceTagsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal ServiceTagsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal ServiceTagsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new ServiceTagsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new ServiceTagsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -41,7 +41,7 @@ internal ServiceTagsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pip /// The cancellation token to use. public virtual async Task> ListAsync(string location, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ServiceTagsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ServiceTagsOperations.List"); scope.Start(); try { @@ -59,7 +59,7 @@ public virtual async Task> ListAsync(string loca /// The cancellation token to use. public virtual Response List(string location, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ServiceTagsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ServiceTagsOperations.List"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ServiceTagsRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ServiceTagsRestOperations.cs similarity index 96% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ServiceTagsRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ServiceTagsRestOperations.cs index bfa08f262151c..228fe8a0dab6c 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ServiceTagsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ServiceTagsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class ServiceTagsRestClient + internal partial class ServiceTagsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ServiceTagsRestClient. + /// Initializes a new instance of ServiceTagsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public ServiceTagsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public ServiceTagsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/SubnetsClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/SubnetsOperations.cs similarity index 95% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/SubnetsClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/SubnetsOperations.cs index 40cbc99be2d69..70ef75ce6cfab 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/SubnetsClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/SubnetsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The Subnets service client. - public partial class SubnetsClient + public partial class SubnetsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal SubnetsRestClient RestClient { get; } - /// Initializes a new instance of SubnetsClient for mocking. - protected SubnetsClient() + internal SubnetsRestOperations RestClient { get; } + /// Initializes a new instance of SubnetsOperations for mocking. + protected SubnetsOperations() { } - /// Initializes a new instance of SubnetsClient. + /// Initializes a new instance of SubnetsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal SubnetsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal SubnetsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new SubnetsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new SubnetsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -45,7 +45,7 @@ internal SubnetsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipelin /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string virtualNetworkName, string subnetName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("SubnetsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("SubnetsOperations.Get"); scope.Start(); try { @@ -66,7 +66,7 @@ public virtual async Task> GetAsync(string resourceGroupName, s /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string virtualNetworkName, string subnetName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("SubnetsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("SubnetsOperations.Get"); scope.Start(); try { @@ -96,7 +96,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName, string async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SubnetsClient.List"); + using var scope = _clientDiagnostics.CreateScope("SubnetsOperations.List"); scope.Start(); try { @@ -111,7 +111,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SubnetsClient.List"); + using var scope = _clientDiagnostics.CreateScope("SubnetsOperations.List"); scope.Start(); try { @@ -144,7 +144,7 @@ public virtual Pageable List(string resourceGroupName, string virtualNet Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SubnetsClient.List"); + using var scope = _clientDiagnostics.CreateScope("SubnetsOperations.List"); scope.Start(); try { @@ -159,7 +159,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SubnetsClient.List"); + using var scope = _clientDiagnostics.CreateScope("SubnetsOperations.List"); scope.Start(); try { @@ -195,7 +195,7 @@ public virtual async Task StartDeleteAsync(string resour throw new ArgumentNullException(nameof(subnetName)); } - using var scope = _clientDiagnostics.CreateScope("SubnetsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("SubnetsOperations.StartDelete"); scope.Start(); try { @@ -229,7 +229,7 @@ public virtual SubnetsDeleteOperation StartDelete(string resourceGroupName, stri throw new ArgumentNullException(nameof(subnetName)); } - using var scope = _clientDiagnostics.CreateScope("SubnetsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("SubnetsOperations.StartDelete"); scope.Start(); try { @@ -268,7 +268,7 @@ public virtual async Task StartCreateOrUpdateAsy throw new ArgumentNullException(nameof(subnetParameters)); } - using var scope = _clientDiagnostics.CreateScope("SubnetsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("SubnetsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -307,7 +307,7 @@ public virtual SubnetsCreateOrUpdateOperation StartCreateOrUpdate(string resourc throw new ArgumentNullException(nameof(subnetParameters)); } - using var scope = _clientDiagnostics.CreateScope("SubnetsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("SubnetsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -346,7 +346,7 @@ public virtual async Task StartPrepareNe throw new ArgumentNullException(nameof(prepareNetworkPoliciesRequestParameters)); } - using var scope = _clientDiagnostics.CreateScope("SubnetsClient.StartPrepareNetworkPolicies"); + using var scope = _clientDiagnostics.CreateScope("SubnetsOperations.StartPrepareNetworkPolicies"); scope.Start(); try { @@ -385,7 +385,7 @@ public virtual SubnetsPrepareNetworkPoliciesOperation StartPrepareNetworkPolicie throw new ArgumentNullException(nameof(prepareNetworkPoliciesRequestParameters)); } - using var scope = _clientDiagnostics.CreateScope("SubnetsClient.StartPrepareNetworkPolicies"); + using var scope = _clientDiagnostics.CreateScope("SubnetsOperations.StartPrepareNetworkPolicies"); scope.Start(); try { @@ -424,7 +424,7 @@ public virtual async Task StartUnprepa throw new ArgumentNullException(nameof(unprepareNetworkPoliciesRequestParameters)); } - using var scope = _clientDiagnostics.CreateScope("SubnetsClient.StartUnprepareNetworkPolicies"); + using var scope = _clientDiagnostics.CreateScope("SubnetsOperations.StartUnprepareNetworkPolicies"); scope.Start(); try { @@ -463,7 +463,7 @@ public virtual SubnetsUnprepareNetworkPoliciesOperation StartUnprepareNetworkPol throw new ArgumentNullException(nameof(unprepareNetworkPoliciesRequestParameters)); } - using var scope = _clientDiagnostics.CreateScope("SubnetsClient.StartUnprepareNetworkPolicies"); + using var scope = _clientDiagnostics.CreateScope("SubnetsOperations.StartUnprepareNetworkPolicies"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/SubnetsRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/SubnetsRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/SubnetsRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/SubnetsRestOperations.cs index 9eedc4ef9e57a..c4714ecb42c1e 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/SubnetsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/SubnetsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class SubnetsRestClient + internal partial class SubnetsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of SubnetsRestClient. + /// Initializes a new instance of SubnetsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public SubnetsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public SubnetsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/UsagesClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/UsagesOperations.cs similarity index 87% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/UsagesClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/UsagesOperations.cs index 88b98bfdc802a..a8c03cec6af1d 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/UsagesClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/UsagesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The Usages service client. - public partial class UsagesClient + public partial class UsagesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal UsagesRestClient RestClient { get; } - /// Initializes a new instance of UsagesClient for mocking. - protected UsagesClient() + internal UsagesRestOperations RestClient { get; } + /// Initializes a new instance of UsagesOperations for mocking. + protected UsagesOperations() { } - /// Initializes a new instance of UsagesClient. + /// Initializes a new instance of UsagesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal UsagesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal UsagesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new UsagesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new UsagesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -49,7 +49,7 @@ public virtual AsyncPageable ListAsync(string location, CancellationToken async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("UsagesClient.List"); + using var scope = _clientDiagnostics.CreateScope("UsagesOperations.List"); scope.Start(); try { @@ -64,7 +64,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("UsagesClient.List"); + using var scope = _clientDiagnostics.CreateScope("UsagesOperations.List"); scope.Start(); try { @@ -92,7 +92,7 @@ public virtual Pageable List(string location, CancellationToken cancellat Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("UsagesClient.List"); + using var scope = _clientDiagnostics.CreateScope("UsagesOperations.List"); scope.Start(); try { @@ -107,7 +107,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("UsagesClient.List"); + using var scope = _clientDiagnostics.CreateScope("UsagesOperations.List"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/UsagesRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/UsagesRestOperations.cs similarity index 97% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/UsagesRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/UsagesRestOperations.cs index c24359f638ddd..593ad4218eedb 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/UsagesRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/UsagesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class UsagesRestClient + internal partial class UsagesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of UsagesRestClient. + /// Initializes a new instance of UsagesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public UsagesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public UsagesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualHubRouteTableV2SClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualHubRouteTableV2SOperations.cs similarity index 93% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualHubRouteTableV2SClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualHubRouteTableV2SOperations.cs index e6ae05939cadc..3c79f5b9fde3d 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualHubRouteTableV2SClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualHubRouteTableV2SOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The VirtualHubRouteTableV2S service client. - public partial class VirtualHubRouteTableV2SClient + public partial class VirtualHubRouteTableV2SOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VirtualHubRouteTableV2SRestClient RestClient { get; } - /// Initializes a new instance of VirtualHubRouteTableV2SClient for mocking. - protected VirtualHubRouteTableV2SClient() + internal VirtualHubRouteTableV2SRestOperations RestClient { get; } + /// Initializes a new instance of VirtualHubRouteTableV2SOperations for mocking. + protected VirtualHubRouteTableV2SOperations() { } - /// Initializes a new instance of VirtualHubRouteTableV2SClient. + /// Initializes a new instance of VirtualHubRouteTableV2SOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VirtualHubRouteTableV2SClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VirtualHubRouteTableV2SOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VirtualHubRouteTableV2SRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VirtualHubRouteTableV2SRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal VirtualHubRouteTableV2SClient(ClientDiagnostics clientDiagnostics, Http /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string virtualHubName, string routeTableName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualHubRouteTableV2SClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubRouteTableV2SOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string reso /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string virtualHubName, string routeTableName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualHubRouteTableV2SClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubRouteTableV2SOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListAsync(string resourceGr async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualHubRouteTableV2SClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubRouteTableV2SOperations.List"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualHubRouteTableV2SClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubRouteTableV2SOperations.List"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable List(string resourceGroupName, s Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualHubRouteTableV2SClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubRouteTableV2SOperations.List"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualHubRouteTableV2SClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubRouteTableV2SOperations.List"); scope.Start(); try { @@ -198,7 +198,7 @@ public virtual async Task StartC throw new ArgumentNullException(nameof(virtualHubRouteTableV2Parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualHubRouteTableV2SClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubRouteTableV2SOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -237,7 +237,7 @@ public virtual VirtualHubRouteTableV2SCreateOrUpdateOperation StartCreateOrUpdat throw new ArgumentNullException(nameof(virtualHubRouteTableV2Parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualHubRouteTableV2SClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubRouteTableV2SOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -271,7 +271,7 @@ public virtual async Task StartDeleteAsy throw new ArgumentNullException(nameof(routeTableName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualHubRouteTableV2SClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubRouteTableV2SOperations.StartDelete"); scope.Start(); try { @@ -305,7 +305,7 @@ public virtual VirtualHubRouteTableV2SDeleteOperation StartDelete(string resourc throw new ArgumentNullException(nameof(routeTableName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualHubRouteTableV2SClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubRouteTableV2SOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualHubRouteTableV2SRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualHubRouteTableV2SRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualHubRouteTableV2SRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualHubRouteTableV2SRestOperations.cs index 448e415cc06f8..d357d0fdef120 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualHubRouteTableV2SRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualHubRouteTableV2SRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class VirtualHubRouteTableV2SRestClient + internal partial class VirtualHubRouteTableV2SRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of VirtualHubRouteTableV2SRestClient. + /// Initializes a new instance of VirtualHubRouteTableV2SRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VirtualHubRouteTableV2SRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VirtualHubRouteTableV2SRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualHubsClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualHubsOperations.cs similarity index 93% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualHubsClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualHubsOperations.cs index 8f61997e2adf7..537c187a73025 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualHubsClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualHubsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The VirtualHubs service client. - public partial class VirtualHubsClient + public partial class VirtualHubsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VirtualHubsRestClient RestClient { get; } - /// Initializes a new instance of VirtualHubsClient for mocking. - protected VirtualHubsClient() + internal VirtualHubsRestOperations RestClient { get; } + /// Initializes a new instance of VirtualHubsOperations for mocking. + protected VirtualHubsOperations() { } - /// Initializes a new instance of VirtualHubsClient. + /// Initializes a new instance of VirtualHubsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VirtualHubsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VirtualHubsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VirtualHubsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VirtualHubsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal VirtualHubsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pip /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string virtualHubName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualHubsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubsOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string resourceGroupNam /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string virtualHubName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualHubsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubsOperations.Get"); scope.Start(); try { @@ -82,7 +82,7 @@ public virtual Response Get(string resourceGroupName, string virtual /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string virtualHubName, TagsObject virtualHubParameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualHubsClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubsOperations.UpdateTags"); scope.Start(); try { @@ -102,7 +102,7 @@ public virtual async Task> UpdateTagsAsync(string resourceG /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string virtualHubName, TagsObject virtualHubParameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualHubsClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubsOperations.UpdateTags"); scope.Start(); try { @@ -127,7 +127,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(string resourc async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualHubsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubsOperations.ListByResourceGroup"); scope.Start(); try { @@ -142,7 +142,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualHubsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubsOperations.ListByResourceGroup"); scope.Start(); try { @@ -170,7 +170,7 @@ public virtual Pageable ListByResourceGroup(string resourceGroupName Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualHubsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubsOperations.ListByResourceGroup"); scope.Start(); try { @@ -185,7 +185,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualHubsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubsOperations.ListByResourceGroup"); scope.Start(); try { @@ -207,7 +207,7 @@ public virtual AsyncPageable ListAsync(CancellationToken cancellatio { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualHubsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubsOperations.List"); scope.Start(); try { @@ -222,7 +222,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualHubsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubsOperations.List"); scope.Start(); try { @@ -244,7 +244,7 @@ public virtual Pageable List(CancellationToken cancellationToken = d { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualHubsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubsOperations.List"); scope.Start(); try { @@ -259,7 +259,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualHubsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubsOperations.List"); scope.Start(); try { @@ -295,7 +295,7 @@ public virtual async Task StartCreateOrUpdat throw new ArgumentNullException(nameof(virtualHubParameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualHubsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -329,7 +329,7 @@ public virtual VirtualHubsCreateOrUpdateOperation StartCreateOrUpdate(string res throw new ArgumentNullException(nameof(virtualHubParameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualHubsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -358,7 +358,7 @@ public virtual async Task StartDeleteAsync(string re throw new ArgumentNullException(nameof(virtualHubName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualHubsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubsOperations.StartDelete"); scope.Start(); try { @@ -387,7 +387,7 @@ public virtual VirtualHubsDeleteOperation StartDelete(string resourceGroupName, throw new ArgumentNullException(nameof(virtualHubName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualHubsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualHubsOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualHubsRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualHubsRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualHubsRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualHubsRestOperations.cs index 4cd7c592e2193..7f56a5ebd9051 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualHubsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualHubsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class VirtualHubsRestClient + internal partial class VirtualHubsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of VirtualHubsRestClient. + /// Initializes a new instance of VirtualHubsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VirtualHubsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VirtualHubsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualNetworkGatewayConnectionsClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualNetworkGatewayConnectionsOperations.cs similarity index 95% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualNetworkGatewayConnectionsClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualNetworkGatewayConnectionsOperations.cs index 70248053b7a38..9505dcda7ed3f 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualNetworkGatewayConnectionsClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualNetworkGatewayConnectionsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The VirtualNetworkGatewayConnections service client. - public partial class VirtualNetworkGatewayConnectionsClient + public partial class VirtualNetworkGatewayConnectionsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VirtualNetworkGatewayConnectionsRestClient RestClient { get; } - /// Initializes a new instance of VirtualNetworkGatewayConnectionsClient for mocking. - protected VirtualNetworkGatewayConnectionsClient() + internal VirtualNetworkGatewayConnectionsRestOperations RestClient { get; } + /// Initializes a new instance of VirtualNetworkGatewayConnectionsOperations for mocking. + protected VirtualNetworkGatewayConnectionsOperations() { } - /// Initializes a new instance of VirtualNetworkGatewayConnectionsClient. + /// Initializes a new instance of VirtualNetworkGatewayConnectionsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VirtualNetworkGatewayConnectionsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VirtualNetworkGatewayConnectionsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VirtualNetworkGatewayConnectionsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VirtualNetworkGatewayConnectionsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal VirtualNetworkGatewayConnectionsClient(ClientDiagnostics clientDiagnost /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string virtualNetworkGatewayConnectionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(st /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string virtualNetworkGatewayConnectionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsOperations.Get"); scope.Start(); try { @@ -81,7 +81,7 @@ public virtual Response Get(string resourceGrou /// The cancellation token to use. public virtual async Task> GetSharedKeyAsync(string resourceGroupName, string virtualNetworkGatewayConnectionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsClient.GetSharedKey"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsOperations.GetSharedKey"); scope.Start(); try { @@ -100,7 +100,7 @@ public virtual async Task> GetSharedKeyAsync(strin /// The cancellation token to use. public virtual Response GetSharedKey(string resourceGroupName, string virtualNetworkGatewayConnectionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsClient.GetSharedKey"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsOperations.GetSharedKey"); scope.Start(); try { @@ -125,7 +125,7 @@ public virtual AsyncPageable ListAsync(string r async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsOperations.List"); scope.Start(); try { @@ -140,7 +140,7 @@ async Task> FirstPageFunc(int? pageSizeHin } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsOperations.List"); scope.Start(); try { @@ -168,7 +168,7 @@ public virtual Pageable List(string resourceGro Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsOperations.List"); scope.Start(); try { @@ -183,7 +183,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsOperations.List"); scope.Start(); try { @@ -219,7 +219,7 @@ public virtual async Task Start throw new ArgumentNullException(nameof(virtualNetworkGatewayConnectionName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsOperations.StartDelete"); scope.Start(); try { @@ -311,7 +311,7 @@ public virtual VirtualNetworkGatewayConnectionsDeleteOperation StartDelete(strin throw new ArgumentNullException(nameof(virtualNetworkGatewayConnectionName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsOperations.StartDelete"); scope.Start(); try { @@ -345,7 +345,7 @@ public virtual async Task S throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsClient.StartUpdateTags"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsOperations.StartUpdateTags"); scope.Start(); try { @@ -379,7 +379,7 @@ public virtual VirtualNetworkGatewayConnectionsUpdateTagsOperation StartUpdateTa throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsClient.StartUpdateTags"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsOperations.StartUpdateTags"); scope.Start(); try { @@ -413,7 +413,7 @@ public virtual async Task throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsClient.StartSetSharedKey"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsOperations.StartSetSharedKey"); scope.Start(); try { @@ -447,7 +447,7 @@ public virtual VirtualNetworkGatewayConnectionsSetSharedKeyOperation StartSetSha throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsClient.StartSetSharedKey"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewayConnectionsOperations.StartSetSharedKey"); scope.Start(); try { @@ -481,7 +481,7 @@ public virtual async Task Initializes a new instance of VirtualNetworkGatewayConnectionsRestClient. + /// Initializes a new instance of VirtualNetworkGatewayConnectionsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VirtualNetworkGatewayConnectionsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VirtualNetworkGatewayConnectionsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualNetworkGatewaysClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualNetworkGatewaysOperations.cs similarity index 95% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualNetworkGatewaysClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualNetworkGatewaysOperations.cs index 96cdff6e33e96..db3369a93205d 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualNetworkGatewaysClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualNetworkGatewaysOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The VirtualNetworkGateways service client. - public partial class VirtualNetworkGatewaysClient + public partial class VirtualNetworkGatewaysOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VirtualNetworkGatewaysRestClient RestClient { get; } - /// Initializes a new instance of VirtualNetworkGatewaysClient for mocking. - protected VirtualNetworkGatewaysClient() + internal VirtualNetworkGatewaysRestOperations RestClient { get; } + /// Initializes a new instance of VirtualNetworkGatewaysOperations for mocking. + protected VirtualNetworkGatewaysOperations() { } - /// Initializes a new instance of VirtualNetworkGatewaysClient. + /// Initializes a new instance of VirtualNetworkGatewaysOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VirtualNetworkGatewaysClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VirtualNetworkGatewaysOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VirtualNetworkGatewaysRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VirtualNetworkGatewaysRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal VirtualNetworkGatewaysClient(ClientDiagnostics clientDiagnostics, HttpP /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string virtualNetworkGatewayName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string resou /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string virtualNetworkGatewayName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.Get"); scope.Start(); try { @@ -81,7 +81,7 @@ public virtual Response Get(string resourceGroupName, str /// The cancellation token to use. public virtual async Task> SupportedVpnDevicesAsync(string resourceGroupName, string virtualNetworkGatewayName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.SupportedVpnDevices"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.SupportedVpnDevices"); scope.Start(); try { @@ -100,7 +100,7 @@ public virtual async Task> SupportedVpnDevicesAsync(string reso /// The cancellation token to use. public virtual Response SupportedVpnDevices(string resourceGroupName, string virtualNetworkGatewayName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.SupportedVpnDevices"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.SupportedVpnDevices"); scope.Start(); try { @@ -120,7 +120,7 @@ public virtual Response SupportedVpnDevices(string resourceGroupName, st /// The cancellation token to use. public virtual async Task> VpnDeviceConfigurationScriptAsync(string resourceGroupName, string virtualNetworkGatewayConnectionName, VpnDeviceScriptParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.VpnDeviceConfigurationScript"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.VpnDeviceConfigurationScript"); scope.Start(); try { @@ -140,7 +140,7 @@ public virtual async Task> VpnDeviceConfigurationScriptAsync(st /// The cancellation token to use. public virtual Response VpnDeviceConfigurationScript(string resourceGroupName, string virtualNetworkGatewayConnectionName, VpnDeviceScriptParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.VpnDeviceConfigurationScript"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.VpnDeviceConfigurationScript"); scope.Start(); try { @@ -165,7 +165,7 @@ public virtual AsyncPageable ListAsync(string resourceGro async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.List"); scope.Start(); try { @@ -180,7 +180,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.List"); scope.Start(); try { @@ -208,7 +208,7 @@ public virtual Pageable List(string resourceGroupName, Ca Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.List"); scope.Start(); try { @@ -223,7 +223,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.List"); scope.Start(); try { @@ -256,7 +256,7 @@ public virtual AsyncPageable ListConn async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.ListConnections"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.ListConnections"); scope.Start(); try { @@ -271,7 +271,7 @@ async Task> FirstPageFunc(int? p } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.ListConnections"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.ListConnections"); scope.Start(); try { @@ -304,7 +304,7 @@ public virtual Pageable ListConnectio Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.ListConnections"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.ListConnections"); scope.Start(); try { @@ -319,7 +319,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.ListConnections"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.ListConnections"); scope.Start(); try { @@ -355,7 +355,7 @@ public virtual async Task StartCr throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -389,7 +389,7 @@ public virtual VirtualNetworkGatewaysCreateOrUpdateOperation StartCreateOrUpdate throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -418,7 +418,7 @@ public virtual async Task StartDeleteAsyn throw new ArgumentNullException(nameof(virtualNetworkGatewayName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.StartDelete"); scope.Start(); try { @@ -447,7 +447,7 @@ public virtual VirtualNetworkGatewaysDeleteOperation StartDelete(string resource throw new ArgumentNullException(nameof(virtualNetworkGatewayName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.StartDelete"); scope.Start(); try { @@ -481,7 +481,7 @@ public virtual async Task StartUpdate throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.StartUpdateTags"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.StartUpdateTags"); scope.Start(); try { @@ -515,7 +515,7 @@ public virtual VirtualNetworkGatewaysUpdateTagsOperation StartUpdateTags(string throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.StartUpdateTags"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.StartUpdateTags"); scope.Start(); try { @@ -545,7 +545,7 @@ public virtual async Task StartResetAsync( throw new ArgumentNullException(nameof(virtualNetworkGatewayName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.StartReset"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.StartReset"); scope.Start(); try { @@ -575,7 +575,7 @@ public virtual VirtualNetworkGatewaysResetOperation StartReset(string resourceGr throw new ArgumentNullException(nameof(virtualNetworkGatewayName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.StartReset"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.StartReset"); scope.Start(); try { @@ -604,7 +604,7 @@ public virtual async Task Sta throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.StartGenerateVpnProfile"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.StartGenerateVpnProfile"); scope.Start(); try { @@ -769,7 +769,7 @@ public virtual VirtualNetworkGatewaysGenerateVpnProfileOperation StartGenerateVp throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.StartGenerateVpnProfile"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.StartGenerateVpnProfile"); scope.Start(); try { @@ -798,7 +798,7 @@ public virtual async Task Start throw new ArgumentNullException(nameof(virtualNetworkGatewayName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.StartGetBgpPeerStatus"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.StartGetBgpPeerStatus"); scope.Start(); try { @@ -887,7 +887,7 @@ public virtual VirtualNetworkGatewaysGetBgpPeerStatusOperation StartGetBgpPeerSt throw new ArgumentNullException(nameof(virtualNetworkGatewayName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.StartGetBgpPeerStatus"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.StartGetBgpPeerStatus"); scope.Start(); try { @@ -916,7 +916,7 @@ public virtual async Task Start throw new ArgumentNullException(nameof(virtualNetworkGatewayName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.StartGetLearnedRoutes"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.StartGetLearnedRoutes"); scope.Start(); try { @@ -945,7 +945,7 @@ public virtual VirtualNetworkGatewaysGetLearnedRoutesOperation StartGetLearnedRo throw new ArgumentNullException(nameof(virtualNetworkGatewayName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.StartGetLearnedRoutes"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.StartGetLearnedRoutes"); scope.Start(); try { @@ -979,7 +979,7 @@ public virtual async Task St throw new ArgumentNullException(nameof(peer)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.StartGetAdvertisedRoutes"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.StartGetAdvertisedRoutes"); scope.Start(); try { @@ -1013,7 +1013,7 @@ public virtual VirtualNetworkGatewaysGetAdvertisedRoutesOperation StartGetAdvert throw new ArgumentNullException(nameof(peer)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.StartGetAdvertisedRoutes"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.StartGetAdvertisedRoutes"); scope.Start(); try { @@ -1047,7 +1047,7 @@ public virtual async Task Sta throw new ArgumentNullException(nameof(virtualNetworkGatewayName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.StartStartPacketCapture"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.StartStartPacketCapture"); scope.Start(); try { @@ -1199,7 +1199,7 @@ public virtual VirtualNetworkGatewaysStartPacketCaptureOperation StartStartPacke throw new ArgumentNullException(nameof(virtualNetworkGatewayName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.StartStartPacketCapture"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.StartStartPacketCapture"); scope.Start(); try { @@ -1233,7 +1233,7 @@ public virtual async Task Star throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.StartStopPacketCapture"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.StartStopPacketCapture"); scope.Start(); try { @@ -1267,7 +1267,7 @@ public virtual VirtualNetworkGatewaysStopPacketCaptureOperation StartStopPacketC throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysClient.StartStopPacketCapture"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkGatewaysOperations.StartStopPacketCapture"); scope.Start(); try { @@ -1296,7 +1296,7 @@ public virtual async Task Initializes a new instance of VirtualNetworkGatewaysRestClient. + /// Initializes a new instance of VirtualNetworkGatewaysRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VirtualNetworkGatewaysRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VirtualNetworkGatewaysRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualNetworkPeeringsClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualNetworkPeeringsOperations.cs similarity index 94% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualNetworkPeeringsClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualNetworkPeeringsOperations.cs index 8e099e1a0dd2d..d96101c8ac408 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualNetworkPeeringsClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualNetworkPeeringsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The VirtualNetworkPeerings service client. - public partial class VirtualNetworkPeeringsClient + public partial class VirtualNetworkPeeringsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VirtualNetworkPeeringsRestClient RestClient { get; } - /// Initializes a new instance of VirtualNetworkPeeringsClient for mocking. - protected VirtualNetworkPeeringsClient() + internal VirtualNetworkPeeringsRestOperations RestClient { get; } + /// Initializes a new instance of VirtualNetworkPeeringsOperations for mocking. + protected VirtualNetworkPeeringsOperations() { } - /// Initializes a new instance of VirtualNetworkPeeringsClient. + /// Initializes a new instance of VirtualNetworkPeeringsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VirtualNetworkPeeringsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VirtualNetworkPeeringsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VirtualNetworkPeeringsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VirtualNetworkPeeringsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal VirtualNetworkPeeringsClient(ClientDiagnostics clientDiagnostics, HttpP /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string virtualNetworkName, string virtualNetworkPeeringName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkPeeringsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkPeeringsOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resou /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string virtualNetworkName, string virtualNetworkPeeringName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkPeeringsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkPeeringsOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListAsync(string resourceGro async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkPeeringsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkPeeringsOperations.List"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkPeeringsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkPeeringsOperations.List"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable List(string resourceGroupName, st Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkPeeringsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkPeeringsOperations.List"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkPeeringsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkPeeringsOperations.List"); scope.Start(); try { @@ -193,7 +193,7 @@ public virtual async Task StartDeleteAsyn throw new ArgumentNullException(nameof(virtualNetworkPeeringName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkPeeringsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkPeeringsOperations.StartDelete"); scope.Start(); try { @@ -227,7 +227,7 @@ public virtual VirtualNetworkPeeringsDeleteOperation StartDelete(string resource throw new ArgumentNullException(nameof(virtualNetworkPeeringName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkPeeringsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkPeeringsOperations.StartDelete"); scope.Start(); try { @@ -266,7 +266,7 @@ public virtual async Task StartCr throw new ArgumentNullException(nameof(virtualNetworkPeeringParameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkPeeringsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkPeeringsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -305,7 +305,7 @@ public virtual VirtualNetworkPeeringsCreateOrUpdateOperation StartCreateOrUpdate throw new ArgumentNullException(nameof(virtualNetworkPeeringParameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkPeeringsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkPeeringsOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualNetworkPeeringsRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualNetworkPeeringsRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualNetworkPeeringsRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualNetworkPeeringsRestOperations.cs index bf00ce5dc5488..a5a24b7252a77 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualNetworkPeeringsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualNetworkPeeringsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class VirtualNetworkPeeringsRestClient + internal partial class VirtualNetworkPeeringsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of VirtualNetworkPeeringsRestClient. + /// Initializes a new instance of VirtualNetworkPeeringsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VirtualNetworkPeeringsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VirtualNetworkPeeringsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualNetworkTapsClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualNetworkTapsOperations.cs similarity index 93% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualNetworkTapsClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualNetworkTapsOperations.cs index b1a23e520801f..181fdbbcef048 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualNetworkTapsClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualNetworkTapsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The VirtualNetworkTaps service client. - public partial class VirtualNetworkTapsClient + public partial class VirtualNetworkTapsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VirtualNetworkTapsRestClient RestClient { get; } - /// Initializes a new instance of VirtualNetworkTapsClient for mocking. - protected VirtualNetworkTapsClient() + internal VirtualNetworkTapsRestOperations RestClient { get; } + /// Initializes a new instance of VirtualNetworkTapsOperations for mocking. + protected VirtualNetworkTapsOperations() { } - /// Initializes a new instance of VirtualNetworkTapsClient. + /// Initializes a new instance of VirtualNetworkTapsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VirtualNetworkTapsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VirtualNetworkTapsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VirtualNetworkTapsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VirtualNetworkTapsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal VirtualNetworkTapsClient(ClientDiagnostics clientDiagnostics, HttpPipel /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string tapName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string resourceG /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string tapName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsOperations.Get"); scope.Start(); try { @@ -82,7 +82,7 @@ public virtual Response Get(string resourceGroupName, string /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string tapName, TagsObject tapParameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsOperations.UpdateTags"); scope.Start(); try { @@ -102,7 +102,7 @@ public virtual async Task> UpdateTagsAsync(string re /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string tapName, TagsObject tapParameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsOperations.UpdateTags"); scope.Start(); try { @@ -121,7 +121,7 @@ public virtual AsyncPageable ListAllAsync(CancellationToken c { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsOperations.ListAll"); scope.Start(); try { @@ -136,7 +136,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsOperations.ListAll"); scope.Start(); try { @@ -158,7 +158,7 @@ public virtual Pageable ListAll(CancellationToken cancellatio { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsOperations.ListAll"); scope.Start(); try { @@ -173,7 +173,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsOperations.ListAll"); scope.Start(); try { @@ -201,7 +201,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(string async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsOperations.ListByResourceGroup"); scope.Start(); try { @@ -216,7 +216,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsOperations.ListByResourceGroup"); scope.Start(); try { @@ -244,7 +244,7 @@ public virtual Pageable ListByResourceGroup(string resourceGr Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsOperations.ListByResourceGroup"); scope.Start(); try { @@ -259,7 +259,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsOperations.ListByResourceGroup"); scope.Start(); try { @@ -290,7 +290,7 @@ public virtual async Task StartDeleteAsync(st throw new ArgumentNullException(nameof(tapName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsOperations.StartDelete"); scope.Start(); try { @@ -319,7 +319,7 @@ public virtual VirtualNetworkTapsDeleteOperation StartDelete(string resourceGrou throw new ArgumentNullException(nameof(tapName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsOperations.StartDelete"); scope.Start(); try { @@ -353,7 +353,7 @@ public virtual async Task StartCreate throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -387,7 +387,7 @@ public virtual VirtualNetworkTapsCreateOrUpdateOperation StartCreateOrUpdate(str throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworkTapsOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualNetworkTapsRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualNetworkTapsRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualNetworkTapsRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualNetworkTapsRestOperations.cs index a9f2b62529d50..1d7df3c787519 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualNetworkTapsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualNetworkTapsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class VirtualNetworkTapsRestClient + internal partial class VirtualNetworkTapsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of VirtualNetworkTapsRestClient. + /// Initializes a new instance of VirtualNetworkTapsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VirtualNetworkTapsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VirtualNetworkTapsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualNetworksClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualNetworksOperations.cs similarity index 94% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualNetworksClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualNetworksOperations.cs index 6830e579ba243..7ad84593404b6 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualNetworksClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualNetworksOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The VirtualNetworks service client. - public partial class VirtualNetworksClient + public partial class VirtualNetworksOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VirtualNetworksRestClient RestClient { get; } - /// Initializes a new instance of VirtualNetworksClient for mocking. - protected VirtualNetworksClient() + internal VirtualNetworksRestOperations RestClient { get; } + /// Initializes a new instance of VirtualNetworksOperations for mocking. + protected VirtualNetworksOperations() { } - /// Initializes a new instance of VirtualNetworksClient. + /// Initializes a new instance of VirtualNetworksOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VirtualNetworksClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VirtualNetworksOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VirtualNetworksRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VirtualNetworksRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal VirtualNetworksClient(ClientDiagnostics clientDiagnostics, HttpPipeline /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string virtualNetworkName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworksClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworksOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGrou /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string virtualNetworkName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworksClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworksOperations.Get"); scope.Start(); try { @@ -84,7 +84,7 @@ public virtual Response Get(string resourceGroupName, string vir /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string virtualNetworkName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworksClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworksOperations.UpdateTags"); scope.Start(); try { @@ -104,7 +104,7 @@ public virtual async Task> UpdateTagsAsync(string resou /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string virtualNetworkName, TagsObject parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworksClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworksOperations.UpdateTags"); scope.Start(); try { @@ -124,7 +124,7 @@ public virtual Response UpdateTags(string resourceGroupName, str /// The cancellation token to use. public virtual async Task> CheckIPAddressAvailabilityAsync(string resourceGroupName, string virtualNetworkName, string ipAddress, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworksClient.CheckIPAddressAvailability"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworksOperations.CheckIPAddressAvailability"); scope.Start(); try { @@ -144,7 +144,7 @@ public virtual async Task> CheckIPAddressA /// The cancellation token to use. public virtual Response CheckIPAddressAvailability(string resourceGroupName, string virtualNetworkName, string ipAddress, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworksClient.CheckIPAddressAvailability"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworksOperations.CheckIPAddressAvailability"); scope.Start(); try { @@ -163,7 +163,7 @@ public virtual AsyncPageable ListAllAsync(CancellationToken canc { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworksClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworksOperations.ListAll"); scope.Start(); try { @@ -178,7 +178,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworksClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworksOperations.ListAll"); scope.Start(); try { @@ -200,7 +200,7 @@ public virtual Pageable ListAll(CancellationToken cancellationTo { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworksClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworksOperations.ListAll"); scope.Start(); try { @@ -215,7 +215,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworksClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworksOperations.ListAll"); scope.Start(); try { @@ -243,7 +243,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName, async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworksClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworksOperations.List"); scope.Start(); try { @@ -258,7 +258,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworksClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworksOperations.List"); scope.Start(); try { @@ -286,7 +286,7 @@ public virtual Pageable List(string resourceGroupName, Cancellat Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworksClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworksOperations.List"); scope.Start(); try { @@ -301,7 +301,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworksClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworksOperations.List"); scope.Start(); try { @@ -334,7 +334,7 @@ public virtual AsyncPageable ListUsageAsync(string resource async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworksClient.ListUsage"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworksOperations.ListUsage"); scope.Start(); try { @@ -349,7 +349,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworksClient.ListUsage"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworksOperations.ListUsage"); scope.Start(); try { @@ -382,7 +382,7 @@ public virtual Pageable ListUsage(string resourceGroupName, Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworksClient.ListUsage"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworksOperations.ListUsage"); scope.Start(); try { @@ -397,7 +397,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualNetworksClient.ListUsage"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworksOperations.ListUsage"); scope.Start(); try { @@ -428,7 +428,7 @@ public virtual async Task StartDeleteAsync(strin throw new ArgumentNullException(nameof(virtualNetworkName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworksClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworksOperations.StartDelete"); scope.Start(); try { @@ -457,7 +457,7 @@ public virtual VirtualNetworksDeleteOperation StartDelete(string resourceGroupNa throw new ArgumentNullException(nameof(virtualNetworkName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworksClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworksOperations.StartDelete"); scope.Start(); try { @@ -491,7 +491,7 @@ public virtual async Task StartCreateOrU throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworksClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworksOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -525,7 +525,7 @@ public virtual VirtualNetworksCreateOrUpdateOperation StartCreateOrUpdate(string throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualNetworksClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualNetworksOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualNetworksRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualNetworksRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualNetworksRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualNetworksRestOperations.cs index d7fb20286e4d0..425931b52ac7d 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualNetworksRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualNetworksRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class VirtualNetworksRestClient + internal partial class VirtualNetworksRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of VirtualNetworksRestClient. + /// Initializes a new instance of VirtualNetworksRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VirtualNetworksRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VirtualNetworksRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualRouterPeeringsClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualRouterPeeringsOperations.cs similarity index 93% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualRouterPeeringsClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualRouterPeeringsOperations.cs index 8c587ea9af220..489d134c26bf0 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualRouterPeeringsClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualRouterPeeringsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The VirtualRouterPeerings service client. - public partial class VirtualRouterPeeringsClient + public partial class VirtualRouterPeeringsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VirtualRouterPeeringsRestClient RestClient { get; } - /// Initializes a new instance of VirtualRouterPeeringsClient for mocking. - protected VirtualRouterPeeringsClient() + internal VirtualRouterPeeringsRestOperations RestClient { get; } + /// Initializes a new instance of VirtualRouterPeeringsOperations for mocking. + protected VirtualRouterPeeringsOperations() { } - /// Initializes a new instance of VirtualRouterPeeringsClient. + /// Initializes a new instance of VirtualRouterPeeringsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VirtualRouterPeeringsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VirtualRouterPeeringsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VirtualRouterPeeringsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VirtualRouterPeeringsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal VirtualRouterPeeringsClient(ClientDiagnostics clientDiagnostics, HttpPi /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string virtualRouterName, string peeringName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualRouterPeeringsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualRouterPeeringsOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resour /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string virtualRouterName, string peeringName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualRouterPeeringsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualRouterPeeringsOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListAsync(string resourceGrou async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualRouterPeeringsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualRouterPeeringsOperations.List"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualRouterPeeringsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualRouterPeeringsOperations.List"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable List(string resourceGroupName, str Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualRouterPeeringsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualRouterPeeringsOperations.List"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualRouterPeeringsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualRouterPeeringsOperations.List"); scope.Start(); try { @@ -193,7 +193,7 @@ public virtual async Task StartDeleteAsync throw new ArgumentNullException(nameof(peeringName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualRouterPeeringsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualRouterPeeringsOperations.StartDelete"); scope.Start(); try { @@ -227,7 +227,7 @@ public virtual VirtualRouterPeeringsDeleteOperation StartDelete(string resourceG throw new ArgumentNullException(nameof(peeringName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualRouterPeeringsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualRouterPeeringsOperations.StartDelete"); scope.Start(); try { @@ -266,7 +266,7 @@ public virtual async Task StartCre throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualRouterPeeringsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualRouterPeeringsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -305,7 +305,7 @@ public virtual VirtualRouterPeeringsCreateOrUpdateOperation StartCreateOrUpdate( throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualRouterPeeringsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualRouterPeeringsOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualRouterPeeringsRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualRouterPeeringsRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualRouterPeeringsRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualRouterPeeringsRestOperations.cs index b5581c10a8601..3a53eb5a6ec85 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualRouterPeeringsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualRouterPeeringsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class VirtualRouterPeeringsRestClient + internal partial class VirtualRouterPeeringsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of VirtualRouterPeeringsRestClient. + /// Initializes a new instance of VirtualRouterPeeringsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VirtualRouterPeeringsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VirtualRouterPeeringsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualRoutersClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualRoutersOperations.cs similarity index 94% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualRoutersClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualRoutersOperations.cs index 6a8ae9ca51761..f6f2dcc17f980 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualRoutersClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualRoutersOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The VirtualRouters service client. - public partial class VirtualRoutersClient + public partial class VirtualRoutersOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VirtualRoutersRestClient RestClient { get; } - /// Initializes a new instance of VirtualRoutersClient for mocking. - protected VirtualRoutersClient() + internal VirtualRoutersRestOperations RestClient { get; } + /// Initializes a new instance of VirtualRoutersOperations for mocking. + protected VirtualRoutersOperations() { } - /// Initializes a new instance of VirtualRoutersClient. + /// Initializes a new instance of VirtualRoutersOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VirtualRoutersClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VirtualRoutersOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VirtualRoutersRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VirtualRoutersRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal VirtualRoutersClient(ClientDiagnostics clientDiagnostics, HttpPipeline /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string virtualRouterName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualRoutersClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualRoutersOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGroup /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string virtualRouterName, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualRoutersClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualRoutersOperations.Get"); scope.Start(); try { @@ -89,7 +89,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(string reso async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualRoutersClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VirtualRoutersOperations.ListByResourceGroup"); scope.Start(); try { @@ -104,7 +104,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualRoutersClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VirtualRoutersOperations.ListByResourceGroup"); scope.Start(); try { @@ -132,7 +132,7 @@ public virtual Pageable ListByResourceGroup(string resourceGroupN Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualRoutersClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VirtualRoutersOperations.ListByResourceGroup"); scope.Start(); try { @@ -147,7 +147,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualRoutersClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VirtualRoutersOperations.ListByResourceGroup"); scope.Start(); try { @@ -169,7 +169,7 @@ public virtual AsyncPageable ListAsync(CancellationToken cancella { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualRoutersClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualRoutersOperations.List"); scope.Start(); try { @@ -184,7 +184,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualRoutersClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualRoutersOperations.List"); scope.Start(); try { @@ -206,7 +206,7 @@ public virtual Pageable List(CancellationToken cancellationToken { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualRoutersClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualRoutersOperations.List"); scope.Start(); try { @@ -221,7 +221,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualRoutersClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualRoutersOperations.List"); scope.Start(); try { @@ -252,7 +252,7 @@ public virtual async Task StartDeleteAsync(string throw new ArgumentNullException(nameof(virtualRouterName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualRoutersClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualRoutersOperations.StartDelete"); scope.Start(); try { @@ -281,7 +281,7 @@ public virtual VirtualRoutersDeleteOperation StartDelete(string resourceGroupNam throw new ArgumentNullException(nameof(virtualRouterName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualRoutersClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualRoutersOperations.StartDelete"); scope.Start(); try { @@ -315,7 +315,7 @@ public virtual async Task StartCreateOrUp throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualRoutersClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualRoutersOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -349,7 +349,7 @@ public virtual VirtualRoutersCreateOrUpdateOperation StartCreateOrUpdate(string throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualRoutersClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualRoutersOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualRoutersRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualRoutersRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualRoutersRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualRoutersRestOperations.cs index 12fdf19db63a9..d827c630732e7 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualRoutersRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualRoutersRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class VirtualRoutersRestClient + internal partial class VirtualRoutersRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of VirtualRoutersRestClient. + /// Initializes a new instance of VirtualRoutersRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VirtualRoutersRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VirtualRoutersRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualWansClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualWansOperations.cs similarity index 93% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualWansClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualWansOperations.cs index 9627dc2b55059..4ee15eb91ddb8 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualWansClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualWansOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The VirtualWans service client. - public partial class VirtualWansClient + public partial class VirtualWansOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VirtualWansRestClient RestClient { get; } - /// Initializes a new instance of VirtualWansClient for mocking. - protected VirtualWansClient() + internal VirtualWansRestOperations RestClient { get; } + /// Initializes a new instance of VirtualWansOperations for mocking. + protected VirtualWansOperations() { } - /// Initializes a new instance of VirtualWansClient. + /// Initializes a new instance of VirtualWansOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VirtualWansClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VirtualWansOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VirtualWansRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VirtualWansRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal VirtualWansClient(ClientDiagnostics clientDiagnostics, HttpPipeline pip /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string virtualWANName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualWansClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualWansOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string resourceGroupNam /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string virtualWANName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualWansClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VirtualWansOperations.Get"); scope.Start(); try { @@ -82,7 +82,7 @@ public virtual Response Get(string resourceGroupName, string virtual /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string virtualWANName, TagsObject wANParameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualWansClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("VirtualWansOperations.UpdateTags"); scope.Start(); try { @@ -102,7 +102,7 @@ public virtual async Task> UpdateTagsAsync(string resourceG /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string virtualWANName, TagsObject wANParameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VirtualWansClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("VirtualWansOperations.UpdateTags"); scope.Start(); try { @@ -127,7 +127,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(string resourc async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualWansClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VirtualWansOperations.ListByResourceGroup"); scope.Start(); try { @@ -142,7 +142,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualWansClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VirtualWansOperations.ListByResourceGroup"); scope.Start(); try { @@ -170,7 +170,7 @@ public virtual Pageable ListByResourceGroup(string resourceGroupName Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualWansClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VirtualWansOperations.ListByResourceGroup"); scope.Start(); try { @@ -185,7 +185,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualWansClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VirtualWansOperations.ListByResourceGroup"); scope.Start(); try { @@ -207,7 +207,7 @@ public virtual AsyncPageable ListAsync(CancellationToken cancellatio { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualWansClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualWansOperations.List"); scope.Start(); try { @@ -222,7 +222,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualWansClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualWansOperations.List"); scope.Start(); try { @@ -244,7 +244,7 @@ public virtual Pageable List(CancellationToken cancellationToken = d { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualWansClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualWansOperations.List"); scope.Start(); try { @@ -259,7 +259,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VirtualWansClient.List"); + using var scope = _clientDiagnostics.CreateScope("VirtualWansOperations.List"); scope.Start(); try { @@ -295,7 +295,7 @@ public virtual async Task StartCreateOrUpdat throw new ArgumentNullException(nameof(wANParameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualWansClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualWansOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -329,7 +329,7 @@ public virtual VirtualWansCreateOrUpdateOperation StartCreateOrUpdate(string res throw new ArgumentNullException(nameof(wANParameters)); } - using var scope = _clientDiagnostics.CreateScope("VirtualWansClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VirtualWansOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -358,7 +358,7 @@ public virtual async Task StartDeleteAsync(string re throw new ArgumentNullException(nameof(virtualWANName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualWansClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualWansOperations.StartDelete"); scope.Start(); try { @@ -387,7 +387,7 @@ public virtual VirtualWansDeleteOperation StartDelete(string resourceGroupName, throw new ArgumentNullException(nameof(virtualWANName)); } - using var scope = _clientDiagnostics.CreateScope("VirtualWansClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VirtualWansOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualWansRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualWansRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualWansRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualWansRestOperations.cs index a95044a9b2616..e8407f175509d 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualWansRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VirtualWansRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class VirtualWansRestClient + internal partial class VirtualWansRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of VirtualWansRestClient. + /// Initializes a new instance of VirtualWansRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VirtualWansRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VirtualWansRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnConnectionsClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnConnectionsOperations.cs similarity index 94% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnConnectionsClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnConnectionsOperations.cs index 5d4c7edd401d9..67217bcbd084e 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnConnectionsClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnConnectionsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The VpnConnections service client. - public partial class VpnConnectionsClient + public partial class VpnConnectionsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VpnConnectionsRestClient RestClient { get; } - /// Initializes a new instance of VpnConnectionsClient for mocking. - protected VpnConnectionsClient() + internal VpnConnectionsRestOperations RestClient { get; } + /// Initializes a new instance of VpnConnectionsOperations for mocking. + protected VpnConnectionsOperations() { } - /// Initializes a new instance of VpnConnectionsClient. + /// Initializes a new instance of VpnConnectionsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VpnConnectionsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VpnConnectionsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VpnConnectionsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VpnConnectionsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal VpnConnectionsClient(ClientDiagnostics clientDiagnostics, HttpPipeline /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string gatewayName, string connectionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VpnConnectionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VpnConnectionsOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGroup /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string gatewayName, string connectionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VpnConnectionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VpnConnectionsOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListByVpnGatewayAsync(string resourc async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnConnectionsClient.ListByVpnGateway"); + using var scope = _clientDiagnostics.CreateScope("VpnConnectionsOperations.ListByVpnGateway"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnConnectionsClient.ListByVpnGateway"); + using var scope = _clientDiagnostics.CreateScope("VpnConnectionsOperations.ListByVpnGateway"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable ListByVpnGateway(string resourceGroupName Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnConnectionsClient.ListByVpnGateway"); + using var scope = _clientDiagnostics.CreateScope("VpnConnectionsOperations.ListByVpnGateway"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnConnectionsClient.ListByVpnGateway"); + using var scope = _clientDiagnostics.CreateScope("VpnConnectionsOperations.ListByVpnGateway"); scope.Start(); try { @@ -198,7 +198,7 @@ public virtual async Task StartCreateOrUp throw new ArgumentNullException(nameof(vpnConnectionParameters)); } - using var scope = _clientDiagnostics.CreateScope("VpnConnectionsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VpnConnectionsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -237,7 +237,7 @@ public virtual VpnConnectionsCreateOrUpdateOperation StartCreateOrUpdate(string throw new ArgumentNullException(nameof(vpnConnectionParameters)); } - using var scope = _clientDiagnostics.CreateScope("VpnConnectionsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VpnConnectionsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -271,7 +271,7 @@ public virtual async Task StartDeleteAsync(string throw new ArgumentNullException(nameof(connectionName)); } - using var scope = _clientDiagnostics.CreateScope("VpnConnectionsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VpnConnectionsOperations.StartDelete"); scope.Start(); try { @@ -305,7 +305,7 @@ public virtual VpnConnectionsDeleteOperation StartDelete(string resourceGroupNam throw new ArgumentNullException(nameof(connectionName)); } - using var scope = _clientDiagnostics.CreateScope("VpnConnectionsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VpnConnectionsOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnConnectionsRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnConnectionsRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnConnectionsRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnConnectionsRestOperations.cs index 2b3ddad6352c1..135a7d33b608c 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnConnectionsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnConnectionsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class VpnConnectionsRestClient + internal partial class VpnConnectionsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of VpnConnectionsRestClient. + /// Initializes a new instance of VpnConnectionsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VpnConnectionsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VpnConnectionsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnGatewaysClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnGatewaysOperations.cs similarity index 94% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnGatewaysClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnGatewaysOperations.cs index 374a8ac591f5c..462ecdb78baa7 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnGatewaysClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnGatewaysOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The VpnGateways service client. - public partial class VpnGatewaysClient + public partial class VpnGatewaysOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VpnGatewaysRestClient RestClient { get; } - /// Initializes a new instance of VpnGatewaysClient for mocking. - protected VpnGatewaysClient() + internal VpnGatewaysRestOperations RestClient { get; } + /// Initializes a new instance of VpnGatewaysOperations for mocking. + protected VpnGatewaysOperations() { } - /// Initializes a new instance of VpnGatewaysClient. + /// Initializes a new instance of VpnGatewaysOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VpnGatewaysClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VpnGatewaysOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VpnGatewaysRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VpnGatewaysRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal VpnGatewaysClient(ClientDiagnostics clientDiagnostics, HttpPipeline pip /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string gatewayName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VpnGatewaysClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VpnGatewaysOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string resourceGroupNam /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string gatewayName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VpnGatewaysClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VpnGatewaysOperations.Get"); scope.Start(); try { @@ -82,7 +82,7 @@ public virtual Response Get(string resourceGroupName, string gateway /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string gatewayName, TagsObject vpnGatewayParameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VpnGatewaysClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("VpnGatewaysOperations.UpdateTags"); scope.Start(); try { @@ -102,7 +102,7 @@ public virtual async Task> UpdateTagsAsync(string resourceG /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string gatewayName, TagsObject vpnGatewayParameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VpnGatewaysClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("VpnGatewaysOperations.UpdateTags"); scope.Start(); try { @@ -127,7 +127,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(string resourc async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnGatewaysClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VpnGatewaysOperations.ListByResourceGroup"); scope.Start(); try { @@ -142,7 +142,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnGatewaysClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VpnGatewaysOperations.ListByResourceGroup"); scope.Start(); try { @@ -170,7 +170,7 @@ public virtual Pageable ListByResourceGroup(string resourceGroupName Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnGatewaysClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VpnGatewaysOperations.ListByResourceGroup"); scope.Start(); try { @@ -185,7 +185,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnGatewaysClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VpnGatewaysOperations.ListByResourceGroup"); scope.Start(); try { @@ -207,7 +207,7 @@ public virtual AsyncPageable ListAsync(CancellationToken cancellatio { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnGatewaysClient.List"); + using var scope = _clientDiagnostics.CreateScope("VpnGatewaysOperations.List"); scope.Start(); try { @@ -222,7 +222,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnGatewaysClient.List"); + using var scope = _clientDiagnostics.CreateScope("VpnGatewaysOperations.List"); scope.Start(); try { @@ -244,7 +244,7 @@ public virtual Pageable List(CancellationToken cancellationToken = d { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnGatewaysClient.List"); + using var scope = _clientDiagnostics.CreateScope("VpnGatewaysOperations.List"); scope.Start(); try { @@ -259,7 +259,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnGatewaysClient.List"); + using var scope = _clientDiagnostics.CreateScope("VpnGatewaysOperations.List"); scope.Start(); try { @@ -295,7 +295,7 @@ public virtual async Task StartCreateOrUpdat throw new ArgumentNullException(nameof(vpnGatewayParameters)); } - using var scope = _clientDiagnostics.CreateScope("VpnGatewaysClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VpnGatewaysOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -329,7 +329,7 @@ public virtual VpnGatewaysCreateOrUpdateOperation StartCreateOrUpdate(string res throw new ArgumentNullException(nameof(vpnGatewayParameters)); } - using var scope = _clientDiagnostics.CreateScope("VpnGatewaysClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VpnGatewaysOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -358,7 +358,7 @@ public virtual async Task StartDeleteAsync(string re throw new ArgumentNullException(nameof(gatewayName)); } - using var scope = _clientDiagnostics.CreateScope("VpnGatewaysClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VpnGatewaysOperations.StartDelete"); scope.Start(); try { @@ -387,7 +387,7 @@ public virtual VpnGatewaysDeleteOperation StartDelete(string resourceGroupName, throw new ArgumentNullException(nameof(gatewayName)); } - using var scope = _clientDiagnostics.CreateScope("VpnGatewaysClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VpnGatewaysOperations.StartDelete"); scope.Start(); try { @@ -416,7 +416,7 @@ public virtual async Task StartResetAsync(string reso throw new ArgumentNullException(nameof(gatewayName)); } - using var scope = _clientDiagnostics.CreateScope("VpnGatewaysClient.StartReset"); + using var scope = _clientDiagnostics.CreateScope("VpnGatewaysOperations.StartReset"); scope.Start(); try { @@ -445,7 +445,7 @@ public virtual VpnGatewaysResetOperation StartReset(string resourceGroupName, st throw new ArgumentNullException(nameof(gatewayName)); } - using var scope = _clientDiagnostics.CreateScope("VpnGatewaysClient.StartReset"); + using var scope = _clientDiagnostics.CreateScope("VpnGatewaysOperations.StartReset"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnGatewaysRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnGatewaysRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnGatewaysRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnGatewaysRestOperations.cs index d19e4f351654e..b2c5d2a885028 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnGatewaysRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnGatewaysRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class VpnGatewaysRestClient + internal partial class VpnGatewaysRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of VpnGatewaysRestClient. + /// Initializes a new instance of VpnGatewaysRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VpnGatewaysRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VpnGatewaysRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnLinkConnectionsClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnLinkConnectionsOperations.cs similarity index 89% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnLinkConnectionsClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnLinkConnectionsOperations.cs index fb49c1410e13e..f1d40c0f584ec 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnLinkConnectionsClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnLinkConnectionsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The VpnLinkConnections service client. - public partial class VpnLinkConnectionsClient + public partial class VpnLinkConnectionsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VpnLinkConnectionsRestClient RestClient { get; } - /// Initializes a new instance of VpnLinkConnectionsClient for mocking. - protected VpnLinkConnectionsClient() + internal VpnLinkConnectionsRestOperations RestClient { get; } + /// Initializes a new instance of VpnLinkConnectionsOperations for mocking. + protected VpnLinkConnectionsOperations() { } - /// Initializes a new instance of VpnLinkConnectionsClient. + /// Initializes a new instance of VpnLinkConnectionsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VpnLinkConnectionsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VpnLinkConnectionsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VpnLinkConnectionsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VpnLinkConnectionsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -59,7 +59,7 @@ public virtual AsyncPageable ListByVpnConnectionAsync(str async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnLinkConnectionsClient.ListByVpnConnection"); + using var scope = _clientDiagnostics.CreateScope("VpnLinkConnectionsOperations.ListByVpnConnection"); scope.Start(); try { @@ -74,7 +74,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnLinkConnectionsClient.ListByVpnConnection"); + using var scope = _clientDiagnostics.CreateScope("VpnLinkConnectionsOperations.ListByVpnConnection"); scope.Start(); try { @@ -112,7 +112,7 @@ public virtual Pageable ListByVpnConnection(string resour Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnLinkConnectionsClient.ListByVpnConnection"); + using var scope = _clientDiagnostics.CreateScope("VpnLinkConnectionsOperations.ListByVpnConnection"); scope.Start(); try { @@ -127,7 +127,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnLinkConnectionsClient.ListByVpnConnection"); + using var scope = _clientDiagnostics.CreateScope("VpnLinkConnectionsOperations.ListByVpnConnection"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnLinkConnectionsRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnLinkConnectionsRestOperations.cs similarity index 98% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnLinkConnectionsRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnLinkConnectionsRestOperations.cs index 583cfefc5c5b2..4fb70711dc147 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnLinkConnectionsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnLinkConnectionsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class VpnLinkConnectionsRestClient + internal partial class VpnLinkConnectionsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of VpnLinkConnectionsRestClient. + /// Initializes a new instance of VpnLinkConnectionsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VpnLinkConnectionsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VpnLinkConnectionsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnServerConfigurationsAssociatedWithVirtualWanClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnServerConfigurationsAssociatedWithVirtualWanOperations.cs similarity index 89% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnServerConfigurationsAssociatedWithVirtualWanClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnServerConfigurationsAssociatedWithVirtualWanOperations.cs index ec2bcfde26e87..79ce5e345a08a 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnServerConfigurationsAssociatedWithVirtualWanClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnServerConfigurationsAssociatedWithVirtualWanOperations.cs @@ -13,23 +13,23 @@ namespace Azure.Management.Network { /// The VpnServerConfigurationsAssociatedWithVirtualWan service client. - public partial class VpnServerConfigurationsAssociatedWithVirtualWanClient + public partial class VpnServerConfigurationsAssociatedWithVirtualWanOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VpnServerConfigurationsAssociatedWithVirtualWanRestClient RestClient { get; } - /// Initializes a new instance of VpnServerConfigurationsAssociatedWithVirtualWanClient for mocking. - protected VpnServerConfigurationsAssociatedWithVirtualWanClient() + internal VpnServerConfigurationsAssociatedWithVirtualWanRestOperations RestClient { get; } + /// Initializes a new instance of VpnServerConfigurationsAssociatedWithVirtualWanOperations for mocking. + protected VpnServerConfigurationsAssociatedWithVirtualWanOperations() { } - /// Initializes a new instance of VpnServerConfigurationsAssociatedWithVirtualWanClient. + /// Initializes a new instance of VpnServerConfigurationsAssociatedWithVirtualWanOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VpnServerConfigurationsAssociatedWithVirtualWanClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VpnServerConfigurationsAssociatedWithVirtualWanOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VpnServerConfigurationsAssociatedWithVirtualWanRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VpnServerConfigurationsAssociatedWithVirtualWanRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -49,7 +49,7 @@ public virtual async Task Initializes a new instance of VpnServerConfigurationsAssociatedWithVirtualWanRestClient. + /// Initializes a new instance of VpnServerConfigurationsAssociatedWithVirtualWanRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VpnServerConfigurationsAssociatedWithVirtualWanRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VpnServerConfigurationsAssociatedWithVirtualWanRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnServerConfigurationsClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnServerConfigurationsOperations.cs similarity index 93% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnServerConfigurationsClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnServerConfigurationsOperations.cs index cbce1cbed1f5f..2e5d251a60184 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnServerConfigurationsClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnServerConfigurationsOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The VpnServerConfigurations service client. - public partial class VpnServerConfigurationsClient + public partial class VpnServerConfigurationsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VpnServerConfigurationsRestClient RestClient { get; } - /// Initializes a new instance of VpnServerConfigurationsClient for mocking. - protected VpnServerConfigurationsClient() + internal VpnServerConfigurationsRestOperations RestClient { get; } + /// Initializes a new instance of VpnServerConfigurationsOperations for mocking. + protected VpnServerConfigurationsOperations() { } - /// Initializes a new instance of VpnServerConfigurationsClient. + /// Initializes a new instance of VpnServerConfigurationsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VpnServerConfigurationsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VpnServerConfigurationsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VpnServerConfigurationsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VpnServerConfigurationsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal VpnServerConfigurationsClient(ClientDiagnostics clientDiagnostics, Http /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string vpnServerConfigurationName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string reso /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string vpnServerConfigurationName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsOperations.Get"); scope.Start(); try { @@ -82,7 +82,7 @@ public virtual Response Get(string resourceGroupName, st /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string vpnServerConfigurationName, TagsObject vpnServerConfigurationParameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsOperations.UpdateTags"); scope.Start(); try { @@ -102,7 +102,7 @@ public virtual async Task> UpdateTagsAsync(stri /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string vpnServerConfigurationName, TagsObject vpnServerConfigurationParameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsOperations.UpdateTags"); scope.Start(); try { @@ -127,7 +127,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(st async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsOperations.ListByResourceGroup"); scope.Start(); try { @@ -142,7 +142,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsOperations.ListByResourceGroup"); scope.Start(); try { @@ -170,7 +170,7 @@ public virtual Pageable ListByResourceGroup(string resou Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsOperations.ListByResourceGroup"); scope.Start(); try { @@ -185,7 +185,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsOperations.ListByResourceGroup"); scope.Start(); try { @@ -207,7 +207,7 @@ public virtual AsyncPageable ListAsync(CancellationToken { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsOperations.List"); scope.Start(); try { @@ -222,7 +222,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsOperations.List"); scope.Start(); try { @@ -244,7 +244,7 @@ public virtual Pageable List(CancellationToken cancellat { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsOperations.List"); scope.Start(); try { @@ -259,7 +259,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsOperations.List"); scope.Start(); try { @@ -295,7 +295,7 @@ public virtual async Task StartC throw new ArgumentNullException(nameof(vpnServerConfigurationParameters)); } - using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -329,7 +329,7 @@ public virtual VpnServerConfigurationsCreateOrUpdateOperation StartCreateOrUpdat throw new ArgumentNullException(nameof(vpnServerConfigurationParameters)); } - using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -358,7 +358,7 @@ public virtual async Task StartDeleteAsy throw new ArgumentNullException(nameof(vpnServerConfigurationName)); } - using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsOperations.StartDelete"); scope.Start(); try { @@ -387,7 +387,7 @@ public virtual VpnServerConfigurationsDeleteOperation StartDelete(string resourc throw new ArgumentNullException(nameof(vpnServerConfigurationName)); } - using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VpnServerConfigurationsOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnServerConfigurationsRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnServerConfigurationsRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnServerConfigurationsRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnServerConfigurationsRestOperations.cs index 47947058ff5e3..26032c0ae5a54 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnServerConfigurationsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnServerConfigurationsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class VpnServerConfigurationsRestClient + internal partial class VpnServerConfigurationsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of VpnServerConfigurationsRestClient. + /// Initializes a new instance of VpnServerConfigurationsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VpnServerConfigurationsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VpnServerConfigurationsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnSiteLinkConnectionsClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnSiteLinkConnectionsOperations.cs similarity index 85% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnSiteLinkConnectionsClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnSiteLinkConnectionsOperations.cs index 4f70265ef4bda..0d2ae32b7dc25 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnSiteLinkConnectionsClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnSiteLinkConnectionsOperations.cs @@ -15,23 +15,23 @@ namespace Azure.Management.Network { /// The VpnSiteLinkConnections service client. - public partial class VpnSiteLinkConnectionsClient + public partial class VpnSiteLinkConnectionsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VpnSiteLinkConnectionsRestClient RestClient { get; } - /// Initializes a new instance of VpnSiteLinkConnectionsClient for mocking. - protected VpnSiteLinkConnectionsClient() + internal VpnSiteLinkConnectionsRestOperations RestClient { get; } + /// Initializes a new instance of VpnSiteLinkConnectionsOperations for mocking. + protected VpnSiteLinkConnectionsOperations() { } - /// Initializes a new instance of VpnSiteLinkConnectionsClient. + /// Initializes a new instance of VpnSiteLinkConnectionsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VpnSiteLinkConnectionsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VpnSiteLinkConnectionsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VpnSiteLinkConnectionsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VpnSiteLinkConnectionsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal VpnSiteLinkConnectionsClient(ClientDiagnostics clientDiagnostics, HttpP /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string gatewayName, string connectionName, string linkConnectionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VpnSiteLinkConnectionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VpnSiteLinkConnectionsOperations.Get"); scope.Start(); try { @@ -65,7 +65,7 @@ public virtual async Task> GetAsync(string resou /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string gatewayName, string connectionName, string linkConnectionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VpnSiteLinkConnectionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VpnSiteLinkConnectionsOperations.Get"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnSiteLinkConnectionsRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnSiteLinkConnectionsRestOperations.cs similarity index 96% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnSiteLinkConnectionsRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnSiteLinkConnectionsRestOperations.cs index 71701dd715ba8..d44dee3bd5f9c 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnSiteLinkConnectionsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnSiteLinkConnectionsRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class VpnSiteLinkConnectionsRestClient + internal partial class VpnSiteLinkConnectionsRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of VpnSiteLinkConnectionsRestClient. + /// Initializes a new instance of VpnSiteLinkConnectionsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VpnSiteLinkConnectionsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VpnSiteLinkConnectionsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnSiteLinksClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnSiteLinksOperations.cs similarity index 91% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnSiteLinksClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnSiteLinksOperations.cs index 0a1742bae7ada..5f42671ea22b3 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnSiteLinksClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnSiteLinksOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The VpnSiteLinks service client. - public partial class VpnSiteLinksClient + public partial class VpnSiteLinksOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VpnSiteLinksRestClient RestClient { get; } - /// Initializes a new instance of VpnSiteLinksClient for mocking. - protected VpnSiteLinksClient() + internal VpnSiteLinksRestOperations RestClient { get; } + /// Initializes a new instance of VpnSiteLinksOperations for mocking. + protected VpnSiteLinksOperations() { } - /// Initializes a new instance of VpnSiteLinksClient. + /// Initializes a new instance of VpnSiteLinksOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VpnSiteLinksClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VpnSiteLinksOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VpnSiteLinksRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VpnSiteLinksRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal VpnSiteLinksClient(ClientDiagnostics clientDiagnostics, HttpPipeline pi /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string vpnSiteName, string vpnSiteLinkName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VpnSiteLinksClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VpnSiteLinksOperations.Get"); scope.Start(); try { @@ -64,7 +64,7 @@ public virtual async Task> GetAsync(string resourceGroupNa /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string vpnSiteName, string vpnSiteLinkName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VpnSiteLinksClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VpnSiteLinksOperations.Get"); scope.Start(); try { @@ -94,7 +94,7 @@ public virtual AsyncPageable ListByVpnSiteAsync(string resourceGrou async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnSiteLinksClient.ListByVpnSite"); + using var scope = _clientDiagnostics.CreateScope("VpnSiteLinksOperations.ListByVpnSite"); scope.Start(); try { @@ -109,7 +109,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnSiteLinksClient.ListByVpnSite"); + using var scope = _clientDiagnostics.CreateScope("VpnSiteLinksOperations.ListByVpnSite"); scope.Start(); try { @@ -142,7 +142,7 @@ public virtual Pageable ListByVpnSite(string resourceGroupName, str Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnSiteLinksClient.ListByVpnSite"); + using var scope = _clientDiagnostics.CreateScope("VpnSiteLinksOperations.ListByVpnSite"); scope.Start(); try { @@ -157,7 +157,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnSiteLinksClient.ListByVpnSite"); + using var scope = _clientDiagnostics.CreateScope("VpnSiteLinksOperations.ListByVpnSite"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnSiteLinksRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnSiteLinksRestOperations.cs similarity index 98% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnSiteLinksRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnSiteLinksRestOperations.cs index 4ad9d67ec3c34..50015780de960 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnSiteLinksRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnSiteLinksRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class VpnSiteLinksRestClient + internal partial class VpnSiteLinksRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of VpnSiteLinksRestClient. + /// Initializes a new instance of VpnSiteLinksRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VpnSiteLinksRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VpnSiteLinksRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnSitesConfigurationClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnSitesConfigurationOperations.cs similarity index 88% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnSitesConfigurationClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnSitesConfigurationOperations.cs index ee2b3a07ce17b..96061abddcc2a 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnSitesConfigurationClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnSitesConfigurationOperations.cs @@ -14,23 +14,23 @@ namespace Azure.Management.Network { /// The VpnSitesConfiguration service client. - public partial class VpnSitesConfigurationClient + public partial class VpnSitesConfigurationOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VpnSitesConfigurationRestClient RestClient { get; } - /// Initializes a new instance of VpnSitesConfigurationClient for mocking. - protected VpnSitesConfigurationClient() + internal VpnSitesConfigurationRestOperations RestClient { get; } + /// Initializes a new instance of VpnSitesConfigurationOperations for mocking. + protected VpnSitesConfigurationOperations() { } - /// Initializes a new instance of VpnSitesConfigurationClient. + /// Initializes a new instance of VpnSitesConfigurationOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VpnSitesConfigurationClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VpnSitesConfigurationOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VpnSitesConfigurationRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VpnSitesConfigurationRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -55,7 +55,7 @@ public virtual async Task StartDownloadA throw new ArgumentNullException(nameof(request)); } - using var scope = _clientDiagnostics.CreateScope("VpnSitesConfigurationClient.StartDownload"); + using var scope = _clientDiagnostics.CreateScope("VpnSitesConfigurationOperations.StartDownload"); scope.Start(); try { @@ -89,7 +89,7 @@ public virtual VpnSitesConfigurationDownloadOperation StartDownload(string resou throw new ArgumentNullException(nameof(request)); } - using var scope = _clientDiagnostics.CreateScope("VpnSitesConfigurationClient.StartDownload"); + using var scope = _clientDiagnostics.CreateScope("VpnSitesConfigurationOperations.StartDownload"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnSitesConfigurationRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnSitesConfigurationRestOperations.cs similarity index 95% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnSitesConfigurationRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnSitesConfigurationRestOperations.cs index aa2bd417f5cc9..9fc28ee83f838 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnSitesConfigurationRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnSitesConfigurationRestOperations.cs @@ -15,20 +15,20 @@ namespace Azure.Management.Network { - internal partial class VpnSitesConfigurationRestClient + internal partial class VpnSitesConfigurationRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of VpnSitesConfigurationRestClient. + /// Initializes a new instance of VpnSitesConfigurationRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VpnSitesConfigurationRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VpnSitesConfigurationRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnSitesClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnSitesOperations.cs similarity index 94% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnSitesClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnSitesOperations.cs index 89234983c4384..199ebf18d95b9 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnSitesClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnSitesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The VpnSites service client. - public partial class VpnSitesClient + public partial class VpnSitesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal VpnSitesRestClient RestClient { get; } - /// Initializes a new instance of VpnSitesClient for mocking. - protected VpnSitesClient() + internal VpnSitesRestOperations RestClient { get; } + /// Initializes a new instance of VpnSitesOperations for mocking. + protected VpnSitesOperations() { } - /// Initializes a new instance of VpnSitesClient. + /// Initializes a new instance of VpnSitesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal VpnSitesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal VpnSitesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new VpnSitesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new VpnSitesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal VpnSitesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeli /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string vpnSiteName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VpnSitesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VpnSitesOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string resourceGroupName, /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string vpnSiteName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VpnSitesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("VpnSitesOperations.Get"); scope.Start(); try { @@ -82,7 +82,7 @@ public virtual Response Get(string resourceGroupName, string vpnSiteNam /// The cancellation token to use. public virtual async Task> UpdateTagsAsync(string resourceGroupName, string vpnSiteName, TagsObject vpnSiteParameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VpnSitesClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("VpnSitesOperations.UpdateTags"); scope.Start(); try { @@ -102,7 +102,7 @@ public virtual async Task> UpdateTagsAsync(string resourceGrou /// The cancellation token to use. public virtual Response UpdateTags(string resourceGroupName, string vpnSiteName, TagsObject vpnSiteParameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("VpnSitesClient.UpdateTags"); + using var scope = _clientDiagnostics.CreateScope("VpnSitesOperations.UpdateTags"); scope.Start(); try { @@ -127,7 +127,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(string resourceGr async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnSitesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VpnSitesOperations.ListByResourceGroup"); scope.Start(); try { @@ -142,7 +142,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnSitesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VpnSitesOperations.ListByResourceGroup"); scope.Start(); try { @@ -170,7 +170,7 @@ public virtual Pageable ListByResourceGroup(string resourceGroupName, C Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnSitesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VpnSitesOperations.ListByResourceGroup"); scope.Start(); try { @@ -185,7 +185,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnSitesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("VpnSitesOperations.ListByResourceGroup"); scope.Start(); try { @@ -207,7 +207,7 @@ public virtual AsyncPageable ListAsync(CancellationToken cancellationTo { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnSitesClient.List"); + using var scope = _clientDiagnostics.CreateScope("VpnSitesOperations.List"); scope.Start(); try { @@ -222,7 +222,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnSitesClient.List"); + using var scope = _clientDiagnostics.CreateScope("VpnSitesOperations.List"); scope.Start(); try { @@ -244,7 +244,7 @@ public virtual Pageable List(CancellationToken cancellationToken = defa { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnSitesClient.List"); + using var scope = _clientDiagnostics.CreateScope("VpnSitesOperations.List"); scope.Start(); try { @@ -259,7 +259,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("VpnSitesClient.List"); + using var scope = _clientDiagnostics.CreateScope("VpnSitesOperations.List"); scope.Start(); try { @@ -295,7 +295,7 @@ public virtual async Task StartCreateOrUpdateAs throw new ArgumentNullException(nameof(vpnSiteParameters)); } - using var scope = _clientDiagnostics.CreateScope("VpnSitesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VpnSitesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -329,7 +329,7 @@ public virtual VpnSitesCreateOrUpdateOperation StartCreateOrUpdate(string resour throw new ArgumentNullException(nameof(vpnSiteParameters)); } - using var scope = _clientDiagnostics.CreateScope("VpnSitesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("VpnSitesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -358,7 +358,7 @@ public virtual async Task StartDeleteAsync(string resou throw new ArgumentNullException(nameof(vpnSiteName)); } - using var scope = _clientDiagnostics.CreateScope("VpnSitesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VpnSitesOperations.StartDelete"); scope.Start(); try { @@ -387,7 +387,7 @@ public virtual VpnSitesDeleteOperation StartDelete(string resourceGroupName, str throw new ArgumentNullException(nameof(vpnSiteName)); } - using var scope = _clientDiagnostics.CreateScope("VpnSitesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("VpnSitesOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnSitesRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnSitesRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnSitesRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnSitesRestOperations.cs index 6dfc3eb3948a9..665b1072f3a2b 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnSitesRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/VpnSitesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class VpnSitesRestClient + internal partial class VpnSitesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of VpnSitesRestClient. + /// Initializes a new instance of VpnSitesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public VpnSitesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public VpnSitesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/WebApplicationFirewallPoliciesClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/WebApplicationFirewallPoliciesOperations.cs similarity index 91% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/WebApplicationFirewallPoliciesClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/WebApplicationFirewallPoliciesOperations.cs index 933552298f6d4..6eca1962143da 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/WebApplicationFirewallPoliciesClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/WebApplicationFirewallPoliciesOperations.cs @@ -16,23 +16,23 @@ namespace Azure.Management.Network { /// The WebApplicationFirewallPolicies service client. - public partial class WebApplicationFirewallPoliciesClient + public partial class WebApplicationFirewallPoliciesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal WebApplicationFirewallPoliciesRestClient RestClient { get; } - /// Initializes a new instance of WebApplicationFirewallPoliciesClient for mocking. - protected WebApplicationFirewallPoliciesClient() + internal WebApplicationFirewallPoliciesRestOperations RestClient { get; } + /// Initializes a new instance of WebApplicationFirewallPoliciesOperations for mocking. + protected WebApplicationFirewallPoliciesOperations() { } - /// Initializes a new instance of WebApplicationFirewallPoliciesClient. + /// Initializes a new instance of WebApplicationFirewallPoliciesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. - internal WebApplicationFirewallPoliciesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + internal WebApplicationFirewallPoliciesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { - RestClient = new WebApplicationFirewallPoliciesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint); + RestClient = new WebApplicationFirewallPoliciesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal WebApplicationFirewallPoliciesClient(ClientDiagnostics clientDiagnostic /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string policyName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(strin /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string policyName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesOperations.Get"); scope.Start(); try { @@ -82,7 +82,7 @@ public virtual Response Get(string resourceGroupNa /// The cancellation token to use. public virtual async Task> CreateOrUpdateAsync(string resourceGroupName, string policyName, WebApplicationFirewallPolicy parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesOperations.CreateOrUpdate"); scope.Start(); try { @@ -102,7 +102,7 @@ public virtual async Task> CreateOrUpdate /// The cancellation token to use. public virtual Response CreateOrUpdate(string resourceGroupName, string policyName, WebApplicationFirewallPolicy parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesOperations.CreateOrUpdate"); scope.Start(); try { @@ -127,7 +127,7 @@ public virtual AsyncPageable ListAsync(string reso async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesClient.List"); + using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesOperations.List"); scope.Start(); try { @@ -142,7 +142,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesClient.List"); + using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesOperations.List"); scope.Start(); try { @@ -170,7 +170,7 @@ public virtual Pageable List(string resourceGroupN Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesClient.List"); + using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesOperations.List"); scope.Start(); try { @@ -185,7 +185,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesClient.List"); + using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesOperations.List"); scope.Start(); try { @@ -207,7 +207,7 @@ public virtual AsyncPageable ListAllAsync(Cancella { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesOperations.ListAll"); scope.Start(); try { @@ -222,7 +222,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesOperations.ListAll"); scope.Start(); try { @@ -244,7 +244,7 @@ public virtual Pageable ListAll(CancellationToken { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesOperations.ListAll"); scope.Start(); try { @@ -259,7 +259,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesClient.ListAll"); + using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesOperations.ListAll"); scope.Start(); try { @@ -290,7 +290,7 @@ public virtual async Task StartDe throw new ArgumentNullException(nameof(policyName)); } - using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesOperations.StartDelete"); scope.Start(); try { @@ -319,7 +319,7 @@ public virtual WebApplicationFirewallPoliciesDeleteOperation StartDelete(string throw new ArgumentNullException(nameof(policyName)); } - using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("WebApplicationFirewallPoliciesOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/WebApplicationFirewallPoliciesRestClient.cs b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/WebApplicationFirewallPoliciesRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/WebApplicationFirewallPoliciesRestClient.cs rename to sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/WebApplicationFirewallPoliciesRestOperations.cs index d94f40b26bdd9..fef705945b0bd 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/WebApplicationFirewallPoliciesRestClient.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/WebApplicationFirewallPoliciesRestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Network { - internal partial class WebApplicationFirewallPoliciesRestClient + internal partial class WebApplicationFirewallPoliciesRestOperations { private string subscriptionId; private Uri endpoint; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of WebApplicationFirewallPoliciesRestClient. + /// Initializes a new instance of WebApplicationFirewallPoliciesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// server parameter. /// This occurs when one of the required arguments is null. - public WebApplicationFirewallPoliciesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) + public WebApplicationFirewallPoliciesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null) { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/DeploymentClient.cs b/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/DeploymentOperations.cs similarity index 90% rename from sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/DeploymentClient.cs rename to sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/DeploymentOperations.cs index 8175d75ab10e1..678996d008089 100644 --- a/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/DeploymentClient.cs +++ b/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/DeploymentOperations.cs @@ -16,24 +16,24 @@ namespace Azure.Management.Resources { /// The Deployment service client. - public partial class DeploymentClient + public partial class DeploymentOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal DeploymentRestClient RestClient { get; } - /// Initializes a new instance of DeploymentClient for mocking. - protected DeploymentClient() + internal DeploymentRestOperations RestClient { get; } + /// Initializes a new instance of DeploymentOperations for mocking. + protected DeploymentOperations() { } - /// Initializes a new instance of DeploymentClient. + /// Initializes a new instance of DeploymentOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. - internal DeploymentClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2017-05-10") + internal DeploymentOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2017-05-10") { - RestClient = new DeploymentRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); + RestClient = new DeploymentRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -45,7 +45,7 @@ internal DeploymentClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipe /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string deploymentName, string operationId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DeploymentClient.Get"); + using var scope = _clientDiagnostics.CreateScope("DeploymentOperations.Get"); scope.Start(); try { @@ -65,7 +65,7 @@ public virtual async Task> GetAsync(string resourc /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string deploymentName, string operationId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DeploymentClient.Get"); + using var scope = _clientDiagnostics.CreateScope("DeploymentOperations.Get"); scope.Start(); try { @@ -96,7 +96,7 @@ public virtual AsyncPageable ListAsync(string resourceGroup async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DeploymentClient.List"); + using var scope = _clientDiagnostics.CreateScope("DeploymentOperations.List"); scope.Start(); try { @@ -111,7 +111,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DeploymentClient.List"); + using var scope = _clientDiagnostics.CreateScope("DeploymentOperations.List"); scope.Start(); try { @@ -145,7 +145,7 @@ public virtual Pageable List(string resourceGroupName, stri Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DeploymentClient.List"); + using var scope = _clientDiagnostics.CreateScope("DeploymentOperations.List"); scope.Start(); try { @@ -160,7 +160,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DeploymentClient.List"); + using var scope = _clientDiagnostics.CreateScope("DeploymentOperations.List"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/DeploymentRestClient.cs b/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/DeploymentRestOperations.cs similarity index 98% rename from sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/DeploymentRestClient.cs rename to sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/DeploymentRestOperations.cs index 0501869a70ed5..4024807a5ad7f 100644 --- a/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/DeploymentRestClient.cs +++ b/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/DeploymentRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.Management.Resources { - internal partial class DeploymentRestClient + internal partial class DeploymentRestOperations { private string subscriptionId; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class DeploymentRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of DeploymentRestClient. + /// Initializes a new instance of DeploymentRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public DeploymentRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2017-05-10") + public DeploymentRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2017-05-10") { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/DeploymentsClient.cs b/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/DeploymentsOperations.cs similarity index 94% rename from sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/DeploymentsClient.cs rename to sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/DeploymentsOperations.cs index cdd4cc85389e2..0f3ffc926ff66 100644 --- a/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/DeploymentsClient.cs +++ b/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/DeploymentsOperations.cs @@ -16,24 +16,24 @@ namespace Azure.Management.Resources { /// The Deployments service client. - public partial class DeploymentsClient + public partial class DeploymentsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal DeploymentsRestClient RestClient { get; } - /// Initializes a new instance of DeploymentsClient for mocking. - protected DeploymentsClient() + internal DeploymentsRestOperations RestClient { get; } + /// Initializes a new instance of DeploymentsOperations for mocking. + protected DeploymentsOperations() { } - /// Initializes a new instance of DeploymentsClient. + /// Initializes a new instance of DeploymentsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. - internal DeploymentsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2017-05-10") + internal DeploymentsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2017-05-10") { - RestClient = new DeploymentsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); + RestClient = new DeploymentsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal DeploymentsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pip /// The cancellation token to use. public virtual async Task CheckExistenceAsync(string resourceGroupName, string deploymentName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DeploymentsClient.CheckExistence"); + using var scope = _clientDiagnostics.CreateScope("DeploymentsOperations.CheckExistence"); scope.Start(); try { @@ -63,7 +63,7 @@ public virtual async Task CheckExistenceAsync(string resourceGroupName /// The cancellation token to use. public virtual Response CheckExistence(string resourceGroupName, string deploymentName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DeploymentsClient.CheckExistence"); + using var scope = _clientDiagnostics.CreateScope("DeploymentsOperations.CheckExistence"); scope.Start(); try { @@ -82,7 +82,7 @@ public virtual Response CheckExistence(string resourceGroupName, string deployme /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string deploymentName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DeploymentsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("DeploymentsOperations.Get"); scope.Start(); try { @@ -101,7 +101,7 @@ public virtual async Task> GetAsync(string resource /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string deploymentName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DeploymentsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("DeploymentsOperations.Get"); scope.Start(); try { @@ -120,7 +120,7 @@ public virtual Response Get(string resourceGroupName, string /// The cancellation token to use. public virtual async Task CancelAsync(string resourceGroupName, string deploymentName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DeploymentsClient.Cancel"); + using var scope = _clientDiagnostics.CreateScope("DeploymentsOperations.Cancel"); scope.Start(); try { @@ -139,7 +139,7 @@ public virtual async Task CancelAsync(string resourceGroupName, string /// The cancellation token to use. public virtual Response Cancel(string resourceGroupName, string deploymentName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DeploymentsClient.Cancel"); + using var scope = _clientDiagnostics.CreateScope("DeploymentsOperations.Cancel"); scope.Start(); try { @@ -159,7 +159,7 @@ public virtual Response Cancel(string resourceGroupName, string deploymentName, /// The cancellation token to use. public virtual async Task> ValidateAsync(string resourceGroupName, string deploymentName, Deployment parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DeploymentsClient.Validate"); + using var scope = _clientDiagnostics.CreateScope("DeploymentsOperations.Validate"); scope.Start(); try { @@ -179,7 +179,7 @@ public virtual async Task> ValidateAsync(stri /// The cancellation token to use. public virtual Response Validate(string resourceGroupName, string deploymentName, Deployment parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DeploymentsClient.Validate"); + using var scope = _clientDiagnostics.CreateScope("DeploymentsOperations.Validate"); scope.Start(); try { @@ -198,7 +198,7 @@ public virtual Response Validate(string resourceGroupN /// The cancellation token to use. public virtual async Task> ExportTemplateAsync(string resourceGroupName, string deploymentName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DeploymentsClient.ExportTemplate"); + using var scope = _clientDiagnostics.CreateScope("DeploymentsOperations.ExportTemplate"); scope.Start(); try { @@ -217,7 +217,7 @@ public virtual async Task> ExportTemplateAsync( /// The cancellation token to use. public virtual Response ExportTemplate(string resourceGroupName, string deploymentName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DeploymentsClient.ExportTemplate"); + using var scope = _clientDiagnostics.CreateScope("DeploymentsOperations.ExportTemplate"); scope.Start(); try { @@ -235,7 +235,7 @@ public virtual Response ExportTemplate(string resourceGr /// The cancellation token to use. public virtual async Task> CalculateTemplateHashAsync(object template, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DeploymentsClient.CalculateTemplateHash"); + using var scope = _clientDiagnostics.CreateScope("DeploymentsOperations.CalculateTemplateHash"); scope.Start(); try { @@ -253,7 +253,7 @@ public virtual async Task> CalculateTemplateHashAsy /// The cancellation token to use. public virtual Response CalculateTemplateHash(object template, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("DeploymentsClient.CalculateTemplateHash"); + using var scope = _clientDiagnostics.CreateScope("DeploymentsOperations.CalculateTemplateHash"); scope.Start(); try { @@ -280,7 +280,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(string async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DeploymentsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("DeploymentsOperations.ListByResourceGroup"); scope.Start(); try { @@ -295,7 +295,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DeploymentsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("DeploymentsOperations.ListByResourceGroup"); scope.Start(); try { @@ -325,7 +325,7 @@ public virtual Pageable ListByResourceGroup(string resourceG Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DeploymentsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("DeploymentsOperations.ListByResourceGroup"); scope.Start(); try { @@ -340,7 +340,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("DeploymentsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("DeploymentsOperations.ListByResourceGroup"); scope.Start(); try { @@ -371,7 +371,7 @@ public virtual async Task StartDeleteAsync(string re throw new ArgumentNullException(nameof(deploymentName)); } - using var scope = _clientDiagnostics.CreateScope("DeploymentsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("DeploymentsOperations.StartDelete"); scope.Start(); try { @@ -400,7 +400,7 @@ public virtual DeploymentsDeleteOperation StartDelete(string resourceGroupName, throw new ArgumentNullException(nameof(deploymentName)); } - using var scope = _clientDiagnostics.CreateScope("DeploymentsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("DeploymentsOperations.StartDelete"); scope.Start(); try { @@ -434,7 +434,7 @@ public virtual async Task StartCreateOrUpdat throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("DeploymentsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("DeploymentsOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -468,7 +468,7 @@ public virtual DeploymentsCreateOrUpdateOperation StartCreateOrUpdate(string res throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("DeploymentsClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("DeploymentsOperations.StartCreateOrUpdate"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/DeploymentsRestClient.cs b/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/DeploymentsRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/DeploymentsRestClient.cs rename to sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/DeploymentsRestOperations.cs index 54c8958c7325d..5bee1fad8719b 100644 --- a/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/DeploymentsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/DeploymentsRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.Management.Resources { - internal partial class DeploymentsRestClient + internal partial class DeploymentsRestOperations { private string subscriptionId; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class DeploymentsRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of DeploymentsRestClient. + /// Initializes a new instance of DeploymentsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public DeploymentsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2017-05-10") + public DeploymentsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2017-05-10") { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/ProvidersClient.cs b/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/ProvidersOperations.cs similarity index 91% rename from sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/ProvidersClient.cs rename to sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/ProvidersOperations.cs index 2ac4ccd2b549e..e629d26e9087c 100644 --- a/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/ProvidersClient.cs +++ b/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/ProvidersOperations.cs @@ -16,24 +16,24 @@ namespace Azure.Management.Resources { /// The Providers service client. - public partial class ProvidersClient + public partial class ProvidersOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ProvidersRestClient RestClient { get; } - /// Initializes a new instance of ProvidersClient for mocking. - protected ProvidersClient() + internal ProvidersRestOperations RestClient { get; } + /// Initializes a new instance of ProvidersOperations for mocking. + protected ProvidersOperations() { } - /// Initializes a new instance of ProvidersClient. + /// Initializes a new instance of ProvidersOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. - internal ProvidersClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2017-05-10") + internal ProvidersOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2017-05-10") { - RestClient = new ProvidersRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); + RestClient = new ProvidersRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal ProvidersClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipel /// The cancellation token to use. public virtual async Task> UnregisterAsync(string resourceProviderNamespace, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ProvidersClient.Unregister"); + using var scope = _clientDiagnostics.CreateScope("ProvidersOperations.Unregister"); scope.Start(); try { @@ -61,7 +61,7 @@ public virtual async Task> UnregisterAsync(string resourcePro /// The cancellation token to use. public virtual Response Unregister(string resourceProviderNamespace, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ProvidersClient.Unregister"); + using var scope = _clientDiagnostics.CreateScope("ProvidersOperations.Unregister"); scope.Start(); try { @@ -79,7 +79,7 @@ public virtual Response Unregister(string resourceProviderNamespace, C /// The cancellation token to use. public virtual async Task> RegisterAsync(string resourceProviderNamespace, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ProvidersClient.Register"); + using var scope = _clientDiagnostics.CreateScope("ProvidersOperations.Register"); scope.Start(); try { @@ -97,7 +97,7 @@ public virtual async Task> RegisterAsync(string resourceProvi /// The cancellation token to use. public virtual Response Register(string resourceProviderNamespace, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ProvidersClient.Register"); + using var scope = _clientDiagnostics.CreateScope("ProvidersOperations.Register"); scope.Start(); try { @@ -116,7 +116,7 @@ public virtual Response Register(string resourceProviderNamespace, Can /// The cancellation token to use. public virtual async Task> GetAsync(string resourceProviderNamespace, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ProvidersClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ProvidersOperations.Get"); scope.Start(); try { @@ -135,7 +135,7 @@ public virtual async Task> GetAsync(string resourceProviderNa /// The cancellation token to use. public virtual Response Get(string resourceProviderNamespace, string expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ProvidersClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ProvidersOperations.Get"); scope.Start(); try { @@ -156,7 +156,7 @@ public virtual AsyncPageable ListAsync(int? top = null, string expand { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ProvidersClient.List"); + using var scope = _clientDiagnostics.CreateScope("ProvidersOperations.List"); scope.Start(); try { @@ -171,7 +171,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ProvidersClient.List"); + using var scope = _clientDiagnostics.CreateScope("ProvidersOperations.List"); scope.Start(); try { @@ -195,7 +195,7 @@ public virtual Pageable List(int? top = null, string expand = null, Ca { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ProvidersClient.List"); + using var scope = _clientDiagnostics.CreateScope("ProvidersOperations.List"); scope.Start(); try { @@ -210,7 +210,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ProvidersClient.List"); + using var scope = _clientDiagnostics.CreateScope("ProvidersOperations.List"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/ProvidersRestClient.cs b/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/ProvidersRestOperations.cs similarity index 98% rename from sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/ProvidersRestClient.cs rename to sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/ProvidersRestOperations.cs index d22af78fa6cff..a71970c906f9e 100644 --- a/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/ProvidersRestClient.cs +++ b/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/ProvidersRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.Management.Resources { - internal partial class ProvidersRestClient + internal partial class ProvidersRestOperations { private string subscriptionId; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class ProvidersRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ProvidersRestClient. + /// Initializes a new instance of ProvidersRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public ProvidersRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2017-05-10") + public ProvidersRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2017-05-10") { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/ResourceGroupsClient.cs b/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/ResourceGroupsOperations.cs similarity index 93% rename from sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/ResourceGroupsClient.cs rename to sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/ResourceGroupsOperations.cs index e1ffa9397b7b9..dce8c8ee4b08b 100644 --- a/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/ResourceGroupsClient.cs +++ b/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/ResourceGroupsOperations.cs @@ -16,24 +16,24 @@ namespace Azure.Management.Resources { /// The ResourceGroups service client. - public partial class ResourceGroupsClient + public partial class ResourceGroupsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ResourceGroupsRestClient RestClient { get; } - /// Initializes a new instance of ResourceGroupsClient for mocking. - protected ResourceGroupsClient() + internal ResourceGroupsRestOperations RestClient { get; } + /// Initializes a new instance of ResourceGroupsOperations for mocking. + protected ResourceGroupsOperations() { } - /// Initializes a new instance of ResourceGroupsClient. + /// Initializes a new instance of ResourceGroupsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. - internal ResourceGroupsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2017-05-10") + internal ResourceGroupsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2017-05-10") { - RestClient = new ResourceGroupsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); + RestClient = new ResourceGroupsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal ResourceGroupsClient(ClientDiagnostics clientDiagnostics, HttpPipeline /// The cancellation token to use. public virtual async Task CheckExistenceAsync(string resourceGroupName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ResourceGroupsClient.CheckExistence"); + using var scope = _clientDiagnostics.CreateScope("ResourceGroupsOperations.CheckExistence"); scope.Start(); try { @@ -61,7 +61,7 @@ public virtual async Task CheckExistenceAsync(string resourceGroupName /// The cancellation token to use. public virtual Response CheckExistence(string resourceGroupName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ResourceGroupsClient.CheckExistence"); + using var scope = _clientDiagnostics.CreateScope("ResourceGroupsOperations.CheckExistence"); scope.Start(); try { @@ -80,7 +80,7 @@ public virtual Response CheckExistence(string resourceGroupName, CancellationTok /// The cancellation token to use. public virtual async Task> CreateOrUpdateAsync(string resourceGroupName, ResourceGroup parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ResourceGroupsClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ResourceGroupsOperations.CreateOrUpdate"); scope.Start(); try { @@ -99,7 +99,7 @@ public virtual async Task> CreateOrUpdateAsync(string re /// The cancellation token to use. public virtual Response CreateOrUpdate(string resourceGroupName, ResourceGroup parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ResourceGroupsClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ResourceGroupsOperations.CreateOrUpdate"); scope.Start(); try { @@ -117,7 +117,7 @@ public virtual Response CreateOrUpdate(string resourceGroupName, /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ResourceGroupsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ResourceGroupsOperations.Get"); scope.Start(); try { @@ -135,7 +135,7 @@ public virtual async Task> GetAsync(string resourceGroup /// The cancellation token to use. public virtual Response Get(string resourceGroupName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ResourceGroupsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ResourceGroupsOperations.Get"); scope.Start(); try { @@ -154,7 +154,7 @@ public virtual Response Get(string resourceGroupName, Cancellatio /// The cancellation token to use. public virtual async Task> UpdateAsync(string resourceGroupName, ResourceGroupPatchable parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ResourceGroupsClient.Update"); + using var scope = _clientDiagnostics.CreateScope("ResourceGroupsOperations.Update"); scope.Start(); try { @@ -173,7 +173,7 @@ public virtual async Task> UpdateAsync(string resourceGr /// The cancellation token to use. public virtual Response Update(string resourceGroupName, ResourceGroupPatchable parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ResourceGroupsClient.Update"); + using var scope = _clientDiagnostics.CreateScope("ResourceGroupsOperations.Update"); scope.Start(); try { @@ -192,7 +192,7 @@ public virtual Response Update(string resourceGroupName, Resource /// The cancellation token to use. public virtual async Task> ExportTemplateAsync(string resourceGroupName, ExportTemplateRequest parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ResourceGroupsClient.ExportTemplate"); + using var scope = _clientDiagnostics.CreateScope("ResourceGroupsOperations.ExportTemplate"); scope.Start(); try { @@ -211,7 +211,7 @@ public virtual async Task> ExportTemplateAsy /// The cancellation token to use. public virtual Response ExportTemplate(string resourceGroupName, ExportTemplateRequest parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ResourceGroupsClient.ExportTemplate"); + using var scope = _clientDiagnostics.CreateScope("ResourceGroupsOperations.ExportTemplate"); scope.Start(); try { @@ -232,7 +232,7 @@ public virtual AsyncPageable ListAsync(string filter = null, int? { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ResourceGroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ResourceGroupsOperations.List"); scope.Start(); try { @@ -247,7 +247,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ResourceGroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ResourceGroupsOperations.List"); scope.Start(); try { @@ -271,7 +271,7 @@ public virtual Pageable List(string filter = null, int? top = nul { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ResourceGroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ResourceGroupsOperations.List"); scope.Start(); try { @@ -286,7 +286,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ResourceGroupsClient.List"); + using var scope = _clientDiagnostics.CreateScope("ResourceGroupsOperations.List"); scope.Start(); try { @@ -312,7 +312,7 @@ public virtual async Task StartDeleteAsync(string throw new ArgumentNullException(nameof(resourceGroupName)); } - using var scope = _clientDiagnostics.CreateScope("ResourceGroupsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ResourceGroupsOperations.StartDelete"); scope.Start(); try { @@ -336,7 +336,7 @@ public virtual ResourceGroupsDeleteOperation StartDelete(string resourceGroupNam throw new ArgumentNullException(nameof(resourceGroupName)); } - using var scope = _clientDiagnostics.CreateScope("ResourceGroupsClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ResourceGroupsOperations.StartDelete"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/ResourceGroupsRestClient.cs b/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/ResourceGroupsRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/ResourceGroupsRestClient.cs rename to sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/ResourceGroupsRestOperations.cs index 7cc73a6faf151..5666024defe5b 100644 --- a/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/ResourceGroupsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/ResourceGroupsRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.Management.Resources { - internal partial class ResourceGroupsRestClient + internal partial class ResourceGroupsRestOperations { private string subscriptionId; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class ResourceGroupsRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ResourceGroupsRestClient. + /// Initializes a new instance of ResourceGroupsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public ResourceGroupsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2017-05-10") + public ResourceGroupsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2017-05-10") { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/ResourcesManagementClient.cs b/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/ResourcesManagementClient.cs index 71996d9a6bdef..d63e2f9c71e8e 100644 --- a/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/ResourcesManagementClient.cs +++ b/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/ResourcesManagementClient.cs @@ -53,40 +53,22 @@ public ResourcesManagementClient(string subscriptionId, Uri endpoint, TokenCrede _endpoint = endpoint; } - /// Creates a new instance of DeploymentsClient. - public virtual DeploymentsClient GetDeploymentsClient() - { - return new DeploymentsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of DeploymentsOperations. + public virtual DeploymentsOperations Deployments => new DeploymentsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ProvidersClient. - public virtual ProvidersClient GetProvidersClient() - { - return new ProvidersClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ProvidersOperations. + public virtual ProvidersOperations Providers => new ProvidersOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ResourcesClient. - public virtual ResourcesClient GetResourcesClient() - { - return new ResourcesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ResourcesOperations. + public virtual ResourcesOperations Resources => new ResourcesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ResourceGroupsClient. - public virtual ResourceGroupsClient GetResourceGroupsClient() - { - return new ResourceGroupsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ResourceGroupsOperations. + public virtual ResourceGroupsOperations ResourceGroups => new ResourceGroupsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of TagsClient. - public virtual TagsClient GetTagsClient() - { - return new TagsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of TagsOperations. + public virtual TagsOperations Tags => new TagsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of DeploymentClient. - public virtual DeploymentClient GetDeploymentClient() - { - return new DeploymentClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of DeploymentOperations. + public virtual DeploymentOperations Deployment => new DeploymentOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); } } diff --git a/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/ResourcesClient.cs b/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/ResourcesOperations.cs similarity index 96% rename from sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/ResourcesClient.cs rename to sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/ResourcesOperations.cs index db5b34e59155f..2b796cf88bb8e 100644 --- a/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/ResourcesClient.cs +++ b/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/ResourcesOperations.cs @@ -16,24 +16,24 @@ namespace Azure.Management.Resources { /// The Resources service client. - public partial class ResourcesClient + public partial class ResourcesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ResourcesRestClient RestClient { get; } - /// Initializes a new instance of ResourcesClient for mocking. - protected ResourcesClient() + internal ResourcesRestOperations RestClient { get; } + /// Initializes a new instance of ResourcesOperations for mocking. + protected ResourcesOperations() { } - /// Initializes a new instance of ResourcesClient. + /// Initializes a new instance of ResourcesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. - internal ResourcesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2017-05-10") + internal ResourcesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2017-05-10") { - RestClient = new ResourcesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); + RestClient = new ResourcesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -47,7 +47,7 @@ internal ResourcesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipel /// The cancellation token to use. public virtual async Task CheckExistenceAsync(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.CheckExistence"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.CheckExistence"); scope.Start(); try { @@ -69,7 +69,7 @@ public virtual async Task CheckExistenceAsync(string resourceGroupName /// The cancellation token to use. public virtual Response CheckExistence(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.CheckExistence"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.CheckExistence"); scope.Start(); try { @@ -91,7 +91,7 @@ public virtual Response CheckExistence(string resourceGroupName, string resource /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.Get"); scope.Start(); try { @@ -113,7 +113,7 @@ public virtual async Task> GetAsync(string resourceGro /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.Get"); scope.Start(); try { @@ -131,7 +131,7 @@ public virtual Response Get(string resourceGroupName, string re /// The cancellation token to use. public virtual async Task CheckExistenceByIdAsync(string resourceId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.CheckExistenceById"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.CheckExistenceById"); scope.Start(); try { @@ -149,7 +149,7 @@ public virtual async Task CheckExistenceByIdAsync(string resourceId, C /// The cancellation token to use. public virtual Response CheckExistenceById(string resourceId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.CheckExistenceById"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.CheckExistenceById"); scope.Start(); try { @@ -167,7 +167,7 @@ public virtual Response CheckExistenceById(string resourceId, CancellationToken /// The cancellation token to use. public virtual async Task> GetByIdAsync(string resourceId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.GetById"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.GetById"); scope.Start(); try { @@ -185,7 +185,7 @@ public virtual async Task> GetByIdAsync(string resourc /// The cancellation token to use. public virtual Response GetById(string resourceId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.GetById"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.GetById"); scope.Start(); try { @@ -213,7 +213,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(s async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.ListByResourceGroup"); scope.Start(); try { @@ -228,7 +228,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.ListByResourceGroup"); scope.Start(); try { @@ -259,7 +259,7 @@ public virtual Pageable ListByResourceGroup(string reso Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.ListByResourceGroup"); scope.Start(); try { @@ -274,7 +274,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.ListByResourceGroup"); scope.Start(); try { @@ -299,7 +299,7 @@ public virtual AsyncPageable ListAsync(string filter = { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.List"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.List"); scope.Start(); try { @@ -314,7 +314,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.List"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.List"); scope.Start(); try { @@ -339,7 +339,7 @@ public virtual Pageable List(string filter = null, stri { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.List"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.List"); scope.Start(); try { @@ -354,7 +354,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.List"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.List"); scope.Start(); try { @@ -385,7 +385,7 @@ public virtual async Task StartMoveResourcesAsy throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.StartMoveResources"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.StartMoveResources"); scope.Start(); try { @@ -414,7 +414,7 @@ public virtual ResourcesMoveResourcesOperation StartMoveResources(string sourceR throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.StartMoveResources"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.StartMoveResources"); scope.Start(); try { @@ -443,7 +443,7 @@ public virtual async Task StartValidate throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.StartValidateMoveResources"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.StartValidateMoveResources"); scope.Start(); try { @@ -472,7 +472,7 @@ public virtual ResourcesValidateMoveResourcesOperation StartValidateMoveResource throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.StartValidateMoveResources"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.StartValidateMoveResources"); scope.Start(); try { @@ -516,7 +516,7 @@ public virtual async Task StartDeleteAsync(string reso throw new ArgumentNullException(nameof(resourceName)); } - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.StartDelete"); scope.Start(); try { @@ -560,7 +560,7 @@ public virtual ResourcesDeleteOperation StartDelete(string resourceGroupName, st throw new ArgumentNullException(nameof(resourceName)); } - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.StartDelete"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.StartDelete"); scope.Start(); try { @@ -609,7 +609,7 @@ public virtual async Task StartCreateOrUpdateA throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -658,7 +658,7 @@ public virtual ResourcesCreateOrUpdateOperation StartCreateOrUpdate(string resou throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.StartCreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.StartCreateOrUpdate"); scope.Start(); try { @@ -707,7 +707,7 @@ public virtual async Task StartUpdateAsync(string reso throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.StartUpdate"); scope.Start(); try { @@ -756,7 +756,7 @@ public virtual ResourcesUpdateOperation StartUpdate(string resourceGroupName, st throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.StartUpdate"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.StartUpdate"); scope.Start(); try { @@ -780,7 +780,7 @@ public virtual async Task StartDeleteByIdAsync(str throw new ArgumentNullException(nameof(resourceId)); } - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.StartDeleteById"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.StartDeleteById"); scope.Start(); try { @@ -804,7 +804,7 @@ public virtual ResourcesDeleteByIdOperation StartDeleteById(string resourceId, C throw new ArgumentNullException(nameof(resourceId)); } - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.StartDeleteById"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.StartDeleteById"); scope.Start(); try { @@ -833,7 +833,7 @@ public virtual async Task StartCreateOrUpd throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.StartCreateOrUpdateById"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.StartCreateOrUpdateById"); scope.Start(); try { @@ -862,7 +862,7 @@ public virtual ResourcesCreateOrUpdateByIdOperation StartCreateOrUpdateById(stri throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.StartCreateOrUpdateById"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.StartCreateOrUpdateById"); scope.Start(); try { @@ -891,7 +891,7 @@ public virtual async Task StartUpdateByIdAsync(str throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.StartUpdateById"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.StartUpdateById"); scope.Start(); try { @@ -920,7 +920,7 @@ public virtual ResourcesUpdateByIdOperation StartUpdateById(string resourceId, G throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("ResourcesClient.StartUpdateById"); + using var scope = _clientDiagnostics.CreateScope("ResourcesOperations.StartUpdateById"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/ResourcesRestClient.cs b/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/ResourcesRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/ResourcesRestClient.cs rename to sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/ResourcesRestOperations.cs index 0db8ab12180a1..025528fb5fb71 100644 --- a/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/ResourcesRestClient.cs +++ b/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/ResourcesRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.Management.Resources { - internal partial class ResourcesRestClient + internal partial class ResourcesRestOperations { private string subscriptionId; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class ResourcesRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ResourcesRestClient. + /// Initializes a new instance of ResourcesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public ResourcesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2017-05-10") + public ResourcesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2017-05-10") { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/TagsClient.cs b/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/TagsOperations.cs similarity index 92% rename from sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/TagsClient.cs rename to sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/TagsOperations.cs index b4b83cc9073ec..acabd2aafcddc 100644 --- a/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/TagsClient.cs +++ b/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/TagsOperations.cs @@ -16,24 +16,24 @@ namespace Azure.Management.Resources { /// The Tags service client. - public partial class TagsClient + public partial class TagsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal TagsRestClient RestClient { get; } - /// Initializes a new instance of TagsClient for mocking. - protected TagsClient() + internal TagsRestOperations RestClient { get; } + /// Initializes a new instance of TagsOperations for mocking. + protected TagsOperations() { } - /// Initializes a new instance of TagsClient. + /// Initializes a new instance of TagsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. - internal TagsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2017-05-10") + internal TagsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2017-05-10") { - RestClient = new TagsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); + RestClient = new TagsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ internal TagsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, /// The cancellation token to use. public virtual async Task DeleteValueAsync(string tagName, string tagValue, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("TagsClient.DeleteValue"); + using var scope = _clientDiagnostics.CreateScope("TagsOperations.DeleteValue"); scope.Start(); try { @@ -63,7 +63,7 @@ public virtual async Task DeleteValueAsync(string tagName, string tagV /// The cancellation token to use. public virtual Response DeleteValue(string tagName, string tagValue, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("TagsClient.DeleteValue"); + using var scope = _clientDiagnostics.CreateScope("TagsOperations.DeleteValue"); scope.Start(); try { @@ -82,7 +82,7 @@ public virtual Response DeleteValue(string tagName, string tagValue, Cancellatio /// The cancellation token to use. public virtual async Task> CreateOrUpdateValueAsync(string tagName, string tagValue, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("TagsClient.CreateOrUpdateValue"); + using var scope = _clientDiagnostics.CreateScope("TagsOperations.CreateOrUpdateValue"); scope.Start(); try { @@ -101,7 +101,7 @@ public virtual async Task> CreateOrUpdateValueAsync(string ta /// The cancellation token to use. public virtual Response CreateOrUpdateValue(string tagName, string tagValue, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("TagsClient.CreateOrUpdateValue"); + using var scope = _clientDiagnostics.CreateScope("TagsOperations.CreateOrUpdateValue"); scope.Start(); try { @@ -119,7 +119,7 @@ public virtual Response CreateOrUpdateValue(string tagName, string tag /// The cancellation token to use. public virtual async Task> CreateOrUpdateAsync(string tagName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("TagsClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("TagsOperations.CreateOrUpdate"); scope.Start(); try { @@ -137,7 +137,7 @@ public virtual async Task> CreateOrUpdateAsync(string tagNa /// The cancellation token to use. public virtual Response CreateOrUpdate(string tagName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("TagsClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("TagsOperations.CreateOrUpdate"); scope.Start(); try { @@ -155,7 +155,7 @@ public virtual Response CreateOrUpdate(string tagName, CancellationT /// The cancellation token to use. public virtual async Task DeleteAsync(string tagName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("TagsClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("TagsOperations.Delete"); scope.Start(); try { @@ -173,7 +173,7 @@ public virtual async Task DeleteAsync(string tagName, CancellationToke /// The cancellation token to use. public virtual Response Delete(string tagName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("TagsClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("TagsOperations.Delete"); scope.Start(); try { @@ -192,7 +192,7 @@ public virtual AsyncPageable ListAsync(CancellationToken cancellatio { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("TagsClient.List"); + using var scope = _clientDiagnostics.CreateScope("TagsOperations.List"); scope.Start(); try { @@ -207,7 +207,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("TagsClient.List"); + using var scope = _clientDiagnostics.CreateScope("TagsOperations.List"); scope.Start(); try { @@ -229,7 +229,7 @@ public virtual Pageable List(CancellationToken cancellationToken = d { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("TagsClient.List"); + using var scope = _clientDiagnostics.CreateScope("TagsOperations.List"); scope.Start(); try { @@ -244,7 +244,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("TagsClient.List"); + using var scope = _clientDiagnostics.CreateScope("TagsOperations.List"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/TagsRestClient.cs b/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/TagsRestOperations.cs similarity index 98% rename from sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/TagsRestClient.cs rename to sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/TagsRestOperations.cs index 6cbf81851a37c..942970eddf7c1 100644 --- a/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/TagsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/TagsRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.Management.Resources { - internal partial class TagsRestClient + internal partial class TagsRestOperations { private string subscriptionId; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class TagsRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of TagsRestClient. + /// Initializes a new instance of TagsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public TagsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2017-05-10") + public TagsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2017-05-10") { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/BlobContainersClient.cs b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/BlobContainersOperations.cs similarity index 96% rename from sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/BlobContainersClient.cs rename to sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/BlobContainersOperations.cs index be09e1d976147..8e16f92ee63fa 100644 --- a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/BlobContainersClient.cs +++ b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/BlobContainersOperations.cs @@ -16,24 +16,24 @@ namespace Azure.Management.Storage { /// The BlobContainers service client. - public partial class BlobContainersClient + public partial class BlobContainersOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal BlobContainersRestClient RestClient { get; } - /// Initializes a new instance of BlobContainersClient for mocking. - protected BlobContainersClient() + internal BlobContainersRestOperations RestClient { get; } + /// Initializes a new instance of BlobContainersOperations for mocking. + protected BlobContainersOperations() { } - /// Initializes a new instance of BlobContainersClient. + /// Initializes a new instance of BlobContainersOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. - internal BlobContainersClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + internal BlobContainersOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { - RestClient = new BlobContainersRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); + RestClient = new BlobContainersRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -46,7 +46,7 @@ internal BlobContainersClient(ClientDiagnostics clientDiagnostics, HttpPipeline /// The cancellation token to use. public virtual async Task> CreateAsync(string resourceGroupName, string accountName, string containerName, BlobContainer blobContainer, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.Create"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.Create"); scope.Start(); try { @@ -67,7 +67,7 @@ public virtual async Task> CreateAsync(string resourceGr /// The cancellation token to use. public virtual Response Create(string resourceGroupName, string accountName, string containerName, BlobContainer blobContainer, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.Create"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.Create"); scope.Start(); try { @@ -88,7 +88,7 @@ public virtual Response Create(string resourceGroupName, string a /// The cancellation token to use. public virtual async Task> UpdateAsync(string resourceGroupName, string accountName, string containerName, BlobContainer blobContainer, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.Update"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.Update"); scope.Start(); try { @@ -109,7 +109,7 @@ public virtual async Task> UpdateAsync(string resourceGr /// The cancellation token to use. public virtual Response Update(string resourceGroupName, string accountName, string containerName, BlobContainer blobContainer, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.Update"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.Update"); scope.Start(); try { @@ -129,7 +129,7 @@ public virtual Response Update(string resourceGroupName, string a /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string accountName, string containerName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.Get"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.Get"); scope.Start(); try { @@ -149,7 +149,7 @@ public virtual async Task> GetAsync(string resourceGroup /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string accountName, string containerName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.Get"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.Get"); scope.Start(); try { @@ -169,7 +169,7 @@ public virtual Response Get(string resourceGroupName, string acco /// The cancellation token to use. public virtual async Task DeleteAsync(string resourceGroupName, string accountName, string containerName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.Delete"); scope.Start(); try { @@ -189,7 +189,7 @@ public virtual async Task DeleteAsync(string resourceGroupName, string /// The cancellation token to use. public virtual Response Delete(string resourceGroupName, string accountName, string containerName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.Delete"); scope.Start(); try { @@ -210,7 +210,7 @@ public virtual Response Delete(string resourceGroupName, string accountName, str /// The cancellation token to use. public virtual async Task> SetLegalHoldAsync(string resourceGroupName, string accountName, string containerName, LegalHold legalHold, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.SetLegalHold"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.SetLegalHold"); scope.Start(); try { @@ -231,7 +231,7 @@ public virtual async Task> SetLegalHoldAsync(string resource /// The cancellation token to use. public virtual Response SetLegalHold(string resourceGroupName, string accountName, string containerName, LegalHold legalHold, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.SetLegalHold"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.SetLegalHold"); scope.Start(); try { @@ -252,7 +252,7 @@ public virtual Response SetLegalHold(string resourceGroupName, string /// The cancellation token to use. public virtual async Task> ClearLegalHoldAsync(string resourceGroupName, string accountName, string containerName, LegalHold legalHold, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.ClearLegalHold"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.ClearLegalHold"); scope.Start(); try { @@ -273,7 +273,7 @@ public virtual async Task> ClearLegalHoldAsync(string resour /// The cancellation token to use. public virtual Response ClearLegalHold(string resourceGroupName, string accountName, string containerName, LegalHold legalHold, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.ClearLegalHold"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.ClearLegalHold"); scope.Start(); try { @@ -295,7 +295,7 @@ public virtual Response ClearLegalHold(string resourceGroupName, stri /// The cancellation token to use. public virtual async Task> CreateOrUpdateImmutabilityPolicyAsync(string resourceGroupName, string accountName, string containerName, string ifMatch = null, ImmutabilityPolicy parameters = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.CreateOrUpdateImmutabilityPolicy"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.CreateOrUpdateImmutabilityPolicy"); scope.Start(); try { @@ -317,7 +317,7 @@ public virtual async Task> CreateOrUpdateImmutabili /// The cancellation token to use. public virtual Response CreateOrUpdateImmutabilityPolicy(string resourceGroupName, string accountName, string containerName, string ifMatch = null, ImmutabilityPolicy parameters = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.CreateOrUpdateImmutabilityPolicy"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.CreateOrUpdateImmutabilityPolicy"); scope.Start(); try { @@ -338,7 +338,7 @@ public virtual Response CreateOrUpdateImmutabilityPolicy(str /// The cancellation token to use. public virtual async Task> GetImmutabilityPolicyAsync(string resourceGroupName, string accountName, string containerName, string ifMatch = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.GetImmutabilityPolicy"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.GetImmutabilityPolicy"); scope.Start(); try { @@ -359,7 +359,7 @@ public virtual async Task> GetImmutabilityPolicyAsy /// The cancellation token to use. public virtual Response GetImmutabilityPolicy(string resourceGroupName, string accountName, string containerName, string ifMatch = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.GetImmutabilityPolicy"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.GetImmutabilityPolicy"); scope.Start(); try { @@ -380,7 +380,7 @@ public virtual Response GetImmutabilityPolicy(string resourc /// The cancellation token to use. public virtual async Task> DeleteImmutabilityPolicyAsync(string resourceGroupName, string accountName, string containerName, string ifMatch, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.DeleteImmutabilityPolicy"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.DeleteImmutabilityPolicy"); scope.Start(); try { @@ -401,7 +401,7 @@ public virtual async Task> DeleteImmutabilityPolicy /// The cancellation token to use. public virtual Response DeleteImmutabilityPolicy(string resourceGroupName, string accountName, string containerName, string ifMatch, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.DeleteImmutabilityPolicy"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.DeleteImmutabilityPolicy"); scope.Start(); try { @@ -422,7 +422,7 @@ public virtual Response DeleteImmutabilityPolicy(string reso /// The cancellation token to use. public virtual async Task> LockImmutabilityPolicyAsync(string resourceGroupName, string accountName, string containerName, string ifMatch, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.LockImmutabilityPolicy"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.LockImmutabilityPolicy"); scope.Start(); try { @@ -443,7 +443,7 @@ public virtual async Task> LockImmutabilityPolicyAs /// The cancellation token to use. public virtual Response LockImmutabilityPolicy(string resourceGroupName, string accountName, string containerName, string ifMatch, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.LockImmutabilityPolicy"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.LockImmutabilityPolicy"); scope.Start(); try { @@ -465,7 +465,7 @@ public virtual Response LockImmutabilityPolicy(string resour /// The cancellation token to use. public virtual async Task> ExtendImmutabilityPolicyAsync(string resourceGroupName, string accountName, string containerName, string ifMatch, ImmutabilityPolicy parameters = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.ExtendImmutabilityPolicy"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.ExtendImmutabilityPolicy"); scope.Start(); try { @@ -487,7 +487,7 @@ public virtual async Task> ExtendImmutabilityPolicy /// The cancellation token to use. public virtual Response ExtendImmutabilityPolicy(string resourceGroupName, string accountName, string containerName, string ifMatch, ImmutabilityPolicy parameters = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.ExtendImmutabilityPolicy"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.ExtendImmutabilityPolicy"); scope.Start(); try { @@ -508,7 +508,7 @@ public virtual Response ExtendImmutabilityPolicy(string reso /// The cancellation token to use. public virtual async Task> LeaseAsync(string resourceGroupName, string accountName, string containerName, LeaseContainerRequest parameters = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.Lease"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.Lease"); scope.Start(); try { @@ -529,7 +529,7 @@ public virtual async Task> LeaseAsync(string re /// The cancellation token to use. public virtual Response Lease(string resourceGroupName, string accountName, string containerName, LeaseContainerRequest parameters = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.Lease"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.Lease"); scope.Start(); try { @@ -561,7 +561,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupNa async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.List"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.List"); scope.Start(); try { @@ -576,7 +576,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.List"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.List"); scope.Start(); try { @@ -611,7 +611,7 @@ public virtual Pageable List(string resourceGroupName, string Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.List"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.List"); scope.Start(); try { @@ -626,7 +626,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("BlobContainersClient.List"); + using var scope = _clientDiagnostics.CreateScope("BlobContainersOperations.List"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/BlobContainersRestClient.cs b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/BlobContainersRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/BlobContainersRestClient.cs rename to sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/BlobContainersRestOperations.cs index 9c58af1463010..4ce9a38ab4146 100644 --- a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/BlobContainersRestClient.cs +++ b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/BlobContainersRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.Management.Storage { - internal partial class BlobContainersRestClient + internal partial class BlobContainersRestOperations { private string subscriptionId; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class BlobContainersRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of BlobContainersRestClient. + /// Initializes a new instance of BlobContainersRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public BlobContainersRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + public BlobContainersRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/BlobServicesClient.cs b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/BlobServicesOperations.cs similarity index 92% rename from sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/BlobServicesClient.cs rename to sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/BlobServicesOperations.cs index a87ff713510b3..dfe2d722ae907 100644 --- a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/BlobServicesClient.cs +++ b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/BlobServicesOperations.cs @@ -16,24 +16,24 @@ namespace Azure.Management.Storage { /// The BlobServices service client. - public partial class BlobServicesClient + public partial class BlobServicesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal BlobServicesRestClient RestClient { get; } - /// Initializes a new instance of BlobServicesClient for mocking. - protected BlobServicesClient() + internal BlobServicesRestOperations RestClient { get; } + /// Initializes a new instance of BlobServicesOperations for mocking. + protected BlobServicesOperations() { } - /// Initializes a new instance of BlobServicesClient. + /// Initializes a new instance of BlobServicesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. - internal BlobServicesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + internal BlobServicesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { - RestClient = new BlobServicesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); + RestClient = new BlobServicesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -45,7 +45,7 @@ internal BlobServicesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pi /// The cancellation token to use. public virtual async Task> SetServicePropertiesAsync(string resourceGroupName, string accountName, BlobServiceProperties parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobServicesClient.SetServiceProperties"); + using var scope = _clientDiagnostics.CreateScope("BlobServicesOperations.SetServiceProperties"); scope.Start(); try { @@ -65,7 +65,7 @@ public virtual async Task> SetServicePropertiesA /// The cancellation token to use. public virtual Response SetServiceProperties(string resourceGroupName, string accountName, BlobServiceProperties parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobServicesClient.SetServiceProperties"); + using var scope = _clientDiagnostics.CreateScope("BlobServicesOperations.SetServiceProperties"); scope.Start(); try { @@ -84,7 +84,7 @@ public virtual Response SetServiceProperties(string resou /// The cancellation token to use. public virtual async Task> GetServicePropertiesAsync(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobServicesClient.GetServiceProperties"); + using var scope = _clientDiagnostics.CreateScope("BlobServicesOperations.GetServiceProperties"); scope.Start(); try { @@ -103,7 +103,7 @@ public virtual async Task> GetServicePropertiesA /// The cancellation token to use. public virtual Response GetServiceProperties(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("BlobServicesClient.GetServiceProperties"); + using var scope = _clientDiagnostics.CreateScope("BlobServicesOperations.GetServiceProperties"); scope.Start(); try { @@ -133,7 +133,7 @@ public virtual AsyncPageable ListAsync(string resourceGro async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("BlobServicesClient.List"); + using var scope = _clientDiagnostics.CreateScope("BlobServicesOperations.List"); scope.Start(); try { @@ -166,7 +166,7 @@ public virtual Pageable List(string resourceGroupName, st Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("BlobServicesClient.List"); + using var scope = _clientDiagnostics.CreateScope("BlobServicesOperations.List"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/BlobServicesRestClient.cs b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/BlobServicesRestOperations.cs similarity index 98% rename from sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/BlobServicesRestClient.cs rename to sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/BlobServicesRestOperations.cs index ec9a1aa9058e9..e6d74fdd9707a 100644 --- a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/BlobServicesRestClient.cs +++ b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/BlobServicesRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.Management.Storage { - internal partial class BlobServicesRestClient + internal partial class BlobServicesRestOperations { private string subscriptionId; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class BlobServicesRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of BlobServicesRestClient. + /// Initializes a new instance of BlobServicesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public BlobServicesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + public BlobServicesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/EncryptionScopesClient.cs b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/EncryptionScopesOperations.cs similarity index 94% rename from sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/EncryptionScopesClient.cs rename to sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/EncryptionScopesOperations.cs index a2d6cdcdd5e2a..ec149984bde3b 100644 --- a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/EncryptionScopesClient.cs +++ b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/EncryptionScopesOperations.cs @@ -16,24 +16,24 @@ namespace Azure.Management.Storage { /// The EncryptionScopes service client. - public partial class EncryptionScopesClient + public partial class EncryptionScopesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal EncryptionScopesRestClient RestClient { get; } - /// Initializes a new instance of EncryptionScopesClient for mocking. - protected EncryptionScopesClient() + internal EncryptionScopesRestOperations RestClient { get; } + /// Initializes a new instance of EncryptionScopesOperations for mocking. + protected EncryptionScopesOperations() { } - /// Initializes a new instance of EncryptionScopesClient. + /// Initializes a new instance of EncryptionScopesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. - internal EncryptionScopesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + internal EncryptionScopesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { - RestClient = new EncryptionScopesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); + RestClient = new EncryptionScopesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -46,7 +46,7 @@ internal EncryptionScopesClient(ClientDiagnostics clientDiagnostics, HttpPipelin /// The cancellation token to use. public virtual async Task> PutAsync(string resourceGroupName, string accountName, string encryptionScopeName, EncryptionScope encryptionScope, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("EncryptionScopesClient.Put"); + using var scope = _clientDiagnostics.CreateScope("EncryptionScopesOperations.Put"); scope.Start(); try { @@ -67,7 +67,7 @@ public virtual async Task> PutAsync(string resourceGro /// The cancellation token to use. public virtual Response Put(string resourceGroupName, string accountName, string encryptionScopeName, EncryptionScope encryptionScope, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("EncryptionScopesClient.Put"); + using var scope = _clientDiagnostics.CreateScope("EncryptionScopesOperations.Put"); scope.Start(); try { @@ -88,7 +88,7 @@ public virtual Response Put(string resourceGroupName, string ac /// The cancellation token to use. public virtual async Task> PatchAsync(string resourceGroupName, string accountName, string encryptionScopeName, EncryptionScope encryptionScope, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("EncryptionScopesClient.Patch"); + using var scope = _clientDiagnostics.CreateScope("EncryptionScopesOperations.Patch"); scope.Start(); try { @@ -109,7 +109,7 @@ public virtual async Task> PatchAsync(string resourceG /// The cancellation token to use. public virtual Response Patch(string resourceGroupName, string accountName, string encryptionScopeName, EncryptionScope encryptionScope, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("EncryptionScopesClient.Patch"); + using var scope = _clientDiagnostics.CreateScope("EncryptionScopesOperations.Patch"); scope.Start(); try { @@ -129,7 +129,7 @@ public virtual Response Patch(string resourceGroupName, string /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string accountName, string encryptionScopeName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("EncryptionScopesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("EncryptionScopesOperations.Get"); scope.Start(); try { @@ -149,7 +149,7 @@ public virtual async Task> GetAsync(string resourceGro /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string accountName, string encryptionScopeName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("EncryptionScopesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("EncryptionScopesOperations.Get"); scope.Start(); try { @@ -179,7 +179,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("EncryptionScopesClient.List"); + using var scope = _clientDiagnostics.CreateScope("EncryptionScopesOperations.List"); scope.Start(); try { @@ -194,7 +194,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("EncryptionScopesClient.List"); + using var scope = _clientDiagnostics.CreateScope("EncryptionScopesOperations.List"); scope.Start(); try { @@ -227,7 +227,7 @@ public virtual Pageable List(string resourceGroupName, string a Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("EncryptionScopesClient.List"); + using var scope = _clientDiagnostics.CreateScope("EncryptionScopesOperations.List"); scope.Start(); try { @@ -242,7 +242,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("EncryptionScopesClient.List"); + using var scope = _clientDiagnostics.CreateScope("EncryptionScopesOperations.List"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/EncryptionScopesRestClient.cs b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/EncryptionScopesRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/EncryptionScopesRestClient.cs rename to sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/EncryptionScopesRestOperations.cs index 9b18127949973..f26ee364b7b39 100644 --- a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/EncryptionScopesRestClient.cs +++ b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/EncryptionScopesRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.Management.Storage { - internal partial class EncryptionScopesRestClient + internal partial class EncryptionScopesRestOperations { private string subscriptionId; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class EncryptionScopesRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of EncryptionScopesRestClient. + /// Initializes a new instance of EncryptionScopesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public EncryptionScopesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + public EncryptionScopesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/FileServicesClient.cs b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/FileServicesOperations.cs similarity index 91% rename from sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/FileServicesClient.cs rename to sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/FileServicesOperations.cs index fd60a919527c3..93c679066a1ae 100644 --- a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/FileServicesClient.cs +++ b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/FileServicesOperations.cs @@ -15,24 +15,24 @@ namespace Azure.Management.Storage { /// The FileServices service client. - public partial class FileServicesClient + public partial class FileServicesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal FileServicesRestClient RestClient { get; } - /// Initializes a new instance of FileServicesClient for mocking. - protected FileServicesClient() + internal FileServicesRestOperations RestClient { get; } + /// Initializes a new instance of FileServicesOperations for mocking. + protected FileServicesOperations() { } - /// Initializes a new instance of FileServicesClient. + /// Initializes a new instance of FileServicesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. - internal FileServicesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + internal FileServicesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { - RestClient = new FileServicesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); + RestClient = new FileServicesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal FileServicesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pi /// The cancellation token to use. public virtual async Task> ListAsync(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("FileServicesClient.List"); + using var scope = _clientDiagnostics.CreateScope("FileServicesOperations.List"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> ListAsync(string resourceG /// The cancellation token to use. public virtual Response List(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("FileServicesClient.List"); + using var scope = _clientDiagnostics.CreateScope("FileServicesOperations.List"); scope.Start(); try { @@ -82,7 +82,7 @@ public virtual Response List(string resourceGroupName, string /// The cancellation token to use. public virtual async Task> SetServicePropertiesAsync(string resourceGroupName, string accountName, FileServiceProperties parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("FileServicesClient.SetServiceProperties"); + using var scope = _clientDiagnostics.CreateScope("FileServicesOperations.SetServiceProperties"); scope.Start(); try { @@ -102,7 +102,7 @@ public virtual async Task> SetServicePropertiesA /// The cancellation token to use. public virtual Response SetServiceProperties(string resourceGroupName, string accountName, FileServiceProperties parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("FileServicesClient.SetServiceProperties"); + using var scope = _clientDiagnostics.CreateScope("FileServicesOperations.SetServiceProperties"); scope.Start(); try { @@ -121,7 +121,7 @@ public virtual Response SetServiceProperties(string resou /// The cancellation token to use. public virtual async Task> GetServicePropertiesAsync(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("FileServicesClient.GetServiceProperties"); + using var scope = _clientDiagnostics.CreateScope("FileServicesOperations.GetServiceProperties"); scope.Start(); try { @@ -140,7 +140,7 @@ public virtual async Task> GetServicePropertiesA /// The cancellation token to use. public virtual Response GetServiceProperties(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("FileServicesClient.GetServiceProperties"); + using var scope = _clientDiagnostics.CreateScope("FileServicesOperations.GetServiceProperties"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/FileServicesRestClient.cs b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/FileServicesRestOperations.cs similarity index 98% rename from sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/FileServicesRestClient.cs rename to sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/FileServicesRestOperations.cs index cfcb8f01bc40a..382113ab10064 100644 --- a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/FileServicesRestClient.cs +++ b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/FileServicesRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.Management.Storage { - internal partial class FileServicesRestClient + internal partial class FileServicesRestOperations { private string subscriptionId; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class FileServicesRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of FileServicesRestClient. + /// Initializes a new instance of FileServicesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public FileServicesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + public FileServicesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/FileSharesClient.cs b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/FileSharesOperations.cs similarity index 95% rename from sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/FileSharesClient.cs rename to sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/FileSharesOperations.cs index 4c5fe168de9ed..9e89b3bef5c38 100644 --- a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/FileSharesClient.cs +++ b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/FileSharesOperations.cs @@ -16,24 +16,24 @@ namespace Azure.Management.Storage { /// The FileShares service client. - public partial class FileSharesClient + public partial class FileSharesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal FileSharesRestClient RestClient { get; } - /// Initializes a new instance of FileSharesClient for mocking. - protected FileSharesClient() + internal FileSharesRestOperations RestClient { get; } + /// Initializes a new instance of FileSharesOperations for mocking. + protected FileSharesOperations() { } - /// Initializes a new instance of FileSharesClient. + /// Initializes a new instance of FileSharesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. - internal FileSharesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + internal FileSharesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { - RestClient = new FileSharesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); + RestClient = new FileSharesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -46,7 +46,7 @@ internal FileSharesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipe /// The cancellation token to use. public virtual async Task> CreateAsync(string resourceGroupName, string accountName, string shareName, FileShare fileShare, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("FileSharesClient.Create"); + using var scope = _clientDiagnostics.CreateScope("FileSharesOperations.Create"); scope.Start(); try { @@ -67,7 +67,7 @@ public virtual async Task> CreateAsync(string resourceGroupN /// The cancellation token to use. public virtual Response Create(string resourceGroupName, string accountName, string shareName, FileShare fileShare, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("FileSharesClient.Create"); + using var scope = _clientDiagnostics.CreateScope("FileSharesOperations.Create"); scope.Start(); try { @@ -88,7 +88,7 @@ public virtual Response Create(string resourceGroupName, string accou /// The cancellation token to use. public virtual async Task> UpdateAsync(string resourceGroupName, string accountName, string shareName, FileShare fileShare, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("FileSharesClient.Update"); + using var scope = _clientDiagnostics.CreateScope("FileSharesOperations.Update"); scope.Start(); try { @@ -109,7 +109,7 @@ public virtual async Task> UpdateAsync(string resourceGroupN /// The cancellation token to use. public virtual Response Update(string resourceGroupName, string accountName, string shareName, FileShare fileShare, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("FileSharesClient.Update"); + using var scope = _clientDiagnostics.CreateScope("FileSharesOperations.Update"); scope.Start(); try { @@ -129,7 +129,7 @@ public virtual Response Update(string resourceGroupName, string accou /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string accountName, string shareName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("FileSharesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("FileSharesOperations.Get"); scope.Start(); try { @@ -149,7 +149,7 @@ public virtual async Task> GetAsync(string resourceGroupName /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string accountName, string shareName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("FileSharesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("FileSharesOperations.Get"); scope.Start(); try { @@ -169,7 +169,7 @@ public virtual Response Get(string resourceGroupName, string accountN /// The cancellation token to use. public virtual async Task DeleteAsync(string resourceGroupName, string accountName, string shareName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("FileSharesClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("FileSharesOperations.Delete"); scope.Start(); try { @@ -189,7 +189,7 @@ public virtual async Task DeleteAsync(string resourceGroupName, string /// The cancellation token to use. public virtual Response Delete(string resourceGroupName, string accountName, string shareName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("FileSharesClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("FileSharesOperations.Delete"); scope.Start(); try { @@ -210,7 +210,7 @@ public virtual Response Delete(string resourceGroupName, string accountName, str /// The cancellation token to use. public virtual async Task RestoreAsync(string resourceGroupName, string accountName, string shareName, DeletedShare deletedShare, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("FileSharesClient.Restore"); + using var scope = _clientDiagnostics.CreateScope("FileSharesOperations.Restore"); scope.Start(); try { @@ -231,7 +231,7 @@ public virtual async Task RestoreAsync(string resourceGroupName, strin /// The cancellation token to use. public virtual Response Restore(string resourceGroupName, string accountName, string shareName, DeletedShare deletedShare, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("FileSharesClient.Restore"); + using var scope = _clientDiagnostics.CreateScope("FileSharesOperations.Restore"); scope.Start(); try { @@ -263,7 +263,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName, async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("FileSharesClient.List"); + using var scope = _clientDiagnostics.CreateScope("FileSharesOperations.List"); scope.Start(); try { @@ -278,7 +278,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("FileSharesClient.List"); + using var scope = _clientDiagnostics.CreateScope("FileSharesOperations.List"); scope.Start(); try { @@ -313,7 +313,7 @@ public virtual Pageable List(string resourceGroupName, string acc Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("FileSharesClient.List"); + using var scope = _clientDiagnostics.CreateScope("FileSharesOperations.List"); scope.Start(); try { @@ -328,7 +328,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("FileSharesClient.List"); + using var scope = _clientDiagnostics.CreateScope("FileSharesOperations.List"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/FileSharesRestClient.cs b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/FileSharesRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/FileSharesRestClient.cs rename to sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/FileSharesRestOperations.cs index 0dd03f7441ed7..fb7a97f97cec0 100644 --- a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/FileSharesRestClient.cs +++ b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/FileSharesRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.Management.Storage { - internal partial class FileSharesRestClient + internal partial class FileSharesRestOperations { private string subscriptionId; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class FileSharesRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of FileSharesRestClient. + /// Initializes a new instance of FileSharesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public FileSharesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + public FileSharesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/ManagementPoliciesClient.cs b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/ManagementPoliciesOperations.cs similarity index 91% rename from sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/ManagementPoliciesClient.cs rename to sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/ManagementPoliciesOperations.cs index 06e54ebc75956..f10240fe52a32 100644 --- a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/ManagementPoliciesClient.cs +++ b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/ManagementPoliciesOperations.cs @@ -15,24 +15,24 @@ namespace Azure.Management.Storage { /// The ManagementPolicies service client. - public partial class ManagementPoliciesClient + public partial class ManagementPoliciesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ManagementPoliciesRestClient RestClient { get; } - /// Initializes a new instance of ManagementPoliciesClient for mocking. - protected ManagementPoliciesClient() + internal ManagementPoliciesRestOperations RestClient { get; } + /// Initializes a new instance of ManagementPoliciesOperations for mocking. + protected ManagementPoliciesOperations() { } - /// Initializes a new instance of ManagementPoliciesClient. + /// Initializes a new instance of ManagementPoliciesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. - internal ManagementPoliciesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + internal ManagementPoliciesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { - RestClient = new ManagementPoliciesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); + RestClient = new ManagementPoliciesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal ManagementPoliciesClient(ClientDiagnostics clientDiagnostics, HttpPipel /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ManagementPoliciesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ManagementPoliciesOperations.Get"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> GetAsync(string resourceGr /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ManagementPoliciesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ManagementPoliciesOperations.Get"); scope.Start(); try { @@ -82,7 +82,7 @@ public virtual Response Get(string resourceGroupName, string a /// The cancellation token to use. public virtual async Task> CreateOrUpdateAsync(string resourceGroupName, string accountName, ManagementPolicy properties, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ManagementPoliciesClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ManagementPoliciesOperations.CreateOrUpdate"); scope.Start(); try { @@ -102,7 +102,7 @@ public virtual async Task> CreateOrUpdateAsync(string /// The cancellation token to use. public virtual Response CreateOrUpdate(string resourceGroupName, string accountName, ManagementPolicy properties, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ManagementPoliciesClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ManagementPoliciesOperations.CreateOrUpdate"); scope.Start(); try { @@ -121,7 +121,7 @@ public virtual Response CreateOrUpdate(string resourceGroupNam /// The cancellation token to use. public virtual async Task DeleteAsync(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ManagementPoliciesClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("ManagementPoliciesOperations.Delete"); scope.Start(); try { @@ -140,7 +140,7 @@ public virtual async Task DeleteAsync(string resourceGroupName, string /// The cancellation token to use. public virtual Response Delete(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ManagementPoliciesClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("ManagementPoliciesOperations.Delete"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/ManagementPoliciesRestClient.cs b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/ManagementPoliciesRestOperations.cs similarity index 98% rename from sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/ManagementPoliciesRestClient.cs rename to sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/ManagementPoliciesRestOperations.cs index 63a94e67c2dc3..75d09d982c483 100644 --- a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/ManagementPoliciesRestClient.cs +++ b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/ManagementPoliciesRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.Management.Storage { - internal partial class ManagementPoliciesRestClient + internal partial class ManagementPoliciesRestOperations { private string subscriptionId; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class ManagementPoliciesRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ManagementPoliciesRestClient. + /// Initializes a new instance of ManagementPoliciesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public ManagementPoliciesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + public ManagementPoliciesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/ObjectReplicationPoliciesClient.cs b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/ObjectReplicationPoliciesOperations.cs similarity index 93% rename from sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/ObjectReplicationPoliciesClient.cs rename to sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/ObjectReplicationPoliciesOperations.cs index cbc1e1ac0152e..15de86dd99080 100644 --- a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/ObjectReplicationPoliciesClient.cs +++ b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/ObjectReplicationPoliciesOperations.cs @@ -16,24 +16,24 @@ namespace Azure.Management.Storage { /// The ObjectReplicationPolicies service client. - public partial class ObjectReplicationPoliciesClient + public partial class ObjectReplicationPoliciesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal ObjectReplicationPoliciesRestClient RestClient { get; } - /// Initializes a new instance of ObjectReplicationPoliciesClient for mocking. - protected ObjectReplicationPoliciesClient() + internal ObjectReplicationPoliciesRestOperations RestClient { get; } + /// Initializes a new instance of ObjectReplicationPoliciesOperations for mocking. + protected ObjectReplicationPoliciesOperations() { } - /// Initializes a new instance of ObjectReplicationPoliciesClient. + /// Initializes a new instance of ObjectReplicationPoliciesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. - internal ObjectReplicationPoliciesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + internal ObjectReplicationPoliciesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { - RestClient = new ObjectReplicationPoliciesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); + RestClient = new ObjectReplicationPoliciesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -45,7 +45,7 @@ internal ObjectReplicationPoliciesClient(ClientDiagnostics clientDiagnostics, Ht /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string accountName, string objectReplicationPolicyId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ObjectReplicationPoliciesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ObjectReplicationPoliciesOperations.Get"); scope.Start(); try { @@ -65,7 +65,7 @@ public virtual async Task> GetAsync(string res /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string accountName, string objectReplicationPolicyId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ObjectReplicationPoliciesClient.Get"); + using var scope = _clientDiagnostics.CreateScope("ObjectReplicationPoliciesOperations.Get"); scope.Start(); try { @@ -86,7 +86,7 @@ public virtual Response Get(string resourceGroupName, s /// The cancellation token to use. public virtual async Task> CreateOrUpdateAsync(string resourceGroupName, string accountName, string objectReplicationPolicyId, ObjectReplicationPolicy properties, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ObjectReplicationPoliciesClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ObjectReplicationPoliciesOperations.CreateOrUpdate"); scope.Start(); try { @@ -107,7 +107,7 @@ public virtual async Task> CreateOrUpdateAsync /// The cancellation token to use. public virtual Response CreateOrUpdate(string resourceGroupName, string accountName, string objectReplicationPolicyId, ObjectReplicationPolicy properties, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ObjectReplicationPoliciesClient.CreateOrUpdate"); + using var scope = _clientDiagnostics.CreateScope("ObjectReplicationPoliciesOperations.CreateOrUpdate"); scope.Start(); try { @@ -127,7 +127,7 @@ public virtual Response CreateOrUpdate(string resourceG /// The cancellation token to use. public virtual async Task DeleteAsync(string resourceGroupName, string accountName, string objectReplicationPolicyId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ObjectReplicationPoliciesClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("ObjectReplicationPoliciesOperations.Delete"); scope.Start(); try { @@ -147,7 +147,7 @@ public virtual async Task DeleteAsync(string resourceGroupName, string /// The cancellation token to use. public virtual Response Delete(string resourceGroupName, string accountName, string objectReplicationPolicyId, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ObjectReplicationPoliciesClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("ObjectReplicationPoliciesOperations.Delete"); scope.Start(); try { @@ -177,7 +177,7 @@ public virtual AsyncPageable ListAsync(string resourceG async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ObjectReplicationPoliciesClient.List"); + using var scope = _clientDiagnostics.CreateScope("ObjectReplicationPoliciesOperations.List"); scope.Start(); try { @@ -210,7 +210,7 @@ public virtual Pageable List(string resourceGroupName, Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ObjectReplicationPoliciesClient.List"); + using var scope = _clientDiagnostics.CreateScope("ObjectReplicationPoliciesOperations.List"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/ObjectReplicationPoliciesRestClient.cs b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/ObjectReplicationPoliciesRestOperations.cs similarity index 98% rename from sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/ObjectReplicationPoliciesRestClient.cs rename to sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/ObjectReplicationPoliciesRestOperations.cs index 0436c82cef6b1..cbf00bf5f551b 100644 --- a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/ObjectReplicationPoliciesRestClient.cs +++ b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/ObjectReplicationPoliciesRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.Management.Storage { - internal partial class ObjectReplicationPoliciesRestClient + internal partial class ObjectReplicationPoliciesRestOperations { private string subscriptionId; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class ObjectReplicationPoliciesRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ObjectReplicationPoliciesRestClient. + /// Initializes a new instance of ObjectReplicationPoliciesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public ObjectReplicationPoliciesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + public ObjectReplicationPoliciesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/OperationsClient.cs b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/Operations.cs similarity index 80% rename from sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/OperationsClient.cs rename to sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/Operations.cs index 90ba00fab2166..0b13557fd101a 100644 --- a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/OperationsClient.cs +++ b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/Operations.cs @@ -15,24 +15,24 @@ namespace Azure.Management.Storage { - /// The Operations service client. - public partial class OperationsClient + /// The service client. + public partial class Operations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal OperationsRestClient RestClient { get; } - /// Initializes a new instance of OperationsClient for mocking. - protected OperationsClient() + internal RestOperations RestClient { get; } + /// Initializes a new instance of Operations for mocking. + protected Operations() { } - /// Initializes a new instance of OperationsClient. + /// Initializes a new instance of Operations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// server parameter. /// Api Version. - internal OperationsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null, string apiVersion = "2019-06-01") + internal Operations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null, string apiVersion = "2019-06-01") { - RestClient = new OperationsRestClient(clientDiagnostics, pipeline, endpoint, apiVersion); + RestClient = new RestOperations(clientDiagnostics, pipeline, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ public virtual AsyncPageable ListAsync(CancellationToken cancellation { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("OperationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("Operations.List"); scope.Start(); try { @@ -65,7 +65,7 @@ public virtual Pageable List(CancellationToken cancellationToken = de { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("OperationsClient.List"); + using var scope = _clientDiagnostics.CreateScope("Operations.List"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/PrivateEndpointConnectionsClient.cs b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/PrivateEndpointConnectionsOperations.cs similarity index 93% rename from sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/PrivateEndpointConnectionsClient.cs rename to sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/PrivateEndpointConnectionsOperations.cs index cb3c8329a83bb..2888041444303 100644 --- a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/PrivateEndpointConnectionsClient.cs +++ b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/PrivateEndpointConnectionsOperations.cs @@ -16,24 +16,24 @@ namespace Azure.Management.Storage { /// The PrivateEndpointConnections service client. - public partial class PrivateEndpointConnectionsClient + public partial class PrivateEndpointConnectionsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal PrivateEndpointConnectionsRestClient RestClient { get; } - /// Initializes a new instance of PrivateEndpointConnectionsClient for mocking. - protected PrivateEndpointConnectionsClient() + internal PrivateEndpointConnectionsRestOperations RestClient { get; } + /// Initializes a new instance of PrivateEndpointConnectionsOperations for mocking. + protected PrivateEndpointConnectionsOperations() { } - /// Initializes a new instance of PrivateEndpointConnectionsClient. + /// Initializes a new instance of PrivateEndpointConnectionsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. - internal PrivateEndpointConnectionsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + internal PrivateEndpointConnectionsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { - RestClient = new PrivateEndpointConnectionsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); + RestClient = new PrivateEndpointConnectionsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -45,7 +45,7 @@ internal PrivateEndpointConnectionsClient(ClientDiagnostics clientDiagnostics, H /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string accountName, string privateEndpointConnectionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsOperations.Get"); scope.Start(); try { @@ -65,7 +65,7 @@ public virtual async Task> GetAsync(string r /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string accountName, string privateEndpointConnectionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsClient.Get"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsOperations.Get"); scope.Start(); try { @@ -86,7 +86,7 @@ public virtual Response Get(string resourceGroupName, /// The cancellation token to use. public virtual async Task> PutAsync(string resourceGroupName, string accountName, string privateEndpointConnectionName, PrivateEndpointConnection properties, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsClient.Put"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsOperations.Put"); scope.Start(); try { @@ -107,7 +107,7 @@ public virtual async Task> PutAsync(string r /// The cancellation token to use. public virtual Response Put(string resourceGroupName, string accountName, string privateEndpointConnectionName, PrivateEndpointConnection properties, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsClient.Put"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsOperations.Put"); scope.Start(); try { @@ -127,7 +127,7 @@ public virtual Response Put(string resourceGroupName, /// The cancellation token to use. public virtual async Task DeleteAsync(string resourceGroupName, string accountName, string privateEndpointConnectionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsOperations.Delete"); scope.Start(); try { @@ -147,7 +147,7 @@ public virtual async Task DeleteAsync(string resourceGroupName, string /// The cancellation token to use. public virtual Response Delete(string resourceGroupName, string accountName, string privateEndpointConnectionName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsOperations.Delete"); scope.Start(); try { @@ -177,7 +177,7 @@ public virtual AsyncPageable ListAsync(string resourc async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsOperations.List"); scope.Start(); try { @@ -210,7 +210,7 @@ public virtual Pageable List(string resourceGroupName Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsClient.List"); + using var scope = _clientDiagnostics.CreateScope("PrivateEndpointConnectionsOperations.List"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/PrivateEndpointConnectionsRestClient.cs b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/PrivateEndpointConnectionsRestOperations.cs similarity index 98% rename from sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/PrivateEndpointConnectionsRestClient.cs rename to sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/PrivateEndpointConnectionsRestOperations.cs index 5ea53a3d9836e..ecfc3ecab5913 100644 --- a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/PrivateEndpointConnectionsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/PrivateEndpointConnectionsRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.Management.Storage { - internal partial class PrivateEndpointConnectionsRestClient + internal partial class PrivateEndpointConnectionsRestOperations { private string subscriptionId; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class PrivateEndpointConnectionsRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of PrivateEndpointConnectionsRestClient. + /// Initializes a new instance of PrivateEndpointConnectionsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public PrivateEndpointConnectionsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + public PrivateEndpointConnectionsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/PrivateLinkResourcesClient.cs b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/PrivateLinkResourcesOperations.cs similarity index 83% rename from sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/PrivateLinkResourcesClient.cs rename to sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/PrivateLinkResourcesOperations.cs index 05914db38662b..6eda035844046 100644 --- a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/PrivateLinkResourcesClient.cs +++ b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/PrivateLinkResourcesOperations.cs @@ -15,24 +15,24 @@ namespace Azure.Management.Storage { /// The PrivateLinkResources service client. - public partial class PrivateLinkResourcesClient + public partial class PrivateLinkResourcesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal PrivateLinkResourcesRestClient RestClient { get; } - /// Initializes a new instance of PrivateLinkResourcesClient for mocking. - protected PrivateLinkResourcesClient() + internal PrivateLinkResourcesRestOperations RestClient { get; } + /// Initializes a new instance of PrivateLinkResourcesOperations for mocking. + protected PrivateLinkResourcesOperations() { } - /// Initializes a new instance of PrivateLinkResourcesClient. + /// Initializes a new instance of PrivateLinkResourcesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. - internal PrivateLinkResourcesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + internal PrivateLinkResourcesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { - RestClient = new PrivateLinkResourcesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); + RestClient = new PrivateLinkResourcesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal PrivateLinkResourcesClient(ClientDiagnostics clientDiagnostics, HttpPip /// The cancellation token to use. public virtual async Task> ListByStorageAccountAsync(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkResourcesClient.ListByStorageAccount"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkResourcesOperations.ListByStorageAccount"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> ListByStorage /// The cancellation token to use. public virtual Response ListByStorageAccount(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("PrivateLinkResourcesClient.ListByStorageAccount"); + using var scope = _clientDiagnostics.CreateScope("PrivateLinkResourcesOperations.ListByStorageAccount"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/PrivateLinkResourcesRestClient.cs b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/PrivateLinkResourcesRestOperations.cs similarity index 96% rename from sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/PrivateLinkResourcesRestClient.cs rename to sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/PrivateLinkResourcesRestOperations.cs index 4bb744f646260..5e90244948b24 100644 --- a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/PrivateLinkResourcesRestClient.cs +++ b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/PrivateLinkResourcesRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.Management.Storage { - internal partial class PrivateLinkResourcesRestClient + internal partial class PrivateLinkResourcesRestOperations { private string subscriptionId; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class PrivateLinkResourcesRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of PrivateLinkResourcesRestClient. + /// Initializes a new instance of PrivateLinkResourcesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public PrivateLinkResourcesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + public PrivateLinkResourcesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/QueueClient.cs b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/QueueOperations.cs similarity index 95% rename from sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/QueueClient.cs rename to sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/QueueOperations.cs index 9deda26c3f78b..100155fc282f0 100644 --- a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/QueueClient.cs +++ b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/QueueOperations.cs @@ -16,24 +16,24 @@ namespace Azure.Management.Storage { /// The Queue service client. - public partial class QueueClient + public partial class QueueOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal QueueRestClient RestClient { get; } - /// Initializes a new instance of QueueClient for mocking. - protected QueueClient() + internal QueueRestOperations RestClient { get; } + /// Initializes a new instance of QueueOperations for mocking. + protected QueueOperations() { } - /// Initializes a new instance of QueueClient. + /// Initializes a new instance of QueueOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. - internal QueueClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + internal QueueOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { - RestClient = new QueueRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); + RestClient = new QueueRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -46,7 +46,7 @@ internal QueueClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, /// The cancellation token to use. public virtual async Task> CreateAsync(string resourceGroupName, string accountName, string queueName, StorageQueue queue, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("QueueClient.Create"); + using var scope = _clientDiagnostics.CreateScope("QueueOperations.Create"); scope.Start(); try { @@ -67,7 +67,7 @@ public virtual async Task> CreateAsync(string resourceGro /// The cancellation token to use. public virtual Response Create(string resourceGroupName, string accountName, string queueName, StorageQueue queue, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("QueueClient.Create"); + using var scope = _clientDiagnostics.CreateScope("QueueOperations.Create"); scope.Start(); try { @@ -88,7 +88,7 @@ public virtual Response Create(string resourceGroupName, string ac /// The cancellation token to use. public virtual async Task> UpdateAsync(string resourceGroupName, string accountName, string queueName, StorageQueue queue, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("QueueClient.Update"); + using var scope = _clientDiagnostics.CreateScope("QueueOperations.Update"); scope.Start(); try { @@ -109,7 +109,7 @@ public virtual async Task> UpdateAsync(string resourceGro /// The cancellation token to use. public virtual Response Update(string resourceGroupName, string accountName, string queueName, StorageQueue queue, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("QueueClient.Update"); + using var scope = _clientDiagnostics.CreateScope("QueueOperations.Update"); scope.Start(); try { @@ -129,7 +129,7 @@ public virtual Response Update(string resourceGroupName, string ac /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string accountName, string queueName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("QueueClient.Get"); + using var scope = _clientDiagnostics.CreateScope("QueueOperations.Get"); scope.Start(); try { @@ -149,7 +149,7 @@ public virtual async Task> GetAsync(string resourceGroupN /// The cancellation token to use. public virtual Response Get(string resourceGroupName, string accountName, string queueName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("QueueClient.Get"); + using var scope = _clientDiagnostics.CreateScope("QueueOperations.Get"); scope.Start(); try { @@ -169,7 +169,7 @@ public virtual Response Get(string resourceGroupName, string accou /// The cancellation token to use. public virtual async Task DeleteAsync(string resourceGroupName, string accountName, string queueName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("QueueClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("QueueOperations.Delete"); scope.Start(); try { @@ -189,7 +189,7 @@ public virtual async Task DeleteAsync(string resourceGroupName, string /// The cancellation token to use. public virtual Response Delete(string resourceGroupName, string accountName, string queueName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("QueueClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("QueueOperations.Delete"); scope.Start(); try { @@ -221,7 +221,7 @@ public virtual AsyncPageable ListAsync(string resourceGroupName, stri async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("QueueClient.List"); + using var scope = _clientDiagnostics.CreateScope("QueueOperations.List"); scope.Start(); try { @@ -236,7 +236,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("QueueClient.List"); + using var scope = _clientDiagnostics.CreateScope("QueueOperations.List"); scope.Start(); try { @@ -271,7 +271,7 @@ public virtual Pageable List(string resourceGroupName, string account Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("QueueClient.List"); + using var scope = _clientDiagnostics.CreateScope("QueueOperations.List"); scope.Start(); try { @@ -286,7 +286,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("QueueClient.List"); + using var scope = _clientDiagnostics.CreateScope("QueueOperations.List"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/QueueRestClient.cs b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/QueueRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/QueueRestClient.cs rename to sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/QueueRestOperations.cs index bc3988649de29..ce3b5818d7551 100644 --- a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/QueueRestClient.cs +++ b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/QueueRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.Management.Storage { - internal partial class QueueRestClient + internal partial class QueueRestOperations { private string subscriptionId; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class QueueRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of QueueRestClient. + /// Initializes a new instance of QueueRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public QueueRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + public QueueRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/QueueServicesClient.cs b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/QueueServicesOperations.cs similarity index 91% rename from sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/QueueServicesClient.cs rename to sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/QueueServicesOperations.cs index bcc7de023c2eb..9ab0a3ecc76ee 100644 --- a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/QueueServicesClient.cs +++ b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/QueueServicesOperations.cs @@ -15,24 +15,24 @@ namespace Azure.Management.Storage { /// The QueueServices service client. - public partial class QueueServicesClient + public partial class QueueServicesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal QueueServicesRestClient RestClient { get; } - /// Initializes a new instance of QueueServicesClient for mocking. - protected QueueServicesClient() + internal QueueServicesRestOperations RestClient { get; } + /// Initializes a new instance of QueueServicesOperations for mocking. + protected QueueServicesOperations() { } - /// Initializes a new instance of QueueServicesClient. + /// Initializes a new instance of QueueServicesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. - internal QueueServicesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + internal QueueServicesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { - RestClient = new QueueServicesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); + RestClient = new QueueServicesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal QueueServicesClient(ClientDiagnostics clientDiagnostics, HttpPipeline p /// The cancellation token to use. public virtual async Task> ListAsync(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("QueueServicesClient.List"); + using var scope = _clientDiagnostics.CreateScope("QueueServicesOperations.List"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> ListAsync(string resource /// The cancellation token to use. public virtual Response List(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("QueueServicesClient.List"); + using var scope = _clientDiagnostics.CreateScope("QueueServicesOperations.List"); scope.Start(); try { @@ -82,7 +82,7 @@ public virtual Response List(string resourceGroupName, string /// The cancellation token to use. public virtual async Task> SetServicePropertiesAsync(string resourceGroupName, string accountName, QueueServiceProperties parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("QueueServicesClient.SetServiceProperties"); + using var scope = _clientDiagnostics.CreateScope("QueueServicesOperations.SetServiceProperties"); scope.Start(); try { @@ -102,7 +102,7 @@ public virtual async Task> SetServiceProperties /// The cancellation token to use. public virtual Response SetServiceProperties(string resourceGroupName, string accountName, QueueServiceProperties parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("QueueServicesClient.SetServiceProperties"); + using var scope = _clientDiagnostics.CreateScope("QueueServicesOperations.SetServiceProperties"); scope.Start(); try { @@ -121,7 +121,7 @@ public virtual Response SetServiceProperties(string reso /// The cancellation token to use. public virtual async Task> GetServicePropertiesAsync(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("QueueServicesClient.GetServiceProperties"); + using var scope = _clientDiagnostics.CreateScope("QueueServicesOperations.GetServiceProperties"); scope.Start(); try { @@ -140,7 +140,7 @@ public virtual async Task> GetServiceProperties /// The cancellation token to use. public virtual Response GetServiceProperties(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("QueueServicesClient.GetServiceProperties"); + using var scope = _clientDiagnostics.CreateScope("QueueServicesOperations.GetServiceProperties"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/QueueServicesRestClient.cs b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/QueueServicesRestOperations.cs similarity index 98% rename from sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/QueueServicesRestClient.cs rename to sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/QueueServicesRestOperations.cs index 61c8af4cc096e..0f5a2186f5a38 100644 --- a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/QueueServicesRestClient.cs +++ b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/QueueServicesRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.Management.Storage { - internal partial class QueueServicesRestClient + internal partial class QueueServicesRestOperations { private string subscriptionId; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class QueueServicesRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of QueueServicesRestClient. + /// Initializes a new instance of QueueServicesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public QueueServicesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + public QueueServicesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/OperationsRestClient.cs b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/RestOperations.cs similarity index 94% rename from sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/OperationsRestClient.cs rename to sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/RestOperations.cs index 17a1d16f985bc..adc770d550854 100644 --- a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/OperationsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/RestOperations.cs @@ -16,20 +16,20 @@ namespace Azure.Management.Storage { - internal partial class OperationsRestClient + internal partial class RestOperations { private Uri endpoint; private string apiVersion; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of OperationsRestClient. + /// Initializes a new instance of RestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public OperationsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null, string apiVersion = "2019-06-01") + public RestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null, string apiVersion = "2019-06-01") { endpoint ??= new Uri("https://management.azure.com"); if (apiVersion == null) diff --git a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/SkusClient.cs b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/SkusOperations.cs similarity index 82% rename from sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/SkusClient.cs rename to sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/SkusOperations.cs index f65c6cda0627f..2ef2381e3367f 100644 --- a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/SkusClient.cs +++ b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/SkusOperations.cs @@ -16,24 +16,24 @@ namespace Azure.Management.Storage { /// The Skus service client. - public partial class SkusClient + public partial class SkusOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal SkusRestClient RestClient { get; } - /// Initializes a new instance of SkusClient for mocking. - protected SkusClient() + internal SkusRestOperations RestClient { get; } + /// Initializes a new instance of SkusOperations for mocking. + protected SkusOperations() { } - /// Initializes a new instance of SkusClient. + /// Initializes a new instance of SkusOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. - internal SkusClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + internal SkusOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { - RestClient = new SkusRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); + RestClient = new SkusRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -44,7 +44,7 @@ public virtual AsyncPageable ListAsync(CancellationToken cancell { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SkusClient.List"); + using var scope = _clientDiagnostics.CreateScope("SkusOperations.List"); scope.Start(); try { @@ -66,7 +66,7 @@ public virtual Pageable List(CancellationToken cancellationToken { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("SkusClient.List"); + using var scope = _clientDiagnostics.CreateScope("SkusOperations.List"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/SkusRestClient.cs b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/SkusRestOperations.cs similarity index 94% rename from sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/SkusRestClient.cs rename to sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/SkusRestOperations.cs index c808e9d4c5216..be6ba7e99e065 100644 --- a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/SkusRestClient.cs +++ b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/SkusRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.Management.Storage { - internal partial class SkusRestClient + internal partial class SkusRestOperations { private string subscriptionId; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class SkusRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of SkusRestClient. + /// Initializes a new instance of SkusRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public SkusRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + public SkusRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/StorageAccountsClient.cs b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/StorageAccountsOperations.cs similarity index 95% rename from sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/StorageAccountsClient.cs rename to sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/StorageAccountsOperations.cs index b81224d3893e6..6bf67819bef52 100644 --- a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/StorageAccountsClient.cs +++ b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/StorageAccountsOperations.cs @@ -16,24 +16,24 @@ namespace Azure.Management.Storage { /// The StorageAccounts service client. - public partial class StorageAccountsClient + public partial class StorageAccountsOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal StorageAccountsRestClient RestClient { get; } - /// Initializes a new instance of StorageAccountsClient for mocking. - protected StorageAccountsClient() + internal StorageAccountsRestOperations RestClient { get; } + /// Initializes a new instance of StorageAccountsOperations for mocking. + protected StorageAccountsOperations() { } - /// Initializes a new instance of StorageAccountsClient. + /// Initializes a new instance of StorageAccountsOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. - internal StorageAccountsClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + internal StorageAccountsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { - RestClient = new StorageAccountsRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); + RestClient = new StorageAccountsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal StorageAccountsClient(ClientDiagnostics clientDiagnostics, HttpPipeline /// The cancellation token to use. public virtual async Task> CheckNameAvailabilityAsync(StorageAccountCheckNameAvailabilityParameters accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.CheckNameAvailability"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.CheckNameAvailability"); scope.Start(); try { @@ -61,7 +61,7 @@ public virtual async Task> CheckNameAvaila /// The cancellation token to use. public virtual Response CheckNameAvailability(StorageAccountCheckNameAvailabilityParameters accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.CheckNameAvailability"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.CheckNameAvailability"); scope.Start(); try { @@ -80,7 +80,7 @@ public virtual Response CheckNameAvailability(Stora /// The cancellation token to use. public virtual async Task DeleteAsync(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.Delete"); scope.Start(); try { @@ -99,7 +99,7 @@ public virtual async Task DeleteAsync(string resourceGroupName, string /// The cancellation token to use. public virtual Response Delete(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.Delete"); scope.Start(); try { @@ -119,7 +119,7 @@ public virtual Response Delete(string resourceGroupName, string accountName, Can /// The cancellation token to use. public virtual async Task> GetPropertiesAsync(string resourceGroupName, string accountName, StorageAccountExpand? expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.GetProperties"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.GetProperties"); scope.Start(); try { @@ -139,7 +139,7 @@ public virtual async Task> GetPropertiesAsync(string re /// The cancellation token to use. public virtual Response GetProperties(string resourceGroupName, string accountName, StorageAccountExpand? expand = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.GetProperties"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.GetProperties"); scope.Start(); try { @@ -159,7 +159,7 @@ public virtual Response GetProperties(string resourceGroupName, /// The cancellation token to use. public virtual async Task> UpdateAsync(string resourceGroupName, string accountName, StorageAccountUpdateParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.Update"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.Update"); scope.Start(); try { @@ -179,7 +179,7 @@ public virtual async Task> UpdateAsync(string resourceG /// The cancellation token to use. public virtual Response Update(string resourceGroupName, string accountName, StorageAccountUpdateParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.Update"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.Update"); scope.Start(); try { @@ -198,7 +198,7 @@ public virtual Response Update(string resourceGroupName, string /// The cancellation token to use. public virtual async Task> ListKeysAsync(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.ListKeys"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.ListKeys"); scope.Start(); try { @@ -217,7 +217,7 @@ public virtual async Task> ListKeysAsync( /// The cancellation token to use. public virtual Response ListKeys(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.ListKeys"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.ListKeys"); scope.Start(); try { @@ -237,7 +237,7 @@ public virtual Response ListKeys(string resourceGr /// The cancellation token to use. public virtual async Task> RegenerateKeyAsync(string resourceGroupName, string accountName, StorageAccountRegenerateKeyParameters regenerateKey, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.RegenerateKey"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.RegenerateKey"); scope.Start(); try { @@ -257,7 +257,7 @@ public virtual async Task> RegenerateKeyA /// The cancellation token to use. public virtual Response RegenerateKey(string resourceGroupName, string accountName, StorageAccountRegenerateKeyParameters regenerateKey, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.RegenerateKey"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.RegenerateKey"); scope.Start(); try { @@ -277,7 +277,7 @@ public virtual Response RegenerateKey(string resou /// The cancellation token to use. public virtual async Task> ListAccountSASAsync(string resourceGroupName, string accountName, AccountSasParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.ListAccountSAS"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.ListAccountSAS"); scope.Start(); try { @@ -297,7 +297,7 @@ public virtual async Task> ListAccountSASAsync( /// The cancellation token to use. public virtual Response ListAccountSAS(string resourceGroupName, string accountName, AccountSasParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.ListAccountSAS"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.ListAccountSAS"); scope.Start(); try { @@ -317,7 +317,7 @@ public virtual Response ListAccountSAS(string resourceGr /// The cancellation token to use. public virtual async Task> ListServiceSASAsync(string resourceGroupName, string accountName, ServiceSasParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.ListServiceSAS"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.ListServiceSAS"); scope.Start(); try { @@ -337,7 +337,7 @@ public virtual async Task> ListServiceSASAsync( /// The cancellation token to use. public virtual Response ListServiceSAS(string resourceGroupName, string accountName, ServiceSasParameters parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.ListServiceSAS"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.ListServiceSAS"); scope.Start(); try { @@ -356,7 +356,7 @@ public virtual Response ListServiceSAS(string resourceGr /// The cancellation token to use. public virtual async Task RevokeUserDelegationKeysAsync(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.RevokeUserDelegationKeys"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.RevokeUserDelegationKeys"); scope.Start(); try { @@ -375,7 +375,7 @@ public virtual async Task RevokeUserDelegationKeysAsync(string resourc /// The cancellation token to use. public virtual Response RevokeUserDelegationKeys(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.RevokeUserDelegationKeys"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.RevokeUserDelegationKeys"); scope.Start(); try { @@ -394,7 +394,7 @@ public virtual AsyncPageable ListAsync(CancellationToken cancell { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.List"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.List"); scope.Start(); try { @@ -409,7 +409,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.List"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.List"); scope.Start(); try { @@ -431,7 +431,7 @@ public virtual Pageable List(CancellationToken cancellationToken { Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.List"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.List"); scope.Start(); try { @@ -446,7 +446,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.List"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.List"); scope.Start(); try { @@ -474,7 +474,7 @@ public virtual AsyncPageable ListByResourceGroupAsync(string res async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.ListByResourceGroup"); scope.Start(); try { @@ -502,7 +502,7 @@ public virtual Pageable ListByResourceGroup(string resourceGroup Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.ListByResourceGroup"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.ListByResourceGroup"); scope.Start(); try { @@ -538,7 +538,7 @@ public virtual async Task StartCreateAsync(strin throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.StartCreate"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.StartCreate"); scope.Start(); try { @@ -572,7 +572,7 @@ public virtual StorageAccountsCreateOperation StartCreate(string resourceGroupNa throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.StartCreate"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.StartCreate"); scope.Start(); try { @@ -601,7 +601,7 @@ public virtual async Task StartFailoverAsync(s throw new ArgumentNullException(nameof(accountName)); } - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.StartFailover"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.StartFailover"); scope.Start(); try { @@ -630,7 +630,7 @@ public virtual StorageAccountsFailoverOperation StartFailover(string resourceGro throw new ArgumentNullException(nameof(accountName)); } - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.StartFailover"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.StartFailover"); scope.Start(); try { @@ -664,7 +664,7 @@ public virtual async Task StartRestor throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.StartRestoreBlobRanges"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.StartRestoreBlobRanges"); scope.Start(); try { @@ -698,7 +698,7 @@ public virtual StorageAccountsRestoreBlobRangesOperation StartRestoreBlobRanges( throw new ArgumentNullException(nameof(parameters)); } - using var scope = _clientDiagnostics.CreateScope("StorageAccountsClient.StartRestoreBlobRanges"); + using var scope = _clientDiagnostics.CreateScope("StorageAccountsOperations.StartRestoreBlobRanges"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/StorageAccountsRestClient.cs b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/StorageAccountsRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/StorageAccountsRestClient.cs rename to sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/StorageAccountsRestOperations.cs index c58d4fb414d5a..508a8a6443e16 100644 --- a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/StorageAccountsRestClient.cs +++ b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/StorageAccountsRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.Management.Storage { - internal partial class StorageAccountsRestClient + internal partial class StorageAccountsRestOperations { private string subscriptionId; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class StorageAccountsRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of StorageAccountsRestClient. + /// Initializes a new instance of StorageAccountsRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public StorageAccountsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + public StorageAccountsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/StorageManagementClient.cs b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/StorageManagementClient.cs index c1988c516631d..7452a49733b3d 100644 --- a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/StorageManagementClient.cs +++ b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/StorageManagementClient.cs @@ -53,106 +53,55 @@ public StorageManagementClient(Uri endpoint, string subscriptionId, TokenCredent _subscriptionId = subscriptionId; } - /// Creates a new instance of OperationsClient. - public virtual OperationsClient GetOperationsClient() - { - return new OperationsClient(_clientDiagnostics, _pipeline, _endpoint); - } + /// Returns an instance of Operations. + public virtual Operations Operations => new Operations(_clientDiagnostics, _pipeline, _endpoint); - /// Creates a new instance of SkusClient. - public virtual SkusClient GetSkusClient() - { - return new SkusClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of SkusOperations. + public virtual SkusOperations Skus => new SkusOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of StorageAccountsClient. - public virtual StorageAccountsClient GetStorageAccountsClient() - { - return new StorageAccountsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of StorageAccountsOperations. + public virtual StorageAccountsOperations StorageAccounts => new StorageAccountsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of UsagesClient. - public virtual UsagesClient GetUsagesClient() - { - return new UsagesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of UsagesOperations. + public virtual UsagesOperations Usages => new UsagesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ManagementPoliciesClient. - public virtual ManagementPoliciesClient GetManagementPoliciesClient() - { - return new ManagementPoliciesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ManagementPoliciesOperations. + public virtual ManagementPoliciesOperations ManagementPolicies => new ManagementPoliciesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of PrivateEndpointConnectionsClient. - public virtual PrivateEndpointConnectionsClient GetPrivateEndpointConnectionsClient() - { - return new PrivateEndpointConnectionsClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of PrivateEndpointConnectionsOperations. + public virtual PrivateEndpointConnectionsOperations PrivateEndpointConnections => new PrivateEndpointConnectionsOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of PrivateLinkResourcesClient. - public virtual PrivateLinkResourcesClient GetPrivateLinkResourcesClient() - { - return new PrivateLinkResourcesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of PrivateLinkResourcesOperations. + public virtual PrivateLinkResourcesOperations PrivateLinkResources => new PrivateLinkResourcesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of ObjectReplicationPoliciesClient. - public virtual ObjectReplicationPoliciesClient GetObjectReplicationPoliciesClient() - { - return new ObjectReplicationPoliciesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of ObjectReplicationPoliciesOperations. + public virtual ObjectReplicationPoliciesOperations ObjectReplicationPolicies => new ObjectReplicationPoliciesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of EncryptionScopesClient. - public virtual EncryptionScopesClient GetEncryptionScopesClient() - { - return new EncryptionScopesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of EncryptionScopesOperations. + public virtual EncryptionScopesOperations EncryptionScopes => new EncryptionScopesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of BlobServicesClient. - public virtual BlobServicesClient GetBlobServicesClient() - { - return new BlobServicesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of BlobServicesOperations. + public virtual BlobServicesOperations BlobServices => new BlobServicesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of BlobContainersClient. - public virtual BlobContainersClient GetBlobContainersClient() - { - return new BlobContainersClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of BlobContainersOperations. + public virtual BlobContainersOperations BlobContainers => new BlobContainersOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of FileServicesClient. - public virtual FileServicesClient GetFileServicesClient() - { - return new FileServicesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of FileServicesOperations. + public virtual FileServicesOperations FileServices => new FileServicesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of FileSharesClient. - public virtual FileSharesClient GetFileSharesClient() - { - return new FileSharesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of FileSharesOperations. + public virtual FileSharesOperations FileShares => new FileSharesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of QueueServicesClient. - public virtual QueueServicesClient GetQueueServicesClient() - { - return new QueueServicesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of QueueServicesOperations. + public virtual QueueServicesOperations QueueServices => new QueueServicesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of QueueClient. - public virtual QueueClient GetQueueClient() - { - return new QueueClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of QueueOperations. + public virtual QueueOperations Queue => new QueueOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of TableServicesClient. - public virtual TableServicesClient GetTableServicesClient() - { - return new TableServicesClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of TableServicesOperations. + public virtual TableServicesOperations TableServices => new TableServicesOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - /// Creates a new instance of TableClient. - public virtual TableClient GetTableClient() - { - return new TableClient(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); - } + /// Returns an instance of TableOperations. + public virtual TableOperations Table => new TableOperations(_clientDiagnostics, _pipeline, _subscriptionId, _endpoint); } } diff --git a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/TableClient.cs b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/TableOperations.cs similarity index 95% rename from sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/TableClient.cs rename to sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/TableOperations.cs index 2db5096ce1f07..a7c67001a548a 100644 --- a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/TableClient.cs +++ b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/TableOperations.cs @@ -16,24 +16,24 @@ namespace Azure.Management.Storage { /// The Table service client. - public partial class TableClient + public partial class TableOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal TableRestClient RestClient { get; } - /// Initializes a new instance of TableClient for mocking. - protected TableClient() + internal TableRestOperations RestClient { get; } + /// Initializes a new instance of TableOperations for mocking. + protected TableOperations() { } - /// Initializes a new instance of TableClient. + /// Initializes a new instance of TableOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. - internal TableClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + internal TableOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { - RestClient = new TableRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); + RestClient = new TableRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -45,7 +45,7 @@ internal TableClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, /// The cancellation token to use. public virtual async Task> CreateAsync(string resourceGroupName, string accountName, string tableName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("TableClient.Create"); + using var scope = _clientDiagnostics.CreateScope("TableOperations.Create"); scope.Start(); try { @@ -65,7 +65,7 @@ public virtual async Task> CreateAsync(string resourceGroupName, /// The cancellation token to use. public virtual Response
Create(string resourceGroupName, string accountName, string tableName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("TableClient.Create"); + using var scope = _clientDiagnostics.CreateScope("TableOperations.Create"); scope.Start(); try { @@ -85,7 +85,7 @@ public virtual Response
Create(string resourceGroupName, string accountNa /// The cancellation token to use. public virtual async Task> UpdateAsync(string resourceGroupName, string accountName, string tableName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("TableClient.Update"); + using var scope = _clientDiagnostics.CreateScope("TableOperations.Update"); scope.Start(); try { @@ -105,7 +105,7 @@ public virtual async Task> UpdateAsync(string resourceGroupName, /// The cancellation token to use. public virtual Response
Update(string resourceGroupName, string accountName, string tableName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("TableClient.Update"); + using var scope = _clientDiagnostics.CreateScope("TableOperations.Update"); scope.Start(); try { @@ -125,7 +125,7 @@ public virtual Response
Update(string resourceGroupName, string accountNa /// The cancellation token to use. public virtual async Task> GetAsync(string resourceGroupName, string accountName, string tableName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("TableClient.Get"); + using var scope = _clientDiagnostics.CreateScope("TableOperations.Get"); scope.Start(); try { @@ -145,7 +145,7 @@ public virtual async Task> GetAsync(string resourceGroupName, st /// The cancellation token to use. public virtual Response
Get(string resourceGroupName, string accountName, string tableName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("TableClient.Get"); + using var scope = _clientDiagnostics.CreateScope("TableOperations.Get"); scope.Start(); try { @@ -165,7 +165,7 @@ public virtual Response
Get(string resourceGroupName, string accountName, /// The cancellation token to use. public virtual async Task DeleteAsync(string resourceGroupName, string accountName, string tableName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("TableClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("TableOperations.Delete"); scope.Start(); try { @@ -185,7 +185,7 @@ public virtual async Task DeleteAsync(string resourceGroupName, string /// The cancellation token to use. public virtual Response Delete(string resourceGroupName, string accountName, string tableName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("TableClient.Delete"); + using var scope = _clientDiagnostics.CreateScope("TableOperations.Delete"); scope.Start(); try { @@ -215,7 +215,7 @@ public virtual AsyncPageable
ListAsync(string resourceGroupName, string a async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("TableClient.List"); + using var scope = _clientDiagnostics.CreateScope("TableOperations.List"); scope.Start(); try { @@ -230,7 +230,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("TableClient.List"); + using var scope = _clientDiagnostics.CreateScope("TableOperations.List"); scope.Start(); try { @@ -263,7 +263,7 @@ public virtual Pageable
List(string resourceGroupName, string accountName Page
FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("TableClient.List"); + using var scope = _clientDiagnostics.CreateScope("TableOperations.List"); scope.Start(); try { @@ -278,7 +278,7 @@ Page
FirstPageFunc(int? pageSizeHint) } Page
NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("TableClient.List"); + using var scope = _clientDiagnostics.CreateScope("TableOperations.List"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/TableRestClient.cs b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/TableRestOperations.cs similarity index 99% rename from sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/TableRestClient.cs rename to sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/TableRestOperations.cs index b32c77262f67e..0d3ef3c84c222 100644 --- a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/TableRestClient.cs +++ b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/TableRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.Management.Storage { - internal partial class TableRestClient + internal partial class TableRestOperations { private string subscriptionId; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class TableRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of TableRestClient. + /// Initializes a new instance of TableRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public TableRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + public TableRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/TableServicesClient.cs b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/TableServicesOperations.cs similarity index 91% rename from sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/TableServicesClient.cs rename to sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/TableServicesOperations.cs index f7c6f8ebfec6f..e845bea4746f0 100644 --- a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/TableServicesClient.cs +++ b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/TableServicesOperations.cs @@ -15,24 +15,24 @@ namespace Azure.Management.Storage { /// The TableServices service client. - public partial class TableServicesClient + public partial class TableServicesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal TableServicesRestClient RestClient { get; } - /// Initializes a new instance of TableServicesClient for mocking. - protected TableServicesClient() + internal TableServicesRestOperations RestClient { get; } + /// Initializes a new instance of TableServicesOperations for mocking. + protected TableServicesOperations() { } - /// Initializes a new instance of TableServicesClient. + /// Initializes a new instance of TableServicesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. - internal TableServicesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + internal TableServicesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { - RestClient = new TableServicesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); + RestClient = new TableServicesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -43,7 +43,7 @@ internal TableServicesClient(ClientDiagnostics clientDiagnostics, HttpPipeline p /// The cancellation token to use. public virtual async Task> ListAsync(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("TableServicesClient.List"); + using var scope = _clientDiagnostics.CreateScope("TableServicesOperations.List"); scope.Start(); try { @@ -62,7 +62,7 @@ public virtual async Task> ListAsync(string resource /// The cancellation token to use. public virtual Response List(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("TableServicesClient.List"); + using var scope = _clientDiagnostics.CreateScope("TableServicesOperations.List"); scope.Start(); try { @@ -82,7 +82,7 @@ public virtual Response List(string resourceGroupName, string /// The cancellation token to use. public virtual async Task> SetServicePropertiesAsync(string resourceGroupName, string accountName, TableServiceProperties parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("TableServicesClient.SetServiceProperties"); + using var scope = _clientDiagnostics.CreateScope("TableServicesOperations.SetServiceProperties"); scope.Start(); try { @@ -102,7 +102,7 @@ public virtual async Task> SetServiceProperties /// The cancellation token to use. public virtual Response SetServiceProperties(string resourceGroupName, string accountName, TableServiceProperties parameters, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("TableServicesClient.SetServiceProperties"); + using var scope = _clientDiagnostics.CreateScope("TableServicesOperations.SetServiceProperties"); scope.Start(); try { @@ -121,7 +121,7 @@ public virtual Response SetServiceProperties(string reso /// The cancellation token to use. public virtual async Task> GetServicePropertiesAsync(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("TableServicesClient.GetServiceProperties"); + using var scope = _clientDiagnostics.CreateScope("TableServicesOperations.GetServiceProperties"); scope.Start(); try { @@ -140,7 +140,7 @@ public virtual async Task> GetServiceProperties /// The cancellation token to use. public virtual Response GetServiceProperties(string resourceGroupName, string accountName, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("TableServicesClient.GetServiceProperties"); + using var scope = _clientDiagnostics.CreateScope("TableServicesOperations.GetServiceProperties"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/TableServicesRestClient.cs b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/TableServicesRestOperations.cs similarity index 98% rename from sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/TableServicesRestClient.cs rename to sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/TableServicesRestOperations.cs index 3d009e48563b2..f9bec25691deb 100644 --- a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/TableServicesRestClient.cs +++ b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/TableServicesRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.Management.Storage { - internal partial class TableServicesRestClient + internal partial class TableServicesRestOperations { private string subscriptionId; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class TableServicesRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of TableServicesRestClient. + /// Initializes a new instance of TableServicesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public TableServicesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + public TableServicesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { if (subscriptionId == null) { diff --git a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/UsagesClient.cs b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/UsagesOperations.cs similarity index 84% rename from sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/UsagesClient.cs rename to sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/UsagesOperations.cs index c38fe183b74ec..a4b8774cc4c51 100644 --- a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/UsagesClient.cs +++ b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/UsagesOperations.cs @@ -16,24 +16,24 @@ namespace Azure.Management.Storage { /// The Usages service client. - public partial class UsagesClient + public partial class UsagesOperations { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; - internal UsagesRestClient RestClient { get; } - /// Initializes a new instance of UsagesClient for mocking. - protected UsagesClient() + internal UsagesRestOperations RestClient { get; } + /// Initializes a new instance of UsagesOperations for mocking. + protected UsagesOperations() { } - /// Initializes a new instance of UsagesClient. + /// Initializes a new instance of UsagesOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. - internal UsagesClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + internal UsagesOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { - RestClient = new UsagesRestClient(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); + RestClient = new UsagesRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint, apiVersion); _clientDiagnostics = clientDiagnostics; _pipeline = pipeline; } @@ -50,7 +50,7 @@ public virtual AsyncPageable ListByLocationAsync(string location, Cancell async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("UsagesClient.ListByLocation"); + using var scope = _clientDiagnostics.CreateScope("UsagesOperations.ListByLocation"); scope.Start(); try { @@ -78,7 +78,7 @@ public virtual Pageable ListByLocation(string location, CancellationToken Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("UsagesClient.ListByLocation"); + using var scope = _clientDiagnostics.CreateScope("UsagesOperations.ListByLocation"); scope.Start(); try { diff --git a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/UsagesRestClient.cs b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/UsagesRestOperations.cs similarity index 94% rename from sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/UsagesRestClient.cs rename to sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/UsagesRestOperations.cs index 54127879e24cf..5a18823a3c5e6 100644 --- a/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/UsagesRestClient.cs +++ b/sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/UsagesRestOperations.cs @@ -16,7 +16,7 @@ namespace Azure.Management.Storage { - internal partial class UsagesRestClient + internal partial class UsagesRestOperations { private string subscriptionId; private Uri endpoint; @@ -24,14 +24,14 @@ internal partial class UsagesRestClient private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of UsagesRestClient. + /// Initializes a new instance of UsagesRestOperations. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The ID of the target subscription. /// server parameter. /// Api Version. /// This occurs when one of the required arguments is null. - public UsagesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") + public UsagesRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptionId, Uri endpoint = null, string apiVersion = "2019-06-01") { if (subscriptionId == null) { From 20a1cd617ad13a75c2fbe04263057652c4605437 Mon Sep 17 00:00:00 2001 From: Pavel Krymets Date: Fri, 12 Jun 2020 10:09:00 -0700 Subject: [PATCH 2/2] Fixes --- .../ManagementRecordedTestBase.cs | 4 +- ...Manager.AppConfiguration.netstandard2.0.cs | 84 +- ....ResourceManager.Compute.netstandard2.0.cs | 794 +++--- ...esourceManager.EventHubs.netstandard2.0.cs | 138 +- ...ResourceManager.KeyVault.netstandard2.0.cs | 66 +- .../tests/VaultOperationsTestsBase.cs | 18 +- ....ResourceManager.Network.netstandard2.0.cs | 2274 ++++++++--------- ...esourceManager.Resources.netstandard2.0.cs | 486 ++-- ....ResourceManager.Storage.netstandard2.0.cs | 154 +- .../api/Azure.Graph.Rbac.netstandard2.0.cs | 54 +- ...Azure.Management.Compute.netstandard2.0.cs | 794 +++--- ...Azure.Management.Network.netstandard2.0.cs | 2274 ++++++++--------- ...ure.Management.Resources.netstandard2.0.cs | 162 +- ...Azure.Management.Storage.netstandard2.0.cs | 154 +- 14 files changed, 3728 insertions(+), 3728 deletions(-) diff --git a/common/ManagementTestShared/ManagementRecordedTestBase.cs b/common/ManagementTestShared/ManagementRecordedTestBase.cs index 1f384c614a968..7b325969f8a26 100644 --- a/common/ManagementTestShared/ManagementRecordedTestBase.cs +++ b/common/ManagementTestShared/ManagementRecordedTestBase.cs @@ -56,7 +56,7 @@ protected async Task CleanupResourceGroupsAsync() var resourceGroupsClient = new ResourcesManagementClient( TestEnvironment.SubscriptionId, TestEnvironment.Credential, - new ResourcesManagementClientOptions()).GetResourceGroupsClient(); + new ResourcesManagementClientOptions()).ResourceGroups; foreach (var resourceGroup in CleanupPolicy.ResourceGroupsCreated) { await resourceGroupsClient.StartDeleteAsync(resourceGroup); @@ -64,7 +64,7 @@ protected async Task CleanupResourceGroupsAsync() } } - protected async Task GetFirstUsableLocationAsync(ProvidersClient providersClient, string resourceProviderNamespace, string resourceType) + protected async Task GetFirstUsableLocationAsync(ProvidersOperations providersClient, string resourceProviderNamespace, string resourceType) { var provider = (await providersClient.GetAsync(resourceProviderNamespace)).Value; return provider.ResourceTypes.Where( diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/api/Azure.ResourceManager.AppConfiguration.netstandard2.0.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/api/Azure.ResourceManager.AppConfiguration.netstandard2.0.cs index 5c451277d7a39..410f7b4a6de8e 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/api/Azure.ResourceManager.AppConfiguration.netstandard2.0.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/api/Azure.ResourceManager.AppConfiguration.netstandard2.0.cs @@ -5,37 +5,15 @@ public partial class AppConfigurationManagementClient protected AppConfigurationManagementClient() { } public AppConfigurationManagementClient(string subscriptionId, Azure.Core.TokenCredential tokenCredential, Azure.ResourceManager.AppConfiguration.AppConfigurationManagementClientOptions options = null) { } public AppConfigurationManagementClient(string subscriptionId, System.Uri endpoint, Azure.Core.TokenCredential tokenCredential, Azure.ResourceManager.AppConfiguration.AppConfigurationManagementClientOptions options = null) { } - public virtual Azure.ResourceManager.AppConfiguration.ConfigurationStoresClient GetConfigurationStoresClient() { throw null; } - public virtual Azure.ResourceManager.AppConfiguration.OperationsClient GetOperationsClient() { throw null; } - public virtual Azure.ResourceManager.AppConfiguration.PrivateEndpointConnectionsClient GetPrivateEndpointConnectionsClient() { throw null; } - public virtual Azure.ResourceManager.AppConfiguration.PrivateLinkResourcesClient GetPrivateLinkResourcesClient() { throw null; } + public virtual Azure.ResourceManager.AppConfiguration.ConfigurationStoresOperations ConfigurationStores { get { throw null; } } + public virtual Azure.ResourceManager.AppConfiguration.Operations Operations { get { throw null; } } + public virtual Azure.ResourceManager.AppConfiguration.PrivateEndpointConnectionsOperations PrivateEndpointConnections { get { throw null; } } + public virtual Azure.ResourceManager.AppConfiguration.PrivateLinkResourcesOperations PrivateLinkResources { get { throw null; } } } public partial class AppConfigurationManagementClientOptions : Azure.Core.ClientOptions { public AppConfigurationManagementClientOptions() { } } - public partial class ConfigurationStoresClient - { - protected ConfigurationStoresClient() { } - public virtual Azure.Response Get(string resourceGroupName, string configStoreName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string configStoreName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string skipToken = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string skipToken = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, string skipToken = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, string skipToken = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListKeys(string resourceGroupName, string configStoreName, string skipToken = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListKeysAsync(string resourceGroupName, string configStoreName, string skipToken = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response ListKeyValue(string resourceGroupName, string configStoreName, Azure.ResourceManager.AppConfiguration.Models.ListKeyValueParameters listKeyValueParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> ListKeyValueAsync(string resourceGroupName, string configStoreName, Azure.ResourceManager.AppConfiguration.Models.ListKeyValueParameters listKeyValueParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response RegenerateKey(string resourceGroupName, string configStoreName, Azure.ResourceManager.AppConfiguration.Models.RegenerateKeyParameters regenerateKeyParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> RegenerateKeyAsync(string resourceGroupName, string configStoreName, Azure.ResourceManager.AppConfiguration.Models.RegenerateKeyParameters regenerateKeyParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.AppConfiguration.ConfigurationStoresCreateOperation StartCreate(string resourceGroupName, string configStoreName, Azure.ResourceManager.AppConfiguration.Models.ConfigurationStore configStoreCreationParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateAsync(string resourceGroupName, string configStoreName, Azure.ResourceManager.AppConfiguration.Models.ConfigurationStore configStoreCreationParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.AppConfiguration.ConfigurationStoresDeleteOperation StartDelete(string resourceGroupName, string configStoreName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string configStoreName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.AppConfiguration.ConfigurationStoresUpdateOperation StartUpdate(string resourceGroupName, string configStoreName, Azure.ResourceManager.AppConfiguration.Models.ConfigurationStoreUpdateParameters configStoreUpdateParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string configStoreName, Azure.ResourceManager.AppConfiguration.Models.ConfigurationStoreUpdateParameters configStoreUpdateParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class ConfigurationStoresCreateOperation : Azure.Operation { internal ConfigurationStoresCreateOperation() { } @@ -62,6 +40,28 @@ internal ConfigurationStoresDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class ConfigurationStoresOperations + { + protected ConfigurationStoresOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string configStoreName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string configStoreName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string skipToken = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string skipToken = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, string skipToken = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, string skipToken = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListKeys(string resourceGroupName, string configStoreName, string skipToken = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListKeysAsync(string resourceGroupName, string configStoreName, string skipToken = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response ListKeyValue(string resourceGroupName, string configStoreName, Azure.ResourceManager.AppConfiguration.Models.ListKeyValueParameters listKeyValueParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> ListKeyValueAsync(string resourceGroupName, string configStoreName, Azure.ResourceManager.AppConfiguration.Models.ListKeyValueParameters listKeyValueParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response RegenerateKey(string resourceGroupName, string configStoreName, Azure.ResourceManager.AppConfiguration.Models.RegenerateKeyParameters regenerateKeyParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> RegenerateKeyAsync(string resourceGroupName, string configStoreName, Azure.ResourceManager.AppConfiguration.Models.RegenerateKeyParameters regenerateKeyParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.AppConfiguration.ConfigurationStoresCreateOperation StartCreate(string resourceGroupName, string configStoreName, Azure.ResourceManager.AppConfiguration.Models.ConfigurationStore configStoreCreationParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateAsync(string resourceGroupName, string configStoreName, Azure.ResourceManager.AppConfiguration.Models.ConfigurationStore configStoreCreationParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.AppConfiguration.ConfigurationStoresDeleteOperation StartDelete(string resourceGroupName, string configStoreName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string configStoreName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.AppConfiguration.ConfigurationStoresUpdateOperation StartUpdate(string resourceGroupName, string configStoreName, Azure.ResourceManager.AppConfiguration.Models.ConfigurationStoreUpdateParameters configStoreUpdateParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string configStoreName, Azure.ResourceManager.AppConfiguration.Models.ConfigurationStoreUpdateParameters configStoreUpdateParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class ConfigurationStoresUpdateOperation : Azure.Operation { internal ConfigurationStoresUpdateOperation() { } @@ -75,26 +75,14 @@ internal ConfigurationStoresUpdateOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class OperationsClient + public partial class Operations { - protected OperationsClient() { } + protected Operations() { } public virtual Azure.Response CheckNameAvailability(Azure.ResourceManager.AppConfiguration.Models.CheckNameAvailabilityParameters checkNameAvailabilityParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CheckNameAvailabilityAsync(Azure.ResourceManager.AppConfiguration.Models.CheckNameAvailabilityParameters checkNameAvailabilityParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(string skipToken = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(string skipToken = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class PrivateEndpointConnectionsClient - { - protected PrivateEndpointConnectionsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string configStoreName, string privateEndpointConnectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string configStoreName, string privateEndpointConnectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByConfigurationStore(string resourceGroupName, string configStoreName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByConfigurationStoreAsync(string resourceGroupName, string configStoreName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.AppConfiguration.PrivateEndpointConnectionsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string configStoreName, string privateEndpointConnectionName, Azure.ResourceManager.AppConfiguration.Models.PrivateEndpointConnection privateEndpointConnection, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string configStoreName, string privateEndpointConnectionName, Azure.ResourceManager.AppConfiguration.Models.PrivateEndpointConnection privateEndpointConnection, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.AppConfiguration.PrivateEndpointConnectionsDeleteOperation StartDelete(string resourceGroupName, string configStoreName, string privateEndpointConnectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string configStoreName, string privateEndpointConnectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class PrivateEndpointConnectionsCreateOrUpdateOperation : Azure.Operation { internal PrivateEndpointConnectionsCreateOrUpdateOperation() { } @@ -121,9 +109,21 @@ internal PrivateEndpointConnectionsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class PrivateLinkResourcesClient + public partial class PrivateEndpointConnectionsOperations + { + protected PrivateEndpointConnectionsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string configStoreName, string privateEndpointConnectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string configStoreName, string privateEndpointConnectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByConfigurationStore(string resourceGroupName, string configStoreName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByConfigurationStoreAsync(string resourceGroupName, string configStoreName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.AppConfiguration.PrivateEndpointConnectionsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string configStoreName, string privateEndpointConnectionName, Azure.ResourceManager.AppConfiguration.Models.PrivateEndpointConnection privateEndpointConnection, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string configStoreName, string privateEndpointConnectionName, Azure.ResourceManager.AppConfiguration.Models.PrivateEndpointConnection privateEndpointConnection, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.AppConfiguration.PrivateEndpointConnectionsDeleteOperation StartDelete(string resourceGroupName, string configStoreName, string privateEndpointConnectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string configStoreName, string privateEndpointConnectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class PrivateLinkResourcesOperations { - protected PrivateLinkResourcesClient() { } + protected PrivateLinkResourcesOperations() { } public virtual Azure.Response Get(string resourceGroupName, string configStoreName, string groupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string configStoreName, string groupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable ListByConfigurationStore(string resourceGroupName, string configStoreName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } diff --git a/sdk/compute/Azure.ResourceManager.Compute/api/Azure.ResourceManager.Compute.netstandard2.0.cs b/sdk/compute/Azure.ResourceManager.Compute/api/Azure.ResourceManager.Compute.netstandard2.0.cs index a66eab2f78c15..2954975290329 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/api/Azure.ResourceManager.Compute.netstandard2.0.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/api/Azure.ResourceManager.Compute.netstandard2.0.cs @@ -1,8 +1,8 @@ namespace Azure.ResourceManager.Compute { - public partial class AvailabilitySetsClient + public partial class AvailabilitySetsOperations { - protected AvailabilitySetsClient() { } + protected AvailabilitySetsOperations() { } public virtual Azure.Response CreateOrUpdate(string resourceGroupName, string availabilitySetName, Azure.ResourceManager.Compute.Models.AvailabilitySet parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(string resourceGroupName, string availabilitySetName, Azure.ResourceManager.Compute.Models.AvailabilitySet parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Delete(string resourceGroupName, string availabilitySetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -23,55 +23,41 @@ public partial class ComputeManagementClient protected ComputeManagementClient() { } public ComputeManagementClient(string subscriptionId, Azure.Core.TokenCredential tokenCredential, Azure.ResourceManager.Compute.ComputeManagementClientOptions options = null) { } public ComputeManagementClient(System.Uri endpoint, string subscriptionId, Azure.Core.TokenCredential tokenCredential, Azure.ResourceManager.Compute.ComputeManagementClientOptions options = null) { } - public virtual Azure.ResourceManager.Compute.AvailabilitySetsClient GetAvailabilitySetsClient() { throw null; } - public virtual Azure.ResourceManager.Compute.ContainerServicesClient GetContainerServicesClient() { throw null; } - public virtual Azure.ResourceManager.Compute.DedicatedHostGroupsClient GetDedicatedHostGroupsClient() { throw null; } - public virtual Azure.ResourceManager.Compute.DedicatedHostsClient GetDedicatedHostsClient() { throw null; } - public virtual Azure.ResourceManager.Compute.DiskEncryptionSetsClient GetDiskEncryptionSetsClient() { throw null; } - public virtual Azure.ResourceManager.Compute.DisksClient GetDisksClient() { throw null; } - public virtual Azure.ResourceManager.Compute.GalleriesClient GetGalleriesClient() { throw null; } - public virtual Azure.ResourceManager.Compute.GalleryApplicationsClient GetGalleryApplicationsClient() { throw null; } - public virtual Azure.ResourceManager.Compute.GalleryApplicationVersionsClient GetGalleryApplicationVersionsClient() { throw null; } - public virtual Azure.ResourceManager.Compute.GalleryImagesClient GetGalleryImagesClient() { throw null; } - public virtual Azure.ResourceManager.Compute.GalleryImageVersionsClient GetGalleryImageVersionsClient() { throw null; } - public virtual Azure.ResourceManager.Compute.ImagesClient GetImagesClient() { throw null; } - public virtual Azure.ResourceManager.Compute.LogAnalyticsClient GetLogAnalyticsClient() { throw null; } - public virtual Azure.ResourceManager.Compute.OperationsClient GetOperationsClient() { throw null; } - public virtual Azure.ResourceManager.Compute.ProximityPlacementGroupsClient GetProximityPlacementGroupsClient() { throw null; } - public virtual Azure.ResourceManager.Compute.ResourceSkusClient GetResourceSkusClient() { throw null; } - public virtual Azure.ResourceManager.Compute.SnapshotsClient GetSnapshotsClient() { throw null; } - public virtual Azure.ResourceManager.Compute.SshPublicKeysClient GetSshPublicKeysClient() { throw null; } - public virtual Azure.ResourceManager.Compute.UsageClient GetUsageClient() { throw null; } - public virtual Azure.ResourceManager.Compute.VirtualMachineExtensionImagesClient GetVirtualMachineExtensionImagesClient() { throw null; } - public virtual Azure.ResourceManager.Compute.VirtualMachineExtensionsClient GetVirtualMachineExtensionsClient() { throw null; } - public virtual Azure.ResourceManager.Compute.VirtualMachineImagesClient GetVirtualMachineImagesClient() { throw null; } - public virtual Azure.ResourceManager.Compute.VirtualMachineRunCommandsClient GetVirtualMachineRunCommandsClient() { throw null; } - public virtual Azure.ResourceManager.Compute.VirtualMachineScaleSetExtensionsClient GetVirtualMachineScaleSetExtensionsClient() { throw null; } - public virtual Azure.ResourceManager.Compute.VirtualMachineScaleSetRollingUpgradesClient GetVirtualMachineScaleSetRollingUpgradesClient() { throw null; } - public virtual Azure.ResourceManager.Compute.VirtualMachineScaleSetsClient GetVirtualMachineScaleSetsClient() { throw null; } - public virtual Azure.ResourceManager.Compute.VirtualMachineScaleSetVMExtensionsClient GetVirtualMachineScaleSetVMExtensionsClient() { throw null; } - public virtual Azure.ResourceManager.Compute.VirtualMachineScaleSetVMsClient GetVirtualMachineScaleSetVMsClient() { throw null; } - public virtual Azure.ResourceManager.Compute.VirtualMachinesClient GetVirtualMachinesClient() { throw null; } - public virtual Azure.ResourceManager.Compute.VirtualMachineSizesClient GetVirtualMachineSizesClient() { throw null; } + public virtual Azure.ResourceManager.Compute.AvailabilitySetsOperations AvailabilitySets { get { throw null; } } + public virtual Azure.ResourceManager.Compute.ContainerServicesOperations ContainerServices { get { throw null; } } + public virtual Azure.ResourceManager.Compute.DedicatedHostGroupsOperations DedicatedHostGroups { get { throw null; } } + public virtual Azure.ResourceManager.Compute.DedicatedHostsOperations DedicatedHosts { get { throw null; } } + public virtual Azure.ResourceManager.Compute.DiskEncryptionSetsOperations DiskEncryptionSets { get { throw null; } } + public virtual Azure.ResourceManager.Compute.DisksOperations Disks { get { throw null; } } + public virtual Azure.ResourceManager.Compute.GalleriesOperations Galleries { get { throw null; } } + public virtual Azure.ResourceManager.Compute.GalleryApplicationsOperations GalleryApplications { get { throw null; } } + public virtual Azure.ResourceManager.Compute.GalleryApplicationVersionsOperations GalleryApplicationVersions { get { throw null; } } + public virtual Azure.ResourceManager.Compute.GalleryImagesOperations GalleryImages { get { throw null; } } + public virtual Azure.ResourceManager.Compute.GalleryImageVersionsOperations GalleryImageVersions { get { throw null; } } + public virtual Azure.ResourceManager.Compute.ImagesOperations Images { get { throw null; } } + public virtual Azure.ResourceManager.Compute.LogAnalyticsOperations LogAnalytics { get { throw null; } } + public virtual Azure.ResourceManager.Compute.Operations Operations { get { throw null; } } + public virtual Azure.ResourceManager.Compute.ProximityPlacementGroupsOperations ProximityPlacementGroups { get { throw null; } } + public virtual Azure.ResourceManager.Compute.ResourceSkusOperations ResourceSkus { get { throw null; } } + public virtual Azure.ResourceManager.Compute.SnapshotsOperations Snapshots { get { throw null; } } + public virtual Azure.ResourceManager.Compute.SshPublicKeysOperations SshPublicKeys { get { throw null; } } + public virtual Azure.ResourceManager.Compute.UsageOperations Usage { get { throw null; } } + public virtual Azure.ResourceManager.Compute.VirtualMachineExtensionImagesOperations VirtualMachineExtensionImages { get { throw null; } } + public virtual Azure.ResourceManager.Compute.VirtualMachineExtensionsOperations VirtualMachineExtensions { get { throw null; } } + public virtual Azure.ResourceManager.Compute.VirtualMachineImagesOperations VirtualMachineImages { get { throw null; } } + public virtual Azure.ResourceManager.Compute.VirtualMachineRunCommandsOperations VirtualMachineRunCommands { get { throw null; } } + public virtual Azure.ResourceManager.Compute.VirtualMachinesOperations VirtualMachines { get { throw null; } } + public virtual Azure.ResourceManager.Compute.VirtualMachineScaleSetExtensionsOperations VirtualMachineScaleSetExtensions { get { throw null; } } + public virtual Azure.ResourceManager.Compute.VirtualMachineScaleSetRollingUpgradesOperations VirtualMachineScaleSetRollingUpgrades { get { throw null; } } + public virtual Azure.ResourceManager.Compute.VirtualMachineScaleSetsOperations VirtualMachineScaleSets { get { throw null; } } + public virtual Azure.ResourceManager.Compute.VirtualMachineScaleSetVMExtensionsOperations VirtualMachineScaleSetVMExtensions { get { throw null; } } + public virtual Azure.ResourceManager.Compute.VirtualMachineScaleSetVMsOperations VirtualMachineScaleSetVMs { get { throw null; } } + public virtual Azure.ResourceManager.Compute.VirtualMachineSizesOperations VirtualMachineSizes { get { throw null; } } } public partial class ComputeManagementClientOptions : Azure.Core.ClientOptions { public ComputeManagementClientOptions() { } } - public partial class ContainerServicesClient - { - protected ContainerServicesClient() { } - public virtual Azure.Response Get(string resourceGroupName, string containerServiceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string containerServiceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.ContainerServicesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string containerServiceName, Azure.ResourceManager.Compute.Models.ContainerService parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string containerServiceName, Azure.ResourceManager.Compute.Models.ContainerService parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.ContainerServicesDeleteOperation StartDelete(string resourceGroupName, string containerServiceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string containerServiceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class ContainerServicesCreateOrUpdateOperation : Azure.Operation { internal ContainerServicesCreateOrUpdateOperation() { } @@ -98,9 +84,23 @@ internal ContainerServicesDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class DedicatedHostGroupsClient + public partial class ContainerServicesOperations { - protected DedicatedHostGroupsClient() { } + protected ContainerServicesOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string containerServiceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string containerServiceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.ContainerServicesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string containerServiceName, Azure.ResourceManager.Compute.Models.ContainerService parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string containerServiceName, Azure.ResourceManager.Compute.Models.ContainerService parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.ContainerServicesDeleteOperation StartDelete(string resourceGroupName, string containerServiceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string containerServiceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class DedicatedHostGroupsOperations + { + protected DedicatedHostGroupsOperations() { } public virtual Azure.Response CreateOrUpdate(string resourceGroupName, string hostGroupName, Azure.ResourceManager.Compute.Models.DedicatedHostGroup parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(string resourceGroupName, string hostGroupName, Azure.ResourceManager.Compute.Models.DedicatedHostGroup parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Delete(string resourceGroupName, string hostGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -114,20 +114,6 @@ protected DedicatedHostGroupsClient() { } public virtual Azure.Response Update(string resourceGroupName, string hostGroupName, Azure.ResourceManager.Compute.Models.DedicatedHostGroupUpdate parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateAsync(string resourceGroupName, string hostGroupName, Azure.ResourceManager.Compute.Models.DedicatedHostGroupUpdate parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class DedicatedHostsClient - { - protected DedicatedHostsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string hostGroupName, string hostName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string hostGroupName, string hostName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByHostGroup(string resourceGroupName, string hostGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByHostGroupAsync(string resourceGroupName, string hostGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.DedicatedHostsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string hostGroupName, string hostName, Azure.ResourceManager.Compute.Models.DedicatedHost parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string hostGroupName, string hostName, Azure.ResourceManager.Compute.Models.DedicatedHost parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.DedicatedHostsDeleteOperation StartDelete(string resourceGroupName, string hostGroupName, string hostName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string hostGroupName, string hostName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.DedicatedHostsUpdateOperation StartUpdate(string resourceGroupName, string hostGroupName, string hostName, Azure.ResourceManager.Compute.Models.DedicatedHostUpdate parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string hostGroupName, string hostName, Azure.ResourceManager.Compute.Models.DedicatedHostUpdate parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class DedicatedHostsCreateOrUpdateOperation : Azure.Operation { internal DedicatedHostsCreateOrUpdateOperation() { } @@ -154,6 +140,20 @@ internal DedicatedHostsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class DedicatedHostsOperations + { + protected DedicatedHostsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string hostGroupName, string hostName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string hostGroupName, string hostName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByHostGroup(string resourceGroupName, string hostGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByHostGroupAsync(string resourceGroupName, string hostGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.DedicatedHostsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string hostGroupName, string hostName, Azure.ResourceManager.Compute.Models.DedicatedHost parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string hostGroupName, string hostName, Azure.ResourceManager.Compute.Models.DedicatedHost parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.DedicatedHostsDeleteOperation StartDelete(string resourceGroupName, string hostGroupName, string hostName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string hostGroupName, string hostName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.DedicatedHostsUpdateOperation StartUpdate(string resourceGroupName, string hostGroupName, string hostName, Azure.ResourceManager.Compute.Models.DedicatedHostUpdate parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string hostGroupName, string hostName, Azure.ResourceManager.Compute.Models.DedicatedHostUpdate parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class DedicatedHostsUpdateOperation : Azure.Operation { internal DedicatedHostsUpdateOperation() { } @@ -167,22 +167,6 @@ internal DedicatedHostsUpdateOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class DiskEncryptionSetsClient - { - protected DiskEncryptionSetsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string diskEncryptionSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string diskEncryptionSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.DiskEncryptionSetsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string diskEncryptionSetName, Azure.ResourceManager.Compute.Models.DiskEncryptionSet diskEncryptionSet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string diskEncryptionSetName, Azure.ResourceManager.Compute.Models.DiskEncryptionSet diskEncryptionSet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.DiskEncryptionSetsDeleteOperation StartDelete(string resourceGroupName, string diskEncryptionSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string diskEncryptionSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.DiskEncryptionSetsUpdateOperation StartUpdate(string resourceGroupName, string diskEncryptionSetName, Azure.ResourceManager.Compute.Models.DiskEncryptionSetUpdate diskEncryptionSet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string diskEncryptionSetName, Azure.ResourceManager.Compute.Models.DiskEncryptionSetUpdate diskEncryptionSet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class DiskEncryptionSetsCreateOrUpdateOperation : Azure.Operation { internal DiskEncryptionSetsCreateOrUpdateOperation() { } @@ -209,6 +193,22 @@ internal DiskEncryptionSetsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class DiskEncryptionSetsOperations + { + protected DiskEncryptionSetsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string diskEncryptionSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string diskEncryptionSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.DiskEncryptionSetsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string diskEncryptionSetName, Azure.ResourceManager.Compute.Models.DiskEncryptionSet diskEncryptionSet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string diskEncryptionSetName, Azure.ResourceManager.Compute.Models.DiskEncryptionSet diskEncryptionSet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.DiskEncryptionSetsDeleteOperation StartDelete(string resourceGroupName, string diskEncryptionSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string diskEncryptionSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.DiskEncryptionSetsUpdateOperation StartUpdate(string resourceGroupName, string diskEncryptionSetName, Azure.ResourceManager.Compute.Models.DiskEncryptionSetUpdate diskEncryptionSet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string diskEncryptionSetName, Azure.ResourceManager.Compute.Models.DiskEncryptionSetUpdate diskEncryptionSet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class DiskEncryptionSetsUpdateOperation : Azure.Operation { internal DiskEncryptionSetsUpdateOperation() { } @@ -222,26 +222,6 @@ internal DiskEncryptionSetsUpdateOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class DisksClient - { - protected DisksClient() { } - public virtual Azure.Response Get(string resourceGroupName, string diskName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string diskName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.DisksCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string diskName, Azure.ResourceManager.Compute.Models.Disk disk, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string diskName, Azure.ResourceManager.Compute.Models.Disk disk, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.DisksDeleteOperation StartDelete(string resourceGroupName, string diskName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string diskName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.DisksGrantAccessOperation StartGrantAccess(string resourceGroupName, string diskName, Azure.ResourceManager.Compute.Models.GrantAccessData grantAccessData, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartGrantAccessAsync(string resourceGroupName, string diskName, Azure.ResourceManager.Compute.Models.GrantAccessData grantAccessData, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.DisksRevokeAccessOperation StartRevokeAccess(string resourceGroupName, string diskName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartRevokeAccessAsync(string resourceGroupName, string diskName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.DisksUpdateOperation StartUpdate(string resourceGroupName, string diskName, Azure.ResourceManager.Compute.Models.DiskUpdate disk, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string diskName, Azure.ResourceManager.Compute.Models.DiskUpdate disk, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class DisksCreateOrUpdateOperation : Azure.Operation { internal DisksCreateOrUpdateOperation() { } @@ -281,6 +261,26 @@ internal DisksGrantAccessOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class DisksOperations + { + protected DisksOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string diskName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string diskName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.DisksCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string diskName, Azure.ResourceManager.Compute.Models.Disk disk, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string diskName, Azure.ResourceManager.Compute.Models.Disk disk, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.DisksDeleteOperation StartDelete(string resourceGroupName, string diskName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string diskName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.DisksGrantAccessOperation StartGrantAccess(string resourceGroupName, string diskName, Azure.ResourceManager.Compute.Models.GrantAccessData grantAccessData, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartGrantAccessAsync(string resourceGroupName, string diskName, Azure.ResourceManager.Compute.Models.GrantAccessData grantAccessData, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.DisksRevokeAccessOperation StartRevokeAccess(string resourceGroupName, string diskName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartRevokeAccessAsync(string resourceGroupName, string diskName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.DisksUpdateOperation StartUpdate(string resourceGroupName, string diskName, Azure.ResourceManager.Compute.Models.DiskUpdate disk, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string diskName, Azure.ResourceManager.Compute.Models.DiskUpdate disk, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class DisksRevokeAccessOperation : Azure.Operation { internal DisksRevokeAccessOperation() { } @@ -307,22 +307,6 @@ internal DisksUpdateOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class GalleriesClient - { - protected GalleriesClient() { } - public virtual Azure.Response Get(string resourceGroupName, string galleryName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string galleryName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.GalleriesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string galleryName, Azure.ResourceManager.Compute.Models.Gallery gallery, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string galleryName, Azure.ResourceManager.Compute.Models.Gallery gallery, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.GalleriesDeleteOperation StartDelete(string resourceGroupName, string galleryName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string galleryName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.GalleriesUpdateOperation StartUpdate(string resourceGroupName, string galleryName, Azure.ResourceManager.Compute.Models.GalleryUpdate gallery, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string galleryName, Azure.ResourceManager.Compute.Models.GalleryUpdate gallery, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class GalleriesCreateOrUpdateOperation : Azure.Operation { internal GalleriesCreateOrUpdateOperation() { } @@ -349,6 +333,22 @@ internal GalleriesDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class GalleriesOperations + { + protected GalleriesOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string galleryName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string galleryName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.GalleriesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string galleryName, Azure.ResourceManager.Compute.Models.Gallery gallery, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string galleryName, Azure.ResourceManager.Compute.Models.Gallery gallery, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.GalleriesDeleteOperation StartDelete(string resourceGroupName, string galleryName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string galleryName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.GalleriesUpdateOperation StartUpdate(string resourceGroupName, string galleryName, Azure.ResourceManager.Compute.Models.GalleryUpdate gallery, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string galleryName, Azure.ResourceManager.Compute.Models.GalleryUpdate gallery, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class GalleriesUpdateOperation : Azure.Operation { internal GalleriesUpdateOperation() { } @@ -362,20 +362,6 @@ internal GalleriesUpdateOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class GalleryApplicationsClient - { - protected GalleryApplicationsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string galleryName, string galleryApplicationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string galleryName, string galleryApplicationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByGallery(string resourceGroupName, string galleryName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByGalleryAsync(string resourceGroupName, string galleryName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.GalleryApplicationsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string galleryName, string galleryApplicationName, Azure.ResourceManager.Compute.Models.GalleryApplication galleryApplication, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string galleryName, string galleryApplicationName, Azure.ResourceManager.Compute.Models.GalleryApplication galleryApplication, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.GalleryApplicationsDeleteOperation StartDelete(string resourceGroupName, string galleryName, string galleryApplicationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string galleryName, string galleryApplicationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.GalleryApplicationsUpdateOperation StartUpdate(string resourceGroupName, string galleryName, string galleryApplicationName, Azure.ResourceManager.Compute.Models.GalleryApplicationUpdate galleryApplication, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string galleryName, string galleryApplicationName, Azure.ResourceManager.Compute.Models.GalleryApplicationUpdate galleryApplication, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class GalleryApplicationsCreateOrUpdateOperation : Azure.Operation { internal GalleryApplicationsCreateOrUpdateOperation() { } @@ -402,6 +388,20 @@ internal GalleryApplicationsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class GalleryApplicationsOperations + { + protected GalleryApplicationsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string galleryName, string galleryApplicationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string galleryName, string galleryApplicationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByGallery(string resourceGroupName, string galleryName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByGalleryAsync(string resourceGroupName, string galleryName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.GalleryApplicationsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string galleryName, string galleryApplicationName, Azure.ResourceManager.Compute.Models.GalleryApplication galleryApplication, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string galleryName, string galleryApplicationName, Azure.ResourceManager.Compute.Models.GalleryApplication galleryApplication, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.GalleryApplicationsDeleteOperation StartDelete(string resourceGroupName, string galleryName, string galleryApplicationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string galleryName, string galleryApplicationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.GalleryApplicationsUpdateOperation StartUpdate(string resourceGroupName, string galleryName, string galleryApplicationName, Azure.ResourceManager.Compute.Models.GalleryApplicationUpdate galleryApplication, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string galleryName, string galleryApplicationName, Azure.ResourceManager.Compute.Models.GalleryApplicationUpdate galleryApplication, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class GalleryApplicationsUpdateOperation : Azure.Operation { internal GalleryApplicationsUpdateOperation() { } @@ -415,20 +415,6 @@ internal GalleryApplicationsUpdateOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class GalleryApplicationVersionsClient - { - protected GalleryApplicationVersionsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string galleryName, string galleryApplicationName, string galleryApplicationVersionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string galleryName, string galleryApplicationName, string galleryApplicationVersionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByGalleryApplication(string resourceGroupName, string galleryName, string galleryApplicationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByGalleryApplicationAsync(string resourceGroupName, string galleryName, string galleryApplicationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.GalleryApplicationVersionsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string galleryName, string galleryApplicationName, string galleryApplicationVersionName, Azure.ResourceManager.Compute.Models.GalleryApplicationVersion galleryApplicationVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string galleryName, string galleryApplicationName, string galleryApplicationVersionName, Azure.ResourceManager.Compute.Models.GalleryApplicationVersion galleryApplicationVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.GalleryApplicationVersionsDeleteOperation StartDelete(string resourceGroupName, string galleryName, string galleryApplicationName, string galleryApplicationVersionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string galleryName, string galleryApplicationName, string galleryApplicationVersionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.GalleryApplicationVersionsUpdateOperation StartUpdate(string resourceGroupName, string galleryName, string galleryApplicationName, string galleryApplicationVersionName, Azure.ResourceManager.Compute.Models.GalleryApplicationVersionUpdate galleryApplicationVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string galleryName, string galleryApplicationName, string galleryApplicationVersionName, Azure.ResourceManager.Compute.Models.GalleryApplicationVersionUpdate galleryApplicationVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class GalleryApplicationVersionsCreateOrUpdateOperation : Azure.Operation { internal GalleryApplicationVersionsCreateOrUpdateOperation() { } @@ -455,6 +441,20 @@ internal GalleryApplicationVersionsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class GalleryApplicationVersionsOperations + { + protected GalleryApplicationVersionsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string galleryName, string galleryApplicationName, string galleryApplicationVersionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string galleryName, string galleryApplicationName, string galleryApplicationVersionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByGalleryApplication(string resourceGroupName, string galleryName, string galleryApplicationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByGalleryApplicationAsync(string resourceGroupName, string galleryName, string galleryApplicationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.GalleryApplicationVersionsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string galleryName, string galleryApplicationName, string galleryApplicationVersionName, Azure.ResourceManager.Compute.Models.GalleryApplicationVersion galleryApplicationVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string galleryName, string galleryApplicationName, string galleryApplicationVersionName, Azure.ResourceManager.Compute.Models.GalleryApplicationVersion galleryApplicationVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.GalleryApplicationVersionsDeleteOperation StartDelete(string resourceGroupName, string galleryName, string galleryApplicationName, string galleryApplicationVersionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string galleryName, string galleryApplicationName, string galleryApplicationVersionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.GalleryApplicationVersionsUpdateOperation StartUpdate(string resourceGroupName, string galleryName, string galleryApplicationName, string galleryApplicationVersionName, Azure.ResourceManager.Compute.Models.GalleryApplicationVersionUpdate galleryApplicationVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string galleryName, string galleryApplicationName, string galleryApplicationVersionName, Azure.ResourceManager.Compute.Models.GalleryApplicationVersionUpdate galleryApplicationVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class GalleryApplicationVersionsUpdateOperation : Azure.Operation { internal GalleryApplicationVersionsUpdateOperation() { } @@ -468,20 +468,6 @@ internal GalleryApplicationVersionsUpdateOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class GalleryImagesClient - { - protected GalleryImagesClient() { } - public virtual Azure.Response Get(string resourceGroupName, string galleryName, string galleryImageName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string galleryName, string galleryImageName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByGallery(string resourceGroupName, string galleryName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByGalleryAsync(string resourceGroupName, string galleryName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.GalleryImagesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string galleryName, string galleryImageName, Azure.ResourceManager.Compute.Models.GalleryImage galleryImage, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string galleryName, string galleryImageName, Azure.ResourceManager.Compute.Models.GalleryImage galleryImage, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.GalleryImagesDeleteOperation StartDelete(string resourceGroupName, string galleryName, string galleryImageName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string galleryName, string galleryImageName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.GalleryImagesUpdateOperation StartUpdate(string resourceGroupName, string galleryName, string galleryImageName, Azure.ResourceManager.Compute.Models.GalleryImageUpdate galleryImage, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string galleryName, string galleryImageName, Azure.ResourceManager.Compute.Models.GalleryImageUpdate galleryImage, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class GalleryImagesCreateOrUpdateOperation : Azure.Operation { internal GalleryImagesCreateOrUpdateOperation() { } @@ -508,6 +494,20 @@ internal GalleryImagesDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class GalleryImagesOperations + { + protected GalleryImagesOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string galleryName, string galleryImageName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string galleryName, string galleryImageName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByGallery(string resourceGroupName, string galleryName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByGalleryAsync(string resourceGroupName, string galleryName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.GalleryImagesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string galleryName, string galleryImageName, Azure.ResourceManager.Compute.Models.GalleryImage galleryImage, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string galleryName, string galleryImageName, Azure.ResourceManager.Compute.Models.GalleryImage galleryImage, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.GalleryImagesDeleteOperation StartDelete(string resourceGroupName, string galleryName, string galleryImageName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string galleryName, string galleryImageName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.GalleryImagesUpdateOperation StartUpdate(string resourceGroupName, string galleryName, string galleryImageName, Azure.ResourceManager.Compute.Models.GalleryImageUpdate galleryImage, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string galleryName, string galleryImageName, Azure.ResourceManager.Compute.Models.GalleryImageUpdate galleryImage, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class GalleryImagesUpdateOperation : Azure.Operation { internal GalleryImagesUpdateOperation() { } @@ -521,20 +521,6 @@ internal GalleryImagesUpdateOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class GalleryImageVersionsClient - { - protected GalleryImageVersionsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string galleryName, string galleryImageName, string galleryImageVersionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string galleryName, string galleryImageName, string galleryImageVersionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByGalleryImage(string resourceGroupName, string galleryName, string galleryImageName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByGalleryImageAsync(string resourceGroupName, string galleryName, string galleryImageName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.GalleryImageVersionsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string galleryName, string galleryImageName, string galleryImageVersionName, Azure.ResourceManager.Compute.Models.GalleryImageVersion galleryImageVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string galleryName, string galleryImageName, string galleryImageVersionName, Azure.ResourceManager.Compute.Models.GalleryImageVersion galleryImageVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.GalleryImageVersionsDeleteOperation StartDelete(string resourceGroupName, string galleryName, string galleryImageName, string galleryImageVersionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string galleryName, string galleryImageName, string galleryImageVersionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.GalleryImageVersionsUpdateOperation StartUpdate(string resourceGroupName, string galleryName, string galleryImageName, string galleryImageVersionName, Azure.ResourceManager.Compute.Models.GalleryImageVersionUpdate galleryImageVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string galleryName, string galleryImageName, string galleryImageVersionName, Azure.ResourceManager.Compute.Models.GalleryImageVersionUpdate galleryImageVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class GalleryImageVersionsCreateOrUpdateOperation : Azure.Operation { internal GalleryImageVersionsCreateOrUpdateOperation() { } @@ -561,6 +547,20 @@ internal GalleryImageVersionsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class GalleryImageVersionsOperations + { + protected GalleryImageVersionsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string galleryName, string galleryImageName, string galleryImageVersionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string galleryName, string galleryImageName, string galleryImageVersionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByGalleryImage(string resourceGroupName, string galleryName, string galleryImageName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByGalleryImageAsync(string resourceGroupName, string galleryName, string galleryImageName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.GalleryImageVersionsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string galleryName, string galleryImageName, string galleryImageVersionName, Azure.ResourceManager.Compute.Models.GalleryImageVersion galleryImageVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string galleryName, string galleryImageName, string galleryImageVersionName, Azure.ResourceManager.Compute.Models.GalleryImageVersion galleryImageVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.GalleryImageVersionsDeleteOperation StartDelete(string resourceGroupName, string galleryName, string galleryImageName, string galleryImageVersionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string galleryName, string galleryImageName, string galleryImageVersionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.GalleryImageVersionsUpdateOperation StartUpdate(string resourceGroupName, string galleryName, string galleryImageName, string galleryImageVersionName, Azure.ResourceManager.Compute.Models.GalleryImageVersionUpdate galleryImageVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string galleryName, string galleryImageName, string galleryImageVersionName, Azure.ResourceManager.Compute.Models.GalleryImageVersionUpdate galleryImageVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class GalleryImageVersionsUpdateOperation : Azure.Operation { internal GalleryImageVersionsUpdateOperation() { } @@ -574,22 +574,6 @@ internal GalleryImageVersionsUpdateOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ImagesClient - { - protected ImagesClient() { } - public virtual Azure.Response Get(string resourceGroupName, string imageName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string imageName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.ImagesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string imageName, Azure.ResourceManager.Compute.Models.Image parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string imageName, Azure.ResourceManager.Compute.Models.Image parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.ImagesDeleteOperation StartDelete(string resourceGroupName, string imageName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string imageName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.ImagesUpdateOperation StartUpdate(string resourceGroupName, string imageName, Azure.ResourceManager.Compute.Models.ImageUpdate parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string imageName, Azure.ResourceManager.Compute.Models.ImageUpdate parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class ImagesCreateOrUpdateOperation : Azure.Operation { internal ImagesCreateOrUpdateOperation() { } @@ -616,6 +600,22 @@ internal ImagesDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class ImagesOperations + { + protected ImagesOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string imageName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string imageName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.ImagesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string imageName, Azure.ResourceManager.Compute.Models.Image parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string imageName, Azure.ResourceManager.Compute.Models.Image parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.ImagesDeleteOperation StartDelete(string resourceGroupName, string imageName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string imageName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.ImagesUpdateOperation StartUpdate(string resourceGroupName, string imageName, Azure.ResourceManager.Compute.Models.ImageUpdate parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string imageName, Azure.ResourceManager.Compute.Models.ImageUpdate parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class ImagesUpdateOperation : Azure.Operation { internal ImagesUpdateOperation() { } @@ -629,14 +629,6 @@ internal ImagesUpdateOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class LogAnalyticsClient - { - protected LogAnalyticsClient() { } - public virtual Azure.ResourceManager.Compute.LogAnalyticsExportRequestRateByIntervalOperation StartExportRequestRateByInterval(string location, Azure.ResourceManager.Compute.Models.RequestRateByIntervalInput parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartExportRequestRateByIntervalAsync(string location, Azure.ResourceManager.Compute.Models.RequestRateByIntervalInput parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.LogAnalyticsExportThrottledRequestsOperation StartExportThrottledRequests(string location, Azure.ResourceManager.Compute.Models.LogAnalyticsInputBase parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartExportThrottledRequestsAsync(string location, Azure.ResourceManager.Compute.Models.LogAnalyticsInputBase parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class LogAnalyticsExportRequestRateByIntervalOperation : Azure.Operation { internal LogAnalyticsExportRequestRateByIntervalOperation() { } @@ -663,15 +655,23 @@ internal LogAnalyticsExportThrottledRequestsOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class OperationsClient + public partial class LogAnalyticsOperations + { + protected LogAnalyticsOperations() { } + public virtual Azure.ResourceManager.Compute.LogAnalyticsExportRequestRateByIntervalOperation StartExportRequestRateByInterval(string location, Azure.ResourceManager.Compute.Models.RequestRateByIntervalInput parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartExportRequestRateByIntervalAsync(string location, Azure.ResourceManager.Compute.Models.RequestRateByIntervalInput parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.LogAnalyticsExportThrottledRequestsOperation StartExportThrottledRequests(string location, Azure.ResourceManager.Compute.Models.LogAnalyticsInputBase parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartExportThrottledRequestsAsync(string location, Azure.ResourceManager.Compute.Models.LogAnalyticsInputBase parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class Operations { - protected OperationsClient() { } + protected Operations() { } public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ProximityPlacementGroupsClient + public partial class ProximityPlacementGroupsOperations { - protected ProximityPlacementGroupsClient() { } + protected ProximityPlacementGroupsOperations() { } public virtual Azure.Response CreateOrUpdate(string resourceGroupName, string proximityPlacementGroupName, Azure.ResourceManager.Compute.Models.ProximityPlacementGroup parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(string resourceGroupName, string proximityPlacementGroupName, Azure.ResourceManager.Compute.Models.ProximityPlacementGroup parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Delete(string resourceGroupName, string proximityPlacementGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -685,32 +685,12 @@ protected ProximityPlacementGroupsClient() { } public virtual Azure.Response Update(string resourceGroupName, string proximityPlacementGroupName, Azure.ResourceManager.Compute.Models.UpdateResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateAsync(string resourceGroupName, string proximityPlacementGroupName, Azure.ResourceManager.Compute.Models.UpdateResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ResourceSkusClient + public partial class ResourceSkusOperations { - protected ResourceSkusClient() { } + protected ResourceSkusOperations() { } public virtual Azure.Pageable List(string filter = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(string filter = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class SnapshotsClient - { - protected SnapshotsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string snapshotName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string snapshotName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.SnapshotsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string snapshotName, Azure.ResourceManager.Compute.Models.Snapshot snapshot, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string snapshotName, Azure.ResourceManager.Compute.Models.Snapshot snapshot, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.SnapshotsDeleteOperation StartDelete(string resourceGroupName, string snapshotName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string snapshotName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.SnapshotsGrantAccessOperation StartGrantAccess(string resourceGroupName, string snapshotName, Azure.ResourceManager.Compute.Models.GrantAccessData grantAccessData, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartGrantAccessAsync(string resourceGroupName, string snapshotName, Azure.ResourceManager.Compute.Models.GrantAccessData grantAccessData, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.SnapshotsRevokeAccessOperation StartRevokeAccess(string resourceGroupName, string snapshotName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartRevokeAccessAsync(string resourceGroupName, string snapshotName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.SnapshotsUpdateOperation StartUpdate(string resourceGroupName, string snapshotName, Azure.ResourceManager.Compute.Models.SnapshotUpdate snapshot, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string snapshotName, Azure.ResourceManager.Compute.Models.SnapshotUpdate snapshot, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class SnapshotsCreateOrUpdateOperation : Azure.Operation { internal SnapshotsCreateOrUpdateOperation() { } @@ -750,6 +730,26 @@ internal SnapshotsGrantAccessOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class SnapshotsOperations + { + protected SnapshotsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string snapshotName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string snapshotName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.SnapshotsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string snapshotName, Azure.ResourceManager.Compute.Models.Snapshot snapshot, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string snapshotName, Azure.ResourceManager.Compute.Models.Snapshot snapshot, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.SnapshotsDeleteOperation StartDelete(string resourceGroupName, string snapshotName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string snapshotName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.SnapshotsGrantAccessOperation StartGrantAccess(string resourceGroupName, string snapshotName, Azure.ResourceManager.Compute.Models.GrantAccessData grantAccessData, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartGrantAccessAsync(string resourceGroupName, string snapshotName, Azure.ResourceManager.Compute.Models.GrantAccessData grantAccessData, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.SnapshotsRevokeAccessOperation StartRevokeAccess(string resourceGroupName, string snapshotName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartRevokeAccessAsync(string resourceGroupName, string snapshotName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.SnapshotsUpdateOperation StartUpdate(string resourceGroupName, string snapshotName, Azure.ResourceManager.Compute.Models.SnapshotUpdate snapshot, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string snapshotName, Azure.ResourceManager.Compute.Models.SnapshotUpdate snapshot, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class SnapshotsRevokeAccessOperation : Azure.Operation { internal SnapshotsRevokeAccessOperation() { } @@ -776,9 +776,9 @@ internal SnapshotsUpdateOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class SshPublicKeysClient + public partial class SshPublicKeysOperations { - protected SshPublicKeysClient() { } + protected SshPublicKeysOperations() { } public virtual Azure.Response Create(string resourceGroupName, string sshPublicKeyName, Azure.ResourceManager.Compute.Models.SshPublicKeyResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CreateAsync(string resourceGroupName, string sshPublicKeyName, Azure.ResourceManager.Compute.Models.SshPublicKeyResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Delete(string resourceGroupName, string sshPublicKeyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -794,15 +794,15 @@ protected SshPublicKeysClient() { } public virtual Azure.Response Update(string resourceGroupName, string sshPublicKeyName, Azure.ResourceManager.Compute.Models.SshPublicKeyUpdateResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateAsync(string resourceGroupName, string sshPublicKeyName, Azure.ResourceManager.Compute.Models.SshPublicKeyUpdateResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class UsageClient + public partial class UsageOperations { - protected UsageClient() { } + protected UsageOperations() { } public virtual Azure.Pageable List(string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualMachineExtensionImagesClient + public partial class VirtualMachineExtensionImagesOperations { - protected VirtualMachineExtensionImagesClient() { } + protected VirtualMachineExtensionImagesOperations() { } public virtual Azure.Response Get(string location, string publisherName, string type, string version, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string location, string publisherName, string type, string version, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response> ListTypes(string location, string publisherName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -810,20 +810,6 @@ protected VirtualMachineExtensionImagesClient() { } public virtual Azure.Response> ListVersions(string location, string publisherName, string type, string filter = null, int? top = default(int?), string orderby = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task>> ListVersionsAsync(string location, string publisherName, string type, string filter = null, int? top = default(int?), string orderby = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualMachineExtensionsClient - { - protected VirtualMachineExtensionsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string vmName, string vmExtensionName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string vmName, string vmExtensionName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response List(string resourceGroupName, string vmName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> ListAsync(string resourceGroupName, string vmName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.VirtualMachineExtensionsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string vmName, string vmExtensionName, Azure.ResourceManager.Compute.Models.VirtualMachineExtension extensionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string vmName, string vmExtensionName, Azure.ResourceManager.Compute.Models.VirtualMachineExtension extensionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.VirtualMachineExtensionsDeleteOperation StartDelete(string resourceGroupName, string vmName, string vmExtensionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string vmName, string vmExtensionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.VirtualMachineExtensionsUpdateOperation StartUpdate(string resourceGroupName, string vmName, string vmExtensionName, Azure.ResourceManager.Compute.Models.VirtualMachineExtensionUpdate extensionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string vmName, string vmExtensionName, Azure.ResourceManager.Compute.Models.VirtualMachineExtensionUpdate extensionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class VirtualMachineExtensionsCreateOrUpdateOperation : Azure.Operation { internal VirtualMachineExtensionsCreateOrUpdateOperation() { } @@ -850,6 +836,20 @@ internal VirtualMachineExtensionsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class VirtualMachineExtensionsOperations + { + protected VirtualMachineExtensionsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string vmName, string vmExtensionName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string vmName, string vmExtensionName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response List(string resourceGroupName, string vmName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> ListAsync(string resourceGroupName, string vmName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.VirtualMachineExtensionsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string vmName, string vmExtensionName, Azure.ResourceManager.Compute.Models.VirtualMachineExtension extensionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string vmName, string vmExtensionName, Azure.ResourceManager.Compute.Models.VirtualMachineExtension extensionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.VirtualMachineExtensionsDeleteOperation StartDelete(string resourceGroupName, string vmName, string vmExtensionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string vmName, string vmExtensionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.VirtualMachineExtensionsUpdateOperation StartUpdate(string resourceGroupName, string vmName, string vmExtensionName, Azure.ResourceManager.Compute.Models.VirtualMachineExtensionUpdate extensionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string vmName, string vmExtensionName, Azure.ResourceManager.Compute.Models.VirtualMachineExtensionUpdate extensionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class VirtualMachineExtensionsUpdateOperation : Azure.Operation { internal VirtualMachineExtensionsUpdateOperation() { } @@ -863,9 +863,9 @@ internal VirtualMachineExtensionsUpdateOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualMachineImagesClient + public partial class VirtualMachineImagesOperations { - protected VirtualMachineImagesClient() { } + protected VirtualMachineImagesOperations() { } public virtual Azure.Response Get(string location, string publisherName, string offer, string skus, string version, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string location, string publisherName, string offer, string skus, string version, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response> List(string location, string publisherName, string offer, string skus, string expand = null, int? top = default(int?), string orderby = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -877,28 +877,14 @@ protected VirtualMachineImagesClient() { } public virtual Azure.Response> ListSkus(string location, string publisherName, string offer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task>> ListSkusAsync(string location, string publisherName, string offer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualMachineRunCommandsClient + public partial class VirtualMachineRunCommandsOperations { - protected VirtualMachineRunCommandsClient() { } + protected VirtualMachineRunCommandsOperations() { } public virtual Azure.Response Get(string location, string commandId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string location, string commandId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualMachineScaleSetExtensionsClient - { - protected VirtualMachineScaleSetExtensionsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string vmScaleSetName, string vmssExtensionName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string vmScaleSetName, string vmssExtensionName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.VirtualMachineScaleSetExtensionsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string vmScaleSetName, string vmssExtensionName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetExtension extensionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string vmScaleSetName, string vmssExtensionName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetExtension extensionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.VirtualMachineScaleSetExtensionsDeleteOperation StartDelete(string resourceGroupName, string vmScaleSetName, string vmssExtensionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string vmScaleSetName, string vmssExtensionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.VirtualMachineScaleSetExtensionsUpdateOperation StartUpdate(string resourceGroupName, string vmScaleSetName, string vmssExtensionName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetExtensionUpdate extensionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string vmScaleSetName, string vmssExtensionName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetExtensionUpdate extensionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class VirtualMachineScaleSetExtensionsCreateOrUpdateOperation : Azure.Operation { internal VirtualMachineScaleSetExtensionsCreateOrUpdateOperation() { } @@ -925,6 +911,20 @@ internal VirtualMachineScaleSetExtensionsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class VirtualMachineScaleSetExtensionsOperations + { + protected VirtualMachineScaleSetExtensionsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string vmScaleSetName, string vmssExtensionName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string vmScaleSetName, string vmssExtensionName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.VirtualMachineScaleSetExtensionsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string vmScaleSetName, string vmssExtensionName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetExtension extensionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string vmScaleSetName, string vmssExtensionName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetExtension extensionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.VirtualMachineScaleSetExtensionsDeleteOperation StartDelete(string resourceGroupName, string vmScaleSetName, string vmssExtensionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string vmScaleSetName, string vmssExtensionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.VirtualMachineScaleSetExtensionsUpdateOperation StartUpdate(string resourceGroupName, string vmScaleSetName, string vmssExtensionName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetExtensionUpdate extensionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string vmScaleSetName, string vmssExtensionName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetExtensionUpdate extensionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class VirtualMachineScaleSetExtensionsUpdateOperation : Azure.Operation { internal VirtualMachineScaleSetExtensionsUpdateOperation() { } @@ -951,9 +951,9 @@ internal VirtualMachineScaleSetRollingUpgradesCancelOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualMachineScaleSetRollingUpgradesClient + public partial class VirtualMachineScaleSetRollingUpgradesOperations { - protected VirtualMachineScaleSetRollingUpgradesClient() { } + protected VirtualMachineScaleSetRollingUpgradesOperations() { } public virtual Azure.Response GetLatest(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetLatestAsync(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.ResourceManager.Compute.VirtualMachineScaleSetRollingUpgradesCancelOperation StartCancel(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -989,54 +989,6 @@ internal VirtualMachineScaleSetRollingUpgradesStartOSUpgradeOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualMachineScaleSetsClient - { - protected VirtualMachineScaleSetsClient() { } - public virtual Azure.Response ConvertToSinglePlacementGroup(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.VMScaleSetConvertToSinglePlacementGroupInput parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task ConvertToSinglePlacementGroupAsync(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.VMScaleSetConvertToSinglePlacementGroupInput parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response ForceRecoveryServiceFabricPlatformUpdateDomainWalk(string resourceGroupName, string vmScaleSetName, int platformUpdateDomain, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> ForceRecoveryServiceFabricPlatformUpdateDomainWalkAsync(string resourceGroupName, string vmScaleSetName, int platformUpdateDomain, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Get(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response GetInstanceView(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetInstanceViewAsync(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable GetOSUpgradeHistory(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable GetOSUpgradeHistoryAsync(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListSkus(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListSkusAsync(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.VirtualMachineScaleSetsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSet parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSet parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.VirtualMachineScaleSetsDeallocateOperation StartDeallocate(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeallocateAsync(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.VirtualMachineScaleSetsDeleteOperation StartDelete(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.VirtualMachineScaleSetsDeleteInstancesOperation StartDeleteInstances(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteInstancesAsync(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.VirtualMachineScaleSetsPerformMaintenanceOperation StartPerformMaintenance(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartPerformMaintenanceAsync(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.VirtualMachineScaleSetsPowerOffOperation StartPowerOff(string resourceGroupName, string vmScaleSetName, bool? skipShutdown = default(bool?), Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartPowerOffAsync(string resourceGroupName, string vmScaleSetName, bool? skipShutdown = default(bool?), Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.VirtualMachineScaleSetsRedeployOperation StartRedeploy(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartRedeployAsync(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.VirtualMachineScaleSetsReimageOperation StartReimage(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetReimageParameters vmScaleSetReimageInput = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.VirtualMachineScaleSetsReimageAllOperation StartReimageAll(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartReimageAllAsync(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartReimageAsync(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetReimageParameters vmScaleSetReimageInput = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.VirtualMachineScaleSetsRestartOperation StartRestart(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartRestartAsync(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.VirtualMachineScaleSetsSetOrchestrationServiceStateOperation StartSetOrchestrationServiceState(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.OrchestrationServiceStateInput parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartSetOrchestrationServiceStateAsync(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.OrchestrationServiceStateInput parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.VirtualMachineScaleSetsStartOperation StartStart(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartStartAsync(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.VirtualMachineScaleSetsUpdateOperation StartUpdate(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetUpdate parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetUpdate parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.VirtualMachineScaleSetsUpdateInstancesOperation StartUpdateInstances(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartUpdateInstancesAsync(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class VirtualMachineScaleSetsCreateOrUpdateOperation : Azure.Operation { internal VirtualMachineScaleSetsCreateOrUpdateOperation() { } @@ -1089,6 +1041,54 @@ internal VirtualMachineScaleSetsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class VirtualMachineScaleSetsOperations + { + protected VirtualMachineScaleSetsOperations() { } + public virtual Azure.Response ConvertToSinglePlacementGroup(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.VMScaleSetConvertToSinglePlacementGroupInput parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task ConvertToSinglePlacementGroupAsync(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.VMScaleSetConvertToSinglePlacementGroupInput parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response ForceRecoveryServiceFabricPlatformUpdateDomainWalk(string resourceGroupName, string vmScaleSetName, int platformUpdateDomain, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> ForceRecoveryServiceFabricPlatformUpdateDomainWalkAsync(string resourceGroupName, string vmScaleSetName, int platformUpdateDomain, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Get(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetInstanceView(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetInstanceViewAsync(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable GetOSUpgradeHistory(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable GetOSUpgradeHistoryAsync(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListSkus(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListSkusAsync(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.VirtualMachineScaleSetsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSet parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSet parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.VirtualMachineScaleSetsDeallocateOperation StartDeallocate(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeallocateAsync(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.VirtualMachineScaleSetsDeleteOperation StartDelete(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.VirtualMachineScaleSetsDeleteInstancesOperation StartDeleteInstances(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteInstancesAsync(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.VirtualMachineScaleSetsPerformMaintenanceOperation StartPerformMaintenance(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartPerformMaintenanceAsync(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.VirtualMachineScaleSetsPowerOffOperation StartPowerOff(string resourceGroupName, string vmScaleSetName, bool? skipShutdown = default(bool?), Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartPowerOffAsync(string resourceGroupName, string vmScaleSetName, bool? skipShutdown = default(bool?), Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.VirtualMachineScaleSetsRedeployOperation StartRedeploy(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartRedeployAsync(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.VirtualMachineScaleSetsReimageOperation StartReimage(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetReimageParameters vmScaleSetReimageInput = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.VirtualMachineScaleSetsReimageAllOperation StartReimageAll(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartReimageAllAsync(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartReimageAsync(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetReimageParameters vmScaleSetReimageInput = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.VirtualMachineScaleSetsRestartOperation StartRestart(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartRestartAsync(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.VirtualMachineScaleSetsSetOrchestrationServiceStateOperation StartSetOrchestrationServiceState(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.OrchestrationServiceStateInput parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartSetOrchestrationServiceStateAsync(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.OrchestrationServiceStateInput parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.VirtualMachineScaleSetsStartOperation StartStart(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartStartAsync(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.VirtualMachineScaleSetsUpdateOperation StartUpdate(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetUpdate parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetUpdate parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.VirtualMachineScaleSetsUpdateInstancesOperation StartUpdateInstances(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartUpdateInstancesAsync(string resourceGroupName, string vmScaleSetName, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class VirtualMachineScaleSetsPerformMaintenanceOperation : Azure.Operation { internal VirtualMachineScaleSetsPerformMaintenanceOperation() { } @@ -1219,9 +1219,35 @@ internal VirtualMachineScaleSetsUpdateOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualMachineScaleSetVMExtensionsClient + public partial class VirtualMachineScaleSetVMExtensionsCreateOrUpdateOperation : Azure.Operation + { + internal VirtualMachineScaleSetVMExtensionsCreateOrUpdateOperation() { } + public override bool HasCompleted { get { throw null; } } + public override bool HasValue { get { throw null; } } + public override string Id { get { throw null; } } + public override Azure.ResourceManager.Compute.Models.VirtualMachineExtension Value { get { throw null; } } + public override Azure.Response GetRawResponse() { throw null; } + public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class VirtualMachineScaleSetVMExtensionsDeleteOperation : Azure.Operation + { + internal VirtualMachineScaleSetVMExtensionsDeleteOperation() { } + public override bool HasCompleted { get { throw null; } } + public override bool HasValue { get { throw null; } } + public override string Id { get { throw null; } } + public override Azure.Response Value { get { throw null; } } + public override Azure.Response GetRawResponse() { throw null; } + public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class VirtualMachineScaleSetVMExtensionsOperations { - protected VirtualMachineScaleSetVMExtensionsClient() { } + protected VirtualMachineScaleSetVMExtensionsOperations() { } public virtual Azure.Response Get(string resourceGroupName, string vmScaleSetName, string instanceId, string vmExtensionName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string vmScaleSetName, string instanceId, string vmExtensionName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response List(string resourceGroupName, string vmScaleSetName, string instanceId, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -1233,9 +1259,9 @@ protected VirtualMachineScaleSetVMExtensionsClient() { } public virtual Azure.ResourceManager.Compute.VirtualMachineScaleSetVMExtensionsUpdateOperation StartUpdate(string resourceGroupName, string vmScaleSetName, string instanceId, string vmExtensionName, Azure.ResourceManager.Compute.Models.VirtualMachineExtensionUpdate extensionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string vmScaleSetName, string instanceId, string vmExtensionName, Azure.ResourceManager.Compute.Models.VirtualMachineExtensionUpdate extensionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualMachineScaleSetVMExtensionsCreateOrUpdateOperation : Azure.Operation + public partial class VirtualMachineScaleSetVMExtensionsUpdateOperation : Azure.Operation { - internal VirtualMachineScaleSetVMExtensionsCreateOrUpdateOperation() { } + internal VirtualMachineScaleSetVMExtensionsUpdateOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } @@ -1246,9 +1272,9 @@ internal VirtualMachineScaleSetVMExtensionsCreateOrUpdateOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualMachineScaleSetVMExtensionsDeleteOperation : Azure.Operation + public partial class VirtualMachineScaleSetVMsDeallocateOperation : Azure.Operation { - internal VirtualMachineScaleSetVMExtensionsDeleteOperation() { } + internal VirtualMachineScaleSetVMsDeallocateOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } @@ -1259,22 +1285,22 @@ internal VirtualMachineScaleSetVMExtensionsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualMachineScaleSetVMExtensionsUpdateOperation : Azure.Operation + public partial class VirtualMachineScaleSetVMsDeleteOperation : Azure.Operation { - internal VirtualMachineScaleSetVMExtensionsUpdateOperation() { } + internal VirtualMachineScaleSetVMsDeleteOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } - public override Azure.ResourceManager.Compute.Models.VirtualMachineExtension Value { get { throw null; } } + public override Azure.Response Value { get { throw null; } } public override Azure.Response GetRawResponse() { throw null; } public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualMachineScaleSetVMsClient + public partial class VirtualMachineScaleSetVMsOperations { - protected VirtualMachineScaleSetVMsClient() { } + protected VirtualMachineScaleSetVMsOperations() { } public virtual Azure.Response Get(string resourceGroupName, string vmScaleSetName, string instanceId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string vmScaleSetName, string instanceId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetInstanceView(string resourceGroupName, string vmScaleSetName, string instanceId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -1306,32 +1332,6 @@ protected VirtualMachineScaleSetVMsClient() { } public virtual Azure.ResourceManager.Compute.VirtualMachineScaleSetVMsUpdateOperation StartUpdate(string resourceGroupName, string vmScaleSetName, string instanceId, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVM parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string vmScaleSetName, string instanceId, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVM parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualMachineScaleSetVMsDeallocateOperation : Azure.Operation - { - internal VirtualMachineScaleSetVMsDeallocateOperation() { } - public override bool HasCompleted { get { throw null; } } - public override bool HasValue { get { throw null; } } - public override string Id { get { throw null; } } - public override Azure.Response Value { get { throw null; } } - public override Azure.Response GetRawResponse() { throw null; } - public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } - public partial class VirtualMachineScaleSetVMsDeleteOperation : Azure.Operation - { - internal VirtualMachineScaleSetVMsDeleteOperation() { } - public override bool HasCompleted { get { throw null; } } - public override bool HasValue { get { throw null; } } - public override string Id { get { throw null; } } - public override Azure.Response Value { get { throw null; } } - public override Azure.Response GetRawResponse() { throw null; } - public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class VirtualMachineScaleSetVMsPerformMaintenanceOperation : Azure.Operation { internal VirtualMachineScaleSetVMsPerformMaintenanceOperation() { } @@ -1462,54 +1462,6 @@ internal VirtualMachinesCaptureOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualMachinesClient - { - protected VirtualMachinesClient() { } - public virtual Azure.Response Generalize(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task GeneralizeAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Get(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response InstanceView(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> InstanceViewAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListAll(string statusOnly = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAllAsync(string statusOnly = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListAvailableSizes(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAvailableSizesAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByLocation(string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByLocationAsync(string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response SimulateEviction(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task SimulateEvictionAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.VirtualMachinesCaptureOperation StartCapture(string resourceGroupName, string vmName, Azure.ResourceManager.Compute.Models.VirtualMachineCaptureParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCaptureAsync(string resourceGroupName, string vmName, Azure.ResourceManager.Compute.Models.VirtualMachineCaptureParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.VirtualMachinesConvertToManagedDisksOperation StartConvertToManagedDisks(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartConvertToManagedDisksAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.VirtualMachinesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string vmName, Azure.ResourceManager.Compute.Models.VirtualMachine parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string vmName, Azure.ResourceManager.Compute.Models.VirtualMachine parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.VirtualMachinesDeallocateOperation StartDeallocate(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeallocateAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.VirtualMachinesDeleteOperation StartDelete(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.VirtualMachinesPerformMaintenanceOperation StartPerformMaintenance(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartPerformMaintenanceAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.VirtualMachinesPowerOffOperation StartPowerOff(string resourceGroupName, string vmName, bool? skipShutdown = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartPowerOffAsync(string resourceGroupName, string vmName, bool? skipShutdown = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.VirtualMachinesReapplyOperation StartReapply(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartReapplyAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.VirtualMachinesRedeployOperation StartRedeploy(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartRedeployAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.VirtualMachinesReimageOperation StartReimage(string resourceGroupName, string vmName, Azure.ResourceManager.Compute.Models.VirtualMachineReimageParameters parameters = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartReimageAsync(string resourceGroupName, string vmName, Azure.ResourceManager.Compute.Models.VirtualMachineReimageParameters parameters = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.VirtualMachinesRestartOperation StartRestart(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartRestartAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.VirtualMachinesRunCommandOperation StartRunCommand(string resourceGroupName, string vmName, Azure.ResourceManager.Compute.Models.RunCommandInput parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartRunCommandAsync(string resourceGroupName, string vmName, Azure.ResourceManager.Compute.Models.RunCommandInput parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.VirtualMachinesStartOperation StartStart(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartStartAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Compute.VirtualMachinesUpdateOperation StartUpdate(string resourceGroupName, string vmName, Azure.ResourceManager.Compute.Models.VirtualMachineUpdate parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string vmName, Azure.ResourceManager.Compute.Models.VirtualMachineUpdate parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class VirtualMachinesConvertToManagedDisksOperation : Azure.Operation { internal VirtualMachinesConvertToManagedDisksOperation() { } @@ -1562,12 +1514,60 @@ internal VirtualMachinesDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualMachineSizesClient + public partial class VirtualMachineSizesOperations { - protected VirtualMachineSizesClient() { } + protected VirtualMachineSizesOperations() { } public virtual Azure.Pageable List(string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class VirtualMachinesOperations + { + protected VirtualMachinesOperations() { } + public virtual Azure.Response Generalize(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task GeneralizeAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Get(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response InstanceView(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> InstanceViewAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListAll(string statusOnly = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAllAsync(string statusOnly = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListAvailableSizes(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAvailableSizesAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByLocation(string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByLocationAsync(string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response SimulateEviction(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task SimulateEvictionAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.VirtualMachinesCaptureOperation StartCapture(string resourceGroupName, string vmName, Azure.ResourceManager.Compute.Models.VirtualMachineCaptureParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCaptureAsync(string resourceGroupName, string vmName, Azure.ResourceManager.Compute.Models.VirtualMachineCaptureParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.VirtualMachinesConvertToManagedDisksOperation StartConvertToManagedDisks(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartConvertToManagedDisksAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.VirtualMachinesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string vmName, Azure.ResourceManager.Compute.Models.VirtualMachine parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string vmName, Azure.ResourceManager.Compute.Models.VirtualMachine parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.VirtualMachinesDeallocateOperation StartDeallocate(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeallocateAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.VirtualMachinesDeleteOperation StartDelete(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.VirtualMachinesPerformMaintenanceOperation StartPerformMaintenance(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartPerformMaintenanceAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.VirtualMachinesPowerOffOperation StartPowerOff(string resourceGroupName, string vmName, bool? skipShutdown = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartPowerOffAsync(string resourceGroupName, string vmName, bool? skipShutdown = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.VirtualMachinesReapplyOperation StartReapply(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartReapplyAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.VirtualMachinesRedeployOperation StartRedeploy(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartRedeployAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.VirtualMachinesReimageOperation StartReimage(string resourceGroupName, string vmName, Azure.ResourceManager.Compute.Models.VirtualMachineReimageParameters parameters = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartReimageAsync(string resourceGroupName, string vmName, Azure.ResourceManager.Compute.Models.VirtualMachineReimageParameters parameters = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.VirtualMachinesRestartOperation StartRestart(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartRestartAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.VirtualMachinesRunCommandOperation StartRunCommand(string resourceGroupName, string vmName, Azure.ResourceManager.Compute.Models.RunCommandInput parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartRunCommandAsync(string resourceGroupName, string vmName, Azure.ResourceManager.Compute.Models.RunCommandInput parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.VirtualMachinesStartOperation StartStart(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartStartAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Compute.VirtualMachinesUpdateOperation StartUpdate(string resourceGroupName, string vmName, Azure.ResourceManager.Compute.Models.VirtualMachineUpdate parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string vmName, Azure.ResourceManager.Compute.Models.VirtualMachineUpdate parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class VirtualMachinesPerformMaintenanceOperation : Azure.Operation { internal VirtualMachinesPerformMaintenanceOperation() { } diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/api/Azure.ResourceManager.EventHubs.netstandard2.0.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/api/Azure.ResourceManager.EventHubs.netstandard2.0.cs index 4831ed537b5ec..fb2808de87a0d 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/api/Azure.ResourceManager.EventHubs.netstandard2.0.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/api/Azure.ResourceManager.EventHubs.netstandard2.0.cs @@ -1,8 +1,21 @@ namespace Azure.ResourceManager.EventHubs { - public partial class ClustersClient + public partial class ClustersDeleteOperation : Azure.Operation { - protected ClustersClient() { } + internal ClustersDeleteOperation() { } + public override bool HasCompleted { get { throw null; } } + public override bool HasValue { get { throw null; } } + public override string Id { get { throw null; } } + public override Azure.Response Value { get { throw null; } } + public override Azure.Response GetRawResponse() { throw null; } + public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class ClustersOperations + { + protected ClustersOperations() { } public virtual Azure.Response Get(string resourceGroupName, string clusterName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string clusterName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response ListAvailableClusters(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -18,19 +31,6 @@ protected ClustersClient() { } public virtual Azure.ResourceManager.EventHubs.ClustersPutOperation StartPut(string resourceGroupName, string clusterName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task StartPutAsync(string resourceGroupName, string clusterName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ClustersDeleteOperation : Azure.Operation - { - internal ClustersDeleteOperation() { } - public override bool HasCompleted { get { throw null; } } - public override bool HasValue { get { throw null; } } - public override string Id { get { throw null; } } - public override Azure.Response Value { get { throw null; } } - public override Azure.Response GetRawResponse() { throw null; } - public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class ClustersPatchOperation : Azure.Operation { internal ClustersPatchOperation() { } @@ -57,17 +57,17 @@ internal ClustersPutOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ConfigurationClient + public partial class ConfigurationOperations { - protected ConfigurationClient() { } + protected ConfigurationOperations() { } public virtual Azure.Response Get(string resourceGroupName, string clusterName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string clusterName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Patch(string resourceGroupName, string clusterName, Azure.ResourceManager.EventHubs.Models.ClusterQuotaConfigurationProperties parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> PatchAsync(string resourceGroupName, string clusterName, Azure.ResourceManager.EventHubs.Models.ClusterQuotaConfigurationProperties parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ConsumerGroupsClient + public partial class ConsumerGroupsOperations { - protected ConsumerGroupsClient() { } + protected ConsumerGroupsOperations() { } public virtual Azure.Response CreateOrUpdate(string resourceGroupName, string namespaceName, string eventHubName, string consumerGroupName, Azure.ResourceManager.EventHubs.Models.ConsumerGroup parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(string resourceGroupName, string namespaceName, string eventHubName, string consumerGroupName, Azure.ResourceManager.EventHubs.Models.ConsumerGroup parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Delete(string resourceGroupName, string namespaceName, string eventHubName, string consumerGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -77,9 +77,9 @@ protected ConsumerGroupsClient() { } public virtual Azure.Pageable ListByEventHub(string resourceGroupName, string namespaceName, string eventHubName, int? skip = default(int?), int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListByEventHubAsync(string resourceGroupName, string namespaceName, string eventHubName, int? skip = default(int?), int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class DisasterRecoveryConfigsClient + public partial class DisasterRecoveryConfigsOperations { - protected DisasterRecoveryConfigsClient() { } + protected DisasterRecoveryConfigsOperations() { } public virtual Azure.Response BreakPairing(string resourceGroupName, string namespaceName, string alias, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task BreakPairingAsync(string resourceGroupName, string namespaceName, string alias, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response CheckNameAvailability(string resourceGroupName, string namespaceName, Azure.ResourceManager.EventHubs.Models.CheckNameAvailabilityParameter parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -101,9 +101,27 @@ protected DisasterRecoveryConfigsClient() { } public virtual Azure.Response ListKeys(string resourceGroupName, string namespaceName, string alias, string authorizationRuleName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> ListKeysAsync(string resourceGroupName, string namespaceName, string alias, string authorizationRuleName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class EventHubsClient + public partial class EventHubsManagementClient + { + protected EventHubsManagementClient() { } + public EventHubsManagementClient(string subscriptionId, Azure.Core.TokenCredential tokenCredential, Azure.ResourceManager.EventHubs.EventHubsManagementClientOptions options = null) { } + public EventHubsManagementClient(string subscriptionId, System.Uri endpoint, Azure.Core.TokenCredential tokenCredential, Azure.ResourceManager.EventHubs.EventHubsManagementClientOptions options = null) { } + public virtual Azure.ResourceManager.EventHubs.ClustersOperations Clusters { get { throw null; } } + public virtual Azure.ResourceManager.EventHubs.ConfigurationOperations Configuration { get { throw null; } } + public virtual Azure.ResourceManager.EventHubs.ConsumerGroupsOperations ConsumerGroups { get { throw null; } } + public virtual Azure.ResourceManager.EventHubs.DisasterRecoveryConfigsOperations DisasterRecoveryConfigs { get { throw null; } } + public virtual Azure.ResourceManager.EventHubs.EventHubsOperations EventHubs { get { throw null; } } + public virtual Azure.ResourceManager.EventHubs.NamespacesOperations Namespaces { get { throw null; } } + public virtual Azure.ResourceManager.EventHubs.Operations Operations { get { throw null; } } + public virtual Azure.ResourceManager.EventHubs.RegionsOperations Regions { get { throw null; } } + } + public partial class EventHubsManagementClientOptions : Azure.Core.ClientOptions + { + public EventHubsManagementClientOptions() { } + } + public partial class EventHubsOperations { - protected EventHubsClient() { } + protected EventHubsOperations() { } public virtual Azure.Response CreateOrUpdate(string resourceGroupName, string namespaceName, string eventHubName, Azure.ResourceManager.EventHubs.Models.Eventhub parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(string resourceGroupName, string namespaceName, string eventHubName, Azure.ResourceManager.EventHubs.Models.Eventhub parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response CreateOrUpdateAuthorizationRule(string resourceGroupName, string namespaceName, string eventHubName, string authorizationRuleName, Azure.ResourceManager.EventHubs.Models.AuthorizationRule parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -125,27 +143,35 @@ protected EventHubsClient() { } public virtual Azure.Response RegenerateKeys(string resourceGroupName, string namespaceName, string eventHubName, string authorizationRuleName, Azure.ResourceManager.EventHubs.Models.RegenerateAccessKeyParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> RegenerateKeysAsync(string resourceGroupName, string namespaceName, string eventHubName, string authorizationRuleName, Azure.ResourceManager.EventHubs.Models.RegenerateAccessKeyParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class EventHubsManagementClient + public partial class NamespacesCreateOrUpdateOperation : Azure.Operation { - protected EventHubsManagementClient() { } - public EventHubsManagementClient(string subscriptionId, Azure.Core.TokenCredential tokenCredential, Azure.ResourceManager.EventHubs.EventHubsManagementClientOptions options = null) { } - public EventHubsManagementClient(string subscriptionId, System.Uri endpoint, Azure.Core.TokenCredential tokenCredential, Azure.ResourceManager.EventHubs.EventHubsManagementClientOptions options = null) { } - public virtual Azure.ResourceManager.EventHubs.ClustersClient GetClustersClient() { throw null; } - public virtual Azure.ResourceManager.EventHubs.ConfigurationClient GetConfigurationClient() { throw null; } - public virtual Azure.ResourceManager.EventHubs.ConsumerGroupsClient GetConsumerGroupsClient() { throw null; } - public virtual Azure.ResourceManager.EventHubs.DisasterRecoveryConfigsClient GetDisasterRecoveryConfigsClient() { throw null; } - public virtual Azure.ResourceManager.EventHubs.EventHubsClient GetEventHubsClient() { throw null; } - public virtual Azure.ResourceManager.EventHubs.NamespacesClient GetNamespacesClient() { throw null; } - public virtual Azure.ResourceManager.EventHubs.OperationsClient GetOperationsClient() { throw null; } - public virtual Azure.ResourceManager.EventHubs.RegionsClient GetRegionsClient() { throw null; } + internal NamespacesCreateOrUpdateOperation() { } + public override bool HasCompleted { get { throw null; } } + public override bool HasValue { get { throw null; } } + public override string Id { get { throw null; } } + public override Azure.ResourceManager.EventHubs.Models.EHNamespace Value { get { throw null; } } + public override Azure.Response GetRawResponse() { throw null; } + public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class EventHubsManagementClientOptions : Azure.Core.ClientOptions + public partial class NamespacesDeleteOperation : Azure.Operation { - public EventHubsManagementClientOptions() { } + internal NamespacesDeleteOperation() { } + public override bool HasCompleted { get { throw null; } } + public override bool HasValue { get { throw null; } } + public override string Id { get { throw null; } } + public override Azure.Response Value { get { throw null; } } + public override Azure.Response GetRawResponse() { throw null; } + public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class NamespacesClient + public partial class NamespacesOperations { - protected NamespacesClient() { } + protected NamespacesOperations() { } public virtual Azure.Response CheckNameAvailability(Azure.ResourceManager.EventHubs.Models.CheckNameAvailabilityParameter parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CheckNameAvailabilityAsync(Azure.ResourceManager.EventHubs.Models.CheckNameAvailabilityParameter parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response CreateOrUpdateAuthorizationRule(string resourceGroupName, string namespaceName, string authorizationRuleName, Azure.ResourceManager.EventHubs.Models.AuthorizationRule parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -193,41 +219,15 @@ protected NamespacesClient() { } public virtual Azure.Response Update(string resourceGroupName, string namespaceName, Azure.ResourceManager.EventHubs.Models.EHNamespace parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateAsync(string resourceGroupName, string namespaceName, Azure.ResourceManager.EventHubs.Models.EHNamespace parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class NamespacesCreateOrUpdateOperation : Azure.Operation - { - internal NamespacesCreateOrUpdateOperation() { } - public override bool HasCompleted { get { throw null; } } - public override bool HasValue { get { throw null; } } - public override string Id { get { throw null; } } - public override Azure.ResourceManager.EventHubs.Models.EHNamespace Value { get { throw null; } } - public override Azure.Response GetRawResponse() { throw null; } - public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } - public partial class NamespacesDeleteOperation : Azure.Operation - { - internal NamespacesDeleteOperation() { } - public override bool HasCompleted { get { throw null; } } - public override bool HasValue { get { throw null; } } - public override string Id { get { throw null; } } - public override Azure.Response Value { get { throw null; } } - public override Azure.Response GetRawResponse() { throw null; } - public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } - public partial class OperationsClient + public partial class Operations { - protected OperationsClient() { } + protected Operations() { } public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class RegionsClient + public partial class RegionsOperations { - protected RegionsClient() { } + protected RegionsOperations() { } public virtual Azure.Pageable ListBySku(string sku, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListBySkuAsync(string sku, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } diff --git a/sdk/keyvault/Azure.ResourceManager.KeyVault/api/Azure.ResourceManager.KeyVault.netstandard2.0.cs b/sdk/keyvault/Azure.ResourceManager.KeyVault/api/Azure.ResourceManager.KeyVault.netstandard2.0.cs index 645287565ac02..ffe581826eb07 100644 --- a/sdk/keyvault/Azure.ResourceManager.KeyVault/api/Azure.ResourceManager.KeyVault.netstandard2.0.cs +++ b/sdk/keyvault/Azure.ResourceManager.KeyVault/api/Azure.ResourceManager.KeyVault.netstandard2.0.cs @@ -5,31 +5,21 @@ public partial class KeyVaultManagementClient protected KeyVaultManagementClient() { } public KeyVaultManagementClient(string subscriptionId, Azure.Core.TokenCredential tokenCredential, Azure.ResourceManager.KeyVault.KeyVaultManagementClientOptions options = null) { } public KeyVaultManagementClient(string subscriptionId, System.Uri endpoint, Azure.Core.TokenCredential tokenCredential, Azure.ResourceManager.KeyVault.KeyVaultManagementClientOptions options = null) { } - public virtual Azure.ResourceManager.KeyVault.OperationsClient GetOperationsClient() { throw null; } - public virtual Azure.ResourceManager.KeyVault.PrivateEndpointConnectionsClient GetPrivateEndpointConnectionsClient() { throw null; } - public virtual Azure.ResourceManager.KeyVault.PrivateLinkResourcesClient GetPrivateLinkResourcesClient() { throw null; } - public virtual Azure.ResourceManager.KeyVault.VaultsClient GetVaultsClient() { throw null; } + public virtual Azure.ResourceManager.KeyVault.Operations Operations { get { throw null; } } + public virtual Azure.ResourceManager.KeyVault.PrivateEndpointConnectionsOperations PrivateEndpointConnections { get { throw null; } } + public virtual Azure.ResourceManager.KeyVault.PrivateLinkResourcesOperations PrivateLinkResources { get { throw null; } } + public virtual Azure.ResourceManager.KeyVault.VaultsOperations Vaults { get { throw null; } } } public partial class KeyVaultManagementClientOptions : Azure.Core.ClientOptions { public KeyVaultManagementClientOptions() { } } - public partial class OperationsClient + public partial class Operations { - protected OperationsClient() { } + protected Operations() { } public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class PrivateEndpointConnectionsClient - { - protected PrivateEndpointConnectionsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string vaultName, string privateEndpointConnectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string vaultName, string privateEndpointConnectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Put(string resourceGroupName, string vaultName, string privateEndpointConnectionName, Azure.ResourceManager.KeyVault.Models.PrivateEndpointConnection properties, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> PutAsync(string resourceGroupName, string vaultName, string privateEndpointConnectionName, Azure.ResourceManager.KeyVault.Models.PrivateEndpointConnection properties, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.KeyVault.PrivateEndpointConnectionsDeleteOperation StartDelete(string resourceGroupName, string vaultName, string privateEndpointConnectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string vaultName, string privateEndpointConnectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class PrivateEndpointConnectionsDeleteOperation : Azure.Operation { internal PrivateEndpointConnectionsDeleteOperation() { } @@ -43,15 +33,38 @@ internal PrivateEndpointConnectionsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class PrivateLinkResourcesClient + public partial class PrivateEndpointConnectionsOperations { - protected PrivateLinkResourcesClient() { } + protected PrivateEndpointConnectionsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string vaultName, string privateEndpointConnectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string vaultName, string privateEndpointConnectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Put(string resourceGroupName, string vaultName, string privateEndpointConnectionName, Azure.ResourceManager.KeyVault.Models.PrivateEndpointConnection properties, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> PutAsync(string resourceGroupName, string vaultName, string privateEndpointConnectionName, Azure.ResourceManager.KeyVault.Models.PrivateEndpointConnection properties, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.KeyVault.PrivateEndpointConnectionsDeleteOperation StartDelete(string resourceGroupName, string vaultName, string privateEndpointConnectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string vaultName, string privateEndpointConnectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class PrivateLinkResourcesOperations + { + protected PrivateLinkResourcesOperations() { } public virtual Azure.Response ListByVault(string resourceGroupName, string vaultName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> ListByVaultAsync(string resourceGroupName, string vaultName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VaultsClient + public partial class VaultsCreateOrUpdateOperation : Azure.Operation + { + internal VaultsCreateOrUpdateOperation() { } + public override bool HasCompleted { get { throw null; } } + public override bool HasValue { get { throw null; } } + public override string Id { get { throw null; } } + public override Azure.ResourceManager.KeyVault.Models.Vault Value { get { throw null; } } + public override Azure.Response GetRawResponse() { throw null; } + public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class VaultsOperations { - protected VaultsClient() { } + protected VaultsOperations() { } public virtual Azure.Response CheckNameAvailability(Azure.ResourceManager.KeyVault.Models.VaultCheckNameAvailabilityParameters vaultName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CheckNameAvailabilityAsync(Azure.ResourceManager.KeyVault.Models.VaultCheckNameAvailabilityParameters vaultName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Delete(string resourceGroupName, string vaultName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -77,19 +90,6 @@ protected VaultsClient() { } public virtual System.Threading.Tasks.Task> UpdateAccessPolicyAsync(string resourceGroupName, string vaultName, Azure.ResourceManager.KeyVault.Models.AccessPolicyUpdateKind operationKind, Azure.ResourceManager.KeyVault.Models.VaultAccessPolicyParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateAsync(string resourceGroupName, string vaultName, Azure.ResourceManager.KeyVault.Models.VaultPatchParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VaultsCreateOrUpdateOperation : Azure.Operation - { - internal VaultsCreateOrUpdateOperation() { } - public override bool HasCompleted { get { throw null; } } - public override bool HasValue { get { throw null; } } - public override string Id { get { throw null; } } - public override Azure.ResourceManager.KeyVault.Models.Vault Value { get { throw null; } } - public override Azure.Response GetRawResponse() { throw null; } - public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class VaultsPurgeDeletedOperation : Azure.Operation { internal VaultsPurgeDeletedOperation() { } diff --git a/sdk/keyvault/Azure.ResourceManager.KeyVault/tests/VaultOperationsTestsBase.cs b/sdk/keyvault/Azure.ResourceManager.KeyVault/tests/VaultOperationsTestsBase.cs index c7d1953b1a2f9..e2b3b9d4793fe 100644 --- a/sdk/keyvault/Azure.ResourceManager.KeyVault/tests/VaultOperationsTestsBase.cs +++ b/sdk/keyvault/Azure.ResourceManager.KeyVault/tests/VaultOperationsTestsBase.cs @@ -32,10 +32,10 @@ public abstract class VaultOperationsTestsBase : ManagementRecordedTestBase> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ApplicationGatewaysClient + public partial class ApplicationGatewaysCreateOrUpdateOperation : Azure.Operation + { + internal ApplicationGatewaysCreateOrUpdateOperation() { } + public override bool HasCompleted { get { throw null; } } + public override bool HasValue { get { throw null; } } + public override string Id { get { throw null; } } + public override Azure.ResourceManager.Network.Models.ApplicationGateway Value { get { throw null; } } + public override Azure.Response GetRawResponse() { throw null; } + public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class ApplicationGatewaysDeleteOperation : Azure.Operation + { + internal ApplicationGatewaysDeleteOperation() { } + public override bool HasCompleted { get { throw null; } } + public override bool HasValue { get { throw null; } } + public override string Id { get { throw null; } } + public override Azure.Response Value { get { throw null; } } + public override Azure.Response GetRawResponse() { throw null; } + public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class ApplicationGatewaysOperations { - protected ApplicationGatewaysClient() { } + protected ApplicationGatewaysOperations() { } public virtual Azure.Response Get(string resourceGroupName, string applicationGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string applicationGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetSslPredefinedPolicy(string predefinedPolicyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -64,32 +90,6 @@ protected ApplicationGatewaysClient() { } public virtual Azure.Response UpdateTags(string resourceGroupName, string applicationGatewayName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string applicationGatewayName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ApplicationGatewaysCreateOrUpdateOperation : Azure.Operation - { - internal ApplicationGatewaysCreateOrUpdateOperation() { } - public override bool HasCompleted { get { throw null; } } - public override bool HasValue { get { throw null; } } - public override string Id { get { throw null; } } - public override Azure.ResourceManager.Network.Models.ApplicationGateway Value { get { throw null; } } - public override Azure.Response GetRawResponse() { throw null; } - public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } - public partial class ApplicationGatewaysDeleteOperation : Azure.Operation - { - internal ApplicationGatewaysDeleteOperation() { } - public override bool HasCompleted { get { throw null; } } - public override bool HasValue { get { throw null; } } - public override string Id { get { throw null; } } - public override Azure.Response Value { get { throw null; } } - public override Azure.Response GetRawResponse() { throw null; } - public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class ApplicationGatewaysStartOperation : Azure.Operation { internal ApplicationGatewaysStartOperation() { } @@ -116,22 +116,6 @@ internal ApplicationGatewaysStopOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ApplicationSecurityGroupsClient - { - protected ApplicationSecurityGroupsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string applicationSecurityGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string applicationSecurityGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.ApplicationSecurityGroupsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string applicationSecurityGroupName, Azure.ResourceManager.Network.Models.ApplicationSecurityGroup parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string applicationSecurityGroupName, Azure.ResourceManager.Network.Models.ApplicationSecurityGroup parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.ApplicationSecurityGroupsDeleteOperation StartDelete(string resourceGroupName, string applicationSecurityGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string applicationSecurityGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response UpdateTags(string resourceGroupName, string applicationSecurityGroupName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string applicationSecurityGroupName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class ApplicationSecurityGroupsCreateOrUpdateOperation : Azure.Operation { internal ApplicationSecurityGroupsCreateOrUpdateOperation() { } @@ -158,62 +142,62 @@ internal ApplicationSecurityGroupsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class AvailableDelegationsClient + public partial class ApplicationSecurityGroupsOperations + { + protected ApplicationSecurityGroupsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string applicationSecurityGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string applicationSecurityGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.ApplicationSecurityGroupsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string applicationSecurityGroupName, Azure.ResourceManager.Network.Models.ApplicationSecurityGroup parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string applicationSecurityGroupName, Azure.ResourceManager.Network.Models.ApplicationSecurityGroup parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.ApplicationSecurityGroupsDeleteOperation StartDelete(string resourceGroupName, string applicationSecurityGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string applicationSecurityGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response UpdateTags(string resourceGroupName, string applicationSecurityGroupName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string applicationSecurityGroupName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class AvailableDelegationsOperations { - protected AvailableDelegationsClient() { } + protected AvailableDelegationsOperations() { } public virtual Azure.Pageable List(string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class AvailableEndpointServicesClient + public partial class AvailableEndpointServicesOperations { - protected AvailableEndpointServicesClient() { } + protected AvailableEndpointServicesOperations() { } public virtual Azure.Pageable List(string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class AvailablePrivateEndpointTypesClient + public partial class AvailablePrivateEndpointTypesOperations { - protected AvailablePrivateEndpointTypesClient() { } + protected AvailablePrivateEndpointTypesOperations() { } public virtual Azure.Pageable List(string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable ListByResourceGroup(string location, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListByResourceGroupAsync(string location, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class AvailableResourceGroupDelegationsClient + public partial class AvailableResourceGroupDelegationsOperations { - protected AvailableResourceGroupDelegationsClient() { } + protected AvailableResourceGroupDelegationsOperations() { } public virtual Azure.Pageable List(string location, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(string location, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class AvailableServiceAliasesClient + public partial class AvailableServiceAliasesOperations { - protected AvailableServiceAliasesClient() { } + protected AvailableServiceAliasesOperations() { } public virtual Azure.Pageable List(string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class AzureFirewallFqdnTagsClient + public partial class AzureFirewallFqdnTagsOperations { - protected AzureFirewallFqdnTagsClient() { } + protected AzureFirewallFqdnTagsOperations() { } public virtual Azure.Pageable ListAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class AzureFirewallsClient - { - protected AzureFirewallsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string azureFirewallName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string azureFirewallName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.AzureFirewallsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string azureFirewallName, Azure.ResourceManager.Network.Models.AzureFirewall parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string azureFirewallName, Azure.ResourceManager.Network.Models.AzureFirewall parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.AzureFirewallsDeleteOperation StartDelete(string resourceGroupName, string azureFirewallName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string azureFirewallName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.AzureFirewallsUpdateTagsOperation StartUpdateTags(string resourceGroupName, string azureFirewallName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartUpdateTagsAsync(string resourceGroupName, string azureFirewallName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class AzureFirewallsCreateOrUpdateOperation : Azure.Operation { internal AzureFirewallsCreateOrUpdateOperation() { } @@ -240,6 +224,22 @@ internal AzureFirewallsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class AzureFirewallsOperations + { + protected AzureFirewallsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string azureFirewallName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string azureFirewallName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.AzureFirewallsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string azureFirewallName, Azure.ResourceManager.Network.Models.AzureFirewall parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string azureFirewallName, Azure.ResourceManager.Network.Models.AzureFirewall parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.AzureFirewallsDeleteOperation StartDelete(string resourceGroupName, string azureFirewallName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string azureFirewallName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.AzureFirewallsUpdateTagsOperation StartUpdateTags(string resourceGroupName, string azureFirewallName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartUpdateTagsAsync(string resourceGroupName, string azureFirewallName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class AzureFirewallsUpdateTagsOperation : Azure.Operation { internal AzureFirewallsUpdateTagsOperation() { } @@ -253,20 +253,6 @@ internal AzureFirewallsUpdateTagsOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class BastionHostsClient - { - protected BastionHostsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string bastionHostName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string bastionHostName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.BastionHostsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string bastionHostName, Azure.ResourceManager.Network.Models.BastionHost parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string bastionHostName, Azure.ResourceManager.Network.Models.BastionHost parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.BastionHostsDeleteOperation StartDelete(string resourceGroupName, string bastionHostName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string bastionHostName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class BastionHostsCreateOrUpdateOperation : Azure.Operation { internal BastionHostsCreateOrUpdateOperation() { } @@ -293,31 +279,25 @@ internal BastionHostsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class BgpServiceCommunitiesClient + public partial class BastionHostsOperations { - protected BgpServiceCommunitiesClient() { } - public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected BastionHostsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string bastionHostName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string bastionHostName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.BastionHostsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string bastionHostName, Azure.ResourceManager.Network.Models.BastionHost parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string bastionHostName, Azure.ResourceManager.Network.Models.BastionHost parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.BastionHostsDeleteOperation StartDelete(string resourceGroupName, string bastionHostName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string bastionHostName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ConnectionMonitorsClient + public partial class BgpServiceCommunitiesOperations { - protected ConnectionMonitorsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string networkWatcherName, string connectionMonitorName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string networkWatcherName, string connectionMonitorName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, string networkWatcherName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string networkWatcherName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.ConnectionMonitorsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string networkWatcherName, string connectionMonitorName, Azure.ResourceManager.Network.Models.ConnectionMonitor parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string networkWatcherName, string connectionMonitorName, Azure.ResourceManager.Network.Models.ConnectionMonitor parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.ConnectionMonitorsDeleteOperation StartDelete(string resourceGroupName, string networkWatcherName, string connectionMonitorName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string networkWatcherName, string connectionMonitorName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.ConnectionMonitorsQueryOperation StartQuery(string resourceGroupName, string networkWatcherName, string connectionMonitorName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartQueryAsync(string resourceGroupName, string networkWatcherName, string connectionMonitorName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.ConnectionMonitorsStartOperation StartStart(string resourceGroupName, string networkWatcherName, string connectionMonitorName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartStartAsync(string resourceGroupName, string networkWatcherName, string connectionMonitorName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.ConnectionMonitorsStopOperation StartStop(string resourceGroupName, string networkWatcherName, string connectionMonitorName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartStopAsync(string resourceGroupName, string networkWatcherName, string connectionMonitorName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response UpdateTags(string resourceGroupName, string networkWatcherName, string connectionMonitorName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string networkWatcherName, string connectionMonitorName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected BgpServiceCommunitiesOperations() { } + public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class ConnectionMonitorsCreateOrUpdateOperation : Azure.Operation { @@ -345,6 +325,26 @@ internal ConnectionMonitorsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class ConnectionMonitorsOperations + { + protected ConnectionMonitorsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string networkWatcherName, string connectionMonitorName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string networkWatcherName, string connectionMonitorName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, string networkWatcherName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string networkWatcherName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.ConnectionMonitorsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string networkWatcherName, string connectionMonitorName, Azure.ResourceManager.Network.Models.ConnectionMonitor parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string networkWatcherName, string connectionMonitorName, Azure.ResourceManager.Network.Models.ConnectionMonitor parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.ConnectionMonitorsDeleteOperation StartDelete(string resourceGroupName, string networkWatcherName, string connectionMonitorName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string networkWatcherName, string connectionMonitorName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.ConnectionMonitorsQueryOperation StartQuery(string resourceGroupName, string networkWatcherName, string connectionMonitorName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartQueryAsync(string resourceGroupName, string networkWatcherName, string connectionMonitorName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.ConnectionMonitorsStartOperation StartStart(string resourceGroupName, string networkWatcherName, string connectionMonitorName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartStartAsync(string resourceGroupName, string networkWatcherName, string connectionMonitorName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.ConnectionMonitorsStopOperation StartStop(string resourceGroupName, string networkWatcherName, string connectionMonitorName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartStopAsync(string resourceGroupName, string networkWatcherName, string connectionMonitorName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response UpdateTags(string resourceGroupName, string networkWatcherName, string connectionMonitorName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string networkWatcherName, string connectionMonitorName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class ConnectionMonitorsQueryOperation : Azure.Operation { internal ConnectionMonitorsQueryOperation() { } @@ -384,18 +384,6 @@ internal ConnectionMonitorsStopOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class DdosCustomPoliciesClient - { - protected DdosCustomPoliciesClient() { } - public virtual Azure.Response Get(string resourceGroupName, string ddosCustomPolicyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string ddosCustomPolicyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.DdosCustomPoliciesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string ddosCustomPolicyName, Azure.ResourceManager.Network.Models.DdosCustomPolicy parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string ddosCustomPolicyName, Azure.ResourceManager.Network.Models.DdosCustomPolicy parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.DdosCustomPoliciesDeleteOperation StartDelete(string resourceGroupName, string ddosCustomPolicyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string ddosCustomPolicyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response UpdateTags(string resourceGroupName, string ddosCustomPolicyName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string ddosCustomPolicyName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class DdosCustomPoliciesCreateOrUpdateOperation : Azure.Operation { internal DdosCustomPoliciesCreateOrUpdateOperation() { } @@ -422,21 +410,17 @@ internal DdosCustomPoliciesDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class DdosProtectionPlansClient + public partial class DdosCustomPoliciesOperations { - protected DdosProtectionPlansClient() { } - public virtual Azure.Response Get(string resourceGroupName, string ddosProtectionPlanName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string ddosProtectionPlanName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.DdosProtectionPlansCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string ddosProtectionPlanName, Azure.ResourceManager.Network.Models.DdosProtectionPlan parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string ddosProtectionPlanName, Azure.ResourceManager.Network.Models.DdosProtectionPlan parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.DdosProtectionPlansDeleteOperation StartDelete(string resourceGroupName, string ddosProtectionPlanName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string ddosProtectionPlanName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response UpdateTags(string resourceGroupName, string ddosProtectionPlanName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string ddosProtectionPlanName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected DdosCustomPoliciesOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string ddosCustomPolicyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string ddosCustomPolicyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.DdosCustomPoliciesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string ddosCustomPolicyName, Azure.ResourceManager.Network.Models.DdosCustomPolicy parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string ddosCustomPolicyName, Azure.ResourceManager.Network.Models.DdosCustomPolicy parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.DdosCustomPoliciesDeleteOperation StartDelete(string resourceGroupName, string ddosCustomPolicyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string ddosCustomPolicyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response UpdateTags(string resourceGroupName, string ddosCustomPolicyName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string ddosCustomPolicyName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class DdosProtectionPlansCreateOrUpdateOperation : Azure.Operation { @@ -464,26 +448,30 @@ internal DdosProtectionPlansDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class DefaultSecurityRulesClient + public partial class DdosProtectionPlansOperations + { + protected DdosProtectionPlansOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string ddosProtectionPlanName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string ddosProtectionPlanName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.DdosProtectionPlansCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string ddosProtectionPlanName, Azure.ResourceManager.Network.Models.DdosProtectionPlan parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string ddosProtectionPlanName, Azure.ResourceManager.Network.Models.DdosProtectionPlan parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.DdosProtectionPlansDeleteOperation StartDelete(string resourceGroupName, string ddosProtectionPlanName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string ddosProtectionPlanName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response UpdateTags(string resourceGroupName, string ddosProtectionPlanName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string ddosProtectionPlanName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class DefaultSecurityRulesOperations { - protected DefaultSecurityRulesClient() { } + protected DefaultSecurityRulesOperations() { } public virtual Azure.Response Get(string resourceGroupName, string networkSecurityGroupName, string defaultSecurityRuleName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string networkSecurityGroupName, string defaultSecurityRuleName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(string resourceGroupName, string networkSecurityGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string networkSecurityGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ExpressRouteCircuitAuthorizationsClient - { - protected ExpressRouteCircuitAuthorizationsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string circuitName, string authorizationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string circuitName, string authorizationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, string circuitName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string circuitName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.ExpressRouteCircuitAuthorizationsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string circuitName, string authorizationName, Azure.ResourceManager.Network.Models.ExpressRouteCircuitAuthorization authorizationParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string circuitName, string authorizationName, Azure.ResourceManager.Network.Models.ExpressRouteCircuitAuthorization authorizationParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.ExpressRouteCircuitAuthorizationsDeleteOperation StartDelete(string resourceGroupName, string circuitName, string authorizationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string circuitName, string authorizationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class ExpressRouteCircuitAuthorizationsCreateOrUpdateOperation : Azure.Operation { internal ExpressRouteCircuitAuthorizationsCreateOrUpdateOperation() { } @@ -510,17 +498,17 @@ internal ExpressRouteCircuitAuthorizationsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ExpressRouteCircuitConnectionsClient + public partial class ExpressRouteCircuitAuthorizationsOperations { - protected ExpressRouteCircuitConnectionsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string circuitName, string peeringName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string circuitName, string peeringName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, string circuitName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string circuitName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.ExpressRouteCircuitConnectionsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string circuitName, string peeringName, string connectionName, Azure.ResourceManager.Network.Models.ExpressRouteCircuitConnection expressRouteCircuitConnectionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string circuitName, string peeringName, string connectionName, Azure.ResourceManager.Network.Models.ExpressRouteCircuitConnection expressRouteCircuitConnectionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.ExpressRouteCircuitConnectionsDeleteOperation StartDelete(string resourceGroupName, string circuitName, string peeringName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string circuitName, string peeringName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected ExpressRouteCircuitAuthorizationsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string circuitName, string authorizationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string circuitName, string authorizationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, string circuitName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string circuitName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.ExpressRouteCircuitAuthorizationsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string circuitName, string authorizationName, Azure.ResourceManager.Network.Models.ExpressRouteCircuitAuthorization authorizationParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string circuitName, string authorizationName, Azure.ResourceManager.Network.Models.ExpressRouteCircuitAuthorization authorizationParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.ExpressRouteCircuitAuthorizationsDeleteOperation StartDelete(string resourceGroupName, string circuitName, string authorizationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string circuitName, string authorizationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class ExpressRouteCircuitConnectionsCreateOrUpdateOperation : Azure.Operation { @@ -548,17 +536,17 @@ internal ExpressRouteCircuitConnectionsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ExpressRouteCircuitPeeringsClient + public partial class ExpressRouteCircuitConnectionsOperations { - protected ExpressRouteCircuitPeeringsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string circuitName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string circuitName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, string circuitName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string circuitName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.ExpressRouteCircuitPeeringsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string circuitName, string peeringName, Azure.ResourceManager.Network.Models.ExpressRouteCircuitPeering peeringParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string circuitName, string peeringName, Azure.ResourceManager.Network.Models.ExpressRouteCircuitPeering peeringParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.ExpressRouteCircuitPeeringsDeleteOperation StartDelete(string resourceGroupName, string circuitName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string circuitName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected ExpressRouteCircuitConnectionsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string circuitName, string peeringName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string circuitName, string peeringName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, string circuitName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string circuitName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.ExpressRouteCircuitConnectionsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string circuitName, string peeringName, string connectionName, Azure.ResourceManager.Network.Models.ExpressRouteCircuitConnection expressRouteCircuitConnectionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string circuitName, string peeringName, string connectionName, Azure.ResourceManager.Network.Models.ExpressRouteCircuitConnection expressRouteCircuitConnectionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.ExpressRouteCircuitConnectionsDeleteOperation StartDelete(string resourceGroupName, string circuitName, string peeringName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string circuitName, string peeringName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class ExpressRouteCircuitPeeringsCreateOrUpdateOperation : Azure.Operation { @@ -586,31 +574,17 @@ internal ExpressRouteCircuitPeeringsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ExpressRouteCircuitsClient + public partial class ExpressRouteCircuitPeeringsOperations { - protected ExpressRouteCircuitsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string circuitName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string circuitName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response GetPeeringStats(string resourceGroupName, string circuitName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetPeeringStatsAsync(string resourceGroupName, string circuitName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response GetStats(string resourceGroupName, string circuitName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetStatsAsync(string resourceGroupName, string circuitName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.ExpressRouteCircuitsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string circuitName, Azure.ResourceManager.Network.Models.ExpressRouteCircuit parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string circuitName, Azure.ResourceManager.Network.Models.ExpressRouteCircuit parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.ExpressRouteCircuitsDeleteOperation StartDelete(string resourceGroupName, string circuitName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string circuitName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.ExpressRouteCircuitsListArpTableOperation StartListArpTable(string resourceGroupName, string circuitName, string peeringName, string devicePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartListArpTableAsync(string resourceGroupName, string circuitName, string peeringName, string devicePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.ExpressRouteCircuitsListRoutesTableOperation StartListRoutesTable(string resourceGroupName, string circuitName, string peeringName, string devicePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartListRoutesTableAsync(string resourceGroupName, string circuitName, string peeringName, string devicePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.ExpressRouteCircuitsListRoutesTableSummaryOperation StartListRoutesTableSummary(string resourceGroupName, string circuitName, string peeringName, string devicePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartListRoutesTableSummaryAsync(string resourceGroupName, string circuitName, string peeringName, string devicePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response UpdateTags(string resourceGroupName, string circuitName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string circuitName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected ExpressRouteCircuitPeeringsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string circuitName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string circuitName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, string circuitName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string circuitName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.ExpressRouteCircuitPeeringsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string circuitName, string peeringName, Azure.ResourceManager.Network.Models.ExpressRouteCircuitPeering peeringParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string circuitName, string peeringName, Azure.ResourceManager.Network.Models.ExpressRouteCircuitPeering peeringParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.ExpressRouteCircuitPeeringsDeleteOperation StartDelete(string resourceGroupName, string circuitName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string circuitName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class ExpressRouteCircuitsCreateOrUpdateOperation : Azure.Operation { @@ -677,17 +651,31 @@ internal ExpressRouteCircuitsListRoutesTableSummaryOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ExpressRouteConnectionsClient + public partial class ExpressRouteCircuitsOperations { - protected ExpressRouteConnectionsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string expressRouteGatewayName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string expressRouteGatewayName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response List(string resourceGroupName, string expressRouteGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> ListAsync(string resourceGroupName, string expressRouteGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.ExpressRouteConnectionsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string expressRouteGatewayName, string connectionName, Azure.ResourceManager.Network.Models.ExpressRouteConnection putExpressRouteConnectionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string expressRouteGatewayName, string connectionName, Azure.ResourceManager.Network.Models.ExpressRouteConnection putExpressRouteConnectionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.ExpressRouteConnectionsDeleteOperation StartDelete(string resourceGroupName, string expressRouteGatewayName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string expressRouteGatewayName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected ExpressRouteCircuitsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string circuitName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string circuitName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetPeeringStats(string resourceGroupName, string circuitName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetPeeringStatsAsync(string resourceGroupName, string circuitName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetStats(string resourceGroupName, string circuitName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetStatsAsync(string resourceGroupName, string circuitName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.ExpressRouteCircuitsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string circuitName, Azure.ResourceManager.Network.Models.ExpressRouteCircuit parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string circuitName, Azure.ResourceManager.Network.Models.ExpressRouteCircuit parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.ExpressRouteCircuitsDeleteOperation StartDelete(string resourceGroupName, string circuitName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string circuitName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.ExpressRouteCircuitsListArpTableOperation StartListArpTable(string resourceGroupName, string circuitName, string peeringName, string devicePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartListArpTableAsync(string resourceGroupName, string circuitName, string peeringName, string devicePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.ExpressRouteCircuitsListRoutesTableOperation StartListRoutesTable(string resourceGroupName, string circuitName, string peeringName, string devicePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartListRoutesTableAsync(string resourceGroupName, string circuitName, string peeringName, string devicePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.ExpressRouteCircuitsListRoutesTableSummaryOperation StartListRoutesTableSummary(string resourceGroupName, string circuitName, string peeringName, string devicePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartListRoutesTableSummaryAsync(string resourceGroupName, string circuitName, string peeringName, string devicePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response UpdateTags(string resourceGroupName, string circuitName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string circuitName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class ExpressRouteConnectionsCreateOrUpdateOperation : Azure.Operation { @@ -715,17 +703,17 @@ internal ExpressRouteConnectionsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ExpressRouteCrossConnectionPeeringsClient + public partial class ExpressRouteConnectionsOperations { - protected ExpressRouteCrossConnectionPeeringsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string crossConnectionName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string crossConnectionName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, string crossConnectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string crossConnectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.ExpressRouteCrossConnectionPeeringsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string crossConnectionName, string peeringName, Azure.ResourceManager.Network.Models.ExpressRouteCrossConnectionPeering peeringParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string crossConnectionName, string peeringName, Azure.ResourceManager.Network.Models.ExpressRouteCrossConnectionPeering peeringParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.ExpressRouteCrossConnectionPeeringsDeleteOperation StartDelete(string resourceGroupName, string crossConnectionName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string crossConnectionName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected ExpressRouteConnectionsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string expressRouteGatewayName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string expressRouteGatewayName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response List(string resourceGroupName, string expressRouteGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> ListAsync(string resourceGroupName, string expressRouteGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.ExpressRouteConnectionsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string expressRouteGatewayName, string connectionName, Azure.ResourceManager.Network.Models.ExpressRouteConnection putExpressRouteConnectionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string expressRouteGatewayName, string connectionName, Azure.ResourceManager.Network.Models.ExpressRouteConnection putExpressRouteConnectionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.ExpressRouteConnectionsDeleteOperation StartDelete(string resourceGroupName, string expressRouteGatewayName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string expressRouteGatewayName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class ExpressRouteCrossConnectionPeeringsCreateOrUpdateOperation : Azure.Operation { @@ -753,25 +741,17 @@ internal ExpressRouteCrossConnectionPeeringsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ExpressRouteCrossConnectionsClient + public partial class ExpressRouteCrossConnectionPeeringsOperations { - protected ExpressRouteCrossConnectionsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string crossConnectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string crossConnectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.ExpressRouteCrossConnectionsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string crossConnectionName, Azure.ResourceManager.Network.Models.ExpressRouteCrossConnection parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string crossConnectionName, Azure.ResourceManager.Network.Models.ExpressRouteCrossConnection parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.ExpressRouteCrossConnectionsListArpTableOperation StartListArpTable(string resourceGroupName, string crossConnectionName, string peeringName, string devicePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartListArpTableAsync(string resourceGroupName, string crossConnectionName, string peeringName, string devicePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.ExpressRouteCrossConnectionsListRoutesTableOperation StartListRoutesTable(string resourceGroupName, string crossConnectionName, string peeringName, string devicePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartListRoutesTableAsync(string resourceGroupName, string crossConnectionName, string peeringName, string devicePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.ExpressRouteCrossConnectionsListRoutesTableSummaryOperation StartListRoutesTableSummary(string resourceGroupName, string crossConnectionName, string peeringName, string devicePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartListRoutesTableSummaryAsync(string resourceGroupName, string crossConnectionName, string peeringName, string devicePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response UpdateTags(string resourceGroupName, string crossConnectionName, Azure.ResourceManager.Network.Models.TagsObject crossConnectionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string crossConnectionName, Azure.ResourceManager.Network.Models.TagsObject crossConnectionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected ExpressRouteCrossConnectionPeeringsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string crossConnectionName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string crossConnectionName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, string crossConnectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string crossConnectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.ExpressRouteCrossConnectionPeeringsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string crossConnectionName, string peeringName, Azure.ResourceManager.Network.Models.ExpressRouteCrossConnectionPeering peeringParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string crossConnectionName, string peeringName, Azure.ResourceManager.Network.Models.ExpressRouteCrossConnectionPeering peeringParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.ExpressRouteCrossConnectionPeeringsDeleteOperation StartDelete(string resourceGroupName, string crossConnectionName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string crossConnectionName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class ExpressRouteCrossConnectionsCreateOrUpdateOperation : Azure.Operation { @@ -825,19 +805,25 @@ internal ExpressRouteCrossConnectionsListRoutesTableSummaryOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ExpressRouteGatewaysClient + public partial class ExpressRouteCrossConnectionsOperations { - protected ExpressRouteGatewaysClient() { } - public virtual Azure.Response Get(string resourceGroupName, string expressRouteGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string expressRouteGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response ListBySubscription(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> ListBySubscriptionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.ExpressRouteGatewaysCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string expressRouteGatewayName, Azure.ResourceManager.Network.Models.ExpressRouteGateway putExpressRouteGatewayParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string expressRouteGatewayName, Azure.ResourceManager.Network.Models.ExpressRouteGateway putExpressRouteGatewayParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.ExpressRouteGatewaysDeleteOperation StartDelete(string resourceGroupName, string expressRouteGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string expressRouteGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected ExpressRouteCrossConnectionsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string crossConnectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string crossConnectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.ExpressRouteCrossConnectionsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string crossConnectionName, Azure.ResourceManager.Network.Models.ExpressRouteCrossConnection parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string crossConnectionName, Azure.ResourceManager.Network.Models.ExpressRouteCrossConnection parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.ExpressRouteCrossConnectionsListArpTableOperation StartListArpTable(string resourceGroupName, string crossConnectionName, string peeringName, string devicePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartListArpTableAsync(string resourceGroupName, string crossConnectionName, string peeringName, string devicePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.ExpressRouteCrossConnectionsListRoutesTableOperation StartListRoutesTable(string resourceGroupName, string crossConnectionName, string peeringName, string devicePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartListRoutesTableAsync(string resourceGroupName, string crossConnectionName, string peeringName, string devicePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.ExpressRouteCrossConnectionsListRoutesTableSummaryOperation StartListRoutesTableSummary(string resourceGroupName, string crossConnectionName, string peeringName, string devicePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartListRoutesTableSummaryAsync(string resourceGroupName, string crossConnectionName, string peeringName, string devicePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response UpdateTags(string resourceGroupName, string crossConnectionName, Azure.ResourceManager.Network.Models.TagsObject crossConnectionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string crossConnectionName, Azure.ResourceManager.Network.Models.TagsObject crossConnectionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class ExpressRouteGatewaysCreateOrUpdateOperation : Azure.Operation { @@ -865,30 +851,28 @@ internal ExpressRouteGatewaysDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ExpressRouteLinksClient + public partial class ExpressRouteGatewaysOperations { - protected ExpressRouteLinksClient() { } + protected ExpressRouteGatewaysOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string expressRouteGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string expressRouteGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response ListBySubscription(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> ListBySubscriptionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.ExpressRouteGatewaysCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string expressRouteGatewayName, Azure.ResourceManager.Network.Models.ExpressRouteGateway putExpressRouteGatewayParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string expressRouteGatewayName, Azure.ResourceManager.Network.Models.ExpressRouteGateway putExpressRouteGatewayParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.ExpressRouteGatewaysDeleteOperation StartDelete(string resourceGroupName, string expressRouteGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string expressRouteGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class ExpressRouteLinksOperations + { + protected ExpressRouteLinksOperations() { } public virtual Azure.Response Get(string resourceGroupName, string expressRoutePortName, string linkName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string expressRoutePortName, string linkName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(string resourceGroupName, string expressRoutePortName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string expressRoutePortName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ExpressRoutePortsClient - { - protected ExpressRoutePortsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string expressRoutePortName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string expressRoutePortName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.ExpressRoutePortsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string expressRoutePortName, Azure.ResourceManager.Network.Models.ExpressRoutePort parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string expressRoutePortName, Azure.ResourceManager.Network.Models.ExpressRoutePort parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.ExpressRoutePortsDeleteOperation StartDelete(string resourceGroupName, string expressRoutePortName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string expressRoutePortName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response UpdateTags(string resourceGroupName, string expressRoutePortName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string expressRoutePortName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class ExpressRoutePortsCreateOrUpdateOperation : Azure.Operation { internal ExpressRoutePortsCreateOrUpdateOperation() { } @@ -915,33 +899,35 @@ internal ExpressRoutePortsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ExpressRoutePortsLocationsClient + public partial class ExpressRoutePortsLocationsOperations { - protected ExpressRoutePortsLocationsClient() { } + protected ExpressRoutePortsLocationsOperations() { } public virtual Azure.Response Get(string locationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string locationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ExpressRouteServiceProvidersClient + public partial class ExpressRoutePortsOperations { - protected ExpressRouteServiceProvidersClient() { } - public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected ExpressRoutePortsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string expressRoutePortName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string expressRoutePortName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.ExpressRoutePortsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string expressRoutePortName, Azure.ResourceManager.Network.Models.ExpressRoutePort parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string expressRoutePortName, Azure.ResourceManager.Network.Models.ExpressRoutePort parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.ExpressRoutePortsDeleteOperation StartDelete(string resourceGroupName, string expressRoutePortName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string expressRoutePortName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response UpdateTags(string resourceGroupName, string expressRoutePortName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string expressRoutePortName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class FirewallPoliciesClient + public partial class ExpressRouteServiceProvidersOperations { - protected FirewallPoliciesClient() { } - public virtual Azure.Response Get(string resourceGroupName, string firewallPolicyName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string firewallPolicyName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.FirewallPoliciesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string firewallPolicyName, Azure.ResourceManager.Network.Models.FirewallPolicy parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string firewallPolicyName, Azure.ResourceManager.Network.Models.FirewallPolicy parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.FirewallPoliciesDeleteOperation StartDelete(string resourceGroupName, string firewallPolicyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string firewallPolicyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected ExpressRouteServiceProvidersOperations() { } + public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class FirewallPoliciesCreateOrUpdateOperation : Azure.Operation { @@ -969,17 +955,19 @@ internal FirewallPoliciesDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class FirewallPolicyRuleGroupsClient + public partial class FirewallPoliciesOperations { - protected FirewallPolicyRuleGroupsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string firewallPolicyName, string ruleGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string firewallPolicyName, string ruleGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, string firewallPolicyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string firewallPolicyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.FirewallPolicyRuleGroupsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string firewallPolicyName, string ruleGroupName, Azure.ResourceManager.Network.Models.FirewallPolicyRuleGroup parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string firewallPolicyName, string ruleGroupName, Azure.ResourceManager.Network.Models.FirewallPolicyRuleGroup parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.FirewallPolicyRuleGroupsDeleteOperation StartDelete(string resourceGroupName, string firewallPolicyName, string ruleGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string firewallPolicyName, string ruleGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected FirewallPoliciesOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string firewallPolicyName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string firewallPolicyName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.FirewallPoliciesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string firewallPolicyName, Azure.ResourceManager.Network.Models.FirewallPolicy parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string firewallPolicyName, Azure.ResourceManager.Network.Models.FirewallPolicy parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.FirewallPoliciesDeleteOperation StartDelete(string resourceGroupName, string firewallPolicyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string firewallPolicyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class FirewallPolicyRuleGroupsCreateOrUpdateOperation : Azure.Operation { @@ -1007,17 +995,17 @@ internal FirewallPolicyRuleGroupsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class FlowLogsClient + public partial class FirewallPolicyRuleGroupsOperations { - protected FlowLogsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string networkWatcherName, string flowLogName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string networkWatcherName, string flowLogName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, string networkWatcherName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string networkWatcherName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.FlowLogsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string networkWatcherName, string flowLogName, Azure.ResourceManager.Network.Models.FlowLog parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string networkWatcherName, string flowLogName, Azure.ResourceManager.Network.Models.FlowLog parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.FlowLogsDeleteOperation StartDelete(string resourceGroupName, string networkWatcherName, string flowLogName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string networkWatcherName, string flowLogName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected FirewallPolicyRuleGroupsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string firewallPolicyName, string ruleGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string firewallPolicyName, string ruleGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, string firewallPolicyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string firewallPolicyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.FirewallPolicyRuleGroupsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string firewallPolicyName, string ruleGroupName, Azure.ResourceManager.Network.Models.FirewallPolicyRuleGroup parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string firewallPolicyName, string ruleGroupName, Azure.ResourceManager.Network.Models.FirewallPolicyRuleGroup parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.FirewallPolicyRuleGroupsDeleteOperation StartDelete(string resourceGroupName, string firewallPolicyName, string ruleGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string firewallPolicyName, string ruleGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class FlowLogsCreateOrUpdateOperation : Azure.Operation { @@ -1045,17 +1033,17 @@ internal FlowLogsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class HubRouteTablesClient + public partial class FlowLogsOperations { - protected HubRouteTablesClient() { } - public virtual Azure.Response Get(string resourceGroupName, string virtualHubName, string routeTableName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string virtualHubName, string routeTableName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, string virtualHubName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string virtualHubName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.HubRouteTablesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string virtualHubName, string routeTableName, Azure.ResourceManager.Network.Models.HubRouteTable routeTableParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string virtualHubName, string routeTableName, Azure.ResourceManager.Network.Models.HubRouteTable routeTableParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.HubRouteTablesDeleteOperation StartDelete(string resourceGroupName, string virtualHubName, string routeTableName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string virtualHubName, string routeTableName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected FlowLogsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string networkWatcherName, string flowLogName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string networkWatcherName, string flowLogName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, string networkWatcherName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string networkWatcherName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.FlowLogsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string networkWatcherName, string flowLogName, Azure.ResourceManager.Network.Models.FlowLog parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string networkWatcherName, string flowLogName, Azure.ResourceManager.Network.Models.FlowLog parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.FlowLogsDeleteOperation StartDelete(string resourceGroupName, string networkWatcherName, string flowLogName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string networkWatcherName, string flowLogName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class HubRouteTablesCreateOrUpdateOperation : Azure.Operation { @@ -1083,26 +1071,26 @@ internal HubRouteTablesDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class HubVirtualNetworkConnectionsClient + public partial class HubRouteTablesOperations { - protected HubVirtualNetworkConnectionsClient() { } + protected HubRouteTablesOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string virtualHubName, string routeTableName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string virtualHubName, string routeTableName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, string virtualHubName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string virtualHubName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.HubRouteTablesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string virtualHubName, string routeTableName, Azure.ResourceManager.Network.Models.HubRouteTable routeTableParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string virtualHubName, string routeTableName, Azure.ResourceManager.Network.Models.HubRouteTable routeTableParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.HubRouteTablesDeleteOperation StartDelete(string resourceGroupName, string virtualHubName, string routeTableName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string virtualHubName, string routeTableName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class HubVirtualNetworkConnectionsOperations + { + protected HubVirtualNetworkConnectionsOperations() { } public virtual Azure.Response Get(string resourceGroupName, string virtualHubName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string virtualHubName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(string resourceGroupName, string virtualHubName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string virtualHubName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class InboundNatRulesClient - { - protected InboundNatRulesClient() { } - public virtual Azure.Response Get(string resourceGroupName, string loadBalancerName, string inboundNatRuleName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string loadBalancerName, string inboundNatRuleName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, string loadBalancerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string loadBalancerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.InboundNatRulesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string loadBalancerName, string inboundNatRuleName, Azure.ResourceManager.Network.Models.InboundNatRule inboundNatRuleParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string loadBalancerName, string inboundNatRuleName, Azure.ResourceManager.Network.Models.InboundNatRule inboundNatRuleParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.InboundNatRulesDeleteOperation StartDelete(string resourceGroupName, string loadBalancerName, string inboundNatRuleName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string loadBalancerName, string inboundNatRuleName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class InboundNatRulesCreateOrUpdateOperation : Azure.Operation { internal InboundNatRulesCreateOrUpdateOperation() { } @@ -1129,21 +1117,17 @@ internal InboundNatRulesDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class IpAllocationsClient + public partial class InboundNatRulesOperations { - protected IpAllocationsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string ipAllocationName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string ipAllocationName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.IpAllocationsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string ipAllocationName, Azure.ResourceManager.Network.Models.IpAllocation parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string ipAllocationName, Azure.ResourceManager.Network.Models.IpAllocation parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.IpAllocationsDeleteOperation StartDelete(string resourceGroupName, string ipAllocationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string ipAllocationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response UpdateTags(string resourceGroupName, string ipAllocationName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string ipAllocationName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected InboundNatRulesOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string loadBalancerName, string inboundNatRuleName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string loadBalancerName, string inboundNatRuleName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, string loadBalancerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string loadBalancerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.InboundNatRulesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string loadBalancerName, string inboundNatRuleName, Azure.ResourceManager.Network.Models.InboundNatRule inboundNatRuleParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string loadBalancerName, string inboundNatRuleName, Azure.ResourceManager.Network.Models.InboundNatRule inboundNatRuleParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.InboundNatRulesDeleteOperation StartDelete(string resourceGroupName, string loadBalancerName, string inboundNatRuleName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string loadBalancerName, string inboundNatRuleName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class IpAllocationsCreateOrUpdateOperation : Azure.Operation { @@ -1171,21 +1155,21 @@ internal IpAllocationsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class IpGroupsClient + public partial class IpAllocationsOperations { - protected IpGroupsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string ipGroupsName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string ipGroupsName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.IpGroupsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string ipGroupsName, Azure.ResourceManager.Network.Models.IpGroup parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string ipGroupsName, Azure.ResourceManager.Network.Models.IpGroup parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.IpGroupsDeleteOperation StartDelete(string resourceGroupName, string ipGroupsName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string ipGroupsName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response UpdateGroups(string resourceGroupName, string ipGroupsName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateGroupsAsync(string resourceGroupName, string ipGroupsName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected IpAllocationsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string ipAllocationName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string ipAllocationName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.IpAllocationsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string ipAllocationName, Azure.ResourceManager.Network.Models.IpAllocation parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string ipAllocationName, Azure.ResourceManager.Network.Models.IpAllocation parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.IpAllocationsDeleteOperation StartDelete(string resourceGroupName, string ipAllocationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string ipAllocationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response UpdateTags(string resourceGroupName, string ipAllocationName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string ipAllocationName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class IpGroupsCreateOrUpdateOperation : Azure.Operation { @@ -1213,17 +1197,21 @@ internal IpGroupsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class LoadBalancerBackendAddressPoolsClient + public partial class IpGroupsOperations { - protected LoadBalancerBackendAddressPoolsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string loadBalancerName, string backendAddressPoolName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string loadBalancerName, string backendAddressPoolName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, string loadBalancerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string loadBalancerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.LoadBalancerBackendAddressPoolsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string loadBalancerName, string backendAddressPoolName, Azure.ResourceManager.Network.Models.BackendAddressPool parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string loadBalancerName, string backendAddressPoolName, Azure.ResourceManager.Network.Models.BackendAddressPool parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.LoadBalancerBackendAddressPoolsDeleteOperation StartDelete(string resourceGroupName, string loadBalancerName, string backendAddressPoolName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string loadBalancerName, string backendAddressPoolName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected IpGroupsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string ipGroupsName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string ipGroupsName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.IpGroupsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string ipGroupsName, Azure.ResourceManager.Network.Models.IpGroup parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string ipGroupsName, Azure.ResourceManager.Network.Models.IpGroup parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.IpGroupsDeleteOperation StartDelete(string resourceGroupName, string ipGroupsName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string ipGroupsName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response UpdateGroups(string resourceGroupName, string ipGroupsName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateGroupsAsync(string resourceGroupName, string ipGroupsName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class LoadBalancerBackendAddressPoolsCreateOrUpdateOperation : Azure.Operation { @@ -1251,60 +1239,56 @@ internal LoadBalancerBackendAddressPoolsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class LoadBalancerFrontendIPConfigurationsClient + public partial class LoadBalancerBackendAddressPoolsOperations + { + protected LoadBalancerBackendAddressPoolsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string loadBalancerName, string backendAddressPoolName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string loadBalancerName, string backendAddressPoolName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, string loadBalancerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string loadBalancerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.LoadBalancerBackendAddressPoolsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string loadBalancerName, string backendAddressPoolName, Azure.ResourceManager.Network.Models.BackendAddressPool parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string loadBalancerName, string backendAddressPoolName, Azure.ResourceManager.Network.Models.BackendAddressPool parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.LoadBalancerBackendAddressPoolsDeleteOperation StartDelete(string resourceGroupName, string loadBalancerName, string backendAddressPoolName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string loadBalancerName, string backendAddressPoolName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class LoadBalancerFrontendIPConfigurationsOperations { - protected LoadBalancerFrontendIPConfigurationsClient() { } + protected LoadBalancerFrontendIPConfigurationsOperations() { } public virtual Azure.Response Get(string resourceGroupName, string loadBalancerName, string frontendIPConfigurationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string loadBalancerName, string frontendIPConfigurationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(string resourceGroupName, string loadBalancerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string loadBalancerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class LoadBalancerLoadBalancingRulesClient + public partial class LoadBalancerLoadBalancingRulesOperations { - protected LoadBalancerLoadBalancingRulesClient() { } + protected LoadBalancerLoadBalancingRulesOperations() { } public virtual Azure.Response Get(string resourceGroupName, string loadBalancerName, string loadBalancingRuleName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string loadBalancerName, string loadBalancingRuleName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(string resourceGroupName, string loadBalancerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string loadBalancerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class LoadBalancerNetworkInterfacesClient + public partial class LoadBalancerNetworkInterfacesOperations { - protected LoadBalancerNetworkInterfacesClient() { } + protected LoadBalancerNetworkInterfacesOperations() { } public virtual Azure.Pageable List(string resourceGroupName, string loadBalancerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string loadBalancerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class LoadBalancerOutboundRulesClient + public partial class LoadBalancerOutboundRulesOperations { - protected LoadBalancerOutboundRulesClient() { } + protected LoadBalancerOutboundRulesOperations() { } public virtual Azure.Response Get(string resourceGroupName, string loadBalancerName, string outboundRuleName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string loadBalancerName, string outboundRuleName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(string resourceGroupName, string loadBalancerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string loadBalancerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class LoadBalancerProbesClient + public partial class LoadBalancerProbesOperations { - protected LoadBalancerProbesClient() { } + protected LoadBalancerProbesOperations() { } public virtual Azure.Response Get(string resourceGroupName, string loadBalancerName, string probeName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string loadBalancerName, string probeName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(string resourceGroupName, string loadBalancerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string loadBalancerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class LoadBalancersClient - { - protected LoadBalancersClient() { } - public virtual Azure.Response Get(string resourceGroupName, string loadBalancerName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string loadBalancerName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.LoadBalancersCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string loadBalancerName, Azure.ResourceManager.Network.Models.LoadBalancer parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string loadBalancerName, Azure.ResourceManager.Network.Models.LoadBalancer parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.LoadBalancersDeleteOperation StartDelete(string resourceGroupName, string loadBalancerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string loadBalancerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response UpdateTags(string resourceGroupName, string loadBalancerName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string loadBalancerName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class LoadBalancersCreateOrUpdateOperation : Azure.Operation { internal LoadBalancersCreateOrUpdateOperation() { } @@ -1331,19 +1315,21 @@ internal LoadBalancersDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class LocalNetworkGatewaysClient + public partial class LoadBalancersOperations { - protected LocalNetworkGatewaysClient() { } - public virtual Azure.Response Get(string resourceGroupName, string localNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string localNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.LocalNetworkGatewaysCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string localNetworkGatewayName, Azure.ResourceManager.Network.Models.LocalNetworkGateway parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string localNetworkGatewayName, Azure.ResourceManager.Network.Models.LocalNetworkGateway parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.LocalNetworkGatewaysDeleteOperation StartDelete(string resourceGroupName, string localNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string localNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response UpdateTags(string resourceGroupName, string localNetworkGatewayName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string localNetworkGatewayName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected LoadBalancersOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string loadBalancerName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string loadBalancerName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.LoadBalancersCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string loadBalancerName, Azure.ResourceManager.Network.Models.LoadBalancer parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string loadBalancerName, Azure.ResourceManager.Network.Models.LoadBalancer parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.LoadBalancersDeleteOperation StartDelete(string resourceGroupName, string loadBalancerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string loadBalancerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response UpdateTags(string resourceGroupName, string loadBalancerName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string loadBalancerName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class LocalNetworkGatewaysCreateOrUpdateOperation : Azure.Operation { @@ -1371,21 +1357,19 @@ internal LocalNetworkGatewaysDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class NatGatewaysClient + public partial class LocalNetworkGatewaysOperations { - protected NatGatewaysClient() { } - public virtual Azure.Response Get(string resourceGroupName, string natGatewayName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string natGatewayName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.NatGatewaysCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string natGatewayName, Azure.ResourceManager.Network.Models.NatGateway parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string natGatewayName, Azure.ResourceManager.Network.Models.NatGateway parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.NatGatewaysDeleteOperation StartDelete(string resourceGroupName, string natGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string natGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response UpdateTags(string resourceGroupName, string natGatewayName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string natGatewayName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected LocalNetworkGatewaysOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string localNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string localNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.LocalNetworkGatewaysCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string localNetworkGatewayName, Azure.ResourceManager.Network.Models.LocalNetworkGateway parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string localNetworkGatewayName, Azure.ResourceManager.Network.Models.LocalNetworkGateway parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.LocalNetworkGatewaysDeleteOperation StartDelete(string resourceGroupName, string localNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string localNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response UpdateTags(string resourceGroupName, string localNetworkGatewayName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string localNetworkGatewayName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class NatGatewaysCreateOrUpdateOperation : Azure.Operation { @@ -1413,49 +1397,35 @@ internal NatGatewaysDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class NetworkInterfaceIPConfigurationsClient + public partial class NatGatewaysOperations { - protected NetworkInterfaceIPConfigurationsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string networkInterfaceName, string ipConfigurationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string networkInterfaceName, string ipConfigurationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } - public partial class NetworkInterfaceLoadBalancersClient - { - protected NetworkInterfaceLoadBalancersClient() { } - public virtual Azure.Pageable List(string resourceGroupName, string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } - public partial class NetworkInterfacesClient - { - protected NetworkInterfacesClient() { } - public virtual Azure.Response Get(string resourceGroupName, string networkInterfaceName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string networkInterfaceName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response GetVirtualMachineScaleSetIpConfiguration(string resourceGroupName, string virtualMachineScaleSetName, string virtualmachineIndex, string networkInterfaceName, string ipConfigurationName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetVirtualMachineScaleSetIpConfigurationAsync(string resourceGroupName, string virtualMachineScaleSetName, string virtualmachineIndex, string networkInterfaceName, string ipConfigurationName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response GetVirtualMachineScaleSetNetworkInterface(string resourceGroupName, string virtualMachineScaleSetName, string virtualmachineIndex, string networkInterfaceName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetVirtualMachineScaleSetNetworkInterfaceAsync(string resourceGroupName, string virtualMachineScaleSetName, string virtualmachineIndex, string networkInterfaceName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListVirtualMachineScaleSetIpConfigurations(string resourceGroupName, string virtualMachineScaleSetName, string virtualmachineIndex, string networkInterfaceName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListVirtualMachineScaleSetIpConfigurationsAsync(string resourceGroupName, string virtualMachineScaleSetName, string virtualmachineIndex, string networkInterfaceName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListVirtualMachineScaleSetNetworkInterfaces(string resourceGroupName, string virtualMachineScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListVirtualMachineScaleSetNetworkInterfacesAsync(string resourceGroupName, string virtualMachineScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListVirtualMachineScaleSetVMNetworkInterfaces(string resourceGroupName, string virtualMachineScaleSetName, string virtualmachineIndex, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListVirtualMachineScaleSetVMNetworkInterfacesAsync(string resourceGroupName, string virtualMachineScaleSetName, string virtualmachineIndex, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.NetworkInterfacesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string networkInterfaceName, Azure.ResourceManager.Network.Models.NetworkInterface parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string networkInterfaceName, Azure.ResourceManager.Network.Models.NetworkInterface parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.NetworkInterfacesDeleteOperation StartDelete(string resourceGroupName, string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.NetworkInterfacesGetEffectiveRouteTableOperation StartGetEffectiveRouteTable(string resourceGroupName, string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartGetEffectiveRouteTableAsync(string resourceGroupName, string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.NetworkInterfacesListEffectiveNetworkSecurityGroupsOperation StartListEffectiveNetworkSecurityGroups(string resourceGroupName, string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartListEffectiveNetworkSecurityGroupsAsync(string resourceGroupName, string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response UpdateTags(string resourceGroupName, string networkInterfaceName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string networkInterfaceName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected NatGatewaysOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string natGatewayName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string natGatewayName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.NatGatewaysCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string natGatewayName, Azure.ResourceManager.Network.Models.NatGateway parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string natGatewayName, Azure.ResourceManager.Network.Models.NatGateway parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.NatGatewaysDeleteOperation StartDelete(string resourceGroupName, string natGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string natGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response UpdateTags(string resourceGroupName, string natGatewayName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string natGatewayName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class NetworkInterfaceIPConfigurationsOperations + { + protected NetworkInterfaceIPConfigurationsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string networkInterfaceName, string ipConfigurationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string networkInterfaceName, string ipConfigurationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class NetworkInterfaceLoadBalancersOperations + { + protected NetworkInterfaceLoadBalancersOperations() { } + public virtual Azure.Pageable List(string resourceGroupName, string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class NetworkInterfacesCreateOrUpdateOperation : Azure.Operation { @@ -1509,17 +1479,35 @@ internal NetworkInterfacesListEffectiveNetworkSecurityGroupsOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class NetworkInterfaceTapConfigurationsClient + public partial class NetworkInterfacesOperations { - protected NetworkInterfaceTapConfigurationsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string networkInterfaceName, string tapConfigurationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string networkInterfaceName, string tapConfigurationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.NetworkInterfaceTapConfigurationsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string networkInterfaceName, string tapConfigurationName, Azure.ResourceManager.Network.Models.NetworkInterfaceTapConfiguration tapConfigurationParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string networkInterfaceName, string tapConfigurationName, Azure.ResourceManager.Network.Models.NetworkInterfaceTapConfiguration tapConfigurationParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.NetworkInterfaceTapConfigurationsDeleteOperation StartDelete(string resourceGroupName, string networkInterfaceName, string tapConfigurationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string networkInterfaceName, string tapConfigurationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected NetworkInterfacesOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string networkInterfaceName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string networkInterfaceName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetVirtualMachineScaleSetIpConfiguration(string resourceGroupName, string virtualMachineScaleSetName, string virtualmachineIndex, string networkInterfaceName, string ipConfigurationName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetVirtualMachineScaleSetIpConfigurationAsync(string resourceGroupName, string virtualMachineScaleSetName, string virtualmachineIndex, string networkInterfaceName, string ipConfigurationName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetVirtualMachineScaleSetNetworkInterface(string resourceGroupName, string virtualMachineScaleSetName, string virtualmachineIndex, string networkInterfaceName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetVirtualMachineScaleSetNetworkInterfaceAsync(string resourceGroupName, string virtualMachineScaleSetName, string virtualmachineIndex, string networkInterfaceName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListVirtualMachineScaleSetIpConfigurations(string resourceGroupName, string virtualMachineScaleSetName, string virtualmachineIndex, string networkInterfaceName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListVirtualMachineScaleSetIpConfigurationsAsync(string resourceGroupName, string virtualMachineScaleSetName, string virtualmachineIndex, string networkInterfaceName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListVirtualMachineScaleSetNetworkInterfaces(string resourceGroupName, string virtualMachineScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListVirtualMachineScaleSetNetworkInterfacesAsync(string resourceGroupName, string virtualMachineScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListVirtualMachineScaleSetVMNetworkInterfaces(string resourceGroupName, string virtualMachineScaleSetName, string virtualmachineIndex, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListVirtualMachineScaleSetVMNetworkInterfacesAsync(string resourceGroupName, string virtualMachineScaleSetName, string virtualmachineIndex, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.NetworkInterfacesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string networkInterfaceName, Azure.ResourceManager.Network.Models.NetworkInterface parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string networkInterfaceName, Azure.ResourceManager.Network.Models.NetworkInterface parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.NetworkInterfacesDeleteOperation StartDelete(string resourceGroupName, string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.NetworkInterfacesGetEffectiveRouteTableOperation StartGetEffectiveRouteTable(string resourceGroupName, string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartGetEffectiveRouteTableAsync(string resourceGroupName, string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.NetworkInterfacesListEffectiveNetworkSecurityGroupsOperation StartListEffectiveNetworkSecurityGroups(string resourceGroupName, string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartListEffectiveNetworkSecurityGroupsAsync(string resourceGroupName, string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response UpdateTags(string resourceGroupName, string networkInterfaceName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string networkInterfaceName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class NetworkInterfaceTapConfigurationsCreateOrUpdateOperation : Azure.Operation { @@ -1547,114 +1535,139 @@ internal NetworkInterfaceTapConfigurationsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class NetworkInterfaceTapConfigurationsOperations + { + protected NetworkInterfaceTapConfigurationsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string networkInterfaceName, string tapConfigurationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string networkInterfaceName, string tapConfigurationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.NetworkInterfaceTapConfigurationsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string networkInterfaceName, string tapConfigurationName, Azure.ResourceManager.Network.Models.NetworkInterfaceTapConfiguration tapConfigurationParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string networkInterfaceName, string tapConfigurationName, Azure.ResourceManager.Network.Models.NetworkInterfaceTapConfiguration tapConfigurationParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.NetworkInterfaceTapConfigurationsDeleteOperation StartDelete(string resourceGroupName, string networkInterfaceName, string tapConfigurationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string networkInterfaceName, string tapConfigurationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class NetworkManagementClient { protected NetworkManagementClient() { } public NetworkManagementClient(string subscriptionId, Azure.Core.TokenCredential tokenCredential, Azure.ResourceManager.Network.NetworkManagementClientOptions options = null) { } public NetworkManagementClient(string subscriptionId, System.Uri endpoint, Azure.Core.TokenCredential tokenCredential, Azure.ResourceManager.Network.NetworkManagementClientOptions options = null) { } - public virtual Azure.ResourceManager.Network.ApplicationGatewaysClient GetApplicationGatewaysClient() { throw null; } - public virtual Azure.ResourceManager.Network.ApplicationSecurityGroupsClient GetApplicationSecurityGroupsClient() { throw null; } - public virtual Azure.ResourceManager.Network.AvailableDelegationsClient GetAvailableDelegationsClient() { throw null; } - public virtual Azure.ResourceManager.Network.AvailableEndpointServicesClient GetAvailableEndpointServicesClient() { throw null; } - public virtual Azure.ResourceManager.Network.AvailablePrivateEndpointTypesClient GetAvailablePrivateEndpointTypesClient() { throw null; } - public virtual Azure.ResourceManager.Network.AvailableResourceGroupDelegationsClient GetAvailableResourceGroupDelegationsClient() { throw null; } - public virtual Azure.ResourceManager.Network.AvailableServiceAliasesClient GetAvailableServiceAliasesClient() { throw null; } - public virtual Azure.ResourceManager.Network.AzureFirewallFqdnTagsClient GetAzureFirewallFqdnTagsClient() { throw null; } - public virtual Azure.ResourceManager.Network.AzureFirewallsClient GetAzureFirewallsClient() { throw null; } - public virtual Azure.ResourceManager.Network.BastionHostsClient GetBastionHostsClient() { throw null; } - public virtual Azure.ResourceManager.Network.BgpServiceCommunitiesClient GetBgpServiceCommunitiesClient() { throw null; } - public virtual Azure.ResourceManager.Network.ConnectionMonitorsClient GetConnectionMonitorsClient() { throw null; } - public virtual Azure.ResourceManager.Network.DdosCustomPoliciesClient GetDdosCustomPoliciesClient() { throw null; } - public virtual Azure.ResourceManager.Network.DdosProtectionPlansClient GetDdosProtectionPlansClient() { throw null; } - public virtual Azure.ResourceManager.Network.DefaultSecurityRulesClient GetDefaultSecurityRulesClient() { throw null; } - public virtual Azure.ResourceManager.Network.ExpressRouteCircuitAuthorizationsClient GetExpressRouteCircuitAuthorizationsClient() { throw null; } - public virtual Azure.ResourceManager.Network.ExpressRouteCircuitConnectionsClient GetExpressRouteCircuitConnectionsClient() { throw null; } - public virtual Azure.ResourceManager.Network.ExpressRouteCircuitPeeringsClient GetExpressRouteCircuitPeeringsClient() { throw null; } - public virtual Azure.ResourceManager.Network.ExpressRouteCircuitsClient GetExpressRouteCircuitsClient() { throw null; } - public virtual Azure.ResourceManager.Network.ExpressRouteConnectionsClient GetExpressRouteConnectionsClient() { throw null; } - public virtual Azure.ResourceManager.Network.ExpressRouteCrossConnectionPeeringsClient GetExpressRouteCrossConnectionPeeringsClient() { throw null; } - public virtual Azure.ResourceManager.Network.ExpressRouteCrossConnectionsClient GetExpressRouteCrossConnectionsClient() { throw null; } - public virtual Azure.ResourceManager.Network.ExpressRouteGatewaysClient GetExpressRouteGatewaysClient() { throw null; } - public virtual Azure.ResourceManager.Network.ExpressRouteLinksClient GetExpressRouteLinksClient() { throw null; } - public virtual Azure.ResourceManager.Network.ExpressRoutePortsClient GetExpressRoutePortsClient() { throw null; } - public virtual Azure.ResourceManager.Network.ExpressRoutePortsLocationsClient GetExpressRoutePortsLocationsClient() { throw null; } - public virtual Azure.ResourceManager.Network.ExpressRouteServiceProvidersClient GetExpressRouteServiceProvidersClient() { throw null; } - public virtual Azure.ResourceManager.Network.FirewallPoliciesClient GetFirewallPoliciesClient() { throw null; } - public virtual Azure.ResourceManager.Network.FirewallPolicyRuleGroupsClient GetFirewallPolicyRuleGroupsClient() { throw null; } - public virtual Azure.ResourceManager.Network.FlowLogsClient GetFlowLogsClient() { throw null; } - public virtual Azure.ResourceManager.Network.HubRouteTablesClient GetHubRouteTablesClient() { throw null; } - public virtual Azure.ResourceManager.Network.HubVirtualNetworkConnectionsClient GetHubVirtualNetworkConnectionsClient() { throw null; } - public virtual Azure.ResourceManager.Network.InboundNatRulesClient GetInboundNatRulesClient() { throw null; } - public virtual Azure.ResourceManager.Network.IpAllocationsClient GetIpAllocationsClient() { throw null; } - public virtual Azure.ResourceManager.Network.IpGroupsClient GetIpGroupsClient() { throw null; } - public virtual Azure.ResourceManager.Network.LoadBalancerBackendAddressPoolsClient GetLoadBalancerBackendAddressPoolsClient() { throw null; } - public virtual Azure.ResourceManager.Network.LoadBalancerFrontendIPConfigurationsClient GetLoadBalancerFrontendIPConfigurationsClient() { throw null; } - public virtual Azure.ResourceManager.Network.LoadBalancerLoadBalancingRulesClient GetLoadBalancerLoadBalancingRulesClient() { throw null; } - public virtual Azure.ResourceManager.Network.LoadBalancerNetworkInterfacesClient GetLoadBalancerNetworkInterfacesClient() { throw null; } - public virtual Azure.ResourceManager.Network.LoadBalancerOutboundRulesClient GetLoadBalancerOutboundRulesClient() { throw null; } - public virtual Azure.ResourceManager.Network.LoadBalancerProbesClient GetLoadBalancerProbesClient() { throw null; } - public virtual Azure.ResourceManager.Network.LoadBalancersClient GetLoadBalancersClient() { throw null; } - public virtual Azure.ResourceManager.Network.LocalNetworkGatewaysClient GetLocalNetworkGatewaysClient() { throw null; } - public virtual Azure.ResourceManager.Network.NatGatewaysClient GetNatGatewaysClient() { throw null; } - public virtual Azure.ResourceManager.Network.NetworkInterfaceIPConfigurationsClient GetNetworkInterfaceIPConfigurationsClient() { throw null; } - public virtual Azure.ResourceManager.Network.NetworkInterfaceLoadBalancersClient GetNetworkInterfaceLoadBalancersClient() { throw null; } - public virtual Azure.ResourceManager.Network.NetworkInterfacesClient GetNetworkInterfacesClient() { throw null; } - public virtual Azure.ResourceManager.Network.NetworkInterfaceTapConfigurationsClient GetNetworkInterfaceTapConfigurationsClient() { throw null; } - public virtual Azure.ResourceManager.Network.NetworkProfilesClient GetNetworkProfilesClient() { throw null; } - public virtual Azure.ResourceManager.Network.NetworkSecurityGroupsClient GetNetworkSecurityGroupsClient() { throw null; } - public virtual Azure.ResourceManager.Network.NetworkVirtualAppliancesClient GetNetworkVirtualAppliancesClient() { throw null; } - public virtual Azure.ResourceManager.Network.NetworkWatchersClient GetNetworkWatchersClient() { throw null; } - public virtual Azure.ResourceManager.Network.OperationsClient GetOperationsClient() { throw null; } - public virtual Azure.ResourceManager.Network.P2SVpnGatewaysClient GetP2SVpnGatewaysClient() { throw null; } - public virtual Azure.ResourceManager.Network.PacketCapturesClient GetPacketCapturesClient() { throw null; } - public virtual Azure.ResourceManager.Network.PeerExpressRouteCircuitConnectionsClient GetPeerExpressRouteCircuitConnectionsClient() { throw null; } - public virtual Azure.ResourceManager.Network.PrivateDnsZoneGroupsClient GetPrivateDnsZoneGroupsClient() { throw null; } - public virtual Azure.ResourceManager.Network.PrivateEndpointsClient GetPrivateEndpointsClient() { throw null; } - public virtual Azure.ResourceManager.Network.PrivateLinkServicesClient GetPrivateLinkServicesClient() { throw null; } - public virtual Azure.ResourceManager.Network.PublicIPAddressesClient GetPublicIPAddressesClient() { throw null; } - public virtual Azure.ResourceManager.Network.PublicIPPrefixesClient GetPublicIPPrefixesClient() { throw null; } - public virtual Azure.ResourceManager.Network.ResourceNavigationLinksClient GetResourceNavigationLinksClient() { throw null; } - public virtual Azure.ResourceManager.Network.RouteFilterRulesClient GetRouteFilterRulesClient() { throw null; } - public virtual Azure.ResourceManager.Network.RouteFiltersClient GetRouteFiltersClient() { throw null; } - public virtual Azure.ResourceManager.Network.RoutesClient GetRoutesClient() { throw null; } - public virtual Azure.ResourceManager.Network.RouteTablesClient GetRouteTablesClient() { throw null; } - public virtual Azure.ResourceManager.Network.SecurityPartnerProvidersClient GetSecurityPartnerProvidersClient() { throw null; } - public virtual Azure.ResourceManager.Network.SecurityRulesClient GetSecurityRulesClient() { throw null; } - public virtual Azure.ResourceManager.Network.ServiceAssociationLinksClient GetServiceAssociationLinksClient() { throw null; } - public virtual Azure.ResourceManager.Network.ServiceClient GetServiceClient() { throw null; } - public virtual Azure.ResourceManager.Network.ServiceEndpointPoliciesClient GetServiceEndpointPoliciesClient() { throw null; } - public virtual Azure.ResourceManager.Network.ServiceEndpointPolicyDefinitionsClient GetServiceEndpointPolicyDefinitionsClient() { throw null; } - public virtual Azure.ResourceManager.Network.ServiceTagsClient GetServiceTagsClient() { throw null; } - public virtual Azure.ResourceManager.Network.SubnetsClient GetSubnetsClient() { throw null; } - public virtual Azure.ResourceManager.Network.UsagesClient GetUsagesClient() { throw null; } - public virtual Azure.ResourceManager.Network.VirtualHubRouteTableV2SClient GetVirtualHubRouteTableV2SClient() { throw null; } - public virtual Azure.ResourceManager.Network.VirtualHubsClient GetVirtualHubsClient() { throw null; } - public virtual Azure.ResourceManager.Network.VirtualNetworkGatewayConnectionsClient GetVirtualNetworkGatewayConnectionsClient() { throw null; } - public virtual Azure.ResourceManager.Network.VirtualNetworkGatewaysClient GetVirtualNetworkGatewaysClient() { throw null; } - public virtual Azure.ResourceManager.Network.VirtualNetworkPeeringsClient GetVirtualNetworkPeeringsClient() { throw null; } - public virtual Azure.ResourceManager.Network.VirtualNetworksClient GetVirtualNetworksClient() { throw null; } - public virtual Azure.ResourceManager.Network.VirtualNetworkTapsClient GetVirtualNetworkTapsClient() { throw null; } - public virtual Azure.ResourceManager.Network.VirtualRouterPeeringsClient GetVirtualRouterPeeringsClient() { throw null; } - public virtual Azure.ResourceManager.Network.VirtualRoutersClient GetVirtualRoutersClient() { throw null; } - public virtual Azure.ResourceManager.Network.VirtualWansClient GetVirtualWansClient() { throw null; } - public virtual Azure.ResourceManager.Network.VpnConnectionsClient GetVpnConnectionsClient() { throw null; } - public virtual Azure.ResourceManager.Network.VpnGatewaysClient GetVpnGatewaysClient() { throw null; } - public virtual Azure.ResourceManager.Network.VpnLinkConnectionsClient GetVpnLinkConnectionsClient() { throw null; } - public virtual Azure.ResourceManager.Network.VpnServerConfigurationsAssociatedWithVirtualWanClient GetVpnServerConfigurationsAssociatedWithVirtualWanClient() { throw null; } - public virtual Azure.ResourceManager.Network.VpnServerConfigurationsClient GetVpnServerConfigurationsClient() { throw null; } - public virtual Azure.ResourceManager.Network.VpnSiteLinkConnectionsClient GetVpnSiteLinkConnectionsClient() { throw null; } - public virtual Azure.ResourceManager.Network.VpnSiteLinksClient GetVpnSiteLinksClient() { throw null; } - public virtual Azure.ResourceManager.Network.VpnSitesClient GetVpnSitesClient() { throw null; } - public virtual Azure.ResourceManager.Network.VpnSitesConfigurationClient GetVpnSitesConfigurationClient() { throw null; } - public virtual Azure.ResourceManager.Network.WebApplicationFirewallPoliciesClient GetWebApplicationFirewallPoliciesClient() { throw null; } + public virtual Azure.ResourceManager.Network.ApplicationGatewaysOperations ApplicationGateways { get { throw null; } } + public virtual Azure.ResourceManager.Network.ApplicationSecurityGroupsOperations ApplicationSecurityGroups { get { throw null; } } + public virtual Azure.ResourceManager.Network.AvailableDelegationsOperations AvailableDelegations { get { throw null; } } + public virtual Azure.ResourceManager.Network.AvailableEndpointServicesOperations AvailableEndpointServices { get { throw null; } } + public virtual Azure.ResourceManager.Network.AvailablePrivateEndpointTypesOperations AvailablePrivateEndpointTypes { get { throw null; } } + public virtual Azure.ResourceManager.Network.AvailableResourceGroupDelegationsOperations AvailableResourceGroupDelegations { get { throw null; } } + public virtual Azure.ResourceManager.Network.AvailableServiceAliasesOperations AvailableServiceAliases { get { throw null; } } + public virtual Azure.ResourceManager.Network.AzureFirewallFqdnTagsOperations AzureFirewallFqdnTags { get { throw null; } } + public virtual Azure.ResourceManager.Network.AzureFirewallsOperations AzureFirewalls { get { throw null; } } + public virtual Azure.ResourceManager.Network.BastionHostsOperations BastionHosts { get { throw null; } } + public virtual Azure.ResourceManager.Network.BgpServiceCommunitiesOperations BgpServiceCommunities { get { throw null; } } + public virtual Azure.ResourceManager.Network.ConnectionMonitorsOperations ConnectionMonitors { get { throw null; } } + public virtual Azure.ResourceManager.Network.DdosCustomPoliciesOperations DdosCustomPolicies { get { throw null; } } + public virtual Azure.ResourceManager.Network.DdosProtectionPlansOperations DdosProtectionPlans { get { throw null; } } + public virtual Azure.ResourceManager.Network.DefaultSecurityRulesOperations DefaultSecurityRules { get { throw null; } } + public virtual Azure.ResourceManager.Network.ExpressRouteCircuitAuthorizationsOperations ExpressRouteCircuitAuthorizations { get { throw null; } } + public virtual Azure.ResourceManager.Network.ExpressRouteCircuitConnectionsOperations ExpressRouteCircuitConnections { get { throw null; } } + public virtual Azure.ResourceManager.Network.ExpressRouteCircuitPeeringsOperations ExpressRouteCircuitPeerings { get { throw null; } } + public virtual Azure.ResourceManager.Network.ExpressRouteCircuitsOperations ExpressRouteCircuits { get { throw null; } } + public virtual Azure.ResourceManager.Network.ExpressRouteConnectionsOperations ExpressRouteConnections { get { throw null; } } + public virtual Azure.ResourceManager.Network.ExpressRouteCrossConnectionPeeringsOperations ExpressRouteCrossConnectionPeerings { get { throw null; } } + public virtual Azure.ResourceManager.Network.ExpressRouteCrossConnectionsOperations ExpressRouteCrossConnections { get { throw null; } } + public virtual Azure.ResourceManager.Network.ExpressRouteGatewaysOperations ExpressRouteGateways { get { throw null; } } + public virtual Azure.ResourceManager.Network.ExpressRouteLinksOperations ExpressRouteLinks { get { throw null; } } + public virtual Azure.ResourceManager.Network.ExpressRoutePortsOperations ExpressRoutePorts { get { throw null; } } + public virtual Azure.ResourceManager.Network.ExpressRoutePortsLocationsOperations ExpressRoutePortsLocations { get { throw null; } } + public virtual Azure.ResourceManager.Network.ExpressRouteServiceProvidersOperations ExpressRouteServiceProviders { get { throw null; } } + public virtual Azure.ResourceManager.Network.FirewallPoliciesOperations FirewallPolicies { get { throw null; } } + public virtual Azure.ResourceManager.Network.FirewallPolicyRuleGroupsOperations FirewallPolicyRuleGroups { get { throw null; } } + public virtual Azure.ResourceManager.Network.FlowLogsOperations FlowLogs { get { throw null; } } + public virtual Azure.ResourceManager.Network.HubRouteTablesOperations HubRouteTables { get { throw null; } } + public virtual Azure.ResourceManager.Network.HubVirtualNetworkConnectionsOperations HubVirtualNetworkConnections { get { throw null; } } + public virtual Azure.ResourceManager.Network.InboundNatRulesOperations InboundNatRules { get { throw null; } } + public virtual Azure.ResourceManager.Network.IpAllocationsOperations IpAllocations { get { throw null; } } + public virtual Azure.ResourceManager.Network.IpGroupsOperations IpGroups { get { throw null; } } + public virtual Azure.ResourceManager.Network.LoadBalancerBackendAddressPoolsOperations LoadBalancerBackendAddressPools { get { throw null; } } + public virtual Azure.ResourceManager.Network.LoadBalancerFrontendIPConfigurationsOperations LoadBalancerFrontendIPConfigurations { get { throw null; } } + public virtual Azure.ResourceManager.Network.LoadBalancerLoadBalancingRulesOperations LoadBalancerLoadBalancingRules { get { throw null; } } + public virtual Azure.ResourceManager.Network.LoadBalancerNetworkInterfacesOperations LoadBalancerNetworkInterfaces { get { throw null; } } + public virtual Azure.ResourceManager.Network.LoadBalancerOutboundRulesOperations LoadBalancerOutboundRules { get { throw null; } } + public virtual Azure.ResourceManager.Network.LoadBalancerProbesOperations LoadBalancerProbes { get { throw null; } } + public virtual Azure.ResourceManager.Network.LoadBalancersOperations LoadBalancers { get { throw null; } } + public virtual Azure.ResourceManager.Network.LocalNetworkGatewaysOperations LocalNetworkGateways { get { throw null; } } + public virtual Azure.ResourceManager.Network.NatGatewaysOperations NatGateways { get { throw null; } } + public virtual Azure.ResourceManager.Network.NetworkInterfaceIPConfigurationsOperations NetworkInterfaceIPConfigurations { get { throw null; } } + public virtual Azure.ResourceManager.Network.NetworkInterfaceLoadBalancersOperations NetworkInterfaceLoadBalancers { get { throw null; } } + public virtual Azure.ResourceManager.Network.NetworkInterfacesOperations NetworkInterfaces { get { throw null; } } + public virtual Azure.ResourceManager.Network.NetworkInterfaceTapConfigurationsOperations NetworkInterfaceTapConfigurations { get { throw null; } } + public virtual Azure.ResourceManager.Network.NetworkProfilesOperations NetworkProfiles { get { throw null; } } + public virtual Azure.ResourceManager.Network.NetworkSecurityGroupsOperations NetworkSecurityGroups { get { throw null; } } + public virtual Azure.ResourceManager.Network.NetworkVirtualAppliancesOperations NetworkVirtualAppliances { get { throw null; } } + public virtual Azure.ResourceManager.Network.NetworkWatchersOperations NetworkWatchers { get { throw null; } } + public virtual Azure.ResourceManager.Network.Operations Operations { get { throw null; } } + public virtual Azure.ResourceManager.Network.P2SVpnGatewaysOperations P2SVpnGateways { get { throw null; } } + public virtual Azure.ResourceManager.Network.PacketCapturesOperations PacketCaptures { get { throw null; } } + public virtual Azure.ResourceManager.Network.PeerExpressRouteCircuitConnectionsOperations PeerExpressRouteCircuitConnections { get { throw null; } } + public virtual Azure.ResourceManager.Network.PrivateDnsZoneGroupsOperations PrivateDnsZoneGroups { get { throw null; } } + public virtual Azure.ResourceManager.Network.PrivateEndpointsOperations PrivateEndpoints { get { throw null; } } + public virtual Azure.ResourceManager.Network.PrivateLinkServicesOperations PrivateLinkServices { get { throw null; } } + public virtual Azure.ResourceManager.Network.PublicIPAddressesOperations PublicIPAddresses { get { throw null; } } + public virtual Azure.ResourceManager.Network.PublicIPPrefixesOperations PublicIPPrefixes { get { throw null; } } + public virtual Azure.ResourceManager.Network.ResourceNavigationLinksOperations ResourceNavigationLinks { get { throw null; } } + public virtual Azure.ResourceManager.Network.RouteFilterRulesOperations RouteFilterRules { get { throw null; } } + public virtual Azure.ResourceManager.Network.RouteFiltersOperations RouteFilters { get { throw null; } } + public virtual Azure.ResourceManager.Network.RoutesOperations Routes { get { throw null; } } + public virtual Azure.ResourceManager.Network.RouteTablesOperations RouteTables { get { throw null; } } + public virtual Azure.ResourceManager.Network.SecurityPartnerProvidersOperations SecurityPartnerProviders { get { throw null; } } + public virtual Azure.ResourceManager.Network.SecurityRulesOperations SecurityRules { get { throw null; } } + public virtual Azure.ResourceManager.Network.ServiceOperations Service { get { throw null; } } + public virtual Azure.ResourceManager.Network.ServiceAssociationLinksOperations ServiceAssociationLinks { get { throw null; } } + public virtual Azure.ResourceManager.Network.ServiceEndpointPoliciesOperations ServiceEndpointPolicies { get { throw null; } } + public virtual Azure.ResourceManager.Network.ServiceEndpointPolicyDefinitionsOperations ServiceEndpointPolicyDefinitions { get { throw null; } } + public virtual Azure.ResourceManager.Network.ServiceTagsOperations ServiceTags { get { throw null; } } + public virtual Azure.ResourceManager.Network.SubnetsOperations Subnets { get { throw null; } } + public virtual Azure.ResourceManager.Network.UsagesOperations Usages { get { throw null; } } + public virtual Azure.ResourceManager.Network.VirtualHubRouteTableV2SOperations VirtualHubRouteTableV2S { get { throw null; } } + public virtual Azure.ResourceManager.Network.VirtualHubsOperations VirtualHubs { get { throw null; } } + public virtual Azure.ResourceManager.Network.VirtualNetworkGatewayConnectionsOperations VirtualNetworkGatewayConnections { get { throw null; } } + public virtual Azure.ResourceManager.Network.VirtualNetworkGatewaysOperations VirtualNetworkGateways { get { throw null; } } + public virtual Azure.ResourceManager.Network.VirtualNetworkPeeringsOperations VirtualNetworkPeerings { get { throw null; } } + public virtual Azure.ResourceManager.Network.VirtualNetworksOperations VirtualNetworks { get { throw null; } } + public virtual Azure.ResourceManager.Network.VirtualNetworkTapsOperations VirtualNetworkTaps { get { throw null; } } + public virtual Azure.ResourceManager.Network.VirtualRouterPeeringsOperations VirtualRouterPeerings { get { throw null; } } + public virtual Azure.ResourceManager.Network.VirtualRoutersOperations VirtualRouters { get { throw null; } } + public virtual Azure.ResourceManager.Network.VirtualWansOperations VirtualWans { get { throw null; } } + public virtual Azure.ResourceManager.Network.VpnConnectionsOperations VpnConnections { get { throw null; } } + public virtual Azure.ResourceManager.Network.VpnGatewaysOperations VpnGateways { get { throw null; } } + public virtual Azure.ResourceManager.Network.VpnLinkConnectionsOperations VpnLinkConnections { get { throw null; } } + public virtual Azure.ResourceManager.Network.VpnServerConfigurationsOperations VpnServerConfigurations { get { throw null; } } + public virtual Azure.ResourceManager.Network.VpnServerConfigurationsAssociatedWithVirtualWanOperations VpnServerConfigurationsAssociatedWithVirtualWan { get { throw null; } } + public virtual Azure.ResourceManager.Network.VpnSiteLinkConnectionsOperations VpnSiteLinkConnections { get { throw null; } } + public virtual Azure.ResourceManager.Network.VpnSiteLinksOperations VpnSiteLinks { get { throw null; } } + public virtual Azure.ResourceManager.Network.VpnSitesOperations VpnSites { get { throw null; } } + public virtual Azure.ResourceManager.Network.VpnSitesConfigurationOperations VpnSitesConfiguration { get { throw null; } } + public virtual Azure.ResourceManager.Network.WebApplicationFirewallPoliciesOperations WebApplicationFirewallPolicies { get { throw null; } } } public partial class NetworkManagementClientOptions : Azure.Core.ClientOptions { public NetworkManagementClientOptions() { } } - public partial class NetworkProfilesClient + public partial class NetworkProfilesDeleteOperation : Azure.Operation + { + internal NetworkProfilesDeleteOperation() { } + public override bool HasCompleted { get { throw null; } } + public override bool HasValue { get { throw null; } } + public override string Id { get { throw null; } } + public override Azure.Response Value { get { throw null; } } + public override Azure.Response GetRawResponse() { throw null; } + public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class NetworkProfilesOperations { - protected NetworkProfilesClient() { } + protected NetworkProfilesOperations() { } public virtual Azure.Response CreateOrUpdate(string resourceGroupName, string networkProfileName, Azure.ResourceManager.Network.Models.NetworkProfile parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(string resourceGroupName, string networkProfileName, Azure.ResourceManager.Network.Models.NetworkProfile parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Get(string resourceGroupName, string networkProfileName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -1668,9 +1681,22 @@ protected NetworkProfilesClient() { } public virtual Azure.Response UpdateTags(string resourceGroupName, string networkProfileName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string networkProfileName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class NetworkProfilesDeleteOperation : Azure.Operation + public partial class NetworkSecurityGroupsCreateOrUpdateOperation : Azure.Operation { - internal NetworkProfilesDeleteOperation() { } + internal NetworkSecurityGroupsCreateOrUpdateOperation() { } + public override bool HasCompleted { get { throw null; } } + public override bool HasValue { get { throw null; } } + public override string Id { get { throw null; } } + public override Azure.ResourceManager.Network.Models.NetworkSecurityGroup Value { get { throw null; } } + public override Azure.Response GetRawResponse() { throw null; } + public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class NetworkSecurityGroupsDeleteOperation : Azure.Operation + { + internal NetworkSecurityGroupsDeleteOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } @@ -1681,9 +1707,9 @@ internal NetworkProfilesDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class NetworkSecurityGroupsClient + public partial class NetworkSecurityGroupsOperations { - protected NetworkSecurityGroupsClient() { } + protected NetworkSecurityGroupsOperations() { } public virtual Azure.Response Get(string resourceGroupName, string networkSecurityGroupName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string networkSecurityGroupName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -1697,22 +1723,22 @@ protected NetworkSecurityGroupsClient() { } public virtual Azure.Response UpdateTags(string resourceGroupName, string networkSecurityGroupName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string networkSecurityGroupName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class NetworkSecurityGroupsCreateOrUpdateOperation : Azure.Operation + public partial class NetworkVirtualAppliancesCreateOrUpdateOperation : Azure.Operation { - internal NetworkSecurityGroupsCreateOrUpdateOperation() { } + internal NetworkVirtualAppliancesCreateOrUpdateOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } - public override Azure.ResourceManager.Network.Models.NetworkSecurityGroup Value { get { throw null; } } + public override Azure.ResourceManager.Network.Models.NetworkVirtualAppliance Value { get { throw null; } } public override Azure.Response GetRawResponse() { throw null; } public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class NetworkSecurityGroupsDeleteOperation : Azure.Operation + public partial class NetworkVirtualAppliancesDeleteOperation : Azure.Operation { - internal NetworkSecurityGroupsDeleteOperation() { } + internal NetworkVirtualAppliancesDeleteOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } @@ -1723,9 +1749,9 @@ internal NetworkSecurityGroupsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class NetworkVirtualAppliancesClient + public partial class NetworkVirtualAppliancesOperations { - protected NetworkVirtualAppliancesClient() { } + protected NetworkVirtualAppliancesOperations() { } public virtual Azure.Response Get(string resourceGroupName, string networkVirtualApplianceName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string networkVirtualApplianceName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -1739,32 +1765,6 @@ protected NetworkVirtualAppliancesClient() { } public virtual Azure.Response UpdateTags(string resourceGroupName, string networkVirtualApplianceName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string networkVirtualApplianceName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class NetworkVirtualAppliancesCreateOrUpdateOperation : Azure.Operation - { - internal NetworkVirtualAppliancesCreateOrUpdateOperation() { } - public override bool HasCompleted { get { throw null; } } - public override bool HasValue { get { throw null; } } - public override string Id { get { throw null; } } - public override Azure.ResourceManager.Network.Models.NetworkVirtualAppliance Value { get { throw null; } } - public override Azure.Response GetRawResponse() { throw null; } - public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } - public partial class NetworkVirtualAppliancesDeleteOperation : Azure.Operation - { - internal NetworkVirtualAppliancesDeleteOperation() { } - public override bool HasCompleted { get { throw null; } } - public override bool HasValue { get { throw null; } } - public override string Id { get { throw null; } } - public override Azure.Response Value { get { throw null; } } - public override Azure.Response GetRawResponse() { throw null; } - public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class NetworkWatchersCheckConnectivityOperation : Azure.Operation { internal NetworkWatchersCheckConnectivityOperation() { } @@ -1778,46 +1778,6 @@ internal NetworkWatchersCheckConnectivityOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class NetworkWatchersClient - { - protected NetworkWatchersClient() { } - public virtual Azure.Response CreateOrUpdate(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.NetworkWatcher parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.NetworkWatcher parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Get(string resourceGroupName, string networkWatcherName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string networkWatcherName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response GetTopology(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.TopologyParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetTopologyAsync(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.TopologyParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.NetworkWatchersCheckConnectivityOperation StartCheckConnectivity(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.ConnectivityParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCheckConnectivityAsync(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.ConnectivityParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.NetworkWatchersDeleteOperation StartDelete(string resourceGroupName, string networkWatcherName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string networkWatcherName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.NetworkWatchersGetAzureReachabilityReportOperation StartGetAzureReachabilityReport(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.AzureReachabilityReportParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartGetAzureReachabilityReportAsync(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.AzureReachabilityReportParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.NetworkWatchersGetFlowLogStatusOperation StartGetFlowLogStatus(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.FlowLogStatusParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartGetFlowLogStatusAsync(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.FlowLogStatusParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.NetworkWatchersGetNetworkConfigurationDiagnosticOperation StartGetNetworkConfigurationDiagnostic(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.NetworkConfigurationDiagnosticParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartGetNetworkConfigurationDiagnosticAsync(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.NetworkConfigurationDiagnosticParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.NetworkWatchersGetNextHopOperation StartGetNextHop(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.NextHopParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartGetNextHopAsync(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.NextHopParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.NetworkWatchersGetTroubleshootingOperation StartGetTroubleshooting(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.TroubleshootingParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartGetTroubleshootingAsync(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.TroubleshootingParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.NetworkWatchersGetTroubleshootingResultOperation StartGetTroubleshootingResult(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.QueryTroubleshootingParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartGetTroubleshootingResultAsync(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.QueryTroubleshootingParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.NetworkWatchersGetVMSecurityRulesOperation StartGetVMSecurityRules(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.SecurityGroupViewParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartGetVMSecurityRulesAsync(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.SecurityGroupViewParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.NetworkWatchersListAvailableProvidersOperation StartListAvailableProviders(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.AvailableProvidersListParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartListAvailableProvidersAsync(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.AvailableProvidersListParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.NetworkWatchersSetFlowLogConfigurationOperation StartSetFlowLogConfiguration(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.FlowLogInformation parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartSetFlowLogConfigurationAsync(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.FlowLogInformation parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.NetworkWatchersVerifyIPFlowOperation StartVerifyIPFlow(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.VerificationIPFlowParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartVerifyIPFlowAsync(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.VerificationIPFlowParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response UpdateTags(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class NetworkWatchersDeleteOperation : Azure.Operation { internal NetworkWatchersDeleteOperation() { } @@ -1935,6 +1895,46 @@ internal NetworkWatchersListAvailableProvidersOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class NetworkWatchersOperations + { + protected NetworkWatchersOperations() { } + public virtual Azure.Response CreateOrUpdate(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.NetworkWatcher parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.NetworkWatcher parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Get(string resourceGroupName, string networkWatcherName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string networkWatcherName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetTopology(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.TopologyParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetTopologyAsync(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.TopologyParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.NetworkWatchersCheckConnectivityOperation StartCheckConnectivity(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.ConnectivityParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCheckConnectivityAsync(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.ConnectivityParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.NetworkWatchersDeleteOperation StartDelete(string resourceGroupName, string networkWatcherName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string networkWatcherName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.NetworkWatchersGetAzureReachabilityReportOperation StartGetAzureReachabilityReport(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.AzureReachabilityReportParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartGetAzureReachabilityReportAsync(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.AzureReachabilityReportParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.NetworkWatchersGetFlowLogStatusOperation StartGetFlowLogStatus(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.FlowLogStatusParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartGetFlowLogStatusAsync(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.FlowLogStatusParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.NetworkWatchersGetNetworkConfigurationDiagnosticOperation StartGetNetworkConfigurationDiagnostic(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.NetworkConfigurationDiagnosticParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartGetNetworkConfigurationDiagnosticAsync(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.NetworkConfigurationDiagnosticParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.NetworkWatchersGetNextHopOperation StartGetNextHop(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.NextHopParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartGetNextHopAsync(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.NextHopParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.NetworkWatchersGetTroubleshootingOperation StartGetTroubleshooting(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.TroubleshootingParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartGetTroubleshootingAsync(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.TroubleshootingParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.NetworkWatchersGetTroubleshootingResultOperation StartGetTroubleshootingResult(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.QueryTroubleshootingParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartGetTroubleshootingResultAsync(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.QueryTroubleshootingParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.NetworkWatchersGetVMSecurityRulesOperation StartGetVMSecurityRules(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.SecurityGroupViewParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartGetVMSecurityRulesAsync(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.SecurityGroupViewParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.NetworkWatchersListAvailableProvidersOperation StartListAvailableProviders(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.AvailableProvidersListParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartListAvailableProvidersAsync(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.AvailableProvidersListParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.NetworkWatchersSetFlowLogConfigurationOperation StartSetFlowLogConfiguration(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.FlowLogInformation parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartSetFlowLogConfigurationAsync(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.FlowLogInformation parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.NetworkWatchersVerifyIPFlowOperation StartVerifyIPFlow(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.VerificationIPFlowParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartVerifyIPFlowAsync(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.VerificationIPFlowParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response UpdateTags(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string networkWatcherName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class NetworkWatchersSetFlowLogConfigurationOperation : Azure.Operation { internal NetworkWatchersSetFlowLogConfigurationOperation() { } @@ -1961,36 +1961,12 @@ internal NetworkWatchersVerifyIPFlowOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class OperationsClient + public partial class Operations { - protected OperationsClient() { } + protected Operations() { } public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class P2SVpnGatewaysClient - { - protected P2SVpnGatewaysClient() { } - public virtual Azure.Response Get(string resourceGroupName, string gatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string gatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.P2SVpnGatewaysCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string gatewayName, Azure.ResourceManager.Network.Models.P2SVpnGateway p2SVpnGatewayParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string gatewayName, Azure.ResourceManager.Network.Models.P2SVpnGateway p2SVpnGatewayParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.P2SVpnGatewaysDeleteOperation StartDelete(string resourceGroupName, string gatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string gatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.P2SVpnGatewaysDisconnectP2SVpnConnectionsOperation StartDisconnectP2SVpnConnections(string resourceGroupName, string p2SVpnGatewayName, Azure.ResourceManager.Network.Models.P2SVpnConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDisconnectP2SVpnConnectionsAsync(string resourceGroupName, string p2SVpnGatewayName, Azure.ResourceManager.Network.Models.P2SVpnConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.P2SVpnGatewaysGenerateVpnProfileOperation StartGenerateVpnProfile(string resourceGroupName, string gatewayName, Azure.ResourceManager.Network.Models.P2SVpnProfileParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartGenerateVpnProfileAsync(string resourceGroupName, string gatewayName, Azure.ResourceManager.Network.Models.P2SVpnProfileParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.P2SVpnGatewaysGetP2SVpnConnectionHealthOperation StartGetP2SVpnConnectionHealth(string resourceGroupName, string gatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartGetP2SVpnConnectionHealthAsync(string resourceGroupName, string gatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.P2SVpnGatewaysGetP2SVpnConnectionHealthDetailedOperation StartGetP2SVpnConnectionHealthDetailed(string resourceGroupName, string gatewayName, Azure.ResourceManager.Network.Models.P2SVpnConnectionHealthRequest request, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartGetP2SVpnConnectionHealthDetailedAsync(string resourceGroupName, string gatewayName, Azure.ResourceManager.Network.Models.P2SVpnConnectionHealthRequest request, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response UpdateTags(string resourceGroupName, string gatewayName, Azure.ResourceManager.Network.Models.TagsObject p2SVpnGatewayParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string gatewayName, Azure.ResourceManager.Network.Models.TagsObject p2SVpnGatewayParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class P2SVpnGatewaysCreateOrUpdateOperation : Azure.Operation { internal P2SVpnGatewaysCreateOrUpdateOperation() { } @@ -2069,21 +2045,29 @@ internal P2SVpnGatewaysGetP2SVpnConnectionHealthOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class PacketCapturesClient + public partial class P2SVpnGatewaysOperations { - protected PacketCapturesClient() { } - public virtual Azure.Response Get(string resourceGroupName, string networkWatcherName, string packetCaptureName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string networkWatcherName, string packetCaptureName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, string networkWatcherName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string networkWatcherName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.PacketCapturesCreateOperation StartCreate(string resourceGroupName, string networkWatcherName, string packetCaptureName, Azure.ResourceManager.Network.Models.PacketCapture parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateAsync(string resourceGroupName, string networkWatcherName, string packetCaptureName, Azure.ResourceManager.Network.Models.PacketCapture parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.PacketCapturesDeleteOperation StartDelete(string resourceGroupName, string networkWatcherName, string packetCaptureName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string networkWatcherName, string packetCaptureName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.PacketCapturesGetStatusOperation StartGetStatus(string resourceGroupName, string networkWatcherName, string packetCaptureName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartGetStatusAsync(string resourceGroupName, string networkWatcherName, string packetCaptureName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.PacketCapturesStopOperation StartStop(string resourceGroupName, string networkWatcherName, string packetCaptureName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartStopAsync(string resourceGroupName, string networkWatcherName, string packetCaptureName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected P2SVpnGatewaysOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string gatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string gatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.P2SVpnGatewaysCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string gatewayName, Azure.ResourceManager.Network.Models.P2SVpnGateway p2SVpnGatewayParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string gatewayName, Azure.ResourceManager.Network.Models.P2SVpnGateway p2SVpnGatewayParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.P2SVpnGatewaysDeleteOperation StartDelete(string resourceGroupName, string gatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string gatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.P2SVpnGatewaysDisconnectP2SVpnConnectionsOperation StartDisconnectP2SVpnConnections(string resourceGroupName, string p2SVpnGatewayName, Azure.ResourceManager.Network.Models.P2SVpnConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDisconnectP2SVpnConnectionsAsync(string resourceGroupName, string p2SVpnGatewayName, Azure.ResourceManager.Network.Models.P2SVpnConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.P2SVpnGatewaysGenerateVpnProfileOperation StartGenerateVpnProfile(string resourceGroupName, string gatewayName, Azure.ResourceManager.Network.Models.P2SVpnProfileParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartGenerateVpnProfileAsync(string resourceGroupName, string gatewayName, Azure.ResourceManager.Network.Models.P2SVpnProfileParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.P2SVpnGatewaysGetP2SVpnConnectionHealthOperation StartGetP2SVpnConnectionHealth(string resourceGroupName, string gatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartGetP2SVpnConnectionHealthAsync(string resourceGroupName, string gatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.P2SVpnGatewaysGetP2SVpnConnectionHealthDetailedOperation StartGetP2SVpnConnectionHealthDetailed(string resourceGroupName, string gatewayName, Azure.ResourceManager.Network.Models.P2SVpnConnectionHealthRequest request, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartGetP2SVpnConnectionHealthDetailedAsync(string resourceGroupName, string gatewayName, Azure.ResourceManager.Network.Models.P2SVpnConnectionHealthRequest request, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response UpdateTags(string resourceGroupName, string gatewayName, Azure.ResourceManager.Network.Models.TagsObject p2SVpnGatewayParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string gatewayName, Azure.ResourceManager.Network.Models.TagsObject p2SVpnGatewayParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class PacketCapturesCreateOperation : Azure.Operation { @@ -2124,6 +2108,22 @@ internal PacketCapturesGetStatusOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class PacketCapturesOperations + { + protected PacketCapturesOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string networkWatcherName, string packetCaptureName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string networkWatcherName, string packetCaptureName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, string networkWatcherName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string networkWatcherName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.PacketCapturesCreateOperation StartCreate(string resourceGroupName, string networkWatcherName, string packetCaptureName, Azure.ResourceManager.Network.Models.PacketCapture parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateAsync(string resourceGroupName, string networkWatcherName, string packetCaptureName, Azure.ResourceManager.Network.Models.PacketCapture parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.PacketCapturesDeleteOperation StartDelete(string resourceGroupName, string networkWatcherName, string packetCaptureName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string networkWatcherName, string packetCaptureName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.PacketCapturesGetStatusOperation StartGetStatus(string resourceGroupName, string networkWatcherName, string packetCaptureName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartGetStatusAsync(string resourceGroupName, string networkWatcherName, string packetCaptureName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.PacketCapturesStopOperation StartStop(string resourceGroupName, string networkWatcherName, string packetCaptureName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartStopAsync(string resourceGroupName, string networkWatcherName, string packetCaptureName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class PacketCapturesStopOperation : Azure.Operation { internal PacketCapturesStopOperation() { } @@ -2137,17 +2137,43 @@ internal PacketCapturesStopOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class PeerExpressRouteCircuitConnectionsClient + public partial class PeerExpressRouteCircuitConnectionsOperations { - protected PeerExpressRouteCircuitConnectionsClient() { } + protected PeerExpressRouteCircuitConnectionsOperations() { } public virtual Azure.Response Get(string resourceGroupName, string circuitName, string peeringName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string circuitName, string peeringName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(string resourceGroupName, string circuitName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string circuitName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class PrivateDnsZoneGroupsClient + public partial class PrivateDnsZoneGroupsCreateOrUpdateOperation : Azure.Operation + { + internal PrivateDnsZoneGroupsCreateOrUpdateOperation() { } + public override bool HasCompleted { get { throw null; } } + public override bool HasValue { get { throw null; } } + public override string Id { get { throw null; } } + public override Azure.ResourceManager.Network.Models.PrivateDnsZoneGroup Value { get { throw null; } } + public override Azure.Response GetRawResponse() { throw null; } + public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class PrivateDnsZoneGroupsDeleteOperation : Azure.Operation + { + internal PrivateDnsZoneGroupsDeleteOperation() { } + public override bool HasCompleted { get { throw null; } } + public override bool HasValue { get { throw null; } } + public override string Id { get { throw null; } } + public override Azure.Response Value { get { throw null; } } + public override Azure.Response GetRawResponse() { throw null; } + public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class PrivateDnsZoneGroupsOperations { - protected PrivateDnsZoneGroupsClient() { } + protected PrivateDnsZoneGroupsOperations() { } public virtual Azure.Response Get(string resourceGroupName, string privateEndpointName, string privateDnsZoneGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string privateEndpointName, string privateDnsZoneGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(string privateEndpointName, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -2157,22 +2183,22 @@ protected PrivateDnsZoneGroupsClient() { } public virtual Azure.ResourceManager.Network.PrivateDnsZoneGroupsDeleteOperation StartDelete(string resourceGroupName, string privateEndpointName, string privateDnsZoneGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string privateEndpointName, string privateDnsZoneGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class PrivateDnsZoneGroupsCreateOrUpdateOperation : Azure.Operation + public partial class PrivateEndpointsCreateOrUpdateOperation : Azure.Operation { - internal PrivateDnsZoneGroupsCreateOrUpdateOperation() { } + internal PrivateEndpointsCreateOrUpdateOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } - public override Azure.ResourceManager.Network.Models.PrivateDnsZoneGroup Value { get { throw null; } } + public override Azure.ResourceManager.Network.Models.PrivateEndpoint Value { get { throw null; } } public override Azure.Response GetRawResponse() { throw null; } public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class PrivateDnsZoneGroupsDeleteOperation : Azure.Operation + public partial class PrivateEndpointsDeleteOperation : Azure.Operation { - internal PrivateDnsZoneGroupsDeleteOperation() { } + internal PrivateEndpointsDeleteOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } @@ -2183,9 +2209,9 @@ internal PrivateDnsZoneGroupsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class PrivateEndpointsClient + public partial class PrivateEndpointsOperations { - protected PrivateEndpointsClient() { } + protected PrivateEndpointsOperations() { } public virtual Azure.Response Get(string resourceGroupName, string privateEndpointName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string privateEndpointName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -2197,22 +2223,35 @@ protected PrivateEndpointsClient() { } public virtual Azure.ResourceManager.Network.PrivateEndpointsDeleteOperation StartDelete(string resourceGroupName, string privateEndpointName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string privateEndpointName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class PrivateEndpointsCreateOrUpdateOperation : Azure.Operation + public partial class PrivateLinkServicesCreateOrUpdateOperation : Azure.Operation { - internal PrivateEndpointsCreateOrUpdateOperation() { } + internal PrivateLinkServicesCreateOrUpdateOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } - public override Azure.ResourceManager.Network.Models.PrivateEndpoint Value { get { throw null; } } + public override Azure.ResourceManager.Network.Models.PrivateLinkService Value { get { throw null; } } public override Azure.Response GetRawResponse() { throw null; } public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class PrivateEndpointsDeleteOperation : Azure.Operation + public partial class PrivateLinkServicesDeleteOperation : Azure.Operation { - internal PrivateEndpointsDeleteOperation() { } + internal PrivateLinkServicesDeleteOperation() { } + public override bool HasCompleted { get { throw null; } } + public override bool HasValue { get { throw null; } } + public override string Id { get { throw null; } } + public override Azure.Response Value { get { throw null; } } + public override Azure.Response GetRawResponse() { throw null; } + public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class PrivateLinkServicesDeletePrivateEndpointConnectionOperation : Azure.Operation + { + internal PrivateLinkServicesDeletePrivateEndpointConnectionOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } @@ -2223,9 +2262,9 @@ internal PrivateEndpointsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class PrivateLinkServicesClient + public partial class PrivateLinkServicesOperations { - protected PrivateLinkServicesClient() { } + protected PrivateLinkServicesOperations() { } public virtual Azure.Response CheckPrivateLinkServiceVisibility(string location, Azure.ResourceManager.Network.Models.CheckPrivateLinkServiceVisibilityRequest parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CheckPrivateLinkServiceVisibilityAsync(string location, Azure.ResourceManager.Network.Models.CheckPrivateLinkServiceVisibilityRequest parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response CheckPrivateLinkServiceVisibilityByResourceGroup(string location, string resourceGroupName, Azure.ResourceManager.Network.Models.CheckPrivateLinkServiceVisibilityRequest parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -2253,35 +2292,22 @@ protected PrivateLinkServicesClient() { } public virtual Azure.Response UpdatePrivateEndpointConnection(string resourceGroupName, string serviceName, string peConnectionName, Azure.ResourceManager.Network.Models.PrivateEndpointConnection parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdatePrivateEndpointConnectionAsync(string resourceGroupName, string serviceName, string peConnectionName, Azure.ResourceManager.Network.Models.PrivateEndpointConnection parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class PrivateLinkServicesCreateOrUpdateOperation : Azure.Operation - { - internal PrivateLinkServicesCreateOrUpdateOperation() { } - public override bool HasCompleted { get { throw null; } } - public override bool HasValue { get { throw null; } } - public override string Id { get { throw null; } } - public override Azure.ResourceManager.Network.Models.PrivateLinkService Value { get { throw null; } } - public override Azure.Response GetRawResponse() { throw null; } - public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } - public partial class PrivateLinkServicesDeleteOperation : Azure.Operation + public partial class PublicIPAddressesCreateOrUpdateOperation : Azure.Operation { - internal PrivateLinkServicesDeleteOperation() { } + internal PublicIPAddressesCreateOrUpdateOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } - public override Azure.Response Value { get { throw null; } } + public override Azure.ResourceManager.Network.Models.PublicIPAddress Value { get { throw null; } } public override Azure.Response GetRawResponse() { throw null; } public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class PrivateLinkServicesDeletePrivateEndpointConnectionOperation : Azure.Operation + public partial class PublicIPAddressesDeleteOperation : Azure.Operation { - internal PrivateLinkServicesDeletePrivateEndpointConnectionOperation() { } + internal PublicIPAddressesDeleteOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } @@ -2292,9 +2318,9 @@ internal PrivateLinkServicesDeletePrivateEndpointConnectionOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class PublicIPAddressesClient + public partial class PublicIPAddressesOperations { - protected PublicIPAddressesClient() { } + protected PublicIPAddressesOperations() { } public virtual Azure.Response Get(string resourceGroupName, string publicIpAddressName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string publicIpAddressName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetVirtualMachineScaleSetPublicIPAddress(string resourceGroupName, string virtualMachineScaleSetName, string virtualmachineIndex, string networkInterfaceName, string ipConfigurationName, string publicIpAddressName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -2314,22 +2340,22 @@ protected PublicIPAddressesClient() { } public virtual Azure.Response UpdateTags(string resourceGroupName, string publicIpAddressName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string publicIpAddressName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class PublicIPAddressesCreateOrUpdateOperation : Azure.Operation + public partial class PublicIPPrefixesCreateOrUpdateOperation : Azure.Operation { - internal PublicIPAddressesCreateOrUpdateOperation() { } + internal PublicIPPrefixesCreateOrUpdateOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } - public override Azure.ResourceManager.Network.Models.PublicIPAddress Value { get { throw null; } } + public override Azure.ResourceManager.Network.Models.PublicIPPrefix Value { get { throw null; } } public override Azure.Response GetRawResponse() { throw null; } public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class PublicIPAddressesDeleteOperation : Azure.Operation + public partial class PublicIPPrefixesDeleteOperation : Azure.Operation { - internal PublicIPAddressesDeleteOperation() { } + internal PublicIPPrefixesDeleteOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } @@ -2340,9 +2366,9 @@ internal PublicIPAddressesDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class PublicIPPrefixesClient + public partial class PublicIPPrefixesOperations { - protected PublicIPPrefixesClient() { } + protected PublicIPPrefixesOperations() { } public virtual Azure.Response Get(string resourceGroupName, string publicIpPrefixName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string publicIpPrefixName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -2356,22 +2382,28 @@ protected PublicIPPrefixesClient() { } public virtual Azure.Response UpdateTags(string resourceGroupName, string publicIpPrefixName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string publicIpPrefixName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class PublicIPPrefixesCreateOrUpdateOperation : Azure.Operation + public partial class ResourceNavigationLinksOperations { - internal PublicIPPrefixesCreateOrUpdateOperation() { } + protected ResourceNavigationLinksOperations() { } + public virtual Azure.Response List(string resourceGroupName, string virtualNetworkName, string subnetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> ListAsync(string resourceGroupName, string virtualNetworkName, string subnetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class RouteFilterRulesCreateOrUpdateOperation : Azure.Operation + { + internal RouteFilterRulesCreateOrUpdateOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } - public override Azure.ResourceManager.Network.Models.PublicIPPrefix Value { get { throw null; } } + public override Azure.ResourceManager.Network.Models.RouteFilterRule Value { get { throw null; } } public override Azure.Response GetRawResponse() { throw null; } public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class PublicIPPrefixesDeleteOperation : Azure.Operation + public partial class RouteFilterRulesDeleteOperation : Azure.Operation { - internal PublicIPPrefixesDeleteOperation() { } + internal RouteFilterRulesDeleteOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } @@ -2382,15 +2414,9 @@ internal PublicIPPrefixesDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ResourceNavigationLinksClient - { - protected ResourceNavigationLinksClient() { } - public virtual Azure.Response List(string resourceGroupName, string virtualNetworkName, string subnetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> ListAsync(string resourceGroupName, string virtualNetworkName, string subnetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } - public partial class RouteFilterRulesClient + public partial class RouteFilterRulesOperations { - protected RouteFilterRulesClient() { } + protected RouteFilterRulesOperations() { } public virtual Azure.Response Get(string resourceGroupName, string routeFilterName, string ruleName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string routeFilterName, string ruleName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable ListByRouteFilter(string resourceGroupName, string routeFilterName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -2400,22 +2426,22 @@ protected RouteFilterRulesClient() { } public virtual Azure.ResourceManager.Network.RouteFilterRulesDeleteOperation StartDelete(string resourceGroupName, string routeFilterName, string ruleName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string routeFilterName, string ruleName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class RouteFilterRulesCreateOrUpdateOperation : Azure.Operation + public partial class RouteFiltersCreateOrUpdateOperation : Azure.Operation { - internal RouteFilterRulesCreateOrUpdateOperation() { } + internal RouteFiltersCreateOrUpdateOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } - public override Azure.ResourceManager.Network.Models.RouteFilterRule Value { get { throw null; } } + public override Azure.ResourceManager.Network.Models.RouteFilter Value { get { throw null; } } public override Azure.Response GetRawResponse() { throw null; } public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class RouteFilterRulesDeleteOperation : Azure.Operation + public partial class RouteFiltersDeleteOperation : Azure.Operation { - internal RouteFilterRulesDeleteOperation() { } + internal RouteFiltersDeleteOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } @@ -2426,9 +2452,9 @@ internal RouteFilterRulesDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class RouteFiltersClient + public partial class RouteFiltersOperations { - protected RouteFiltersClient() { } + protected RouteFiltersOperations() { } public virtual Azure.Response Get(string resourceGroupName, string routeFilterName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string routeFilterName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -2442,22 +2468,22 @@ protected RouteFiltersClient() { } public virtual Azure.Response UpdateTags(string resourceGroupName, string routeFilterName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string routeFilterName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class RouteFiltersCreateOrUpdateOperation : Azure.Operation + public partial class RoutesCreateOrUpdateOperation : Azure.Operation { - internal RouteFiltersCreateOrUpdateOperation() { } + internal RoutesCreateOrUpdateOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } - public override Azure.ResourceManager.Network.Models.RouteFilter Value { get { throw null; } } + public override Azure.ResourceManager.Network.Models.Route Value { get { throw null; } } public override Azure.Response GetRawResponse() { throw null; } public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class RouteFiltersDeleteOperation : Azure.Operation + public partial class RoutesDeleteOperation : Azure.Operation { - internal RouteFiltersDeleteOperation() { } + internal RoutesDeleteOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } @@ -2468,9 +2494,9 @@ internal RouteFiltersDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class RoutesClient + public partial class RoutesOperations { - protected RoutesClient() { } + protected RoutesOperations() { } public virtual Azure.Response Get(string resourceGroupName, string routeTableName, string routeName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string routeTableName, string routeName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(string resourceGroupName, string routeTableName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -2480,22 +2506,22 @@ protected RoutesClient() { } public virtual Azure.ResourceManager.Network.RoutesDeleteOperation StartDelete(string resourceGroupName, string routeTableName, string routeName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string routeTableName, string routeName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class RoutesCreateOrUpdateOperation : Azure.Operation + public partial class RouteTablesCreateOrUpdateOperation : Azure.Operation { - internal RoutesCreateOrUpdateOperation() { } + internal RouteTablesCreateOrUpdateOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } - public override Azure.ResourceManager.Network.Models.Route Value { get { throw null; } } + public override Azure.ResourceManager.Network.Models.RouteTable Value { get { throw null; } } public override Azure.Response GetRawResponse() { throw null; } public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class RoutesDeleteOperation : Azure.Operation + public partial class RouteTablesDeleteOperation : Azure.Operation { - internal RoutesDeleteOperation() { } + internal RouteTablesDeleteOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } @@ -2506,9 +2532,9 @@ internal RoutesDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class RouteTablesClient + public partial class RouteTablesOperations { - protected RouteTablesClient() { } + protected RouteTablesOperations() { } public virtual Azure.Response Get(string resourceGroupName, string routeTableName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string routeTableName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -2522,22 +2548,22 @@ protected RouteTablesClient() { } public virtual Azure.Response UpdateTags(string resourceGroupName, string routeTableName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string routeTableName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class RouteTablesCreateOrUpdateOperation : Azure.Operation + public partial class SecurityPartnerProvidersCreateOrUpdateOperation : Azure.Operation { - internal RouteTablesCreateOrUpdateOperation() { } + internal SecurityPartnerProvidersCreateOrUpdateOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } - public override Azure.ResourceManager.Network.Models.RouteTable Value { get { throw null; } } + public override Azure.ResourceManager.Network.Models.SecurityPartnerProvider Value { get { throw null; } } public override Azure.Response GetRawResponse() { throw null; } public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class RouteTablesDeleteOperation : Azure.Operation + public partial class SecurityPartnerProvidersDeleteOperation : Azure.Operation { - internal RouteTablesDeleteOperation() { } + internal SecurityPartnerProvidersDeleteOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } @@ -2548,9 +2574,9 @@ internal RouteTablesDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class SecurityPartnerProvidersClient + public partial class SecurityPartnerProvidersOperations { - protected SecurityPartnerProvidersClient() { } + protected SecurityPartnerProvidersOperations() { } public virtual Azure.Response Get(string resourceGroupName, string securityPartnerProviderName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string securityPartnerProviderName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -2564,44 +2590,6 @@ protected SecurityPartnerProvidersClient() { } public virtual Azure.Response UpdateTags(string resourceGroupName, string securityPartnerProviderName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string securityPartnerProviderName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class SecurityPartnerProvidersCreateOrUpdateOperation : Azure.Operation - { - internal SecurityPartnerProvidersCreateOrUpdateOperation() { } - public override bool HasCompleted { get { throw null; } } - public override bool HasValue { get { throw null; } } - public override string Id { get { throw null; } } - public override Azure.ResourceManager.Network.Models.SecurityPartnerProvider Value { get { throw null; } } - public override Azure.Response GetRawResponse() { throw null; } - public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } - public partial class SecurityPartnerProvidersDeleteOperation : Azure.Operation - { - internal SecurityPartnerProvidersDeleteOperation() { } - public override bool HasCompleted { get { throw null; } } - public override bool HasValue { get { throw null; } } - public override string Id { get { throw null; } } - public override Azure.Response Value { get { throw null; } } - public override Azure.Response GetRawResponse() { throw null; } - public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } - public partial class SecurityRulesClient - { - protected SecurityRulesClient() { } - public virtual Azure.Response Get(string resourceGroupName, string networkSecurityGroupName, string securityRuleName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string networkSecurityGroupName, string securityRuleName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, string networkSecurityGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string networkSecurityGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.SecurityRulesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string networkSecurityGroupName, string securityRuleName, Azure.ResourceManager.Network.Models.SecurityRule securityRuleParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string networkSecurityGroupName, string securityRuleName, Azure.ResourceManager.Network.Models.SecurityRule securityRuleParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.SecurityRulesDeleteOperation StartDelete(string resourceGroupName, string networkSecurityGroupName, string securityRuleName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string networkSecurityGroupName, string securityRuleName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class SecurityRulesCreateOrUpdateOperation : Azure.Operation { internal SecurityRulesCreateOrUpdateOperation() { } @@ -2628,31 +2616,23 @@ internal SecurityRulesDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ServiceAssociationLinksClient - { - protected ServiceAssociationLinksClient() { } - public virtual Azure.Response List(string resourceGroupName, string virtualNetworkName, string subnetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> ListAsync(string resourceGroupName, string virtualNetworkName, string subnetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } - public partial class ServiceClient + public partial class SecurityRulesOperations { - protected ServiceClient() { } - public virtual Azure.Response CheckDnsNameAvailability(string location, string domainNameLabel, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> CheckDnsNameAvailabilityAsync(string location, string domainNameLabel, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable DisconnectActiveSessions(string resourceGroupName, string bastionHostName, Azure.ResourceManager.Network.Models.SessionIds sessionIds, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable DisconnectActiveSessionsAsync(string resourceGroupName, string bastionHostName, Azure.ResourceManager.Network.Models.SessionIds sessionIds, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable GetBastionShareableLink(string resourceGroupName, string bastionHostName, Azure.ResourceManager.Network.Models.BastionShareableLinkListRequest bslRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable GetBastionShareableLinkAsync(string resourceGroupName, string bastionHostName, Azure.ResourceManager.Network.Models.BastionShareableLinkListRequest bslRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.ServiceDeleteBastionShareableLinkOperation StartDeleteBastionShareableLink(string resourceGroupName, string bastionHostName, Azure.ResourceManager.Network.Models.BastionShareableLinkListRequest bslRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteBastionShareableLinkAsync(string resourceGroupName, string bastionHostName, Azure.ResourceManager.Network.Models.BastionShareableLinkListRequest bslRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.ServiceGeneratevirtualwanvpnserverconfigurationvpnprofileOperation StartGeneratevirtualwanvpnserverconfigurationvpnprofile(string resourceGroupName, string virtualWANName, Azure.ResourceManager.Network.Models.VirtualWanVpnProfileParameters vpnClientParams, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartGeneratevirtualwanvpnserverconfigurationvpnprofileAsync(string resourceGroupName, string virtualWANName, Azure.ResourceManager.Network.Models.VirtualWanVpnProfileParameters vpnClientParams, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.ServiceGetActiveSessionsOperation StartGetActiveSessions(string resourceGroupName, string bastionHostName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartGetActiveSessionsAsync(string resourceGroupName, string bastionHostName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.ServicePutBastionShareableLinkOperation StartPutBastionShareableLink(string resourceGroupName, string bastionHostName, Azure.ResourceManager.Network.Models.BastionShareableLinkListRequest bslRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartPutBastionShareableLinkAsync(string resourceGroupName, string bastionHostName, Azure.ResourceManager.Network.Models.BastionShareableLinkListRequest bslRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response SupportedSecurityProviders(string resourceGroupName, string virtualWANName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> SupportedSecurityProvidersAsync(string resourceGroupName, string virtualWANName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected SecurityRulesOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string networkSecurityGroupName, string securityRuleName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string networkSecurityGroupName, string securityRuleName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, string networkSecurityGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string networkSecurityGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.SecurityRulesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string networkSecurityGroupName, string securityRuleName, Azure.ResourceManager.Network.Models.SecurityRule securityRuleParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string networkSecurityGroupName, string securityRuleName, Azure.ResourceManager.Network.Models.SecurityRule securityRuleParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.SecurityRulesDeleteOperation StartDelete(string resourceGroupName, string networkSecurityGroupName, string securityRuleName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string networkSecurityGroupName, string securityRuleName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class ServiceAssociationLinksOperations + { + protected ServiceAssociationLinksOperations() { } + public virtual Azure.Response List(string resourceGroupName, string virtualNetworkName, string subnetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> ListAsync(string resourceGroupName, string virtualNetworkName, string subnetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class ServiceDeleteBastionShareableLinkOperation : Azure.Operation { @@ -2667,22 +2647,6 @@ internal ServiceDeleteBastionShareableLinkOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ServiceEndpointPoliciesClient - { - protected ServiceEndpointPoliciesClient() { } - public virtual Azure.Response Get(string resourceGroupName, string serviceEndpointPolicyName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string serviceEndpointPolicyName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.ServiceEndpointPoliciesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string serviceEndpointPolicyName, Azure.ResourceManager.Network.Models.ServiceEndpointPolicy parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string serviceEndpointPolicyName, Azure.ResourceManager.Network.Models.ServiceEndpointPolicy parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.ServiceEndpointPoliciesDeleteOperation StartDelete(string resourceGroupName, string serviceEndpointPolicyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string serviceEndpointPolicyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response UpdateTags(string resourceGroupName, string serviceEndpointPolicyName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string serviceEndpointPolicyName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class ServiceEndpointPoliciesCreateOrUpdateOperation : Azure.Operation { internal ServiceEndpointPoliciesCreateOrUpdateOperation() { } @@ -2709,17 +2673,21 @@ internal ServiceEndpointPoliciesDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ServiceEndpointPolicyDefinitionsClient + public partial class ServiceEndpointPoliciesOperations { - protected ServiceEndpointPolicyDefinitionsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string serviceEndpointPolicyName, string serviceEndpointPolicyDefinitionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string serviceEndpointPolicyName, string serviceEndpointPolicyDefinitionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, string serviceEndpointPolicyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, string serviceEndpointPolicyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.ServiceEndpointPolicyDefinitionsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string serviceEndpointPolicyName, string serviceEndpointPolicyDefinitionName, Azure.ResourceManager.Network.Models.ServiceEndpointPolicyDefinition serviceEndpointPolicyDefinitions, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string serviceEndpointPolicyName, string serviceEndpointPolicyDefinitionName, Azure.ResourceManager.Network.Models.ServiceEndpointPolicyDefinition serviceEndpointPolicyDefinitions, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.ServiceEndpointPolicyDefinitionsDeleteOperation StartDelete(string resourceGroupName, string serviceEndpointPolicyName, string serviceEndpointPolicyDefinitionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string serviceEndpointPolicyName, string serviceEndpointPolicyDefinitionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected ServiceEndpointPoliciesOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string serviceEndpointPolicyName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string serviceEndpointPolicyName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.ServiceEndpointPoliciesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string serviceEndpointPolicyName, Azure.ResourceManager.Network.Models.ServiceEndpointPolicy parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string serviceEndpointPolicyName, Azure.ResourceManager.Network.Models.ServiceEndpointPolicy parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.ServiceEndpointPoliciesDeleteOperation StartDelete(string resourceGroupName, string serviceEndpointPolicyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string serviceEndpointPolicyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response UpdateTags(string resourceGroupName, string serviceEndpointPolicyName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string serviceEndpointPolicyName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class ServiceEndpointPolicyDefinitionsCreateOrUpdateOperation : Azure.Operation { @@ -2747,6 +2715,18 @@ internal ServiceEndpointPolicyDefinitionsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class ServiceEndpointPolicyDefinitionsOperations + { + protected ServiceEndpointPolicyDefinitionsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string serviceEndpointPolicyName, string serviceEndpointPolicyDefinitionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string serviceEndpointPolicyName, string serviceEndpointPolicyDefinitionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, string serviceEndpointPolicyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, string serviceEndpointPolicyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.ServiceEndpointPolicyDefinitionsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string serviceEndpointPolicyName, string serviceEndpointPolicyDefinitionName, Azure.ResourceManager.Network.Models.ServiceEndpointPolicyDefinition serviceEndpointPolicyDefinitions, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string serviceEndpointPolicyName, string serviceEndpointPolicyDefinitionName, Azure.ResourceManager.Network.Models.ServiceEndpointPolicyDefinition serviceEndpointPolicyDefinitions, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.ServiceEndpointPolicyDefinitionsDeleteOperation StartDelete(string resourceGroupName, string serviceEndpointPolicyName, string serviceEndpointPolicyDefinitionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string serviceEndpointPolicyName, string serviceEndpointPolicyDefinitionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class ServiceGeneratevirtualwanvpnserverconfigurationvpnprofileOperation : Azure.Operation { internal ServiceGeneratevirtualwanvpnserverconfigurationvpnprofileOperation() { } @@ -2773,6 +2753,26 @@ internal ServiceGetActiveSessionsOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class ServiceOperations + { + protected ServiceOperations() { } + public virtual Azure.Response CheckDnsNameAvailability(string location, string domainNameLabel, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> CheckDnsNameAvailabilityAsync(string location, string domainNameLabel, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable DisconnectActiveSessions(string resourceGroupName, string bastionHostName, Azure.ResourceManager.Network.Models.SessionIds sessionIds, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable DisconnectActiveSessionsAsync(string resourceGroupName, string bastionHostName, Azure.ResourceManager.Network.Models.SessionIds sessionIds, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable GetBastionShareableLink(string resourceGroupName, string bastionHostName, Azure.ResourceManager.Network.Models.BastionShareableLinkListRequest bslRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable GetBastionShareableLinkAsync(string resourceGroupName, string bastionHostName, Azure.ResourceManager.Network.Models.BastionShareableLinkListRequest bslRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.ServiceDeleteBastionShareableLinkOperation StartDeleteBastionShareableLink(string resourceGroupName, string bastionHostName, Azure.ResourceManager.Network.Models.BastionShareableLinkListRequest bslRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteBastionShareableLinkAsync(string resourceGroupName, string bastionHostName, Azure.ResourceManager.Network.Models.BastionShareableLinkListRequest bslRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.ServiceGeneratevirtualwanvpnserverconfigurationvpnprofileOperation StartGeneratevirtualwanvpnserverconfigurationvpnprofile(string resourceGroupName, string virtualWANName, Azure.ResourceManager.Network.Models.VirtualWanVpnProfileParameters vpnClientParams, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartGeneratevirtualwanvpnserverconfigurationvpnprofileAsync(string resourceGroupName, string virtualWANName, Azure.ResourceManager.Network.Models.VirtualWanVpnProfileParameters vpnClientParams, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.ServiceGetActiveSessionsOperation StartGetActiveSessions(string resourceGroupName, string bastionHostName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartGetActiveSessionsAsync(string resourceGroupName, string bastionHostName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.ServicePutBastionShareableLinkOperation StartPutBastionShareableLink(string resourceGroupName, string bastionHostName, Azure.ResourceManager.Network.Models.BastionShareableLinkListRequest bslRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartPutBastionShareableLinkAsync(string resourceGroupName, string bastionHostName, Azure.ResourceManager.Network.Models.BastionShareableLinkListRequest bslRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response SupportedSecurityProviders(string resourceGroupName, string virtualWANName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> SupportedSecurityProvidersAsync(string resourceGroupName, string virtualWANName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class ServicePutBastionShareableLinkOperation : Azure.Operation { internal ServicePutBastionShareableLinkOperation() { } @@ -2786,28 +2786,12 @@ internal ServicePutBastionShareableLinkOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ServiceTagsClient + public partial class ServiceTagsOperations { - protected ServiceTagsClient() { } + protected ServiceTagsOperations() { } public virtual Azure.Response List(string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> ListAsync(string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class SubnetsClient - { - protected SubnetsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string virtualNetworkName, string subnetName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string virtualNetworkName, string subnetName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, string virtualNetworkName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string virtualNetworkName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.SubnetsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string virtualNetworkName, string subnetName, Azure.ResourceManager.Network.Models.Subnet subnetParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string virtualNetworkName, string subnetName, Azure.ResourceManager.Network.Models.Subnet subnetParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.SubnetsDeleteOperation StartDelete(string resourceGroupName, string virtualNetworkName, string subnetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string virtualNetworkName, string subnetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.SubnetsPrepareNetworkPoliciesOperation StartPrepareNetworkPolicies(string resourceGroupName, string virtualNetworkName, string subnetName, Azure.ResourceManager.Network.Models.PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartPrepareNetworkPoliciesAsync(string resourceGroupName, string virtualNetworkName, string subnetName, Azure.ResourceManager.Network.Models.PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.SubnetsUnprepareNetworkPoliciesOperation StartUnprepareNetworkPolicies(string resourceGroupName, string virtualNetworkName, string subnetName, Azure.ResourceManager.Network.Models.UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartUnprepareNetworkPoliciesAsync(string resourceGroupName, string virtualNetworkName, string subnetName, Azure.ResourceManager.Network.Models.UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class SubnetsCreateOrUpdateOperation : Azure.Operation { internal SubnetsCreateOrUpdateOperation() { } @@ -2834,6 +2818,22 @@ internal SubnetsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class SubnetsOperations + { + protected SubnetsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string virtualNetworkName, string subnetName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string virtualNetworkName, string subnetName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, string virtualNetworkName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string virtualNetworkName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.SubnetsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string virtualNetworkName, string subnetName, Azure.ResourceManager.Network.Models.Subnet subnetParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string virtualNetworkName, string subnetName, Azure.ResourceManager.Network.Models.Subnet subnetParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.SubnetsDeleteOperation StartDelete(string resourceGroupName, string virtualNetworkName, string subnetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string virtualNetworkName, string subnetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.SubnetsPrepareNetworkPoliciesOperation StartPrepareNetworkPolicies(string resourceGroupName, string virtualNetworkName, string subnetName, Azure.ResourceManager.Network.Models.PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartPrepareNetworkPoliciesAsync(string resourceGroupName, string virtualNetworkName, string subnetName, Azure.ResourceManager.Network.Models.PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.SubnetsUnprepareNetworkPoliciesOperation StartUnprepareNetworkPolicies(string resourceGroupName, string virtualNetworkName, string subnetName, Azure.ResourceManager.Network.Models.UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartUnprepareNetworkPoliciesAsync(string resourceGroupName, string virtualNetworkName, string subnetName, Azure.ResourceManager.Network.Models.UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class SubnetsPrepareNetworkPoliciesOperation : Azure.Operation { internal SubnetsPrepareNetworkPoliciesOperation() { } @@ -2860,15 +2860,41 @@ internal SubnetsUnprepareNetworkPoliciesOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class UsagesClient + public partial class UsagesOperations { - protected UsagesClient() { } + protected UsagesOperations() { } public virtual Azure.Pageable List(string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualHubRouteTableV2SClient + public partial class VirtualHubRouteTableV2SCreateOrUpdateOperation : Azure.Operation + { + internal VirtualHubRouteTableV2SCreateOrUpdateOperation() { } + public override bool HasCompleted { get { throw null; } } + public override bool HasValue { get { throw null; } } + public override string Id { get { throw null; } } + public override Azure.ResourceManager.Network.Models.VirtualHubRouteTableV2 Value { get { throw null; } } + public override Azure.Response GetRawResponse() { throw null; } + public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class VirtualHubRouteTableV2SDeleteOperation : Azure.Operation + { + internal VirtualHubRouteTableV2SDeleteOperation() { } + public override bool HasCompleted { get { throw null; } } + public override bool HasValue { get { throw null; } } + public override string Id { get { throw null; } } + public override Azure.Response Value { get { throw null; } } + public override Azure.Response GetRawResponse() { throw null; } + public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class VirtualHubRouteTableV2SOperations { - protected VirtualHubRouteTableV2SClient() { } + protected VirtualHubRouteTableV2SOperations() { } public virtual Azure.Response Get(string resourceGroupName, string virtualHubName, string routeTableName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string virtualHubName, string routeTableName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(string resourceGroupName, string virtualHubName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -2878,22 +2904,22 @@ protected VirtualHubRouteTableV2SClient() { } public virtual Azure.ResourceManager.Network.VirtualHubRouteTableV2SDeleteOperation StartDelete(string resourceGroupName, string virtualHubName, string routeTableName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string virtualHubName, string routeTableName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualHubRouteTableV2SCreateOrUpdateOperation : Azure.Operation + public partial class VirtualHubsCreateOrUpdateOperation : Azure.Operation { - internal VirtualHubRouteTableV2SCreateOrUpdateOperation() { } + internal VirtualHubsCreateOrUpdateOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } - public override Azure.ResourceManager.Network.Models.VirtualHubRouteTableV2 Value { get { throw null; } } + public override Azure.ResourceManager.Network.Models.VirtualHub Value { get { throw null; } } public override Azure.Response GetRawResponse() { throw null; } public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualHubRouteTableV2SDeleteOperation : Azure.Operation + public partial class VirtualHubsDeleteOperation : Azure.Operation { - internal VirtualHubRouteTableV2SDeleteOperation() { } + internal VirtualHubsDeleteOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } @@ -2904,9 +2930,9 @@ internal VirtualHubRouteTableV2SDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualHubsClient + public partial class VirtualHubsOperations { - protected VirtualHubsClient() { } + protected VirtualHubsOperations() { } public virtual Azure.Response Get(string resourceGroupName, string virtualHubName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string virtualHubName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -2920,22 +2946,22 @@ protected VirtualHubsClient() { } public virtual Azure.Response UpdateTags(string resourceGroupName, string virtualHubName, Azure.ResourceManager.Network.Models.TagsObject virtualHubParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string virtualHubName, Azure.ResourceManager.Network.Models.TagsObject virtualHubParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualHubsCreateOrUpdateOperation : Azure.Operation + public partial class VirtualNetworkGatewayConnectionsCreateOrUpdateOperation : Azure.Operation { - internal VirtualHubsCreateOrUpdateOperation() { } + internal VirtualNetworkGatewayConnectionsCreateOrUpdateOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } - public override Azure.ResourceManager.Network.Models.VirtualHub Value { get { throw null; } } + public override Azure.ResourceManager.Network.Models.VirtualNetworkGatewayConnection Value { get { throw null; } } public override Azure.Response GetRawResponse() { throw null; } public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualHubsDeleteOperation : Azure.Operation + public partial class VirtualNetworkGatewayConnectionsDeleteOperation : Azure.Operation { - internal VirtualHubsDeleteOperation() { } + internal VirtualNetworkGatewayConnectionsDeleteOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } @@ -2946,9 +2972,9 @@ internal VirtualHubsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualNetworkGatewayConnectionsClient + public partial class VirtualNetworkGatewayConnectionsOperations { - protected VirtualNetworkGatewayConnectionsClient() { } + protected VirtualNetworkGatewayConnectionsOperations() { } public virtual Azure.Response Get(string resourceGroupName, string virtualNetworkGatewayConnectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string virtualNetworkGatewayConnectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetSharedKey(string resourceGroupName, string virtualNetworkGatewayConnectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -2970,32 +2996,6 @@ protected VirtualNetworkGatewayConnectionsClient() { } public virtual Azure.ResourceManager.Network.VirtualNetworkGatewayConnectionsUpdateTagsOperation StartUpdateTags(string resourceGroupName, string virtualNetworkGatewayConnectionName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task StartUpdateTagsAsync(string resourceGroupName, string virtualNetworkGatewayConnectionName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualNetworkGatewayConnectionsCreateOrUpdateOperation : Azure.Operation - { - internal VirtualNetworkGatewayConnectionsCreateOrUpdateOperation() { } - public override bool HasCompleted { get { throw null; } } - public override bool HasValue { get { throw null; } } - public override string Id { get { throw null; } } - public override Azure.ResourceManager.Network.Models.VirtualNetworkGatewayConnection Value { get { throw null; } } - public override Azure.Response GetRawResponse() { throw null; } - public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } - public partial class VirtualNetworkGatewayConnectionsDeleteOperation : Azure.Operation - { - internal VirtualNetworkGatewayConnectionsDeleteOperation() { } - public override bool HasCompleted { get { throw null; } } - public override bool HasValue { get { throw null; } } - public override string Id { get { throw null; } } - public override Azure.Response Value { get { throw null; } } - public override Azure.Response GetRawResponse() { throw null; } - public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class VirtualNetworkGatewayConnectionsResetSharedKeyOperation : Azure.Operation { internal VirtualNetworkGatewayConnectionsResetSharedKeyOperation() { } @@ -3061,54 +3061,6 @@ internal VirtualNetworkGatewayConnectionsUpdateTagsOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualNetworkGatewaysClient - { - protected VirtualNetworkGatewaysClient() { } - public virtual Azure.Response Get(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListConnections(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListConnectionsAsync(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.VirtualNetworkGatewaysCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string virtualNetworkGatewayName, Azure.ResourceManager.Network.Models.VirtualNetworkGateway parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string virtualNetworkGatewayName, Azure.ResourceManager.Network.Models.VirtualNetworkGateway parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.VirtualNetworkGatewaysDeleteOperation StartDelete(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnectionsOperation StartDisconnectVirtualNetworkGatewayVpnConnections(string resourceGroupName, string virtualNetworkGatewayName, Azure.ResourceManager.Network.Models.P2SVpnConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDisconnectVirtualNetworkGatewayVpnConnectionsAsync(string resourceGroupName, string virtualNetworkGatewayName, Azure.ResourceManager.Network.Models.P2SVpnConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.VirtualNetworkGatewaysGeneratevpnclientpackageOperation StartGeneratevpnclientpackage(string resourceGroupName, string virtualNetworkGatewayName, Azure.ResourceManager.Network.Models.VpnClientParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartGeneratevpnclientpackageAsync(string resourceGroupName, string virtualNetworkGatewayName, Azure.ResourceManager.Network.Models.VpnClientParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.VirtualNetworkGatewaysGenerateVpnProfileOperation StartGenerateVpnProfile(string resourceGroupName, string virtualNetworkGatewayName, Azure.ResourceManager.Network.Models.VpnClientParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartGenerateVpnProfileAsync(string resourceGroupName, string virtualNetworkGatewayName, Azure.ResourceManager.Network.Models.VpnClientParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.VirtualNetworkGatewaysGetAdvertisedRoutesOperation StartGetAdvertisedRoutes(string resourceGroupName, string virtualNetworkGatewayName, string peer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartGetAdvertisedRoutesAsync(string resourceGroupName, string virtualNetworkGatewayName, string peer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.VirtualNetworkGatewaysGetBgpPeerStatusOperation StartGetBgpPeerStatus(string resourceGroupName, string virtualNetworkGatewayName, string peer = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartGetBgpPeerStatusAsync(string resourceGroupName, string virtualNetworkGatewayName, string peer = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.VirtualNetworkGatewaysGetLearnedRoutesOperation StartGetLearnedRoutes(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartGetLearnedRoutesAsync(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.VirtualNetworkGatewaysGetVpnclientConnectionHealthOperation StartGetVpnclientConnectionHealth(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartGetVpnclientConnectionHealthAsync(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.VirtualNetworkGatewaysGetVpnclientIpsecParametersOperation StartGetVpnclientIpsecParameters(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartGetVpnclientIpsecParametersAsync(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.VirtualNetworkGatewaysGetVpnProfilePackageUrlOperation StartGetVpnProfilePackageUrl(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartGetVpnProfilePackageUrlAsync(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.VirtualNetworkGatewaysResetOperation StartReset(string resourceGroupName, string virtualNetworkGatewayName, string gatewayVip = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartResetAsync(string resourceGroupName, string virtualNetworkGatewayName, string gatewayVip = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.VirtualNetworkGatewaysResetVpnClientSharedKeyOperation StartResetVpnClientSharedKey(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartResetVpnClientSharedKeyAsync(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.VirtualNetworkGatewaysSetVpnclientIpsecParametersOperation StartSetVpnclientIpsecParameters(string resourceGroupName, string virtualNetworkGatewayName, Azure.ResourceManager.Network.Models.VpnClientIPsecParameters vpnclientIpsecParams, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartSetVpnclientIpsecParametersAsync(string resourceGroupName, string virtualNetworkGatewayName, Azure.ResourceManager.Network.Models.VpnClientIPsecParameters vpnclientIpsecParams, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.VirtualNetworkGatewaysStartPacketCaptureOperation StartStartPacketCapture(string resourceGroupName, string virtualNetworkGatewayName, Azure.ResourceManager.Network.Models.VpnPacketCaptureStartParameters parameters = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartStartPacketCaptureAsync(string resourceGroupName, string virtualNetworkGatewayName, Azure.ResourceManager.Network.Models.VpnPacketCaptureStartParameters parameters = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.VirtualNetworkGatewaysStopPacketCaptureOperation StartStopPacketCapture(string resourceGroupName, string virtualNetworkGatewayName, Azure.ResourceManager.Network.Models.VpnPacketCaptureStopParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartStopPacketCaptureAsync(string resourceGroupName, string virtualNetworkGatewayName, Azure.ResourceManager.Network.Models.VpnPacketCaptureStopParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.VirtualNetworkGatewaysUpdateTagsOperation StartUpdateTags(string resourceGroupName, string virtualNetworkGatewayName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartUpdateTagsAsync(string resourceGroupName, string virtualNetworkGatewayName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response SupportedVpnDevices(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> SupportedVpnDevicesAsync(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response VpnDeviceConfigurationScript(string resourceGroupName, string virtualNetworkGatewayConnectionName, Azure.ResourceManager.Network.Models.VpnDeviceScriptParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> VpnDeviceConfigurationScriptAsync(string resourceGroupName, string virtualNetworkGatewayConnectionName, Azure.ResourceManager.Network.Models.VpnDeviceScriptParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class VirtualNetworkGatewaysCreateOrUpdateOperation : Azure.Operation { internal VirtualNetworkGatewaysCreateOrUpdateOperation() { } @@ -3252,6 +3204,54 @@ internal VirtualNetworkGatewaysGetVpnProfilePackageUrlOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class VirtualNetworkGatewaysOperations + { + protected VirtualNetworkGatewaysOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListConnections(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListConnectionsAsync(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.VirtualNetworkGatewaysCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string virtualNetworkGatewayName, Azure.ResourceManager.Network.Models.VirtualNetworkGateway parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string virtualNetworkGatewayName, Azure.ResourceManager.Network.Models.VirtualNetworkGateway parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.VirtualNetworkGatewaysDeleteOperation StartDelete(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnectionsOperation StartDisconnectVirtualNetworkGatewayVpnConnections(string resourceGroupName, string virtualNetworkGatewayName, Azure.ResourceManager.Network.Models.P2SVpnConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDisconnectVirtualNetworkGatewayVpnConnectionsAsync(string resourceGroupName, string virtualNetworkGatewayName, Azure.ResourceManager.Network.Models.P2SVpnConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.VirtualNetworkGatewaysGeneratevpnclientpackageOperation StartGeneratevpnclientpackage(string resourceGroupName, string virtualNetworkGatewayName, Azure.ResourceManager.Network.Models.VpnClientParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartGeneratevpnclientpackageAsync(string resourceGroupName, string virtualNetworkGatewayName, Azure.ResourceManager.Network.Models.VpnClientParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.VirtualNetworkGatewaysGenerateVpnProfileOperation StartGenerateVpnProfile(string resourceGroupName, string virtualNetworkGatewayName, Azure.ResourceManager.Network.Models.VpnClientParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartGenerateVpnProfileAsync(string resourceGroupName, string virtualNetworkGatewayName, Azure.ResourceManager.Network.Models.VpnClientParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.VirtualNetworkGatewaysGetAdvertisedRoutesOperation StartGetAdvertisedRoutes(string resourceGroupName, string virtualNetworkGatewayName, string peer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartGetAdvertisedRoutesAsync(string resourceGroupName, string virtualNetworkGatewayName, string peer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.VirtualNetworkGatewaysGetBgpPeerStatusOperation StartGetBgpPeerStatus(string resourceGroupName, string virtualNetworkGatewayName, string peer = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartGetBgpPeerStatusAsync(string resourceGroupName, string virtualNetworkGatewayName, string peer = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.VirtualNetworkGatewaysGetLearnedRoutesOperation StartGetLearnedRoutes(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartGetLearnedRoutesAsync(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.VirtualNetworkGatewaysGetVpnclientConnectionHealthOperation StartGetVpnclientConnectionHealth(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartGetVpnclientConnectionHealthAsync(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.VirtualNetworkGatewaysGetVpnclientIpsecParametersOperation StartGetVpnclientIpsecParameters(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartGetVpnclientIpsecParametersAsync(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.VirtualNetworkGatewaysGetVpnProfilePackageUrlOperation StartGetVpnProfilePackageUrl(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartGetVpnProfilePackageUrlAsync(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.VirtualNetworkGatewaysResetOperation StartReset(string resourceGroupName, string virtualNetworkGatewayName, string gatewayVip = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartResetAsync(string resourceGroupName, string virtualNetworkGatewayName, string gatewayVip = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.VirtualNetworkGatewaysResetVpnClientSharedKeyOperation StartResetVpnClientSharedKey(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartResetVpnClientSharedKeyAsync(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.VirtualNetworkGatewaysSetVpnclientIpsecParametersOperation StartSetVpnclientIpsecParameters(string resourceGroupName, string virtualNetworkGatewayName, Azure.ResourceManager.Network.Models.VpnClientIPsecParameters vpnclientIpsecParams, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartSetVpnclientIpsecParametersAsync(string resourceGroupName, string virtualNetworkGatewayName, Azure.ResourceManager.Network.Models.VpnClientIPsecParameters vpnclientIpsecParams, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.VirtualNetworkGatewaysStartPacketCaptureOperation StartStartPacketCapture(string resourceGroupName, string virtualNetworkGatewayName, Azure.ResourceManager.Network.Models.VpnPacketCaptureStartParameters parameters = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartStartPacketCaptureAsync(string resourceGroupName, string virtualNetworkGatewayName, Azure.ResourceManager.Network.Models.VpnPacketCaptureStartParameters parameters = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.VirtualNetworkGatewaysStopPacketCaptureOperation StartStopPacketCapture(string resourceGroupName, string virtualNetworkGatewayName, Azure.ResourceManager.Network.Models.VpnPacketCaptureStopParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartStopPacketCaptureAsync(string resourceGroupName, string virtualNetworkGatewayName, Azure.ResourceManager.Network.Models.VpnPacketCaptureStopParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.VirtualNetworkGatewaysUpdateTagsOperation StartUpdateTags(string resourceGroupName, string virtualNetworkGatewayName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartUpdateTagsAsync(string resourceGroupName, string virtualNetworkGatewayName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response SupportedVpnDevices(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> SupportedVpnDevicesAsync(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response VpnDeviceConfigurationScript(string resourceGroupName, string virtualNetworkGatewayConnectionName, Azure.ResourceManager.Network.Models.VpnDeviceScriptParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> VpnDeviceConfigurationScriptAsync(string resourceGroupName, string virtualNetworkGatewayConnectionName, Azure.ResourceManager.Network.Models.VpnDeviceScriptParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class VirtualNetworkGatewaysResetOperation : Azure.Operation { internal VirtualNetworkGatewaysResetOperation() { } @@ -3330,9 +3330,35 @@ internal VirtualNetworkGatewaysUpdateTagsOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualNetworkPeeringsClient + public partial class VirtualNetworkPeeringsCreateOrUpdateOperation : Azure.Operation + { + internal VirtualNetworkPeeringsCreateOrUpdateOperation() { } + public override bool HasCompleted { get { throw null; } } + public override bool HasValue { get { throw null; } } + public override string Id { get { throw null; } } + public override Azure.ResourceManager.Network.Models.VirtualNetworkPeering Value { get { throw null; } } + public override Azure.Response GetRawResponse() { throw null; } + public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class VirtualNetworkPeeringsDeleteOperation : Azure.Operation + { + internal VirtualNetworkPeeringsDeleteOperation() { } + public override bool HasCompleted { get { throw null; } } + public override bool HasValue { get { throw null; } } + public override string Id { get { throw null; } } + public override Azure.Response Value { get { throw null; } } + public override Azure.Response GetRawResponse() { throw null; } + public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class VirtualNetworkPeeringsOperations { - protected VirtualNetworkPeeringsClient() { } + protected VirtualNetworkPeeringsOperations() { } public virtual Azure.Response Get(string resourceGroupName, string virtualNetworkName, string virtualNetworkPeeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string virtualNetworkName, string virtualNetworkPeeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(string resourceGroupName, string virtualNetworkName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -3342,22 +3368,22 @@ protected VirtualNetworkPeeringsClient() { } public virtual Azure.ResourceManager.Network.VirtualNetworkPeeringsDeleteOperation StartDelete(string resourceGroupName, string virtualNetworkName, string virtualNetworkPeeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string virtualNetworkName, string virtualNetworkPeeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualNetworkPeeringsCreateOrUpdateOperation : Azure.Operation + public partial class VirtualNetworksCreateOrUpdateOperation : Azure.Operation { - internal VirtualNetworkPeeringsCreateOrUpdateOperation() { } + internal VirtualNetworksCreateOrUpdateOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } - public override Azure.ResourceManager.Network.Models.VirtualNetworkPeering Value { get { throw null; } } + public override Azure.ResourceManager.Network.Models.VirtualNetwork Value { get { throw null; } } public override Azure.Response GetRawResponse() { throw null; } public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualNetworkPeeringsDeleteOperation : Azure.Operation + public partial class VirtualNetworksDeleteOperation : Azure.Operation { - internal VirtualNetworkPeeringsDeleteOperation() { } + internal VirtualNetworksDeleteOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } @@ -3368,9 +3394,9 @@ internal VirtualNetworkPeeringsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualNetworksClient + public partial class VirtualNetworksOperations { - protected VirtualNetworksClient() { } + protected VirtualNetworksOperations() { } public virtual Azure.Response CheckIPAddressAvailability(string resourceGroupName, string virtualNetworkName, string ipAddress, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CheckIPAddressAvailabilityAsync(string resourceGroupName, string virtualNetworkName, string ipAddress, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Get(string resourceGroupName, string virtualNetworkName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -3388,22 +3414,22 @@ protected VirtualNetworksClient() { } public virtual Azure.Response UpdateTags(string resourceGroupName, string virtualNetworkName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string virtualNetworkName, Azure.ResourceManager.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualNetworksCreateOrUpdateOperation : Azure.Operation + public partial class VirtualNetworkTapsCreateOrUpdateOperation : Azure.Operation { - internal VirtualNetworksCreateOrUpdateOperation() { } + internal VirtualNetworkTapsCreateOrUpdateOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } - public override Azure.ResourceManager.Network.Models.VirtualNetwork Value { get { throw null; } } + public override Azure.ResourceManager.Network.Models.VirtualNetworkTap Value { get { throw null; } } public override Azure.Response GetRawResponse() { throw null; } public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualNetworksDeleteOperation : Azure.Operation + public partial class VirtualNetworkTapsDeleteOperation : Azure.Operation { - internal VirtualNetworksDeleteOperation() { } + internal VirtualNetworkTapsDeleteOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } @@ -3414,9 +3440,9 @@ internal VirtualNetworksDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualNetworkTapsClient + public partial class VirtualNetworkTapsOperations { - protected VirtualNetworkTapsClient() { } + protected VirtualNetworkTapsOperations() { } public virtual Azure.Response Get(string resourceGroupName, string tapName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string tapName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable ListAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -3430,22 +3456,22 @@ protected VirtualNetworkTapsClient() { } public virtual Azure.Response UpdateTags(string resourceGroupName, string tapName, Azure.ResourceManager.Network.Models.TagsObject tapParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string tapName, Azure.ResourceManager.Network.Models.TagsObject tapParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualNetworkTapsCreateOrUpdateOperation : Azure.Operation + public partial class VirtualRouterPeeringsCreateOrUpdateOperation : Azure.Operation { - internal VirtualNetworkTapsCreateOrUpdateOperation() { } + internal VirtualRouterPeeringsCreateOrUpdateOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } - public override Azure.ResourceManager.Network.Models.VirtualNetworkTap Value { get { throw null; } } + public override Azure.ResourceManager.Network.Models.VirtualRouterPeering Value { get { throw null; } } public override Azure.Response GetRawResponse() { throw null; } public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualNetworkTapsDeleteOperation : Azure.Operation + public partial class VirtualRouterPeeringsDeleteOperation : Azure.Operation { - internal VirtualNetworkTapsDeleteOperation() { } + internal VirtualRouterPeeringsDeleteOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } @@ -3456,9 +3482,9 @@ internal VirtualNetworkTapsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualRouterPeeringsClient + public partial class VirtualRouterPeeringsOperations { - protected VirtualRouterPeeringsClient() { } + protected VirtualRouterPeeringsOperations() { } public virtual Azure.Response Get(string resourceGroupName, string virtualRouterName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string virtualRouterName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(string resourceGroupName, string virtualRouterName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -3468,22 +3494,22 @@ protected VirtualRouterPeeringsClient() { } public virtual Azure.ResourceManager.Network.VirtualRouterPeeringsDeleteOperation StartDelete(string resourceGroupName, string virtualRouterName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string virtualRouterName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualRouterPeeringsCreateOrUpdateOperation : Azure.Operation + public partial class VirtualRoutersCreateOrUpdateOperation : Azure.Operation { - internal VirtualRouterPeeringsCreateOrUpdateOperation() { } + internal VirtualRoutersCreateOrUpdateOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } - public override Azure.ResourceManager.Network.Models.VirtualRouterPeering Value { get { throw null; } } + public override Azure.ResourceManager.Network.Models.VirtualRouter Value { get { throw null; } } public override Azure.Response GetRawResponse() { throw null; } public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualRouterPeeringsDeleteOperation : Azure.Operation + public partial class VirtualRoutersDeleteOperation : Azure.Operation { - internal VirtualRouterPeeringsDeleteOperation() { } + internal VirtualRoutersDeleteOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } @@ -3494,9 +3520,9 @@ internal VirtualRouterPeeringsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualRoutersClient + public partial class VirtualRoutersOperations { - protected VirtualRoutersClient() { } + protected VirtualRoutersOperations() { } public virtual Azure.Response Get(string resourceGroupName, string virtualRouterName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string virtualRouterName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -3508,22 +3534,22 @@ protected VirtualRoutersClient() { } public virtual Azure.ResourceManager.Network.VirtualRoutersDeleteOperation StartDelete(string resourceGroupName, string virtualRouterName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string virtualRouterName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualRoutersCreateOrUpdateOperation : Azure.Operation + public partial class VirtualWansCreateOrUpdateOperation : Azure.Operation { - internal VirtualRoutersCreateOrUpdateOperation() { } + internal VirtualWansCreateOrUpdateOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } - public override Azure.ResourceManager.Network.Models.VirtualRouter Value { get { throw null; } } + public override Azure.ResourceManager.Network.Models.VirtualWAN Value { get { throw null; } } public override Azure.Response GetRawResponse() { throw null; } public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualRoutersDeleteOperation : Azure.Operation + public partial class VirtualWansDeleteOperation : Azure.Operation { - internal VirtualRoutersDeleteOperation() { } + internal VirtualWansDeleteOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } @@ -3534,9 +3560,9 @@ internal VirtualRoutersDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualWansClient + public partial class VirtualWansOperations { - protected VirtualWansClient() { } + protected VirtualWansOperations() { } public virtual Azure.Response Get(string resourceGroupName, string virtualWANName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string virtualWANName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -3550,22 +3576,22 @@ protected VirtualWansClient() { } public virtual Azure.Response UpdateTags(string resourceGroupName, string virtualWANName, Azure.ResourceManager.Network.Models.TagsObject wANParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string virtualWANName, Azure.ResourceManager.Network.Models.TagsObject wANParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualWansCreateOrUpdateOperation : Azure.Operation + public partial class VpnConnectionsCreateOrUpdateOperation : Azure.Operation { - internal VirtualWansCreateOrUpdateOperation() { } + internal VpnConnectionsCreateOrUpdateOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } - public override Azure.ResourceManager.Network.Models.VirtualWAN Value { get { throw null; } } + public override Azure.ResourceManager.Network.Models.VpnConnection Value { get { throw null; } } public override Azure.Response GetRawResponse() { throw null; } public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualWansDeleteOperation : Azure.Operation + public partial class VpnConnectionsDeleteOperation : Azure.Operation { - internal VirtualWansDeleteOperation() { } + internal VpnConnectionsDeleteOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } @@ -3576,9 +3602,9 @@ internal VirtualWansDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VpnConnectionsClient + public partial class VpnConnectionsOperations { - protected VpnConnectionsClient() { } + protected VpnConnectionsOperations() { } public virtual Azure.Response Get(string resourceGroupName, string gatewayName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string gatewayName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable ListByVpnGateway(string resourceGroupName, string gatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -3588,22 +3614,22 @@ protected VpnConnectionsClient() { } public virtual Azure.ResourceManager.Network.VpnConnectionsDeleteOperation StartDelete(string resourceGroupName, string gatewayName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string gatewayName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VpnConnectionsCreateOrUpdateOperation : Azure.Operation + public partial class VpnGatewaysCreateOrUpdateOperation : Azure.Operation { - internal VpnConnectionsCreateOrUpdateOperation() { } + internal VpnGatewaysCreateOrUpdateOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } - public override Azure.ResourceManager.Network.Models.VpnConnection Value { get { throw null; } } + public override Azure.ResourceManager.Network.Models.VpnGateway Value { get { throw null; } } public override Azure.Response GetRawResponse() { throw null; } public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VpnConnectionsDeleteOperation : Azure.Operation + public partial class VpnGatewaysDeleteOperation : Azure.Operation { - internal VpnConnectionsDeleteOperation() { } + internal VpnGatewaysDeleteOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } @@ -3614,9 +3640,9 @@ internal VpnConnectionsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VpnGatewaysClient + public partial class VpnGatewaysOperations { - protected VpnGatewaysClient() { } + protected VpnGatewaysOperations() { } public virtual Azure.Response Get(string resourceGroupName, string gatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string gatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -3632,32 +3658,6 @@ protected VpnGatewaysClient() { } public virtual Azure.Response UpdateTags(string resourceGroupName, string gatewayName, Azure.ResourceManager.Network.Models.TagsObject vpnGatewayParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string gatewayName, Azure.ResourceManager.Network.Models.TagsObject vpnGatewayParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VpnGatewaysCreateOrUpdateOperation : Azure.Operation - { - internal VpnGatewaysCreateOrUpdateOperation() { } - public override bool HasCompleted { get { throw null; } } - public override bool HasValue { get { throw null; } } - public override string Id { get { throw null; } } - public override Azure.ResourceManager.Network.Models.VpnGateway Value { get { throw null; } } - public override Azure.Response GetRawResponse() { throw null; } - public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } - public partial class VpnGatewaysDeleteOperation : Azure.Operation - { - internal VpnGatewaysDeleteOperation() { } - public override bool HasCompleted { get { throw null; } } - public override bool HasValue { get { throw null; } } - public override string Id { get { throw null; } } - public override Azure.Response Value { get { throw null; } } - public override Azure.Response GetRawResponse() { throw null; } - public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class VpnGatewaysResetOperation : Azure.Operation { internal VpnGatewaysResetOperation() { } @@ -3671,18 +3671,12 @@ internal VpnGatewaysResetOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VpnLinkConnectionsClient + public partial class VpnLinkConnectionsOperations { - protected VpnLinkConnectionsClient() { } + protected VpnLinkConnectionsOperations() { } public virtual Azure.Pageable ListByVpnConnection(string resourceGroupName, string gatewayName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListByVpnConnectionAsync(string resourceGroupName, string gatewayName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VpnServerConfigurationsAssociatedWithVirtualWanClient - { - protected VpnServerConfigurationsAssociatedWithVirtualWanClient() { } - public virtual Azure.ResourceManager.Network.VpnServerConfigurationsAssociatedWithVirtualWanListOperation StartList(string resourceGroupName, string virtualWANName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartListAsync(string resourceGroupName, string virtualWANName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class VpnServerConfigurationsAssociatedWithVirtualWanListOperation : Azure.Operation { internal VpnServerConfigurationsAssociatedWithVirtualWanListOperation() { } @@ -3696,21 +3690,11 @@ internal VpnServerConfigurationsAssociatedWithVirtualWanListOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VpnServerConfigurationsClient + public partial class VpnServerConfigurationsAssociatedWithVirtualWanOperations { - protected VpnServerConfigurationsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string vpnServerConfigurationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string vpnServerConfigurationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.VpnServerConfigurationsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string vpnServerConfigurationName, Azure.ResourceManager.Network.Models.VpnServerConfiguration vpnServerConfigurationParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string vpnServerConfigurationName, Azure.ResourceManager.Network.Models.VpnServerConfiguration vpnServerConfigurationParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.VpnServerConfigurationsDeleteOperation StartDelete(string resourceGroupName, string vpnServerConfigurationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string vpnServerConfigurationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response UpdateTags(string resourceGroupName, string vpnServerConfigurationName, Azure.ResourceManager.Network.Models.TagsObject vpnServerConfigurationParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string vpnServerConfigurationName, Azure.ResourceManager.Network.Models.TagsObject vpnServerConfigurationParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected VpnServerConfigurationsAssociatedWithVirtualWanOperations() { } + public virtual Azure.ResourceManager.Network.VpnServerConfigurationsAssociatedWithVirtualWanListOperation StartList(string resourceGroupName, string virtualWANName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartListAsync(string resourceGroupName, string virtualWANName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class VpnServerConfigurationsCreateOrUpdateOperation : Azure.Operation { @@ -3738,42 +3722,36 @@ internal VpnServerConfigurationsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VpnSiteLinkConnectionsClient + public partial class VpnServerConfigurationsOperations + { + protected VpnServerConfigurationsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string vpnServerConfigurationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string vpnServerConfigurationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.VpnServerConfigurationsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string vpnServerConfigurationName, Azure.ResourceManager.Network.Models.VpnServerConfiguration vpnServerConfigurationParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string vpnServerConfigurationName, Azure.ResourceManager.Network.Models.VpnServerConfiguration vpnServerConfigurationParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.VpnServerConfigurationsDeleteOperation StartDelete(string resourceGroupName, string vpnServerConfigurationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string vpnServerConfigurationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response UpdateTags(string resourceGroupName, string vpnServerConfigurationName, Azure.ResourceManager.Network.Models.TagsObject vpnServerConfigurationParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string vpnServerConfigurationName, Azure.ResourceManager.Network.Models.TagsObject vpnServerConfigurationParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class VpnSiteLinkConnectionsOperations { - protected VpnSiteLinkConnectionsClient() { } + protected VpnSiteLinkConnectionsOperations() { } public virtual Azure.Response Get(string resourceGroupName, string gatewayName, string connectionName, string linkConnectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string gatewayName, string connectionName, string linkConnectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VpnSiteLinksClient + public partial class VpnSiteLinksOperations { - protected VpnSiteLinksClient() { } + protected VpnSiteLinksOperations() { } public virtual Azure.Response Get(string resourceGroupName, string vpnSiteName, string vpnSiteLinkName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string vpnSiteName, string vpnSiteLinkName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable ListByVpnSite(string resourceGroupName, string vpnSiteName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListByVpnSiteAsync(string resourceGroupName, string vpnSiteName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VpnSitesClient - { - protected VpnSitesClient() { } - public virtual Azure.Response Get(string resourceGroupName, string vpnSiteName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string vpnSiteName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.VpnSitesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string vpnSiteName, Azure.ResourceManager.Network.Models.VpnSite vpnSiteParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string vpnSiteName, Azure.ResourceManager.Network.Models.VpnSite vpnSiteParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.VpnSitesDeleteOperation StartDelete(string resourceGroupName, string vpnSiteName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string vpnSiteName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response UpdateTags(string resourceGroupName, string vpnSiteName, Azure.ResourceManager.Network.Models.TagsObject vpnSiteParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string vpnSiteName, Azure.ResourceManager.Network.Models.TagsObject vpnSiteParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } - public partial class VpnSitesConfigurationClient - { - protected VpnSitesConfigurationClient() { } - public virtual Azure.ResourceManager.Network.VpnSitesConfigurationDownloadOperation StartDownload(string resourceGroupName, string virtualWANName, Azure.ResourceManager.Network.Models.GetVpnSitesConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDownloadAsync(string resourceGroupName, string virtualWANName, Azure.ResourceManager.Network.Models.GetVpnSitesConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class VpnSitesConfigurationDownloadOperation : Azure.Operation { internal VpnSitesConfigurationDownloadOperation() { } @@ -3787,6 +3765,12 @@ internal VpnSitesConfigurationDownloadOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class VpnSitesConfigurationOperations + { + protected VpnSitesConfigurationOperations() { } + public virtual Azure.ResourceManager.Network.VpnSitesConfigurationDownloadOperation StartDownload(string resourceGroupName, string virtualWANName, Azure.ResourceManager.Network.Models.GetVpnSitesConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDownloadAsync(string resourceGroupName, string virtualWANName, Azure.ResourceManager.Network.Models.GetVpnSitesConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class VpnSitesCreateOrUpdateOperation : Azure.Operation { internal VpnSitesCreateOrUpdateOperation() { } @@ -3813,19 +3797,21 @@ internal VpnSitesDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class WebApplicationFirewallPoliciesClient + public partial class VpnSitesOperations { - protected WebApplicationFirewallPoliciesClient() { } - public virtual Azure.Response CreateOrUpdate(string resourceGroupName, string policyName, Azure.ResourceManager.Network.Models.WebApplicationFirewallPolicy parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(string resourceGroupName, string policyName, Azure.ResourceManager.Network.Models.WebApplicationFirewallPolicy parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Get(string resourceGroupName, string policyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string policyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Network.WebApplicationFirewallPoliciesDeleteOperation StartDelete(string resourceGroupName, string policyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string policyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected VpnSitesOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string vpnSiteName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string vpnSiteName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.VpnSitesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string vpnSiteName, Azure.ResourceManager.Network.Models.VpnSite vpnSiteParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string vpnSiteName, Azure.ResourceManager.Network.Models.VpnSite vpnSiteParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.VpnSitesDeleteOperation StartDelete(string resourceGroupName, string vpnSiteName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string vpnSiteName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response UpdateTags(string resourceGroupName, string vpnSiteName, Azure.ResourceManager.Network.Models.TagsObject vpnSiteParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string vpnSiteName, Azure.ResourceManager.Network.Models.TagsObject vpnSiteParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class WebApplicationFirewallPoliciesDeleteOperation : Azure.Operation { @@ -3840,6 +3826,20 @@ internal WebApplicationFirewallPoliciesDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class WebApplicationFirewallPoliciesOperations + { + protected WebApplicationFirewallPoliciesOperations() { } + public virtual Azure.Response CreateOrUpdate(string resourceGroupName, string policyName, Azure.ResourceManager.Network.Models.WebApplicationFirewallPolicy parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(string resourceGroupName, string policyName, Azure.ResourceManager.Network.Models.WebApplicationFirewallPolicy parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Get(string resourceGroupName, string policyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string policyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Network.WebApplicationFirewallPoliciesDeleteOperation StartDelete(string resourceGroupName, string policyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string policyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } } namespace Azure.ResourceManager.Network.Models { diff --git a/sdk/resources/Azure.ResourceManager.Resources/api/Azure.ResourceManager.Resources.netstandard2.0.cs b/sdk/resources/Azure.ResourceManager.Resources/api/Azure.ResourceManager.Resources.netstandard2.0.cs index 4663a73fde9d5..f3d5c4efc4f86 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/api/Azure.ResourceManager.Resources.netstandard2.0.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/api/Azure.ResourceManager.Resources.netstandard2.0.cs @@ -1,23 +1,5 @@ namespace Azure.ResourceManager.Resources { - public partial class ApplicationDefinitionsClient - { - protected ApplicationDefinitionsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string applicationDefinitionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string applicationDefinitionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response GetById(string applicationDefinitionId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetByIdAsync(string applicationDefinitionId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Resources.ApplicationDefinitionsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string applicationDefinitionName, Azure.ResourceManager.Resources.Models.ApplicationDefinition parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string applicationDefinitionName, Azure.ResourceManager.Resources.Models.ApplicationDefinition parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Resources.ApplicationDefinitionsCreateOrUpdateByIdOperation StartCreateOrUpdateById(string applicationDefinitionId, Azure.ResourceManager.Resources.Models.ApplicationDefinition parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateByIdAsync(string applicationDefinitionId, Azure.ResourceManager.Resources.Models.ApplicationDefinition parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Resources.ApplicationDefinitionsDeleteOperation StartDelete(string resourceGroupName, string applicationDefinitionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string applicationDefinitionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Resources.ApplicationDefinitionsDeleteByIdOperation StartDeleteById(string applicationDefinitionId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteByIdAsync(string applicationDefinitionId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class ApplicationDefinitionsCreateOrUpdateByIdOperation : Azure.Operation { internal ApplicationDefinitionsCreateOrUpdateByIdOperation() { } @@ -70,29 +52,23 @@ internal ApplicationDefinitionsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ApplicationsClient + public partial class ApplicationDefinitionsOperations { - protected ApplicationsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string applicationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string applicationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response GetById(string applicationId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetByIdAsync(string applicationId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListBySubscription(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListBySubscriptionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Resources.ApplicationsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string applicationName, Azure.ResourceManager.Resources.Models.Application parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string applicationName, Azure.ResourceManager.Resources.Models.Application parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Resources.ApplicationsCreateOrUpdateByIdOperation StartCreateOrUpdateById(string applicationId, Azure.ResourceManager.Resources.Models.Application parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateByIdAsync(string applicationId, Azure.ResourceManager.Resources.Models.Application parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Resources.ApplicationsDeleteOperation StartDelete(string resourceGroupName, string applicationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string applicationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Resources.ApplicationsDeleteByIdOperation StartDeleteById(string applicationId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteByIdAsync(string applicationId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Update(string resourceGroupName, string applicationName, Azure.ResourceManager.Resources.Models.Application parameters = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateAsync(string resourceGroupName, string applicationName, Azure.ResourceManager.Resources.Models.Application parameters = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response UpdateById(string applicationId, Azure.ResourceManager.Resources.Models.Application parameters = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateByIdAsync(string applicationId, Azure.ResourceManager.Resources.Models.Application parameters = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected ApplicationDefinitionsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string applicationDefinitionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string applicationDefinitionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetById(string applicationDefinitionId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetByIdAsync(string applicationDefinitionId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Resources.ApplicationDefinitionsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string applicationDefinitionName, Azure.ResourceManager.Resources.Models.ApplicationDefinition parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string applicationDefinitionName, Azure.ResourceManager.Resources.Models.ApplicationDefinition parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Resources.ApplicationDefinitionsCreateOrUpdateByIdOperation StartCreateOrUpdateById(string applicationDefinitionId, Azure.ResourceManager.Resources.Models.ApplicationDefinition parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateByIdAsync(string applicationDefinitionId, Azure.ResourceManager.Resources.Models.ApplicationDefinition parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Resources.ApplicationDefinitionsDeleteOperation StartDelete(string resourceGroupName, string applicationDefinitionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string applicationDefinitionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Resources.ApplicationDefinitionsDeleteByIdOperation StartDeleteById(string applicationDefinitionId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteByIdAsync(string applicationDefinitionId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class ApplicationsCreateOrUpdateByIdOperation : Azure.Operation { @@ -146,15 +122,39 @@ internal ApplicationsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class AuthorizationClient + public partial class ApplicationsOperations + { + protected ApplicationsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string applicationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string applicationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetById(string applicationId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetByIdAsync(string applicationId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListBySubscription(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListBySubscriptionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Resources.ApplicationsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string applicationName, Azure.ResourceManager.Resources.Models.Application parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string applicationName, Azure.ResourceManager.Resources.Models.Application parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Resources.ApplicationsCreateOrUpdateByIdOperation StartCreateOrUpdateById(string applicationId, Azure.ResourceManager.Resources.Models.Application parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateByIdAsync(string applicationId, Azure.ResourceManager.Resources.Models.Application parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Resources.ApplicationsDeleteOperation StartDelete(string resourceGroupName, string applicationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string applicationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Resources.ApplicationsDeleteByIdOperation StartDeleteById(string applicationId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteByIdAsync(string applicationId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Update(string resourceGroupName, string applicationName, Azure.ResourceManager.Resources.Models.Application parameters = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateAsync(string resourceGroupName, string applicationName, Azure.ResourceManager.Resources.Models.Application parameters = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response UpdateById(string applicationId, Azure.ResourceManager.Resources.Models.Application parameters = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateByIdAsync(string applicationId, Azure.ResourceManager.Resources.Models.Application parameters = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class AuthorizationOperations { - protected AuthorizationClient() { } + protected AuthorizationOperations() { } public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class DeploymentClient + public partial class DeploymentOperations { - protected DeploymentClient() { } + protected DeploymentOperations() { } public virtual Azure.Response Get(string resourceGroupName, string deploymentName, string operationId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string deploymentName, string operationId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetAtManagementGroupScope(string groupId, string deploymentName, string operationId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -176,96 +176,6 @@ protected DeploymentClient() { } public virtual Azure.Pageable ListAtTenantScope(string deploymentName, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAtTenantScopeAsync(string deploymentName, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class DeploymentsClient - { - protected DeploymentsClient() { } - public virtual Azure.Response CalculateTemplateHash(object template, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> CalculateTemplateHashAsync(object template, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Cancel(string resourceGroupName, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task CancelAsync(string resourceGroupName, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response CancelAtManagementGroupScope(string groupId, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task CancelAtManagementGroupScopeAsync(string groupId, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response CancelAtScope(string scope, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task CancelAtScopeAsync(string scope, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response CancelAtSubscriptionScope(string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task CancelAtSubscriptionScopeAsync(string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response CancelAtTenantScope(string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task CancelAtTenantScopeAsync(string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response CheckExistence(string resourceGroupName, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task CheckExistenceAsync(string resourceGroupName, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response CheckExistenceAtManagementGroupScope(string groupId, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task CheckExistenceAtManagementGroupScopeAsync(string groupId, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response CheckExistenceAtScope(string scope, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task CheckExistenceAtScopeAsync(string scope, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response CheckExistenceAtSubscriptionScope(string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task CheckExistenceAtSubscriptionScopeAsync(string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response CheckExistenceAtTenantScope(string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task CheckExistenceAtTenantScopeAsync(string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response ExportTemplate(string resourceGroupName, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> ExportTemplateAsync(string resourceGroupName, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response ExportTemplateAtManagementGroupScope(string groupId, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> ExportTemplateAtManagementGroupScopeAsync(string groupId, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response ExportTemplateAtScope(string scope, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> ExportTemplateAtScopeAsync(string scope, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response ExportTemplateAtSubscriptionScope(string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> ExportTemplateAtSubscriptionScopeAsync(string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response ExportTemplateAtTenantScope(string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> ExportTemplateAtTenantScopeAsync(string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Get(string resourceGroupName, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response GetAtManagementGroupScope(string groupId, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAtManagementGroupScopeAsync(string groupId, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response GetAtScope(string scope, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAtScopeAsync(string scope, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response GetAtSubscriptionScope(string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAtSubscriptionScopeAsync(string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response GetAtTenantScope(string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAtTenantScopeAsync(string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListAtManagementGroupScope(string groupId, string filter = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAtManagementGroupScopeAsync(string groupId, string filter = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListAtScope(string scope, string filter = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAtScopeAsync(string scope, string filter = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListAtSubscriptionScope(string filter = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAtSubscriptionScopeAsync(string filter = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListAtTenantScope(string filter = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAtTenantScopeAsync(string filter = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, string filter = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, string filter = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Resources.DeploymentsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string deploymentName, Azure.ResourceManager.Resources.Models.Deployment parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string deploymentName, Azure.ResourceManager.Resources.Models.Deployment parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Resources.DeploymentsCreateOrUpdateAtManagementGroupScopeOperation StartCreateOrUpdateAtManagementGroupScope(string groupId, string deploymentName, Azure.ResourceManager.Resources.Models.ScopedDeployment parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAtManagementGroupScopeAsync(string groupId, string deploymentName, Azure.ResourceManager.Resources.Models.ScopedDeployment parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Resources.DeploymentsCreateOrUpdateAtScopeOperation StartCreateOrUpdateAtScope(string scope, string deploymentName, Azure.ResourceManager.Resources.Models.Deployment parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAtScopeAsync(string scope, string deploymentName, Azure.ResourceManager.Resources.Models.Deployment parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Resources.DeploymentsCreateOrUpdateAtSubscriptionScopeOperation StartCreateOrUpdateAtSubscriptionScope(string deploymentName, Azure.ResourceManager.Resources.Models.Deployment parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAtSubscriptionScopeAsync(string deploymentName, Azure.ResourceManager.Resources.Models.Deployment parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Resources.DeploymentsCreateOrUpdateAtTenantScopeOperation StartCreateOrUpdateAtTenantScope(string deploymentName, Azure.ResourceManager.Resources.Models.ScopedDeployment parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAtTenantScopeAsync(string deploymentName, Azure.ResourceManager.Resources.Models.ScopedDeployment parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Resources.DeploymentsDeleteOperation StartDelete(string resourceGroupName, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Resources.DeploymentsDeleteAtManagementGroupScopeOperation StartDeleteAtManagementGroupScope(string groupId, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAtManagementGroupScopeAsync(string groupId, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Resources.DeploymentsDeleteAtScopeOperation StartDeleteAtScope(string scope, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAtScopeAsync(string scope, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Resources.DeploymentsDeleteAtSubscriptionScopeOperation StartDeleteAtSubscriptionScope(string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAtSubscriptionScopeAsync(string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Resources.DeploymentsDeleteAtTenantScopeOperation StartDeleteAtTenantScope(string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAtTenantScopeAsync(string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Resources.DeploymentsValidateOperation StartValidate(string resourceGroupName, string deploymentName, Azure.ResourceManager.Resources.Models.Deployment parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartValidateAsync(string resourceGroupName, string deploymentName, Azure.ResourceManager.Resources.Models.Deployment parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Resources.DeploymentsValidateAtManagementGroupScopeOperation StartValidateAtManagementGroupScope(string groupId, string deploymentName, Azure.ResourceManager.Resources.Models.ScopedDeployment parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartValidateAtManagementGroupScopeAsync(string groupId, string deploymentName, Azure.ResourceManager.Resources.Models.ScopedDeployment parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Resources.DeploymentsValidateAtScopeOperation StartValidateAtScope(string scope, string deploymentName, Azure.ResourceManager.Resources.Models.Deployment parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartValidateAtScopeAsync(string scope, string deploymentName, Azure.ResourceManager.Resources.Models.Deployment parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Resources.DeploymentsValidateAtSubscriptionScopeOperation StartValidateAtSubscriptionScope(string deploymentName, Azure.ResourceManager.Resources.Models.Deployment parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartValidateAtSubscriptionScopeAsync(string deploymentName, Azure.ResourceManager.Resources.Models.Deployment parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Resources.DeploymentsValidateAtTenantScopeOperation StartValidateAtTenantScope(string deploymentName, Azure.ResourceManager.Resources.Models.ScopedDeployment parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartValidateAtTenantScopeAsync(string deploymentName, Azure.ResourceManager.Resources.Models.ScopedDeployment parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Resources.DeploymentsWhatIfOperation StartWhatIf(string resourceGroupName, string deploymentName, Azure.ResourceManager.Resources.Models.DeploymentWhatIf parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartWhatIfAsync(string resourceGroupName, string deploymentName, Azure.ResourceManager.Resources.Models.DeploymentWhatIf parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Resources.DeploymentsWhatIfAtSubscriptionScopeOperation StartWhatIfAtSubscriptionScope(string deploymentName, Azure.ResourceManager.Resources.Models.DeploymentWhatIf parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartWhatIfAtSubscriptionScopeAsync(string deploymentName, Azure.ResourceManager.Resources.Models.DeploymentWhatIf parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class DeploymentsCreateOrUpdateAtManagementGroupScopeOperation : Azure.Operation { internal DeploymentsCreateOrUpdateAtManagementGroupScopeOperation() { } @@ -331,9 +241,22 @@ internal DeploymentsCreateOrUpdateOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class DeploymentScriptsClient + public partial class DeploymentScriptsCreateOperation : Azure.Operation { - protected DeploymentScriptsClient() { } + internal DeploymentScriptsCreateOperation() { } + public override bool HasCompleted { get { throw null; } } + public override bool HasValue { get { throw null; } } + public override string Id { get { throw null; } } + public override Azure.ResourceManager.Resources.Models.DeploymentScript Value { get { throw null; } } + public override Azure.Response GetRawResponse() { throw null; } + public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class DeploymentScriptsOperations + { + protected DeploymentScriptsOperations() { } public virtual Azure.Response Delete(string resourceGroupName, string scriptName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task DeleteAsync(string resourceGroupName, string scriptName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Get(string resourceGroupName, string scriptName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -351,19 +274,6 @@ protected DeploymentScriptsClient() { } public virtual Azure.Response Update(string resourceGroupName, string scriptName, Azure.ResourceManager.Resources.Models.DeploymentScriptUpdateParameter deploymentScript = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateAsync(string resourceGroupName, string scriptName, Azure.ResourceManager.Resources.Models.DeploymentScriptUpdateParameter deploymentScript = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class DeploymentScriptsCreateOperation : Azure.Operation - { - internal DeploymentScriptsCreateOperation() { } - public override bool HasCompleted { get { throw null; } } - public override bool HasValue { get { throw null; } } - public override string Id { get { throw null; } } - public override Azure.ResourceManager.Resources.Models.DeploymentScript Value { get { throw null; } } - public override Azure.Response GetRawResponse() { throw null; } - public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class DeploymentsDeleteAtManagementGroupScopeOperation : Azure.Operation { internal DeploymentsDeleteAtManagementGroupScopeOperation() { } @@ -429,6 +339,96 @@ internal DeploymentsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class DeploymentsOperations + { + protected DeploymentsOperations() { } + public virtual Azure.Response CalculateTemplateHash(object template, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> CalculateTemplateHashAsync(object template, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Cancel(string resourceGroupName, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task CancelAsync(string resourceGroupName, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response CancelAtManagementGroupScope(string groupId, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task CancelAtManagementGroupScopeAsync(string groupId, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response CancelAtScope(string scope, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task CancelAtScopeAsync(string scope, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response CancelAtSubscriptionScope(string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task CancelAtSubscriptionScopeAsync(string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response CancelAtTenantScope(string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task CancelAtTenantScopeAsync(string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response CheckExistence(string resourceGroupName, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task CheckExistenceAsync(string resourceGroupName, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response CheckExistenceAtManagementGroupScope(string groupId, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task CheckExistenceAtManagementGroupScopeAsync(string groupId, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response CheckExistenceAtScope(string scope, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task CheckExistenceAtScopeAsync(string scope, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response CheckExistenceAtSubscriptionScope(string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task CheckExistenceAtSubscriptionScopeAsync(string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response CheckExistenceAtTenantScope(string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task CheckExistenceAtTenantScopeAsync(string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response ExportTemplate(string resourceGroupName, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> ExportTemplateAsync(string resourceGroupName, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response ExportTemplateAtManagementGroupScope(string groupId, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> ExportTemplateAtManagementGroupScopeAsync(string groupId, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response ExportTemplateAtScope(string scope, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> ExportTemplateAtScopeAsync(string scope, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response ExportTemplateAtSubscriptionScope(string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> ExportTemplateAtSubscriptionScopeAsync(string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response ExportTemplateAtTenantScope(string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> ExportTemplateAtTenantScopeAsync(string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Get(string resourceGroupName, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetAtManagementGroupScope(string groupId, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAtManagementGroupScopeAsync(string groupId, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetAtScope(string scope, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAtScopeAsync(string scope, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetAtSubscriptionScope(string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAtSubscriptionScopeAsync(string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetAtTenantScope(string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAtTenantScopeAsync(string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListAtManagementGroupScope(string groupId, string filter = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAtManagementGroupScopeAsync(string groupId, string filter = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListAtScope(string scope, string filter = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAtScopeAsync(string scope, string filter = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListAtSubscriptionScope(string filter = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAtSubscriptionScopeAsync(string filter = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListAtTenantScope(string filter = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAtTenantScopeAsync(string filter = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, string filter = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, string filter = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Resources.DeploymentsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string deploymentName, Azure.ResourceManager.Resources.Models.Deployment parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string deploymentName, Azure.ResourceManager.Resources.Models.Deployment parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Resources.DeploymentsCreateOrUpdateAtManagementGroupScopeOperation StartCreateOrUpdateAtManagementGroupScope(string groupId, string deploymentName, Azure.ResourceManager.Resources.Models.ScopedDeployment parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAtManagementGroupScopeAsync(string groupId, string deploymentName, Azure.ResourceManager.Resources.Models.ScopedDeployment parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Resources.DeploymentsCreateOrUpdateAtScopeOperation StartCreateOrUpdateAtScope(string scope, string deploymentName, Azure.ResourceManager.Resources.Models.Deployment parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAtScopeAsync(string scope, string deploymentName, Azure.ResourceManager.Resources.Models.Deployment parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Resources.DeploymentsCreateOrUpdateAtSubscriptionScopeOperation StartCreateOrUpdateAtSubscriptionScope(string deploymentName, Azure.ResourceManager.Resources.Models.Deployment parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAtSubscriptionScopeAsync(string deploymentName, Azure.ResourceManager.Resources.Models.Deployment parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Resources.DeploymentsCreateOrUpdateAtTenantScopeOperation StartCreateOrUpdateAtTenantScope(string deploymentName, Azure.ResourceManager.Resources.Models.ScopedDeployment parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAtTenantScopeAsync(string deploymentName, Azure.ResourceManager.Resources.Models.ScopedDeployment parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Resources.DeploymentsDeleteOperation StartDelete(string resourceGroupName, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Resources.DeploymentsDeleteAtManagementGroupScopeOperation StartDeleteAtManagementGroupScope(string groupId, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAtManagementGroupScopeAsync(string groupId, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Resources.DeploymentsDeleteAtScopeOperation StartDeleteAtScope(string scope, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAtScopeAsync(string scope, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Resources.DeploymentsDeleteAtSubscriptionScopeOperation StartDeleteAtSubscriptionScope(string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAtSubscriptionScopeAsync(string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Resources.DeploymentsDeleteAtTenantScopeOperation StartDeleteAtTenantScope(string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAtTenantScopeAsync(string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Resources.DeploymentsValidateOperation StartValidate(string resourceGroupName, string deploymentName, Azure.ResourceManager.Resources.Models.Deployment parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartValidateAsync(string resourceGroupName, string deploymentName, Azure.ResourceManager.Resources.Models.Deployment parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Resources.DeploymentsValidateAtManagementGroupScopeOperation StartValidateAtManagementGroupScope(string groupId, string deploymentName, Azure.ResourceManager.Resources.Models.ScopedDeployment parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartValidateAtManagementGroupScopeAsync(string groupId, string deploymentName, Azure.ResourceManager.Resources.Models.ScopedDeployment parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Resources.DeploymentsValidateAtScopeOperation StartValidateAtScope(string scope, string deploymentName, Azure.ResourceManager.Resources.Models.Deployment parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartValidateAtScopeAsync(string scope, string deploymentName, Azure.ResourceManager.Resources.Models.Deployment parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Resources.DeploymentsValidateAtSubscriptionScopeOperation StartValidateAtSubscriptionScope(string deploymentName, Azure.ResourceManager.Resources.Models.Deployment parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartValidateAtSubscriptionScopeAsync(string deploymentName, Azure.ResourceManager.Resources.Models.Deployment parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Resources.DeploymentsValidateAtTenantScopeOperation StartValidateAtTenantScope(string deploymentName, Azure.ResourceManager.Resources.Models.ScopedDeployment parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartValidateAtTenantScopeAsync(string deploymentName, Azure.ResourceManager.Resources.Models.ScopedDeployment parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Resources.DeploymentsWhatIfOperation StartWhatIf(string resourceGroupName, string deploymentName, Azure.ResourceManager.Resources.Models.DeploymentWhatIf parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartWhatIfAsync(string resourceGroupName, string deploymentName, Azure.ResourceManager.Resources.Models.DeploymentWhatIf parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Resources.DeploymentsWhatIfAtSubscriptionScopeOperation StartWhatIfAtSubscriptionScope(string deploymentName, Azure.ResourceManager.Resources.Models.DeploymentWhatIf parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartWhatIfAtSubscriptionScopeAsync(string deploymentName, Azure.ResourceManager.Resources.Models.DeploymentWhatIf parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class DeploymentsValidateAtManagementGroupScopeOperation : Azure.Operation { internal DeploymentsValidateAtManagementGroupScopeOperation() { } @@ -520,9 +520,9 @@ internal DeploymentsWhatIfOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class FeaturesClient + public partial class FeaturesOperations { - protected FeaturesClient() { } + protected FeaturesOperations() { } public virtual Azure.Response Get(string resourceProviderNamespace, string featureName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceProviderNamespace, string featureName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(string resourceProviderNamespace, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -534,9 +534,9 @@ protected FeaturesClient() { } public virtual Azure.Response Unregister(string resourceProviderNamespace, string featureName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UnregisterAsync(string resourceProviderNamespace, string featureName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ManagementLocksClient + public partial class ManagementLocksOperations { - protected ManagementLocksClient() { } + protected ManagementLocksOperations() { } public virtual Azure.Response CreateOrUpdateAtResourceGroupLevel(string resourceGroupName, string lockName, Azure.ResourceManager.Resources.Models.ManagementLockObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CreateOrUpdateAtResourceGroupLevelAsync(string resourceGroupName, string lockName, Azure.ResourceManager.Resources.Models.ManagementLockObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response CreateOrUpdateAtResourceLevel(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, string lockName, Azure.ResourceManager.Resources.Models.ManagementLockObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -570,15 +570,15 @@ protected ManagementLocksClient() { } public virtual Azure.Pageable ListByScope(string scope, string filter = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListByScopeAsync(string scope, string filter = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class OperationsClient + public partial class Operations { - protected OperationsClient() { } + protected Operations() { } public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class PolicyAssignmentsClient + public partial class PolicyAssignmentsOperations { - protected PolicyAssignmentsClient() { } + protected PolicyAssignmentsOperations() { } public virtual Azure.Response Create(string scope, string policyAssignmentName, Azure.ResourceManager.Resources.Models.PolicyAssignment parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CreateAsync(string scope, string policyAssignmentName, Azure.ResourceManager.Resources.Models.PolicyAssignment parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response CreateById(string policyAssignmentId, Azure.ResourceManager.Resources.Models.PolicyAssignment parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -600,9 +600,9 @@ protected PolicyAssignmentsClient() { } public virtual Azure.Pageable ListForResourceGroup(string resourceGroupName, string filter = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListForResourceGroupAsync(string resourceGroupName, string filter = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class PolicyDefinitionsClient + public partial class PolicyDefinitionsOperations { - protected PolicyDefinitionsClient() { } + protected PolicyDefinitionsOperations() { } public virtual Azure.Response CreateOrUpdate(string policyDefinitionName, Azure.ResourceManager.Resources.Models.PolicyDefinition parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(string policyDefinitionName, Azure.ResourceManager.Resources.Models.PolicyDefinition parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response CreateOrUpdateAtManagementGroup(string policyDefinitionName, string managementGroupId, Azure.ResourceManager.Resources.Models.PolicyDefinition parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -624,9 +624,9 @@ protected PolicyDefinitionsClient() { } public virtual Azure.Pageable ListByManagementGroup(string managementGroupId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListByManagementGroupAsync(string managementGroupId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class PolicySetDefinitionsClient + public partial class PolicySetDefinitionsOperations { - protected PolicySetDefinitionsClient() { } + protected PolicySetDefinitionsOperations() { } public virtual Azure.Response CreateOrUpdate(string policySetDefinitionName, Azure.ResourceManager.Resources.Models.PolicySetDefinition parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(string policySetDefinitionName, Azure.ResourceManager.Resources.Models.PolicySetDefinition parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response CreateOrUpdateAtManagementGroup(string policySetDefinitionName, string managementGroupId, Azure.ResourceManager.Resources.Models.PolicySetDefinition parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -648,9 +648,9 @@ protected PolicySetDefinitionsClient() { } public virtual Azure.Pageable ListByManagementGroup(string managementGroupId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListByManagementGroupAsync(string managementGroupId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ProvidersClient + public partial class ProvidersOperations { - protected ProvidersClient() { } + protected ProvidersOperations() { } public virtual Azure.Response Get(string resourceProviderNamespace, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceProviderNamespace, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetAtTenantScope(string resourceProviderNamespace, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -664,24 +664,6 @@ protected ProvidersClient() { } public virtual Azure.Response Unregister(string resourceProviderNamespace, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UnregisterAsync(string resourceProviderNamespace, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ResourceGroupsClient - { - protected ResourceGroupsClient() { } - public virtual Azure.Response CheckExistence(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task CheckExistenceAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response CreateOrUpdate(string resourceGroupName, Azure.ResourceManager.Resources.Models.ResourceGroup parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(string resourceGroupName, Azure.ResourceManager.Resources.Models.ResourceGroup parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Get(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string filter = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string filter = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Resources.ResourceGroupsDeleteOperation StartDelete(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Resources.ResourceGroupsExportTemplateOperation StartExportTemplate(string resourceGroupName, Azure.ResourceManager.Resources.Models.ExportTemplateRequest parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartExportTemplateAsync(string resourceGroupName, Azure.ResourceManager.Resources.Models.ExportTemplateRequest parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Update(string resourceGroupName, Azure.ResourceManager.Resources.Models.ResourceGroupPatchable parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateAsync(string resourceGroupName, Azure.ResourceManager.Resources.Models.ResourceGroupPatchable parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class ResourceGroupsDeleteOperation : Azure.Operation { internal ResourceGroupsDeleteOperation() { } @@ -708,9 +690,27 @@ internal ResourceGroupsExportTemplateOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ResourceLinksClient + public partial class ResourceGroupsOperations + { + protected ResourceGroupsOperations() { } + public virtual Azure.Response CheckExistence(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task CheckExistenceAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response CreateOrUpdate(string resourceGroupName, Azure.ResourceManager.Resources.Models.ResourceGroup parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(string resourceGroupName, Azure.ResourceManager.Resources.Models.ResourceGroup parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Get(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string filter = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string filter = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Resources.ResourceGroupsDeleteOperation StartDelete(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Resources.ResourceGroupsExportTemplateOperation StartExportTemplate(string resourceGroupName, Azure.ResourceManager.Resources.Models.ExportTemplateRequest parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartExportTemplateAsync(string resourceGroupName, Azure.ResourceManager.Resources.Models.ExportTemplateRequest parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Update(string resourceGroupName, Azure.ResourceManager.Resources.Models.ResourceGroupPatchable parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateAsync(string resourceGroupName, Azure.ResourceManager.Resources.Models.ResourceGroupPatchable parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class ResourceLinksOperations { - protected ResourceLinksClient() { } + protected ResourceLinksOperations() { } public virtual Azure.Response CreateOrUpdate(string linkId, Azure.ResourceManager.Resources.Models.ResourceLink parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(string linkId, Azure.ResourceManager.Resources.Models.ResourceLink parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Delete(string linkId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -722,38 +722,6 @@ protected ResourceLinksClient() { } public virtual Azure.Pageable ListAtSubscription(string filter = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAtSubscriptionAsync(string filter = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ResourcesClient - { - protected ResourcesClient() { } - public virtual Azure.Response CheckExistence(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, string apiVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task CheckExistenceAsync(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, string apiVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response CheckExistenceById(string resourceId, string apiVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task CheckExistenceByIdAsync(string resourceId, string apiVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Get(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, string apiVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, string apiVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response GetById(string resourceId, string apiVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetByIdAsync(string resourceId, string apiVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string filter = null, string expand = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string filter = null, string expand = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, string filter = null, string expand = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, string filter = null, string expand = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Resources.ResourcesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, string apiVersion, Azure.ResourceManager.Resources.Models.GenericResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, string apiVersion, Azure.ResourceManager.Resources.Models.GenericResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Resources.ResourcesCreateOrUpdateByIdOperation StartCreateOrUpdateById(string resourceId, string apiVersion, Azure.ResourceManager.Resources.Models.GenericResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateByIdAsync(string resourceId, string apiVersion, Azure.ResourceManager.Resources.Models.GenericResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Resources.ResourcesDeleteOperation StartDelete(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, string apiVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, string apiVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Resources.ResourcesDeleteByIdOperation StartDeleteById(string resourceId, string apiVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteByIdAsync(string resourceId, string apiVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Resources.ResourcesMoveResourcesOperation StartMoveResources(string sourceResourceGroupName, Azure.ResourceManager.Resources.Models.ResourcesMoveInfo parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartMoveResourcesAsync(string sourceResourceGroupName, Azure.ResourceManager.Resources.Models.ResourcesMoveInfo parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Resources.ResourcesUpdateOperation StartUpdate(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, string apiVersion, Azure.ResourceManager.Resources.Models.GenericResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, string apiVersion, Azure.ResourceManager.Resources.Models.GenericResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Resources.ResourcesUpdateByIdOperation StartUpdateById(string resourceId, string apiVersion, Azure.ResourceManager.Resources.Models.GenericResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartUpdateByIdAsync(string resourceId, string apiVersion, Azure.ResourceManager.Resources.Models.GenericResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Resources.ResourcesValidateMoveResourcesOperation StartValidateMoveResources(string sourceResourceGroupName, Azure.ResourceManager.Resources.Models.ResourcesMoveInfo parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartValidateMoveResourcesAsync(string sourceResourceGroupName, Azure.ResourceManager.Resources.Models.ResourcesMoveInfo parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class ResourcesCreateOrUpdateByIdOperation : Azure.Operation { internal ResourcesCreateOrUpdateByIdOperation() { } @@ -811,26 +779,26 @@ public partial class ResourcesManagementClient protected ResourcesManagementClient() { } public ResourcesManagementClient(string subscriptionId, Azure.Core.TokenCredential tokenCredential, Azure.ResourceManager.Resources.ResourcesManagementClientOptions options = null) { } public ResourcesManagementClient(System.Uri endpoint, string subscriptionId, Azure.Core.TokenCredential tokenCredential, Azure.ResourceManager.Resources.ResourcesManagementClientOptions options = null) { } - public virtual Azure.ResourceManager.Resources.ApplicationDefinitionsClient GetApplicationDefinitionsClient() { throw null; } - public virtual Azure.ResourceManager.Resources.ApplicationsClient GetApplicationsClient() { throw null; } - public virtual Azure.ResourceManager.Resources.AuthorizationClient GetAuthorizationClient() { throw null; } - public virtual Azure.ResourceManager.Resources.DeploymentClient GetDeploymentClient() { throw null; } - public virtual Azure.ResourceManager.Resources.DeploymentsClient GetDeploymentsClient() { throw null; } - public virtual Azure.ResourceManager.Resources.DeploymentScriptsClient GetDeploymentScriptsClient() { throw null; } - public virtual Azure.ResourceManager.Resources.FeaturesClient GetFeaturesClient() { throw null; } - public virtual Azure.ResourceManager.Resources.ManagementLocksClient GetManagementLocksClient() { throw null; } - public virtual Azure.ResourceManager.Resources.OperationsClient GetOperationsClient() { throw null; } - public virtual Azure.ResourceManager.Resources.PolicyAssignmentsClient GetPolicyAssignmentsClient() { throw null; } - public virtual Azure.ResourceManager.Resources.PolicyDefinitionsClient GetPolicyDefinitionsClient() { throw null; } - public virtual Azure.ResourceManager.Resources.PolicySetDefinitionsClient GetPolicySetDefinitionsClient() { throw null; } - public virtual Azure.ResourceManager.Resources.ProvidersClient GetProvidersClient() { throw null; } - public virtual Azure.ResourceManager.Resources.ResourceGroupsClient GetResourceGroupsClient() { throw null; } - public virtual Azure.ResourceManager.Resources.ResourceLinksClient GetResourceLinksClient() { throw null; } - public virtual Azure.ResourceManager.Resources.ResourcesClient GetResourcesClient() { throw null; } - public virtual Azure.ResourceManager.Resources.ServiceClient GetServiceClient() { throw null; } - public virtual Azure.ResourceManager.Resources.SubscriptionsClient GetSubscriptionsClient() { throw null; } - public virtual Azure.ResourceManager.Resources.TagsClient GetTagsClient() { throw null; } - public virtual Azure.ResourceManager.Resources.TenantsClient GetTenantsClient() { throw null; } + public virtual Azure.ResourceManager.Resources.ApplicationDefinitionsOperations ApplicationDefinitions { get { throw null; } } + public virtual Azure.ResourceManager.Resources.ApplicationsOperations Applications { get { throw null; } } + public virtual Azure.ResourceManager.Resources.AuthorizationOperations Authorization { get { throw null; } } + public virtual Azure.ResourceManager.Resources.DeploymentOperations Deployment { get { throw null; } } + public virtual Azure.ResourceManager.Resources.DeploymentsOperations Deployments { get { throw null; } } + public virtual Azure.ResourceManager.Resources.DeploymentScriptsOperations DeploymentScripts { get { throw null; } } + public virtual Azure.ResourceManager.Resources.FeaturesOperations Features { get { throw null; } } + public virtual Azure.ResourceManager.Resources.ManagementLocksOperations ManagementLocks { get { throw null; } } + public virtual Azure.ResourceManager.Resources.Operations Operations { get { throw null; } } + public virtual Azure.ResourceManager.Resources.PolicyAssignmentsOperations PolicyAssignments { get { throw null; } } + public virtual Azure.ResourceManager.Resources.PolicyDefinitionsOperations PolicyDefinitions { get { throw null; } } + public virtual Azure.ResourceManager.Resources.PolicySetDefinitionsOperations PolicySetDefinitions { get { throw null; } } + public virtual Azure.ResourceManager.Resources.ProvidersOperations Providers { get { throw null; } } + public virtual Azure.ResourceManager.Resources.ResourceGroupsOperations ResourceGroups { get { throw null; } } + public virtual Azure.ResourceManager.Resources.ResourceLinksOperations ResourceLinks { get { throw null; } } + public virtual Azure.ResourceManager.Resources.ResourcesOperations Resources { get { throw null; } } + public virtual Azure.ResourceManager.Resources.ServiceOperations Service { get { throw null; } } + public virtual Azure.ResourceManager.Resources.SubscriptionsOperations Subscriptions { get { throw null; } } + public virtual Azure.ResourceManager.Resources.TagsOperations Tags { get { throw null; } } + public virtual Azure.ResourceManager.Resources.TenantsOperations Tenants { get { throw null; } } } public partial class ResourcesManagementClientOptions : Azure.Core.ClientOptions { @@ -849,6 +817,38 @@ internal ResourcesMoveResourcesOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class ResourcesOperations + { + protected ResourcesOperations() { } + public virtual Azure.Response CheckExistence(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, string apiVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task CheckExistenceAsync(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, string apiVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response CheckExistenceById(string resourceId, string apiVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task CheckExistenceByIdAsync(string resourceId, string apiVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Get(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, string apiVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, string apiVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetById(string resourceId, string apiVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetByIdAsync(string resourceId, string apiVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string filter = null, string expand = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string filter = null, string expand = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, string filter = null, string expand = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, string filter = null, string expand = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Resources.ResourcesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, string apiVersion, Azure.ResourceManager.Resources.Models.GenericResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, string apiVersion, Azure.ResourceManager.Resources.Models.GenericResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Resources.ResourcesCreateOrUpdateByIdOperation StartCreateOrUpdateById(string resourceId, string apiVersion, Azure.ResourceManager.Resources.Models.GenericResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateByIdAsync(string resourceId, string apiVersion, Azure.ResourceManager.Resources.Models.GenericResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Resources.ResourcesDeleteOperation StartDelete(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, string apiVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, string apiVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Resources.ResourcesDeleteByIdOperation StartDeleteById(string resourceId, string apiVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteByIdAsync(string resourceId, string apiVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Resources.ResourcesMoveResourcesOperation StartMoveResources(string sourceResourceGroupName, Azure.ResourceManager.Resources.Models.ResourcesMoveInfo parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartMoveResourcesAsync(string sourceResourceGroupName, Azure.ResourceManager.Resources.Models.ResourcesMoveInfo parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Resources.ResourcesUpdateOperation StartUpdate(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, string apiVersion, Azure.ResourceManager.Resources.Models.GenericResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, string apiVersion, Azure.ResourceManager.Resources.Models.GenericResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Resources.ResourcesUpdateByIdOperation StartUpdateById(string resourceId, string apiVersion, Azure.ResourceManager.Resources.Models.GenericResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartUpdateByIdAsync(string resourceId, string apiVersion, Azure.ResourceManager.Resources.Models.GenericResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Resources.ResourcesValidateMoveResourcesOperation StartValidateMoveResources(string sourceResourceGroupName, Azure.ResourceManager.Resources.Models.ResourcesMoveInfo parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartValidateMoveResourcesAsync(string sourceResourceGroupName, Azure.ResourceManager.Resources.Models.ResourcesMoveInfo parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class ResourcesUpdateByIdOperation : Azure.Operation { internal ResourcesUpdateByIdOperation() { } @@ -888,15 +888,15 @@ internal ResourcesValidateMoveResourcesOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ServiceClient + public partial class ServiceOperations { - protected ServiceClient() { } + protected ServiceOperations() { } public virtual Azure.Pageable ListOperations(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListOperationsAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class SubscriptionsClient + public partial class SubscriptionsOperations { - protected SubscriptionsClient() { } + protected SubscriptionsOperations() { } public virtual Azure.Response Get(string subscriptionId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string subscriptionId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -904,9 +904,9 @@ protected SubscriptionsClient() { } public virtual Azure.Pageable ListLocations(string subscriptionId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListLocationsAsync(string subscriptionId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class TagsClient + public partial class TagsOperations { - protected TagsClient() { } + protected TagsOperations() { } public virtual Azure.Response CreateOrUpdate(string tagName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(string tagName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response CreateOrUpdateAtScope(string scope, Azure.ResourceManager.Resources.Models.TagsResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -926,9 +926,9 @@ protected TagsClient() { } public virtual Azure.Response UpdateAtScope(string scope, Azure.ResourceManager.Resources.Models.TagsPatchResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateAtScopeAsync(string scope, Azure.ResourceManager.Resources.Models.TagsPatchResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class TenantsClient + public partial class TenantsOperations { - protected TenantsClient() { } + protected TenantsOperations() { } public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } diff --git a/sdk/storage/Azure.ResourceManager.Storage/api/Azure.ResourceManager.Storage.netstandard2.0.cs b/sdk/storage/Azure.ResourceManager.Storage/api/Azure.ResourceManager.Storage.netstandard2.0.cs index cc7ae9aa95054..ca46ae636a141 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/api/Azure.ResourceManager.Storage.netstandard2.0.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/api/Azure.ResourceManager.Storage.netstandard2.0.cs @@ -1,8 +1,8 @@ namespace Azure.ResourceManager.Storage { - public partial class BlobContainersClient + public partial class BlobContainersOperations { - protected BlobContainersClient() { } + protected BlobContainersOperations() { } public virtual Azure.Response ClearLegalHold(string resourceGroupName, string accountName, string containerName, Azure.ResourceManager.Storage.Models.LegalHold legalHold, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> ClearLegalHoldAsync(string resourceGroupName, string accountName, string containerName, Azure.ResourceManager.Storage.Models.LegalHold legalHold, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Create(string resourceGroupName, string accountName, string containerName, Azure.ResourceManager.Storage.Models.BlobContainer blobContainer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -30,9 +30,9 @@ protected BlobContainersClient() { } public virtual Azure.Response Update(string resourceGroupName, string accountName, string containerName, Azure.ResourceManager.Storage.Models.BlobContainer blobContainer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateAsync(string resourceGroupName, string accountName, string containerName, Azure.ResourceManager.Storage.Models.BlobContainer blobContainer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class BlobServicesClient + public partial class BlobServicesOperations { - protected BlobServicesClient() { } + protected BlobServicesOperations() { } public virtual Azure.Response GetServiceProperties(string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetServicePropertiesAsync(string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -40,9 +40,9 @@ protected BlobServicesClient() { } public virtual Azure.Response SetServiceProperties(string resourceGroupName, string accountName, Azure.ResourceManager.Storage.Models.BlobServiceProperties parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> SetServicePropertiesAsync(string resourceGroupName, string accountName, Azure.ResourceManager.Storage.Models.BlobServiceProperties parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class EncryptionScopesClient + public partial class EncryptionScopesOperations { - protected EncryptionScopesClient() { } + protected EncryptionScopesOperations() { } public virtual Azure.Response Get(string resourceGroupName, string accountName, string encryptionScopeName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string accountName, string encryptionScopeName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -52,9 +52,9 @@ protected EncryptionScopesClient() { } public virtual Azure.Response Put(string resourceGroupName, string accountName, string encryptionScopeName, Azure.ResourceManager.Storage.Models.EncryptionScope encryptionScope, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> PutAsync(string resourceGroupName, string accountName, string encryptionScopeName, Azure.ResourceManager.Storage.Models.EncryptionScope encryptionScope, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class FileServicesClient + public partial class FileServicesOperations { - protected FileServicesClient() { } + protected FileServicesOperations() { } public virtual Azure.Response GetServiceProperties(string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetServicePropertiesAsync(string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response List(string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -62,9 +62,9 @@ protected FileServicesClient() { } public virtual Azure.Response SetServiceProperties(string resourceGroupName, string accountName, Azure.ResourceManager.Storage.Models.FileServiceProperties parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> SetServicePropertiesAsync(string resourceGroupName, string accountName, Azure.ResourceManager.Storage.Models.FileServiceProperties parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class FileSharesClient + public partial class FileSharesOperations { - protected FileSharesClient() { } + protected FileSharesOperations() { } public virtual Azure.Response Create(string resourceGroupName, string accountName, string shareName, Azure.ResourceManager.Storage.Models.FileShare fileShare, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CreateAsync(string resourceGroupName, string accountName, string shareName, Azure.ResourceManager.Storage.Models.FileShare fileShare, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Delete(string resourceGroupName, string accountName, string shareName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -78,9 +78,9 @@ protected FileSharesClient() { } public virtual Azure.Response Update(string resourceGroupName, string accountName, string shareName, Azure.ResourceManager.Storage.Models.FileShare fileShare, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateAsync(string resourceGroupName, string accountName, string shareName, Azure.ResourceManager.Storage.Models.FileShare fileShare, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ManagementPoliciesClient + public partial class ManagementPoliciesOperations { - protected ManagementPoliciesClient() { } + protected ManagementPoliciesOperations() { } public virtual Azure.Response CreateOrUpdate(string resourceGroupName, string accountName, Azure.ResourceManager.Storage.Models.ManagementPolicy properties, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(string resourceGroupName, string accountName, Azure.ResourceManager.Storage.Models.ManagementPolicy properties, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Delete(string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -88,9 +88,9 @@ protected ManagementPoliciesClient() { } public virtual Azure.Response Get(string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ObjectReplicationPoliciesClient + public partial class ObjectReplicationPoliciesOperations { - protected ObjectReplicationPoliciesClient() { } + protected ObjectReplicationPoliciesOperations() { } public virtual Azure.Response CreateOrUpdate(string resourceGroupName, string accountName, string objectReplicationPolicyId, Azure.ResourceManager.Storage.Models.ObjectReplicationPolicy properties, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(string resourceGroupName, string accountName, string objectReplicationPolicyId, Azure.ResourceManager.Storage.Models.ObjectReplicationPolicy properties, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Delete(string resourceGroupName, string accountName, string objectReplicationPolicyId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -100,15 +100,15 @@ protected ObjectReplicationPoliciesClient() { } public virtual Azure.Pageable List(string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class OperationsClient + public partial class Operations { - protected OperationsClient() { } + protected Operations() { } public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class PrivateEndpointConnectionsClient + public partial class PrivateEndpointConnectionsOperations { - protected PrivateEndpointConnectionsClient() { } + protected PrivateEndpointConnectionsOperations() { } public virtual Azure.Response Delete(string resourceGroupName, string accountName, string privateEndpointConnectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task DeleteAsync(string resourceGroupName, string accountName, string privateEndpointConnectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Get(string resourceGroupName, string accountName, string privateEndpointConnectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -118,15 +118,15 @@ protected PrivateEndpointConnectionsClient() { } public virtual Azure.Response Put(string resourceGroupName, string accountName, string privateEndpointConnectionName, Azure.ResourceManager.Storage.Models.PrivateEndpointConnection properties, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> PutAsync(string resourceGroupName, string accountName, string privateEndpointConnectionName, Azure.ResourceManager.Storage.Models.PrivateEndpointConnection properties, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class PrivateLinkResourcesClient + public partial class PrivateLinkResourcesOperations { - protected PrivateLinkResourcesClient() { } + protected PrivateLinkResourcesOperations() { } public virtual Azure.Response ListByStorageAccount(string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> ListByStorageAccountAsync(string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class QueueClient + public partial class QueueOperations { - protected QueueClient() { } + protected QueueOperations() { } public virtual Azure.Response Create(string resourceGroupName, string accountName, string queueName, Azure.ResourceManager.Storage.Models.StorageQueue queue, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CreateAsync(string resourceGroupName, string accountName, string queueName, Azure.ResourceManager.Storage.Models.StorageQueue queue, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Delete(string resourceGroupName, string accountName, string queueName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -138,9 +138,9 @@ protected QueueClient() { } public virtual Azure.Response Update(string resourceGroupName, string accountName, string queueName, Azure.ResourceManager.Storage.Models.StorageQueue queue, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateAsync(string resourceGroupName, string accountName, string queueName, Azure.ResourceManager.Storage.Models.StorageQueue queue, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class QueueServicesClient + public partial class QueueServicesOperations { - protected QueueServicesClient() { } + protected QueueServicesOperations() { } public virtual Azure.Response GetServiceProperties(string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetServicePropertiesAsync(string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response List(string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -148,15 +148,41 @@ protected QueueServicesClient() { } public virtual Azure.Response SetServiceProperties(string resourceGroupName, string accountName, Azure.ResourceManager.Storage.Models.QueueServiceProperties parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> SetServicePropertiesAsync(string resourceGroupName, string accountName, Azure.ResourceManager.Storage.Models.QueueServiceProperties parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class SkusClient + public partial class SkusOperations { - protected SkusClient() { } + protected SkusOperations() { } public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class StorageAccountsClient + public partial class StorageAccountsCreateOperation : Azure.Operation + { + internal StorageAccountsCreateOperation() { } + public override bool HasCompleted { get { throw null; } } + public override bool HasValue { get { throw null; } } + public override string Id { get { throw null; } } + public override Azure.ResourceManager.Storage.Models.StorageAccount Value { get { throw null; } } + public override Azure.Response GetRawResponse() { throw null; } + public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class StorageAccountsFailoverOperation : Azure.Operation + { + internal StorageAccountsFailoverOperation() { } + public override bool HasCompleted { get { throw null; } } + public override bool HasValue { get { throw null; } } + public override string Id { get { throw null; } } + public override Azure.Response Value { get { throw null; } } + public override Azure.Response GetRawResponse() { throw null; } + public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class StorageAccountsOperations { - protected StorageAccountsClient() { } + protected StorageAccountsOperations() { } public virtual Azure.Response CheckNameAvailability(Azure.ResourceManager.Storage.Models.StorageAccountCheckNameAvailabilityParameters accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CheckNameAvailabilityAsync(Azure.ResourceManager.Storage.Models.StorageAccountCheckNameAvailabilityParameters accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Delete(string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -186,32 +212,6 @@ protected StorageAccountsClient() { } public virtual Azure.Response Update(string resourceGroupName, string accountName, Azure.ResourceManager.Storage.Models.StorageAccountUpdateParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateAsync(string resourceGroupName, string accountName, Azure.ResourceManager.Storage.Models.StorageAccountUpdateParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class StorageAccountsCreateOperation : Azure.Operation - { - internal StorageAccountsCreateOperation() { } - public override bool HasCompleted { get { throw null; } } - public override bool HasValue { get { throw null; } } - public override string Id { get { throw null; } } - public override Azure.ResourceManager.Storage.Models.StorageAccount Value { get { throw null; } } - public override Azure.Response GetRawResponse() { throw null; } - public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } - public partial class StorageAccountsFailoverOperation : Azure.Operation - { - internal StorageAccountsFailoverOperation() { } - public override bool HasCompleted { get { throw null; } } - public override bool HasValue { get { throw null; } } - public override string Id { get { throw null; } } - public override Azure.Response Value { get { throw null; } } - public override Azure.Response GetRawResponse() { throw null; } - public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class StorageAccountsRestoreBlobRangesOperation : Azure.Operation { internal StorageAccountsRestoreBlobRangesOperation() { } @@ -230,31 +230,31 @@ public partial class StorageManagementClient protected StorageManagementClient() { } public StorageManagementClient(string subscriptionId, Azure.Core.TokenCredential tokenCredential, Azure.ResourceManager.Storage.StorageManagementClientOptions options = null) { } public StorageManagementClient(System.Uri endpoint, string subscriptionId, Azure.Core.TokenCredential tokenCredential, Azure.ResourceManager.Storage.StorageManagementClientOptions options = null) { } - public virtual Azure.ResourceManager.Storage.BlobContainersClient GetBlobContainersClient() { throw null; } - public virtual Azure.ResourceManager.Storage.BlobServicesClient GetBlobServicesClient() { throw null; } - public virtual Azure.ResourceManager.Storage.EncryptionScopesClient GetEncryptionScopesClient() { throw null; } - public virtual Azure.ResourceManager.Storage.FileServicesClient GetFileServicesClient() { throw null; } - public virtual Azure.ResourceManager.Storage.FileSharesClient GetFileSharesClient() { throw null; } - public virtual Azure.ResourceManager.Storage.ManagementPoliciesClient GetManagementPoliciesClient() { throw null; } - public virtual Azure.ResourceManager.Storage.ObjectReplicationPoliciesClient GetObjectReplicationPoliciesClient() { throw null; } - public virtual Azure.ResourceManager.Storage.OperationsClient GetOperationsClient() { throw null; } - public virtual Azure.ResourceManager.Storage.PrivateEndpointConnectionsClient GetPrivateEndpointConnectionsClient() { throw null; } - public virtual Azure.ResourceManager.Storage.PrivateLinkResourcesClient GetPrivateLinkResourcesClient() { throw null; } - public virtual Azure.ResourceManager.Storage.QueueClient GetQueueClient() { throw null; } - public virtual Azure.ResourceManager.Storage.QueueServicesClient GetQueueServicesClient() { throw null; } - public virtual Azure.ResourceManager.Storage.SkusClient GetSkusClient() { throw null; } - public virtual Azure.ResourceManager.Storage.StorageAccountsClient GetStorageAccountsClient() { throw null; } - public virtual Azure.ResourceManager.Storage.TableClient GetTableClient() { throw null; } - public virtual Azure.ResourceManager.Storage.TableServicesClient GetTableServicesClient() { throw null; } - public virtual Azure.ResourceManager.Storage.UsagesClient GetUsagesClient() { throw null; } + public virtual Azure.ResourceManager.Storage.BlobContainersOperations BlobContainers { get { throw null; } } + public virtual Azure.ResourceManager.Storage.BlobServicesOperations BlobServices { get { throw null; } } + public virtual Azure.ResourceManager.Storage.EncryptionScopesOperations EncryptionScopes { get { throw null; } } + public virtual Azure.ResourceManager.Storage.FileServicesOperations FileServices { get { throw null; } } + public virtual Azure.ResourceManager.Storage.FileSharesOperations FileShares { get { throw null; } } + public virtual Azure.ResourceManager.Storage.ManagementPoliciesOperations ManagementPolicies { get { throw null; } } + public virtual Azure.ResourceManager.Storage.ObjectReplicationPoliciesOperations ObjectReplicationPolicies { get { throw null; } } + public virtual Azure.ResourceManager.Storage.Operations Operations { get { throw null; } } + public virtual Azure.ResourceManager.Storage.PrivateEndpointConnectionsOperations PrivateEndpointConnections { get { throw null; } } + public virtual Azure.ResourceManager.Storage.PrivateLinkResourcesOperations PrivateLinkResources { get { throw null; } } + public virtual Azure.ResourceManager.Storage.QueueOperations Queue { get { throw null; } } + public virtual Azure.ResourceManager.Storage.QueueServicesOperations QueueServices { get { throw null; } } + public virtual Azure.ResourceManager.Storage.SkusOperations Skus { get { throw null; } } + public virtual Azure.ResourceManager.Storage.StorageAccountsOperations StorageAccounts { get { throw null; } } + public virtual Azure.ResourceManager.Storage.TableOperations Table { get { throw null; } } + public virtual Azure.ResourceManager.Storage.TableServicesOperations TableServices { get { throw null; } } + public virtual Azure.ResourceManager.Storage.UsagesOperations Usages { get { throw null; } } } public partial class StorageManagementClientOptions : Azure.Core.ClientOptions { public StorageManagementClientOptions() { } } - public partial class TableClient + public partial class TableOperations { - protected TableClient() { } + protected TableOperations() { } public virtual Azure.Response Create(string resourceGroupName, string accountName, string tableName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CreateAsync(string resourceGroupName, string accountName, string tableName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Delete(string resourceGroupName, string accountName, string tableName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -266,9 +266,9 @@ protected TableClient() { } public virtual Azure.Response Update(string resourceGroupName, string accountName, string tableName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateAsync(string resourceGroupName, string accountName, string tableName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class TableServicesClient + public partial class TableServicesOperations { - protected TableServicesClient() { } + protected TableServicesOperations() { } public virtual Azure.Response GetServiceProperties(string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetServicePropertiesAsync(string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response List(string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -276,9 +276,9 @@ protected TableServicesClient() { } public virtual Azure.Response SetServiceProperties(string resourceGroupName, string accountName, Azure.ResourceManager.Storage.Models.TableServiceProperties parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> SetServicePropertiesAsync(string resourceGroupName, string accountName, Azure.ResourceManager.Storage.Models.TableServiceProperties parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class UsagesClient + public partial class UsagesOperations { - protected UsagesClient() { } + protected UsagesOperations() { } public virtual Azure.Pageable ListByLocation(string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListByLocationAsync(string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } diff --git a/sdk/testcommon/Azure.Graph.Rbac/api/Azure.Graph.Rbac.netstandard2.0.cs b/sdk/testcommon/Azure.Graph.Rbac/api/Azure.Graph.Rbac.netstandard2.0.cs index 5efb93ec209ce..ef617238346fd 100644 --- a/sdk/testcommon/Azure.Graph.Rbac/api/Azure.Graph.Rbac.netstandard2.0.cs +++ b/sdk/testcommon/Azure.Graph.Rbac/api/Azure.Graph.Rbac.netstandard2.0.cs @@ -1,8 +1,8 @@ namespace Azure.Graph.Rbac { - public partial class ApplicationsClient + public partial class ApplicationsOperations { - protected ApplicationsClient() { } + protected ApplicationsOperations() { } public virtual Azure.Response AddOwner(string applicationObjectId, Azure.Graph.Rbac.Models.AddOwnerParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task AddOwnerAsync(string applicationObjectId, Azure.Graph.Rbac.Models.AddOwnerParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Create(Azure.Graph.Rbac.Models.ApplicationCreateParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -32,9 +32,9 @@ protected ApplicationsClient() { } public virtual Azure.Response UpdatePasswordCredentials(string applicationObjectId, Azure.Graph.Rbac.Models.PasswordCredentialsUpdateParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task UpdatePasswordCredentialsAsync(string applicationObjectId, Azure.Graph.Rbac.Models.PasswordCredentialsUpdateParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class DeletedApplicationsClient + public partial class DeletedApplicationsOperations { - protected DeletedApplicationsClient() { } + protected DeletedApplicationsOperations() { } public virtual Azure.Response HardDelete(string applicationObjectId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task HardDeleteAsync(string applicationObjectId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(string filter = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -44,17 +44,17 @@ protected DeletedApplicationsClient() { } public virtual Azure.Response Restore(string objectId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> RestoreAsync(string objectId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class DomainsClient + public partial class DomainsOperations { - protected DomainsClient() { } + protected DomainsOperations() { } public virtual Azure.Response Get(string domainName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string domainName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(string filter = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(string filter = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class GroupsClient + public partial class GroupsOperations { - protected GroupsClient() { } + protected GroupsOperations() { } public virtual Azure.Response AddMember(string groupObjectId, Azure.Graph.Rbac.Models.GroupAddMemberParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task AddMemberAsync(string groupObjectId, Azure.Graph.Rbac.Models.GroupAddMemberParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response AddOwner(string objectId, Azure.Graph.Rbac.Models.AddOwnerParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -84,9 +84,9 @@ protected GroupsClient() { } public virtual Azure.Response RemoveOwner(string objectId, string ownerObjectId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task RemoveOwnerAsync(string objectId, string ownerObjectId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class OAuth2PermissionGrantClient + public partial class OAuth2PermissionGrantOperations { - protected OAuth2PermissionGrantClient() { } + protected OAuth2PermissionGrantOperations() { } public virtual Azure.Response Create(Azure.Graph.Rbac.Models.OAuth2PermissionGrant body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CreateAsync(Azure.Graph.Rbac.Models.OAuth2PermissionGrant body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Delete(string objectId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -96,9 +96,9 @@ protected OAuth2PermissionGrantClient() { } public virtual Azure.Pageable ListNext(string nextLink, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListNextAsync(string nextLink, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ObjectsClient + public partial class ObjectsOperations { - protected ObjectsClient() { } + protected ObjectsOperations() { } public virtual Azure.Pageable GetObjectsByObjectIds(Azure.Graph.Rbac.Models.GetObjectsParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable GetObjectsByObjectIdsAsync(Azure.Graph.Rbac.Models.GetObjectsParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable GetObjectsByObjectIdsNext(string nextLink, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -109,23 +109,23 @@ public partial class RbacManagementClient protected RbacManagementClient() { } public RbacManagementClient(string tenantID, Azure.Core.TokenCredential tokenCredential, Azure.Graph.Rbac.RbacManagementClientOptions options = null) { } public RbacManagementClient(string tenantID, System.Uri endpoint, Azure.Core.TokenCredential tokenCredential, Azure.Graph.Rbac.RbacManagementClientOptions options = null) { } - public virtual Azure.Graph.Rbac.ApplicationsClient GetApplicationsClient() { throw null; } - public virtual Azure.Graph.Rbac.DeletedApplicationsClient GetDeletedApplicationsClient() { throw null; } - public virtual Azure.Graph.Rbac.DomainsClient GetDomainsClient() { throw null; } - public virtual Azure.Graph.Rbac.GroupsClient GetGroupsClient() { throw null; } - public virtual Azure.Graph.Rbac.OAuth2PermissionGrantClient GetOAuth2PermissionGrantClient() { throw null; } - public virtual Azure.Graph.Rbac.ObjectsClient GetObjectsClient() { throw null; } - public virtual Azure.Graph.Rbac.ServicePrincipalsClient GetServicePrincipalsClient() { throw null; } - public virtual Azure.Graph.Rbac.SignedInUserClient GetSignedInUserClient() { throw null; } - public virtual Azure.Graph.Rbac.UsersClient GetUsersClient() { throw null; } + public virtual Azure.Graph.Rbac.ApplicationsOperations Applications { get { throw null; } } + public virtual Azure.Graph.Rbac.DeletedApplicationsOperations DeletedApplications { get { throw null; } } + public virtual Azure.Graph.Rbac.DomainsOperations Domains { get { throw null; } } + public virtual Azure.Graph.Rbac.GroupsOperations Groups { get { throw null; } } + public virtual Azure.Graph.Rbac.OAuth2PermissionGrantOperations OAuth2PermissionGrant { get { throw null; } } + public virtual Azure.Graph.Rbac.ObjectsOperations Objects { get { throw null; } } + public virtual Azure.Graph.Rbac.ServicePrincipalsOperations ServicePrincipals { get { throw null; } } + public virtual Azure.Graph.Rbac.SignedInUserOperations SignedInUser { get { throw null; } } + public virtual Azure.Graph.Rbac.UsersOperations Users { get { throw null; } } } public partial class RbacManagementClientOptions : Azure.Core.ClientOptions { public RbacManagementClientOptions() { } } - public partial class ServicePrincipalsClient + public partial class ServicePrincipalsOperations { - protected ServicePrincipalsClient() { } + protected ServicePrincipalsOperations() { } public virtual Azure.Response Create(Azure.Graph.Rbac.Models.ServicePrincipalCreateParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CreateAsync(Azure.Graph.Rbac.Models.ServicePrincipalCreateParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Delete(string objectId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -149,9 +149,9 @@ protected ServicePrincipalsClient() { } public virtual Azure.Response UpdatePasswordCredentials(string objectId, Azure.Graph.Rbac.Models.PasswordCredentialsUpdateParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task UpdatePasswordCredentialsAsync(string objectId, Azure.Graph.Rbac.Models.PasswordCredentialsUpdateParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class SignedInUserClient + public partial class SignedInUserOperations { - protected SignedInUserClient() { } + protected SignedInUserOperations() { } public virtual Azure.Response Get(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable ListOwnedObjects(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -159,9 +159,9 @@ protected SignedInUserClient() { } public virtual Azure.Pageable ListOwnedObjectsNext(string nextLink, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListOwnedObjectsNextAsync(string nextLink, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class UsersClient + public partial class UsersOperations { - protected UsersClient() { } + protected UsersOperations() { } public virtual Azure.Response Create(Azure.Graph.Rbac.Models.UserCreateParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CreateAsync(Azure.Graph.Rbac.Models.UserCreateParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Delete(string upnOrObjectId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } diff --git a/sdk/testcommon/Azure.Management.Compute.2019_12/api/Azure.Management.Compute.netstandard2.0.cs b/sdk/testcommon/Azure.Management.Compute.2019_12/api/Azure.Management.Compute.netstandard2.0.cs index 8c63a50c075dc..4fdc59fdef97f 100644 --- a/sdk/testcommon/Azure.Management.Compute.2019_12/api/Azure.Management.Compute.netstandard2.0.cs +++ b/sdk/testcommon/Azure.Management.Compute.2019_12/api/Azure.Management.Compute.netstandard2.0.cs @@ -1,8 +1,8 @@ namespace Azure.Management.Compute { - public partial class AvailabilitySetsClient + public partial class AvailabilitySetsOperations { - protected AvailabilitySetsClient() { } + protected AvailabilitySetsOperations() { } public virtual Azure.Response CreateOrUpdate(string resourceGroupName, string availabilitySetName, Azure.Management.Compute.Models.AvailabilitySet parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(string resourceGroupName, string availabilitySetName, Azure.Management.Compute.Models.AvailabilitySet parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Delete(string resourceGroupName, string availabilitySetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -23,55 +23,41 @@ public partial class ComputeManagementClient protected ComputeManagementClient() { } public ComputeManagementClient(string subscriptionId, Azure.Core.TokenCredential tokenCredential, Azure.Management.Compute.ComputeManagementClientOptions options = null) { } public ComputeManagementClient(System.Uri endpoint, string subscriptionId, Azure.Core.TokenCredential tokenCredential, Azure.Management.Compute.ComputeManagementClientOptions options = null) { } - public virtual Azure.Management.Compute.AvailabilitySetsClient GetAvailabilitySetsClient() { throw null; } - public virtual Azure.Management.Compute.ContainerServicesClient GetContainerServicesClient() { throw null; } - public virtual Azure.Management.Compute.DedicatedHostGroupsClient GetDedicatedHostGroupsClient() { throw null; } - public virtual Azure.Management.Compute.DedicatedHostsClient GetDedicatedHostsClient() { throw null; } - public virtual Azure.Management.Compute.DiskEncryptionSetsClient GetDiskEncryptionSetsClient() { throw null; } - public virtual Azure.Management.Compute.DisksClient GetDisksClient() { throw null; } - public virtual Azure.Management.Compute.GalleriesClient GetGalleriesClient() { throw null; } - public virtual Azure.Management.Compute.GalleryApplicationsClient GetGalleryApplicationsClient() { throw null; } - public virtual Azure.Management.Compute.GalleryApplicationVersionsClient GetGalleryApplicationVersionsClient() { throw null; } - public virtual Azure.Management.Compute.GalleryImagesClient GetGalleryImagesClient() { throw null; } - public virtual Azure.Management.Compute.GalleryImageVersionsClient GetGalleryImageVersionsClient() { throw null; } - public virtual Azure.Management.Compute.ImagesClient GetImagesClient() { throw null; } - public virtual Azure.Management.Compute.LogAnalyticsClient GetLogAnalyticsClient() { throw null; } - public virtual Azure.Management.Compute.OperationsClient GetOperationsClient() { throw null; } - public virtual Azure.Management.Compute.ProximityPlacementGroupsClient GetProximityPlacementGroupsClient() { throw null; } - public virtual Azure.Management.Compute.ResourceSkusClient GetResourceSkusClient() { throw null; } - public virtual Azure.Management.Compute.SnapshotsClient GetSnapshotsClient() { throw null; } - public virtual Azure.Management.Compute.SshPublicKeysClient GetSshPublicKeysClient() { throw null; } - public virtual Azure.Management.Compute.UsageClient GetUsageClient() { throw null; } - public virtual Azure.Management.Compute.VirtualMachineExtensionImagesClient GetVirtualMachineExtensionImagesClient() { throw null; } - public virtual Azure.Management.Compute.VirtualMachineExtensionsClient GetVirtualMachineExtensionsClient() { throw null; } - public virtual Azure.Management.Compute.VirtualMachineImagesClient GetVirtualMachineImagesClient() { throw null; } - public virtual Azure.Management.Compute.VirtualMachineRunCommandsClient GetVirtualMachineRunCommandsClient() { throw null; } - public virtual Azure.Management.Compute.VirtualMachineScaleSetExtensionsClient GetVirtualMachineScaleSetExtensionsClient() { throw null; } - public virtual Azure.Management.Compute.VirtualMachineScaleSetRollingUpgradesClient GetVirtualMachineScaleSetRollingUpgradesClient() { throw null; } - public virtual Azure.Management.Compute.VirtualMachineScaleSetsClient GetVirtualMachineScaleSetsClient() { throw null; } - public virtual Azure.Management.Compute.VirtualMachineScaleSetVMExtensionsClient GetVirtualMachineScaleSetVMExtensionsClient() { throw null; } - public virtual Azure.Management.Compute.VirtualMachineScaleSetVMsClient GetVirtualMachineScaleSetVMsClient() { throw null; } - public virtual Azure.Management.Compute.VirtualMachinesClient GetVirtualMachinesClient() { throw null; } - public virtual Azure.Management.Compute.VirtualMachineSizesClient GetVirtualMachineSizesClient() { throw null; } + public virtual Azure.Management.Compute.AvailabilitySetsOperations AvailabilitySets { get { throw null; } } + public virtual Azure.Management.Compute.ContainerServicesOperations ContainerServices { get { throw null; } } + public virtual Azure.Management.Compute.DedicatedHostGroupsOperations DedicatedHostGroups { get { throw null; } } + public virtual Azure.Management.Compute.DedicatedHostsOperations DedicatedHosts { get { throw null; } } + public virtual Azure.Management.Compute.DiskEncryptionSetsOperations DiskEncryptionSets { get { throw null; } } + public virtual Azure.Management.Compute.DisksOperations Disks { get { throw null; } } + public virtual Azure.Management.Compute.GalleriesOperations Galleries { get { throw null; } } + public virtual Azure.Management.Compute.GalleryApplicationsOperations GalleryApplications { get { throw null; } } + public virtual Azure.Management.Compute.GalleryApplicationVersionsOperations GalleryApplicationVersions { get { throw null; } } + public virtual Azure.Management.Compute.GalleryImagesOperations GalleryImages { get { throw null; } } + public virtual Azure.Management.Compute.GalleryImageVersionsOperations GalleryImageVersions { get { throw null; } } + public virtual Azure.Management.Compute.ImagesOperations Images { get { throw null; } } + public virtual Azure.Management.Compute.LogAnalyticsOperations LogAnalytics { get { throw null; } } + public virtual Azure.Management.Compute.Operations Operations { get { throw null; } } + public virtual Azure.Management.Compute.ProximityPlacementGroupsOperations ProximityPlacementGroups { get { throw null; } } + public virtual Azure.Management.Compute.ResourceSkusOperations ResourceSkus { get { throw null; } } + public virtual Azure.Management.Compute.SnapshotsOperations Snapshots { get { throw null; } } + public virtual Azure.Management.Compute.SshPublicKeysOperations SshPublicKeys { get { throw null; } } + public virtual Azure.Management.Compute.UsageOperations Usage { get { throw null; } } + public virtual Azure.Management.Compute.VirtualMachineExtensionImagesOperations VirtualMachineExtensionImages { get { throw null; } } + public virtual Azure.Management.Compute.VirtualMachineExtensionsOperations VirtualMachineExtensions { get { throw null; } } + public virtual Azure.Management.Compute.VirtualMachineImagesOperations VirtualMachineImages { get { throw null; } } + public virtual Azure.Management.Compute.VirtualMachineRunCommandsOperations VirtualMachineRunCommands { get { throw null; } } + public virtual Azure.Management.Compute.VirtualMachinesOperations VirtualMachines { get { throw null; } } + public virtual Azure.Management.Compute.VirtualMachineScaleSetExtensionsOperations VirtualMachineScaleSetExtensions { get { throw null; } } + public virtual Azure.Management.Compute.VirtualMachineScaleSetRollingUpgradesOperations VirtualMachineScaleSetRollingUpgrades { get { throw null; } } + public virtual Azure.Management.Compute.VirtualMachineScaleSetsOperations VirtualMachineScaleSets { get { throw null; } } + public virtual Azure.Management.Compute.VirtualMachineScaleSetVMExtensionsOperations VirtualMachineScaleSetVMExtensions { get { throw null; } } + public virtual Azure.Management.Compute.VirtualMachineScaleSetVMsOperations VirtualMachineScaleSetVMs { get { throw null; } } + public virtual Azure.Management.Compute.VirtualMachineSizesOperations VirtualMachineSizes { get { throw null; } } } public partial class ComputeManagementClientOptions : Azure.Core.ClientOptions { public ComputeManagementClientOptions() { } } - public partial class ContainerServicesClient - { - protected ContainerServicesClient() { } - public virtual Azure.Response Get(string resourceGroupName, string containerServiceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string containerServiceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.ContainerServicesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string containerServiceName, Azure.Management.Compute.Models.ContainerService parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string containerServiceName, Azure.Management.Compute.Models.ContainerService parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.ContainerServicesDeleteOperation StartDelete(string resourceGroupName, string containerServiceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string containerServiceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class ContainerServicesCreateOrUpdateOperation : Azure.Operation { internal ContainerServicesCreateOrUpdateOperation() { } @@ -98,9 +84,23 @@ internal ContainerServicesDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class DedicatedHostGroupsClient + public partial class ContainerServicesOperations { - protected DedicatedHostGroupsClient() { } + protected ContainerServicesOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string containerServiceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string containerServiceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.ContainerServicesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string containerServiceName, Azure.Management.Compute.Models.ContainerService parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string containerServiceName, Azure.Management.Compute.Models.ContainerService parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.ContainerServicesDeleteOperation StartDelete(string resourceGroupName, string containerServiceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string containerServiceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class DedicatedHostGroupsOperations + { + protected DedicatedHostGroupsOperations() { } public virtual Azure.Response CreateOrUpdate(string resourceGroupName, string hostGroupName, Azure.Management.Compute.Models.DedicatedHostGroup parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(string resourceGroupName, string hostGroupName, Azure.Management.Compute.Models.DedicatedHostGroup parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Delete(string resourceGroupName, string hostGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -114,20 +114,6 @@ protected DedicatedHostGroupsClient() { } public virtual Azure.Response Update(string resourceGroupName, string hostGroupName, Azure.Management.Compute.Models.DedicatedHostGroupUpdate parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateAsync(string resourceGroupName, string hostGroupName, Azure.Management.Compute.Models.DedicatedHostGroupUpdate parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class DedicatedHostsClient - { - protected DedicatedHostsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string hostGroupName, string hostName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string hostGroupName, string hostName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByHostGroup(string resourceGroupName, string hostGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByHostGroupAsync(string resourceGroupName, string hostGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.DedicatedHostsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string hostGroupName, string hostName, Azure.Management.Compute.Models.DedicatedHost parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string hostGroupName, string hostName, Azure.Management.Compute.Models.DedicatedHost parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.DedicatedHostsDeleteOperation StartDelete(string resourceGroupName, string hostGroupName, string hostName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string hostGroupName, string hostName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.DedicatedHostsUpdateOperation StartUpdate(string resourceGroupName, string hostGroupName, string hostName, Azure.Management.Compute.Models.DedicatedHostUpdate parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string hostGroupName, string hostName, Azure.Management.Compute.Models.DedicatedHostUpdate parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class DedicatedHostsCreateOrUpdateOperation : Azure.Operation { internal DedicatedHostsCreateOrUpdateOperation() { } @@ -154,6 +140,20 @@ internal DedicatedHostsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class DedicatedHostsOperations + { + protected DedicatedHostsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string hostGroupName, string hostName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string hostGroupName, string hostName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByHostGroup(string resourceGroupName, string hostGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByHostGroupAsync(string resourceGroupName, string hostGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.DedicatedHostsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string hostGroupName, string hostName, Azure.Management.Compute.Models.DedicatedHost parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string hostGroupName, string hostName, Azure.Management.Compute.Models.DedicatedHost parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.DedicatedHostsDeleteOperation StartDelete(string resourceGroupName, string hostGroupName, string hostName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string hostGroupName, string hostName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.DedicatedHostsUpdateOperation StartUpdate(string resourceGroupName, string hostGroupName, string hostName, Azure.Management.Compute.Models.DedicatedHostUpdate parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string hostGroupName, string hostName, Azure.Management.Compute.Models.DedicatedHostUpdate parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class DedicatedHostsUpdateOperation : Azure.Operation { internal DedicatedHostsUpdateOperation() { } @@ -167,22 +167,6 @@ internal DedicatedHostsUpdateOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class DiskEncryptionSetsClient - { - protected DiskEncryptionSetsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string diskEncryptionSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string diskEncryptionSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.DiskEncryptionSetsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string diskEncryptionSetName, Azure.Management.Compute.Models.DiskEncryptionSet diskEncryptionSet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string diskEncryptionSetName, Azure.Management.Compute.Models.DiskEncryptionSet diskEncryptionSet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.DiskEncryptionSetsDeleteOperation StartDelete(string resourceGroupName, string diskEncryptionSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string diskEncryptionSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.DiskEncryptionSetsUpdateOperation StartUpdate(string resourceGroupName, string diskEncryptionSetName, Azure.Management.Compute.Models.DiskEncryptionSetUpdate diskEncryptionSet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string diskEncryptionSetName, Azure.Management.Compute.Models.DiskEncryptionSetUpdate diskEncryptionSet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class DiskEncryptionSetsCreateOrUpdateOperation : Azure.Operation { internal DiskEncryptionSetsCreateOrUpdateOperation() { } @@ -209,6 +193,22 @@ internal DiskEncryptionSetsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class DiskEncryptionSetsOperations + { + protected DiskEncryptionSetsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string diskEncryptionSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string diskEncryptionSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.DiskEncryptionSetsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string diskEncryptionSetName, Azure.Management.Compute.Models.DiskEncryptionSet diskEncryptionSet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string diskEncryptionSetName, Azure.Management.Compute.Models.DiskEncryptionSet diskEncryptionSet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.DiskEncryptionSetsDeleteOperation StartDelete(string resourceGroupName, string diskEncryptionSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string diskEncryptionSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.DiskEncryptionSetsUpdateOperation StartUpdate(string resourceGroupName, string diskEncryptionSetName, Azure.Management.Compute.Models.DiskEncryptionSetUpdate diskEncryptionSet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string diskEncryptionSetName, Azure.Management.Compute.Models.DiskEncryptionSetUpdate diskEncryptionSet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class DiskEncryptionSetsUpdateOperation : Azure.Operation { internal DiskEncryptionSetsUpdateOperation() { } @@ -222,26 +222,6 @@ internal DiskEncryptionSetsUpdateOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class DisksClient - { - protected DisksClient() { } - public virtual Azure.Response Get(string resourceGroupName, string diskName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string diskName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.DisksCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string diskName, Azure.Management.Compute.Models.Disk disk, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string diskName, Azure.Management.Compute.Models.Disk disk, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.DisksDeleteOperation StartDelete(string resourceGroupName, string diskName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string diskName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.DisksGrantAccessOperation StartGrantAccess(string resourceGroupName, string diskName, Azure.Management.Compute.Models.GrantAccessData grantAccessData, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartGrantAccessAsync(string resourceGroupName, string diskName, Azure.Management.Compute.Models.GrantAccessData grantAccessData, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.DisksRevokeAccessOperation StartRevokeAccess(string resourceGroupName, string diskName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartRevokeAccessAsync(string resourceGroupName, string diskName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.DisksUpdateOperation StartUpdate(string resourceGroupName, string diskName, Azure.Management.Compute.Models.DiskUpdate disk, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string diskName, Azure.Management.Compute.Models.DiskUpdate disk, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class DisksCreateOrUpdateOperation : Azure.Operation { internal DisksCreateOrUpdateOperation() { } @@ -281,6 +261,26 @@ internal DisksGrantAccessOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class DisksOperations + { + protected DisksOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string diskName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string diskName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.DisksCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string diskName, Azure.Management.Compute.Models.Disk disk, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string diskName, Azure.Management.Compute.Models.Disk disk, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.DisksDeleteOperation StartDelete(string resourceGroupName, string diskName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string diskName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.DisksGrantAccessOperation StartGrantAccess(string resourceGroupName, string diskName, Azure.Management.Compute.Models.GrantAccessData grantAccessData, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartGrantAccessAsync(string resourceGroupName, string diskName, Azure.Management.Compute.Models.GrantAccessData grantAccessData, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.DisksRevokeAccessOperation StartRevokeAccess(string resourceGroupName, string diskName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartRevokeAccessAsync(string resourceGroupName, string diskName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.DisksUpdateOperation StartUpdate(string resourceGroupName, string diskName, Azure.Management.Compute.Models.DiskUpdate disk, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string diskName, Azure.Management.Compute.Models.DiskUpdate disk, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class DisksRevokeAccessOperation : Azure.Operation { internal DisksRevokeAccessOperation() { } @@ -307,22 +307,6 @@ internal DisksUpdateOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class GalleriesClient - { - protected GalleriesClient() { } - public virtual Azure.Response Get(string resourceGroupName, string galleryName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string galleryName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.GalleriesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string galleryName, Azure.Management.Compute.Models.Gallery gallery, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string galleryName, Azure.Management.Compute.Models.Gallery gallery, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.GalleriesDeleteOperation StartDelete(string resourceGroupName, string galleryName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string galleryName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.GalleriesUpdateOperation StartUpdate(string resourceGroupName, string galleryName, Azure.Management.Compute.Models.GalleryUpdate gallery, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string galleryName, Azure.Management.Compute.Models.GalleryUpdate gallery, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class GalleriesCreateOrUpdateOperation : Azure.Operation { internal GalleriesCreateOrUpdateOperation() { } @@ -349,6 +333,22 @@ internal GalleriesDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class GalleriesOperations + { + protected GalleriesOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string galleryName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string galleryName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.GalleriesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string galleryName, Azure.Management.Compute.Models.Gallery gallery, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string galleryName, Azure.Management.Compute.Models.Gallery gallery, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.GalleriesDeleteOperation StartDelete(string resourceGroupName, string galleryName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string galleryName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.GalleriesUpdateOperation StartUpdate(string resourceGroupName, string galleryName, Azure.Management.Compute.Models.GalleryUpdate gallery, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string galleryName, Azure.Management.Compute.Models.GalleryUpdate gallery, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class GalleriesUpdateOperation : Azure.Operation { internal GalleriesUpdateOperation() { } @@ -362,20 +362,6 @@ internal GalleriesUpdateOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class GalleryApplicationsClient - { - protected GalleryApplicationsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string galleryName, string galleryApplicationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string galleryName, string galleryApplicationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByGallery(string resourceGroupName, string galleryName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByGalleryAsync(string resourceGroupName, string galleryName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.GalleryApplicationsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string galleryName, string galleryApplicationName, Azure.Management.Compute.Models.GalleryApplication galleryApplication, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string galleryName, string galleryApplicationName, Azure.Management.Compute.Models.GalleryApplication galleryApplication, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.GalleryApplicationsDeleteOperation StartDelete(string resourceGroupName, string galleryName, string galleryApplicationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string galleryName, string galleryApplicationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.GalleryApplicationsUpdateOperation StartUpdate(string resourceGroupName, string galleryName, string galleryApplicationName, Azure.Management.Compute.Models.GalleryApplicationUpdate galleryApplication, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string galleryName, string galleryApplicationName, Azure.Management.Compute.Models.GalleryApplicationUpdate galleryApplication, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class GalleryApplicationsCreateOrUpdateOperation : Azure.Operation { internal GalleryApplicationsCreateOrUpdateOperation() { } @@ -402,6 +388,20 @@ internal GalleryApplicationsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class GalleryApplicationsOperations + { + protected GalleryApplicationsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string galleryName, string galleryApplicationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string galleryName, string galleryApplicationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByGallery(string resourceGroupName, string galleryName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByGalleryAsync(string resourceGroupName, string galleryName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.GalleryApplicationsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string galleryName, string galleryApplicationName, Azure.Management.Compute.Models.GalleryApplication galleryApplication, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string galleryName, string galleryApplicationName, Azure.Management.Compute.Models.GalleryApplication galleryApplication, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.GalleryApplicationsDeleteOperation StartDelete(string resourceGroupName, string galleryName, string galleryApplicationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string galleryName, string galleryApplicationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.GalleryApplicationsUpdateOperation StartUpdate(string resourceGroupName, string galleryName, string galleryApplicationName, Azure.Management.Compute.Models.GalleryApplicationUpdate galleryApplication, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string galleryName, string galleryApplicationName, Azure.Management.Compute.Models.GalleryApplicationUpdate galleryApplication, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class GalleryApplicationsUpdateOperation : Azure.Operation { internal GalleryApplicationsUpdateOperation() { } @@ -415,20 +415,6 @@ internal GalleryApplicationsUpdateOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class GalleryApplicationVersionsClient - { - protected GalleryApplicationVersionsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string galleryName, string galleryApplicationName, string galleryApplicationVersionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string galleryName, string galleryApplicationName, string galleryApplicationVersionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByGalleryApplication(string resourceGroupName, string galleryName, string galleryApplicationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByGalleryApplicationAsync(string resourceGroupName, string galleryName, string galleryApplicationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.GalleryApplicationVersionsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string galleryName, string galleryApplicationName, string galleryApplicationVersionName, Azure.Management.Compute.Models.GalleryApplicationVersion galleryApplicationVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string galleryName, string galleryApplicationName, string galleryApplicationVersionName, Azure.Management.Compute.Models.GalleryApplicationVersion galleryApplicationVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.GalleryApplicationVersionsDeleteOperation StartDelete(string resourceGroupName, string galleryName, string galleryApplicationName, string galleryApplicationVersionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string galleryName, string galleryApplicationName, string galleryApplicationVersionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.GalleryApplicationVersionsUpdateOperation StartUpdate(string resourceGroupName, string galleryName, string galleryApplicationName, string galleryApplicationVersionName, Azure.Management.Compute.Models.GalleryApplicationVersionUpdate galleryApplicationVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string galleryName, string galleryApplicationName, string galleryApplicationVersionName, Azure.Management.Compute.Models.GalleryApplicationVersionUpdate galleryApplicationVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class GalleryApplicationVersionsCreateOrUpdateOperation : Azure.Operation { internal GalleryApplicationVersionsCreateOrUpdateOperation() { } @@ -455,6 +441,20 @@ internal GalleryApplicationVersionsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class GalleryApplicationVersionsOperations + { + protected GalleryApplicationVersionsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string galleryName, string galleryApplicationName, string galleryApplicationVersionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string galleryName, string galleryApplicationName, string galleryApplicationVersionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByGalleryApplication(string resourceGroupName, string galleryName, string galleryApplicationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByGalleryApplicationAsync(string resourceGroupName, string galleryName, string galleryApplicationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.GalleryApplicationVersionsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string galleryName, string galleryApplicationName, string galleryApplicationVersionName, Azure.Management.Compute.Models.GalleryApplicationVersion galleryApplicationVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string galleryName, string galleryApplicationName, string galleryApplicationVersionName, Azure.Management.Compute.Models.GalleryApplicationVersion galleryApplicationVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.GalleryApplicationVersionsDeleteOperation StartDelete(string resourceGroupName, string galleryName, string galleryApplicationName, string galleryApplicationVersionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string galleryName, string galleryApplicationName, string galleryApplicationVersionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.GalleryApplicationVersionsUpdateOperation StartUpdate(string resourceGroupName, string galleryName, string galleryApplicationName, string galleryApplicationVersionName, Azure.Management.Compute.Models.GalleryApplicationVersionUpdate galleryApplicationVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string galleryName, string galleryApplicationName, string galleryApplicationVersionName, Azure.Management.Compute.Models.GalleryApplicationVersionUpdate galleryApplicationVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class GalleryApplicationVersionsUpdateOperation : Azure.Operation { internal GalleryApplicationVersionsUpdateOperation() { } @@ -468,20 +468,6 @@ internal GalleryApplicationVersionsUpdateOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class GalleryImagesClient - { - protected GalleryImagesClient() { } - public virtual Azure.Response Get(string resourceGroupName, string galleryName, string galleryImageName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string galleryName, string galleryImageName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByGallery(string resourceGroupName, string galleryName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByGalleryAsync(string resourceGroupName, string galleryName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.GalleryImagesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string galleryName, string galleryImageName, Azure.Management.Compute.Models.GalleryImage galleryImage, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string galleryName, string galleryImageName, Azure.Management.Compute.Models.GalleryImage galleryImage, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.GalleryImagesDeleteOperation StartDelete(string resourceGroupName, string galleryName, string galleryImageName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string galleryName, string galleryImageName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.GalleryImagesUpdateOperation StartUpdate(string resourceGroupName, string galleryName, string galleryImageName, Azure.Management.Compute.Models.GalleryImageUpdate galleryImage, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string galleryName, string galleryImageName, Azure.Management.Compute.Models.GalleryImageUpdate galleryImage, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class GalleryImagesCreateOrUpdateOperation : Azure.Operation { internal GalleryImagesCreateOrUpdateOperation() { } @@ -508,6 +494,20 @@ internal GalleryImagesDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class GalleryImagesOperations + { + protected GalleryImagesOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string galleryName, string galleryImageName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string galleryName, string galleryImageName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByGallery(string resourceGroupName, string galleryName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByGalleryAsync(string resourceGroupName, string galleryName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.GalleryImagesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string galleryName, string galleryImageName, Azure.Management.Compute.Models.GalleryImage galleryImage, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string galleryName, string galleryImageName, Azure.Management.Compute.Models.GalleryImage galleryImage, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.GalleryImagesDeleteOperation StartDelete(string resourceGroupName, string galleryName, string galleryImageName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string galleryName, string galleryImageName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.GalleryImagesUpdateOperation StartUpdate(string resourceGroupName, string galleryName, string galleryImageName, Azure.Management.Compute.Models.GalleryImageUpdate galleryImage, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string galleryName, string galleryImageName, Azure.Management.Compute.Models.GalleryImageUpdate galleryImage, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class GalleryImagesUpdateOperation : Azure.Operation { internal GalleryImagesUpdateOperation() { } @@ -521,20 +521,6 @@ internal GalleryImagesUpdateOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class GalleryImageVersionsClient - { - protected GalleryImageVersionsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string galleryName, string galleryImageName, string galleryImageVersionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string galleryName, string galleryImageName, string galleryImageVersionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByGalleryImage(string resourceGroupName, string galleryName, string galleryImageName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByGalleryImageAsync(string resourceGroupName, string galleryName, string galleryImageName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.GalleryImageVersionsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string galleryName, string galleryImageName, string galleryImageVersionName, Azure.Management.Compute.Models.GalleryImageVersion galleryImageVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string galleryName, string galleryImageName, string galleryImageVersionName, Azure.Management.Compute.Models.GalleryImageVersion galleryImageVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.GalleryImageVersionsDeleteOperation StartDelete(string resourceGroupName, string galleryName, string galleryImageName, string galleryImageVersionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string galleryName, string galleryImageName, string galleryImageVersionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.GalleryImageVersionsUpdateOperation StartUpdate(string resourceGroupName, string galleryName, string galleryImageName, string galleryImageVersionName, Azure.Management.Compute.Models.GalleryImageVersionUpdate galleryImageVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string galleryName, string galleryImageName, string galleryImageVersionName, Azure.Management.Compute.Models.GalleryImageVersionUpdate galleryImageVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class GalleryImageVersionsCreateOrUpdateOperation : Azure.Operation { internal GalleryImageVersionsCreateOrUpdateOperation() { } @@ -561,6 +547,20 @@ internal GalleryImageVersionsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class GalleryImageVersionsOperations + { + protected GalleryImageVersionsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string galleryName, string galleryImageName, string galleryImageVersionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string galleryName, string galleryImageName, string galleryImageVersionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByGalleryImage(string resourceGroupName, string galleryName, string galleryImageName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByGalleryImageAsync(string resourceGroupName, string galleryName, string galleryImageName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.GalleryImageVersionsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string galleryName, string galleryImageName, string galleryImageVersionName, Azure.Management.Compute.Models.GalleryImageVersion galleryImageVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string galleryName, string galleryImageName, string galleryImageVersionName, Azure.Management.Compute.Models.GalleryImageVersion galleryImageVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.GalleryImageVersionsDeleteOperation StartDelete(string resourceGroupName, string galleryName, string galleryImageName, string galleryImageVersionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string galleryName, string galleryImageName, string galleryImageVersionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.GalleryImageVersionsUpdateOperation StartUpdate(string resourceGroupName, string galleryName, string galleryImageName, string galleryImageVersionName, Azure.Management.Compute.Models.GalleryImageVersionUpdate galleryImageVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string galleryName, string galleryImageName, string galleryImageVersionName, Azure.Management.Compute.Models.GalleryImageVersionUpdate galleryImageVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class GalleryImageVersionsUpdateOperation : Azure.Operation { internal GalleryImageVersionsUpdateOperation() { } @@ -574,22 +574,6 @@ internal GalleryImageVersionsUpdateOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ImagesClient - { - protected ImagesClient() { } - public virtual Azure.Response Get(string resourceGroupName, string imageName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string imageName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.ImagesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string imageName, Azure.Management.Compute.Models.Image parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string imageName, Azure.Management.Compute.Models.Image parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.ImagesDeleteOperation StartDelete(string resourceGroupName, string imageName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string imageName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.ImagesUpdateOperation StartUpdate(string resourceGroupName, string imageName, Azure.Management.Compute.Models.ImageUpdate parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string imageName, Azure.Management.Compute.Models.ImageUpdate parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class ImagesCreateOrUpdateOperation : Azure.Operation { internal ImagesCreateOrUpdateOperation() { } @@ -616,6 +600,22 @@ internal ImagesDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class ImagesOperations + { + protected ImagesOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string imageName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string imageName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.ImagesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string imageName, Azure.Management.Compute.Models.Image parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string imageName, Azure.Management.Compute.Models.Image parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.ImagesDeleteOperation StartDelete(string resourceGroupName, string imageName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string imageName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.ImagesUpdateOperation StartUpdate(string resourceGroupName, string imageName, Azure.Management.Compute.Models.ImageUpdate parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string imageName, Azure.Management.Compute.Models.ImageUpdate parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class ImagesUpdateOperation : Azure.Operation { internal ImagesUpdateOperation() { } @@ -629,14 +629,6 @@ internal ImagesUpdateOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class LogAnalyticsClient - { - protected LogAnalyticsClient() { } - public virtual Azure.Management.Compute.LogAnalyticsExportRequestRateByIntervalOperation StartExportRequestRateByInterval(string location, Azure.Management.Compute.Models.RequestRateByIntervalInput parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartExportRequestRateByIntervalAsync(string location, Azure.Management.Compute.Models.RequestRateByIntervalInput parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.LogAnalyticsExportThrottledRequestsOperation StartExportThrottledRequests(string location, Azure.Management.Compute.Models.LogAnalyticsInputBase parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartExportThrottledRequestsAsync(string location, Azure.Management.Compute.Models.LogAnalyticsInputBase parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class LogAnalyticsExportRequestRateByIntervalOperation : Azure.Operation { internal LogAnalyticsExportRequestRateByIntervalOperation() { } @@ -663,15 +655,23 @@ internal LogAnalyticsExportThrottledRequestsOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class OperationsClient + public partial class LogAnalyticsOperations + { + protected LogAnalyticsOperations() { } + public virtual Azure.Management.Compute.LogAnalyticsExportRequestRateByIntervalOperation StartExportRequestRateByInterval(string location, Azure.Management.Compute.Models.RequestRateByIntervalInput parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartExportRequestRateByIntervalAsync(string location, Azure.Management.Compute.Models.RequestRateByIntervalInput parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.LogAnalyticsExportThrottledRequestsOperation StartExportThrottledRequests(string location, Azure.Management.Compute.Models.LogAnalyticsInputBase parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartExportThrottledRequestsAsync(string location, Azure.Management.Compute.Models.LogAnalyticsInputBase parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class Operations { - protected OperationsClient() { } + protected Operations() { } public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ProximityPlacementGroupsClient + public partial class ProximityPlacementGroupsOperations { - protected ProximityPlacementGroupsClient() { } + protected ProximityPlacementGroupsOperations() { } public virtual Azure.Response CreateOrUpdate(string resourceGroupName, string proximityPlacementGroupName, Azure.Management.Compute.Models.ProximityPlacementGroup parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(string resourceGroupName, string proximityPlacementGroupName, Azure.Management.Compute.Models.ProximityPlacementGroup parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Delete(string resourceGroupName, string proximityPlacementGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -685,32 +685,12 @@ protected ProximityPlacementGroupsClient() { } public virtual Azure.Response Update(string resourceGroupName, string proximityPlacementGroupName, Azure.Management.Compute.Models.UpdateResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateAsync(string resourceGroupName, string proximityPlacementGroupName, Azure.Management.Compute.Models.UpdateResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ResourceSkusClient + public partial class ResourceSkusOperations { - protected ResourceSkusClient() { } + protected ResourceSkusOperations() { } public virtual Azure.Pageable List(string filter = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(string filter = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class SnapshotsClient - { - protected SnapshotsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string snapshotName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string snapshotName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.SnapshotsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string snapshotName, Azure.Management.Compute.Models.Snapshot snapshot, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string snapshotName, Azure.Management.Compute.Models.Snapshot snapshot, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.SnapshotsDeleteOperation StartDelete(string resourceGroupName, string snapshotName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string snapshotName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.SnapshotsGrantAccessOperation StartGrantAccess(string resourceGroupName, string snapshotName, Azure.Management.Compute.Models.GrantAccessData grantAccessData, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartGrantAccessAsync(string resourceGroupName, string snapshotName, Azure.Management.Compute.Models.GrantAccessData grantAccessData, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.SnapshotsRevokeAccessOperation StartRevokeAccess(string resourceGroupName, string snapshotName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartRevokeAccessAsync(string resourceGroupName, string snapshotName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.SnapshotsUpdateOperation StartUpdate(string resourceGroupName, string snapshotName, Azure.Management.Compute.Models.SnapshotUpdate snapshot, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string snapshotName, Azure.Management.Compute.Models.SnapshotUpdate snapshot, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class SnapshotsCreateOrUpdateOperation : Azure.Operation { internal SnapshotsCreateOrUpdateOperation() { } @@ -750,6 +730,26 @@ internal SnapshotsGrantAccessOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class SnapshotsOperations + { + protected SnapshotsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string snapshotName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string snapshotName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.SnapshotsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string snapshotName, Azure.Management.Compute.Models.Snapshot snapshot, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string snapshotName, Azure.Management.Compute.Models.Snapshot snapshot, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.SnapshotsDeleteOperation StartDelete(string resourceGroupName, string snapshotName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string snapshotName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.SnapshotsGrantAccessOperation StartGrantAccess(string resourceGroupName, string snapshotName, Azure.Management.Compute.Models.GrantAccessData grantAccessData, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartGrantAccessAsync(string resourceGroupName, string snapshotName, Azure.Management.Compute.Models.GrantAccessData grantAccessData, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.SnapshotsRevokeAccessOperation StartRevokeAccess(string resourceGroupName, string snapshotName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartRevokeAccessAsync(string resourceGroupName, string snapshotName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.SnapshotsUpdateOperation StartUpdate(string resourceGroupName, string snapshotName, Azure.Management.Compute.Models.SnapshotUpdate snapshot, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string snapshotName, Azure.Management.Compute.Models.SnapshotUpdate snapshot, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class SnapshotsRevokeAccessOperation : Azure.Operation { internal SnapshotsRevokeAccessOperation() { } @@ -776,9 +776,9 @@ internal SnapshotsUpdateOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class SshPublicKeysClient + public partial class SshPublicKeysOperations { - protected SshPublicKeysClient() { } + protected SshPublicKeysOperations() { } public virtual Azure.Response Create(string resourceGroupName, string sshPublicKeyName, Azure.Management.Compute.Models.SshPublicKeyResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CreateAsync(string resourceGroupName, string sshPublicKeyName, Azure.Management.Compute.Models.SshPublicKeyResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Delete(string resourceGroupName, string sshPublicKeyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -794,15 +794,15 @@ protected SshPublicKeysClient() { } public virtual Azure.Response Update(string resourceGroupName, string sshPublicKeyName, Azure.Management.Compute.Models.SshPublicKeyUpdateResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateAsync(string resourceGroupName, string sshPublicKeyName, Azure.Management.Compute.Models.SshPublicKeyUpdateResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class UsageClient + public partial class UsageOperations { - protected UsageClient() { } + protected UsageOperations() { } public virtual Azure.Pageable List(string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualMachineExtensionImagesClient + public partial class VirtualMachineExtensionImagesOperations { - protected VirtualMachineExtensionImagesClient() { } + protected VirtualMachineExtensionImagesOperations() { } public virtual Azure.Response Get(string location, string publisherName, string type, string version, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string location, string publisherName, string type, string version, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response> ListTypes(string location, string publisherName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -810,20 +810,6 @@ protected VirtualMachineExtensionImagesClient() { } public virtual Azure.Response> ListVersions(string location, string publisherName, string type, string filter = null, int? top = default(int?), string orderby = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task>> ListVersionsAsync(string location, string publisherName, string type, string filter = null, int? top = default(int?), string orderby = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualMachineExtensionsClient - { - protected VirtualMachineExtensionsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string vmName, string vmExtensionName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string vmName, string vmExtensionName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response List(string resourceGroupName, string vmName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> ListAsync(string resourceGroupName, string vmName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.VirtualMachineExtensionsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string vmName, string vmExtensionName, Azure.Management.Compute.Models.VirtualMachineExtension extensionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string vmName, string vmExtensionName, Azure.Management.Compute.Models.VirtualMachineExtension extensionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.VirtualMachineExtensionsDeleteOperation StartDelete(string resourceGroupName, string vmName, string vmExtensionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string vmName, string vmExtensionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.VirtualMachineExtensionsUpdateOperation StartUpdate(string resourceGroupName, string vmName, string vmExtensionName, Azure.Management.Compute.Models.VirtualMachineExtensionUpdate extensionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string vmName, string vmExtensionName, Azure.Management.Compute.Models.VirtualMachineExtensionUpdate extensionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class VirtualMachineExtensionsCreateOrUpdateOperation : Azure.Operation { internal VirtualMachineExtensionsCreateOrUpdateOperation() { } @@ -850,6 +836,20 @@ internal VirtualMachineExtensionsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class VirtualMachineExtensionsOperations + { + protected VirtualMachineExtensionsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string vmName, string vmExtensionName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string vmName, string vmExtensionName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response List(string resourceGroupName, string vmName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> ListAsync(string resourceGroupName, string vmName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.VirtualMachineExtensionsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string vmName, string vmExtensionName, Azure.Management.Compute.Models.VirtualMachineExtension extensionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string vmName, string vmExtensionName, Azure.Management.Compute.Models.VirtualMachineExtension extensionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.VirtualMachineExtensionsDeleteOperation StartDelete(string resourceGroupName, string vmName, string vmExtensionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string vmName, string vmExtensionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.VirtualMachineExtensionsUpdateOperation StartUpdate(string resourceGroupName, string vmName, string vmExtensionName, Azure.Management.Compute.Models.VirtualMachineExtensionUpdate extensionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string vmName, string vmExtensionName, Azure.Management.Compute.Models.VirtualMachineExtensionUpdate extensionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class VirtualMachineExtensionsUpdateOperation : Azure.Operation { internal VirtualMachineExtensionsUpdateOperation() { } @@ -863,9 +863,9 @@ internal VirtualMachineExtensionsUpdateOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualMachineImagesClient + public partial class VirtualMachineImagesOperations { - protected VirtualMachineImagesClient() { } + protected VirtualMachineImagesOperations() { } public virtual Azure.Response Get(string location, string publisherName, string offer, string skus, string version, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string location, string publisherName, string offer, string skus, string version, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response> List(string location, string publisherName, string offer, string skus, string expand = null, int? top = default(int?), string orderby = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -877,28 +877,14 @@ protected VirtualMachineImagesClient() { } public virtual Azure.Response> ListSkus(string location, string publisherName, string offer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task>> ListSkusAsync(string location, string publisherName, string offer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualMachineRunCommandsClient + public partial class VirtualMachineRunCommandsOperations { - protected VirtualMachineRunCommandsClient() { } + protected VirtualMachineRunCommandsOperations() { } public virtual Azure.Response Get(string location, string commandId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string location, string commandId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualMachineScaleSetExtensionsClient - { - protected VirtualMachineScaleSetExtensionsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string vmScaleSetName, string vmssExtensionName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string vmScaleSetName, string vmssExtensionName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.VirtualMachineScaleSetExtensionsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string vmScaleSetName, string vmssExtensionName, Azure.Management.Compute.Models.VirtualMachineScaleSetExtension extensionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string vmScaleSetName, string vmssExtensionName, Azure.Management.Compute.Models.VirtualMachineScaleSetExtension extensionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.VirtualMachineScaleSetExtensionsDeleteOperation StartDelete(string resourceGroupName, string vmScaleSetName, string vmssExtensionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string vmScaleSetName, string vmssExtensionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.VirtualMachineScaleSetExtensionsUpdateOperation StartUpdate(string resourceGroupName, string vmScaleSetName, string vmssExtensionName, Azure.Management.Compute.Models.VirtualMachineScaleSetExtensionUpdate extensionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string vmScaleSetName, string vmssExtensionName, Azure.Management.Compute.Models.VirtualMachineScaleSetExtensionUpdate extensionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class VirtualMachineScaleSetExtensionsCreateOrUpdateOperation : Azure.Operation { internal VirtualMachineScaleSetExtensionsCreateOrUpdateOperation() { } @@ -925,6 +911,20 @@ internal VirtualMachineScaleSetExtensionsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class VirtualMachineScaleSetExtensionsOperations + { + protected VirtualMachineScaleSetExtensionsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string vmScaleSetName, string vmssExtensionName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string vmScaleSetName, string vmssExtensionName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.VirtualMachineScaleSetExtensionsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string vmScaleSetName, string vmssExtensionName, Azure.Management.Compute.Models.VirtualMachineScaleSetExtension extensionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string vmScaleSetName, string vmssExtensionName, Azure.Management.Compute.Models.VirtualMachineScaleSetExtension extensionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.VirtualMachineScaleSetExtensionsDeleteOperation StartDelete(string resourceGroupName, string vmScaleSetName, string vmssExtensionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string vmScaleSetName, string vmssExtensionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.VirtualMachineScaleSetExtensionsUpdateOperation StartUpdate(string resourceGroupName, string vmScaleSetName, string vmssExtensionName, Azure.Management.Compute.Models.VirtualMachineScaleSetExtensionUpdate extensionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string vmScaleSetName, string vmssExtensionName, Azure.Management.Compute.Models.VirtualMachineScaleSetExtensionUpdate extensionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class VirtualMachineScaleSetExtensionsUpdateOperation : Azure.Operation { internal VirtualMachineScaleSetExtensionsUpdateOperation() { } @@ -951,9 +951,9 @@ internal VirtualMachineScaleSetRollingUpgradesCancelOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualMachineScaleSetRollingUpgradesClient + public partial class VirtualMachineScaleSetRollingUpgradesOperations { - protected VirtualMachineScaleSetRollingUpgradesClient() { } + protected VirtualMachineScaleSetRollingUpgradesOperations() { } public virtual Azure.Response GetLatest(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetLatestAsync(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Management.Compute.VirtualMachineScaleSetRollingUpgradesCancelOperation StartCancel(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -989,54 +989,6 @@ internal VirtualMachineScaleSetRollingUpgradesStartOSUpgradeOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualMachineScaleSetsClient - { - protected VirtualMachineScaleSetsClient() { } - public virtual Azure.Response ConvertToSinglePlacementGroup(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.VMScaleSetConvertToSinglePlacementGroupInput parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task ConvertToSinglePlacementGroupAsync(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.VMScaleSetConvertToSinglePlacementGroupInput parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response ForceRecoveryServiceFabricPlatformUpdateDomainWalk(string resourceGroupName, string vmScaleSetName, int platformUpdateDomain, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> ForceRecoveryServiceFabricPlatformUpdateDomainWalkAsync(string resourceGroupName, string vmScaleSetName, int platformUpdateDomain, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Get(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response GetInstanceView(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetInstanceViewAsync(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable GetOSUpgradeHistory(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable GetOSUpgradeHistoryAsync(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListSkus(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListSkusAsync(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.VirtualMachineScaleSetsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.VirtualMachineScaleSet parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.VirtualMachineScaleSet parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.VirtualMachineScaleSetsDeallocateOperation StartDeallocate(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeallocateAsync(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.VirtualMachineScaleSetsDeleteOperation StartDelete(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.VirtualMachineScaleSetsDeleteInstancesOperation StartDeleteInstances(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteInstancesAsync(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.VirtualMachineScaleSetsPerformMaintenanceOperation StartPerformMaintenance(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartPerformMaintenanceAsync(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.VirtualMachineScaleSetsPowerOffOperation StartPowerOff(string resourceGroupName, string vmScaleSetName, bool? skipShutdown = default(bool?), Azure.Management.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartPowerOffAsync(string resourceGroupName, string vmScaleSetName, bool? skipShutdown = default(bool?), Azure.Management.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.VirtualMachineScaleSetsRedeployOperation StartRedeploy(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartRedeployAsync(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.VirtualMachineScaleSetsReimageOperation StartReimage(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.VirtualMachineScaleSetReimageParameters vmScaleSetReimageInput = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.VirtualMachineScaleSetsReimageAllOperation StartReimageAll(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartReimageAllAsync(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartReimageAsync(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.VirtualMachineScaleSetReimageParameters vmScaleSetReimageInput = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.VirtualMachineScaleSetsRestartOperation StartRestart(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartRestartAsync(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.VirtualMachineScaleSetsSetOrchestrationServiceStateOperation StartSetOrchestrationServiceState(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.OrchestrationServiceStateInput parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartSetOrchestrationServiceStateAsync(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.OrchestrationServiceStateInput parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.VirtualMachineScaleSetsStartOperation StartStart(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartStartAsync(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.VirtualMachineScaleSetsUpdateOperation StartUpdate(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.VirtualMachineScaleSetUpdate parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.VirtualMachineScaleSetUpdate parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.VirtualMachineScaleSetsUpdateInstancesOperation StartUpdateInstances(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartUpdateInstancesAsync(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class VirtualMachineScaleSetsCreateOrUpdateOperation : Azure.Operation { internal VirtualMachineScaleSetsCreateOrUpdateOperation() { } @@ -1089,6 +1041,54 @@ internal VirtualMachineScaleSetsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class VirtualMachineScaleSetsOperations + { + protected VirtualMachineScaleSetsOperations() { } + public virtual Azure.Response ConvertToSinglePlacementGroup(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.VMScaleSetConvertToSinglePlacementGroupInput parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task ConvertToSinglePlacementGroupAsync(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.VMScaleSetConvertToSinglePlacementGroupInput parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response ForceRecoveryServiceFabricPlatformUpdateDomainWalk(string resourceGroupName, string vmScaleSetName, int platformUpdateDomain, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> ForceRecoveryServiceFabricPlatformUpdateDomainWalkAsync(string resourceGroupName, string vmScaleSetName, int platformUpdateDomain, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Get(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetInstanceView(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetInstanceViewAsync(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable GetOSUpgradeHistory(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable GetOSUpgradeHistoryAsync(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListSkus(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListSkusAsync(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.VirtualMachineScaleSetsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.VirtualMachineScaleSet parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.VirtualMachineScaleSet parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.VirtualMachineScaleSetsDeallocateOperation StartDeallocate(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeallocateAsync(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.VirtualMachineScaleSetsDeleteOperation StartDelete(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.VirtualMachineScaleSetsDeleteInstancesOperation StartDeleteInstances(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteInstancesAsync(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.VirtualMachineScaleSetsPerformMaintenanceOperation StartPerformMaintenance(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartPerformMaintenanceAsync(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.VirtualMachineScaleSetsPowerOffOperation StartPowerOff(string resourceGroupName, string vmScaleSetName, bool? skipShutdown = default(bool?), Azure.Management.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartPowerOffAsync(string resourceGroupName, string vmScaleSetName, bool? skipShutdown = default(bool?), Azure.Management.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.VirtualMachineScaleSetsRedeployOperation StartRedeploy(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartRedeployAsync(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.VirtualMachineScaleSetsReimageOperation StartReimage(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.VirtualMachineScaleSetReimageParameters vmScaleSetReimageInput = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.VirtualMachineScaleSetsReimageAllOperation StartReimageAll(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartReimageAllAsync(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartReimageAsync(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.VirtualMachineScaleSetReimageParameters vmScaleSetReimageInput = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.VirtualMachineScaleSetsRestartOperation StartRestart(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartRestartAsync(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.VirtualMachineScaleSetsSetOrchestrationServiceStateOperation StartSetOrchestrationServiceState(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.OrchestrationServiceStateInput parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartSetOrchestrationServiceStateAsync(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.OrchestrationServiceStateInput parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.VirtualMachineScaleSetsStartOperation StartStart(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartStartAsync(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.VirtualMachineScaleSetVMInstanceIDs vmInstanceIDs = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.VirtualMachineScaleSetsUpdateOperation StartUpdate(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.VirtualMachineScaleSetUpdate parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.VirtualMachineScaleSetUpdate parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.VirtualMachineScaleSetsUpdateInstancesOperation StartUpdateInstances(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartUpdateInstancesAsync(string resourceGroupName, string vmScaleSetName, Azure.Management.Compute.Models.VirtualMachineScaleSetVMInstanceRequiredIDs vmInstanceIDs, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class VirtualMachineScaleSetsPerformMaintenanceOperation : Azure.Operation { internal VirtualMachineScaleSetsPerformMaintenanceOperation() { } @@ -1219,9 +1219,35 @@ internal VirtualMachineScaleSetsUpdateOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualMachineScaleSetVMExtensionsClient + public partial class VirtualMachineScaleSetVMExtensionsCreateOrUpdateOperation : Azure.Operation + { + internal VirtualMachineScaleSetVMExtensionsCreateOrUpdateOperation() { } + public override bool HasCompleted { get { throw null; } } + public override bool HasValue { get { throw null; } } + public override string Id { get { throw null; } } + public override Azure.Management.Compute.Models.VirtualMachineExtension Value { get { throw null; } } + public override Azure.Response GetRawResponse() { throw null; } + public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class VirtualMachineScaleSetVMExtensionsDeleteOperation : Azure.Operation + { + internal VirtualMachineScaleSetVMExtensionsDeleteOperation() { } + public override bool HasCompleted { get { throw null; } } + public override bool HasValue { get { throw null; } } + public override string Id { get { throw null; } } + public override Azure.Response Value { get { throw null; } } + public override Azure.Response GetRawResponse() { throw null; } + public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class VirtualMachineScaleSetVMExtensionsOperations { - protected VirtualMachineScaleSetVMExtensionsClient() { } + protected VirtualMachineScaleSetVMExtensionsOperations() { } public virtual Azure.Response Get(string resourceGroupName, string vmScaleSetName, string instanceId, string vmExtensionName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string vmScaleSetName, string instanceId, string vmExtensionName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response List(string resourceGroupName, string vmScaleSetName, string instanceId, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -1233,9 +1259,9 @@ protected VirtualMachineScaleSetVMExtensionsClient() { } public virtual Azure.Management.Compute.VirtualMachineScaleSetVMExtensionsUpdateOperation StartUpdate(string resourceGroupName, string vmScaleSetName, string instanceId, string vmExtensionName, Azure.Management.Compute.Models.VirtualMachineExtensionUpdate extensionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string vmScaleSetName, string instanceId, string vmExtensionName, Azure.Management.Compute.Models.VirtualMachineExtensionUpdate extensionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualMachineScaleSetVMExtensionsCreateOrUpdateOperation : Azure.Operation + public partial class VirtualMachineScaleSetVMExtensionsUpdateOperation : Azure.Operation { - internal VirtualMachineScaleSetVMExtensionsCreateOrUpdateOperation() { } + internal VirtualMachineScaleSetVMExtensionsUpdateOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } @@ -1246,9 +1272,9 @@ internal VirtualMachineScaleSetVMExtensionsCreateOrUpdateOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualMachineScaleSetVMExtensionsDeleteOperation : Azure.Operation + public partial class VirtualMachineScaleSetVMsDeallocateOperation : Azure.Operation { - internal VirtualMachineScaleSetVMExtensionsDeleteOperation() { } + internal VirtualMachineScaleSetVMsDeallocateOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } @@ -1259,22 +1285,22 @@ internal VirtualMachineScaleSetVMExtensionsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualMachineScaleSetVMExtensionsUpdateOperation : Azure.Operation + public partial class VirtualMachineScaleSetVMsDeleteOperation : Azure.Operation { - internal VirtualMachineScaleSetVMExtensionsUpdateOperation() { } + internal VirtualMachineScaleSetVMsDeleteOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } - public override Azure.Management.Compute.Models.VirtualMachineExtension Value { get { throw null; } } + public override Azure.Response Value { get { throw null; } } public override Azure.Response GetRawResponse() { throw null; } public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualMachineScaleSetVMsClient + public partial class VirtualMachineScaleSetVMsOperations { - protected VirtualMachineScaleSetVMsClient() { } + protected VirtualMachineScaleSetVMsOperations() { } public virtual Azure.Response Get(string resourceGroupName, string vmScaleSetName, string instanceId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string vmScaleSetName, string instanceId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetInstanceView(string resourceGroupName, string vmScaleSetName, string instanceId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -1306,32 +1332,6 @@ protected VirtualMachineScaleSetVMsClient() { } public virtual Azure.Management.Compute.VirtualMachineScaleSetVMsUpdateOperation StartUpdate(string resourceGroupName, string vmScaleSetName, string instanceId, Azure.Management.Compute.Models.VirtualMachineScaleSetVM parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string vmScaleSetName, string instanceId, Azure.Management.Compute.Models.VirtualMachineScaleSetVM parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualMachineScaleSetVMsDeallocateOperation : Azure.Operation - { - internal VirtualMachineScaleSetVMsDeallocateOperation() { } - public override bool HasCompleted { get { throw null; } } - public override bool HasValue { get { throw null; } } - public override string Id { get { throw null; } } - public override Azure.Response Value { get { throw null; } } - public override Azure.Response GetRawResponse() { throw null; } - public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } - public partial class VirtualMachineScaleSetVMsDeleteOperation : Azure.Operation - { - internal VirtualMachineScaleSetVMsDeleteOperation() { } - public override bool HasCompleted { get { throw null; } } - public override bool HasValue { get { throw null; } } - public override string Id { get { throw null; } } - public override Azure.Response Value { get { throw null; } } - public override Azure.Response GetRawResponse() { throw null; } - public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class VirtualMachineScaleSetVMsPerformMaintenanceOperation : Azure.Operation { internal VirtualMachineScaleSetVMsPerformMaintenanceOperation() { } @@ -1462,54 +1462,6 @@ internal VirtualMachinesCaptureOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualMachinesClient - { - protected VirtualMachinesClient() { } - public virtual Azure.Response Generalize(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task GeneralizeAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Get(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response InstanceView(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> InstanceViewAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListAll(string statusOnly = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAllAsync(string statusOnly = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListAvailableSizes(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAvailableSizesAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByLocation(string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByLocationAsync(string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response SimulateEviction(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task SimulateEvictionAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.VirtualMachinesCaptureOperation StartCapture(string resourceGroupName, string vmName, Azure.Management.Compute.Models.VirtualMachineCaptureParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCaptureAsync(string resourceGroupName, string vmName, Azure.Management.Compute.Models.VirtualMachineCaptureParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.VirtualMachinesConvertToManagedDisksOperation StartConvertToManagedDisks(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartConvertToManagedDisksAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.VirtualMachinesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string vmName, Azure.Management.Compute.Models.VirtualMachine parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string vmName, Azure.Management.Compute.Models.VirtualMachine parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.VirtualMachinesDeallocateOperation StartDeallocate(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeallocateAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.VirtualMachinesDeleteOperation StartDelete(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.VirtualMachinesPerformMaintenanceOperation StartPerformMaintenance(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartPerformMaintenanceAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.VirtualMachinesPowerOffOperation StartPowerOff(string resourceGroupName, string vmName, bool? skipShutdown = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartPowerOffAsync(string resourceGroupName, string vmName, bool? skipShutdown = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.VirtualMachinesReapplyOperation StartReapply(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartReapplyAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.VirtualMachinesRedeployOperation StartRedeploy(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartRedeployAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.VirtualMachinesReimageOperation StartReimage(string resourceGroupName, string vmName, Azure.Management.Compute.Models.VirtualMachineReimageParameters parameters = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartReimageAsync(string resourceGroupName, string vmName, Azure.Management.Compute.Models.VirtualMachineReimageParameters parameters = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.VirtualMachinesRestartOperation StartRestart(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartRestartAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.VirtualMachinesRunCommandOperation StartRunCommand(string resourceGroupName, string vmName, Azure.Management.Compute.Models.RunCommandInput parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartRunCommandAsync(string resourceGroupName, string vmName, Azure.Management.Compute.Models.RunCommandInput parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.VirtualMachinesStartOperation StartStart(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartStartAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Compute.VirtualMachinesUpdateOperation StartUpdate(string resourceGroupName, string vmName, Azure.Management.Compute.Models.VirtualMachineUpdate parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string vmName, Azure.Management.Compute.Models.VirtualMachineUpdate parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class VirtualMachinesConvertToManagedDisksOperation : Azure.Operation { internal VirtualMachinesConvertToManagedDisksOperation() { } @@ -1562,12 +1514,60 @@ internal VirtualMachinesDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualMachineSizesClient + public partial class VirtualMachineSizesOperations { - protected VirtualMachineSizesClient() { } + protected VirtualMachineSizesOperations() { } public virtual Azure.Pageable List(string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class VirtualMachinesOperations + { + protected VirtualMachinesOperations() { } + public virtual Azure.Response Generalize(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task GeneralizeAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Get(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response InstanceView(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> InstanceViewAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListAll(string statusOnly = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAllAsync(string statusOnly = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListAvailableSizes(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAvailableSizesAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByLocation(string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByLocationAsync(string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response SimulateEviction(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task SimulateEvictionAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.VirtualMachinesCaptureOperation StartCapture(string resourceGroupName, string vmName, Azure.Management.Compute.Models.VirtualMachineCaptureParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCaptureAsync(string resourceGroupName, string vmName, Azure.Management.Compute.Models.VirtualMachineCaptureParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.VirtualMachinesConvertToManagedDisksOperation StartConvertToManagedDisks(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartConvertToManagedDisksAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.VirtualMachinesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string vmName, Azure.Management.Compute.Models.VirtualMachine parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string vmName, Azure.Management.Compute.Models.VirtualMachine parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.VirtualMachinesDeallocateOperation StartDeallocate(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeallocateAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.VirtualMachinesDeleteOperation StartDelete(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.VirtualMachinesPerformMaintenanceOperation StartPerformMaintenance(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartPerformMaintenanceAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.VirtualMachinesPowerOffOperation StartPowerOff(string resourceGroupName, string vmName, bool? skipShutdown = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartPowerOffAsync(string resourceGroupName, string vmName, bool? skipShutdown = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.VirtualMachinesReapplyOperation StartReapply(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartReapplyAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.VirtualMachinesRedeployOperation StartRedeploy(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartRedeployAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.VirtualMachinesReimageOperation StartReimage(string resourceGroupName, string vmName, Azure.Management.Compute.Models.VirtualMachineReimageParameters parameters = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartReimageAsync(string resourceGroupName, string vmName, Azure.Management.Compute.Models.VirtualMachineReimageParameters parameters = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.VirtualMachinesRestartOperation StartRestart(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartRestartAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.VirtualMachinesRunCommandOperation StartRunCommand(string resourceGroupName, string vmName, Azure.Management.Compute.Models.RunCommandInput parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartRunCommandAsync(string resourceGroupName, string vmName, Azure.Management.Compute.Models.RunCommandInput parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.VirtualMachinesStartOperation StartStart(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartStartAsync(string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Compute.VirtualMachinesUpdateOperation StartUpdate(string resourceGroupName, string vmName, Azure.Management.Compute.Models.VirtualMachineUpdate parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string vmName, Azure.Management.Compute.Models.VirtualMachineUpdate parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class VirtualMachinesPerformMaintenanceOperation : Azure.Operation { internal VirtualMachinesPerformMaintenanceOperation() { } diff --git a/sdk/testcommon/Azure.Management.Network.2020_04/api/Azure.Management.Network.netstandard2.0.cs b/sdk/testcommon/Azure.Management.Network.2020_04/api/Azure.Management.Network.netstandard2.0.cs index 8b3ddfa598d08..45cc478bc53d3 100644 --- a/sdk/testcommon/Azure.Management.Network.2020_04/api/Azure.Management.Network.netstandard2.0.cs +++ b/sdk/testcommon/Azure.Management.Network.2020_04/api/Azure.Management.Network.netstandard2.0.cs @@ -26,9 +26,35 @@ internal ApplicationGatewaysBackendHealthOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ApplicationGatewaysClient + public partial class ApplicationGatewaysCreateOrUpdateOperation : Azure.Operation + { + internal ApplicationGatewaysCreateOrUpdateOperation() { } + public override bool HasCompleted { get { throw null; } } + public override bool HasValue { get { throw null; } } + public override string Id { get { throw null; } } + public override Azure.Management.Network.Models.ApplicationGateway Value { get { throw null; } } + public override Azure.Response GetRawResponse() { throw null; } + public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class ApplicationGatewaysDeleteOperation : Azure.Operation + { + internal ApplicationGatewaysDeleteOperation() { } + public override bool HasCompleted { get { throw null; } } + public override bool HasValue { get { throw null; } } + public override string Id { get { throw null; } } + public override Azure.Response Value { get { throw null; } } + public override Azure.Response GetRawResponse() { throw null; } + public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class ApplicationGatewaysOperations { - protected ApplicationGatewaysClient() { } + protected ApplicationGatewaysOperations() { } public virtual Azure.Response Get(string resourceGroupName, string applicationGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string applicationGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetSslPredefinedPolicy(string predefinedPolicyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -64,32 +90,6 @@ protected ApplicationGatewaysClient() { } public virtual Azure.Response UpdateTags(string resourceGroupName, string applicationGatewayName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string applicationGatewayName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ApplicationGatewaysCreateOrUpdateOperation : Azure.Operation - { - internal ApplicationGatewaysCreateOrUpdateOperation() { } - public override bool HasCompleted { get { throw null; } } - public override bool HasValue { get { throw null; } } - public override string Id { get { throw null; } } - public override Azure.Management.Network.Models.ApplicationGateway Value { get { throw null; } } - public override Azure.Response GetRawResponse() { throw null; } - public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } - public partial class ApplicationGatewaysDeleteOperation : Azure.Operation - { - internal ApplicationGatewaysDeleteOperation() { } - public override bool HasCompleted { get { throw null; } } - public override bool HasValue { get { throw null; } } - public override string Id { get { throw null; } } - public override Azure.Response Value { get { throw null; } } - public override Azure.Response GetRawResponse() { throw null; } - public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class ApplicationGatewaysStartOperation : Azure.Operation { internal ApplicationGatewaysStartOperation() { } @@ -116,22 +116,6 @@ internal ApplicationGatewaysStopOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ApplicationSecurityGroupsClient - { - protected ApplicationSecurityGroupsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string applicationSecurityGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string applicationSecurityGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.ApplicationSecurityGroupsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string applicationSecurityGroupName, Azure.Management.Network.Models.ApplicationSecurityGroup parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string applicationSecurityGroupName, Azure.Management.Network.Models.ApplicationSecurityGroup parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.ApplicationSecurityGroupsDeleteOperation StartDelete(string resourceGroupName, string applicationSecurityGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string applicationSecurityGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response UpdateTags(string resourceGroupName, string applicationSecurityGroupName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string applicationSecurityGroupName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class ApplicationSecurityGroupsCreateOrUpdateOperation : Azure.Operation { internal ApplicationSecurityGroupsCreateOrUpdateOperation() { } @@ -158,62 +142,62 @@ internal ApplicationSecurityGroupsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class AvailableDelegationsClient + public partial class ApplicationSecurityGroupsOperations + { + protected ApplicationSecurityGroupsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string applicationSecurityGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string applicationSecurityGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.ApplicationSecurityGroupsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string applicationSecurityGroupName, Azure.Management.Network.Models.ApplicationSecurityGroup parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string applicationSecurityGroupName, Azure.Management.Network.Models.ApplicationSecurityGroup parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.ApplicationSecurityGroupsDeleteOperation StartDelete(string resourceGroupName, string applicationSecurityGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string applicationSecurityGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response UpdateTags(string resourceGroupName, string applicationSecurityGroupName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string applicationSecurityGroupName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class AvailableDelegationsOperations { - protected AvailableDelegationsClient() { } + protected AvailableDelegationsOperations() { } public virtual Azure.Pageable List(string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class AvailableEndpointServicesClient + public partial class AvailableEndpointServicesOperations { - protected AvailableEndpointServicesClient() { } + protected AvailableEndpointServicesOperations() { } public virtual Azure.Pageable List(string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class AvailablePrivateEndpointTypesClient + public partial class AvailablePrivateEndpointTypesOperations { - protected AvailablePrivateEndpointTypesClient() { } + protected AvailablePrivateEndpointTypesOperations() { } public virtual Azure.Pageable List(string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable ListByResourceGroup(string location, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListByResourceGroupAsync(string location, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class AvailableResourceGroupDelegationsClient + public partial class AvailableResourceGroupDelegationsOperations { - protected AvailableResourceGroupDelegationsClient() { } + protected AvailableResourceGroupDelegationsOperations() { } public virtual Azure.Pageable List(string location, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(string location, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class AvailableServiceAliasesClient + public partial class AvailableServiceAliasesOperations { - protected AvailableServiceAliasesClient() { } + protected AvailableServiceAliasesOperations() { } public virtual Azure.Pageable List(string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class AzureFirewallFqdnTagsClient + public partial class AzureFirewallFqdnTagsOperations { - protected AzureFirewallFqdnTagsClient() { } + protected AzureFirewallFqdnTagsOperations() { } public virtual Azure.Pageable ListAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class AzureFirewallsClient - { - protected AzureFirewallsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string azureFirewallName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string azureFirewallName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.AzureFirewallsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string azureFirewallName, Azure.Management.Network.Models.AzureFirewall parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string azureFirewallName, Azure.Management.Network.Models.AzureFirewall parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.AzureFirewallsDeleteOperation StartDelete(string resourceGroupName, string azureFirewallName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string azureFirewallName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.AzureFirewallsUpdateTagsOperation StartUpdateTags(string resourceGroupName, string azureFirewallName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartUpdateTagsAsync(string resourceGroupName, string azureFirewallName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class AzureFirewallsCreateOrUpdateOperation : Azure.Operation { internal AzureFirewallsCreateOrUpdateOperation() { } @@ -240,6 +224,22 @@ internal AzureFirewallsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class AzureFirewallsOperations + { + protected AzureFirewallsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string azureFirewallName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string azureFirewallName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.AzureFirewallsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string azureFirewallName, Azure.Management.Network.Models.AzureFirewall parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string azureFirewallName, Azure.Management.Network.Models.AzureFirewall parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.AzureFirewallsDeleteOperation StartDelete(string resourceGroupName, string azureFirewallName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string azureFirewallName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.AzureFirewallsUpdateTagsOperation StartUpdateTags(string resourceGroupName, string azureFirewallName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartUpdateTagsAsync(string resourceGroupName, string azureFirewallName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class AzureFirewallsUpdateTagsOperation : Azure.Operation { internal AzureFirewallsUpdateTagsOperation() { } @@ -253,20 +253,6 @@ internal AzureFirewallsUpdateTagsOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class BastionHostsClient - { - protected BastionHostsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string bastionHostName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string bastionHostName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.BastionHostsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string bastionHostName, Azure.Management.Network.Models.BastionHost parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string bastionHostName, Azure.Management.Network.Models.BastionHost parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.BastionHostsDeleteOperation StartDelete(string resourceGroupName, string bastionHostName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string bastionHostName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class BastionHostsCreateOrUpdateOperation : Azure.Operation { internal BastionHostsCreateOrUpdateOperation() { } @@ -293,31 +279,25 @@ internal BastionHostsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class BgpServiceCommunitiesClient + public partial class BastionHostsOperations { - protected BgpServiceCommunitiesClient() { } - public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected BastionHostsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string bastionHostName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string bastionHostName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.BastionHostsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string bastionHostName, Azure.Management.Network.Models.BastionHost parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string bastionHostName, Azure.Management.Network.Models.BastionHost parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.BastionHostsDeleteOperation StartDelete(string resourceGroupName, string bastionHostName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string bastionHostName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ConnectionMonitorsClient + public partial class BgpServiceCommunitiesOperations { - protected ConnectionMonitorsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string networkWatcherName, string connectionMonitorName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string networkWatcherName, string connectionMonitorName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, string networkWatcherName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string networkWatcherName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.ConnectionMonitorsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string networkWatcherName, string connectionMonitorName, Azure.Management.Network.Models.ConnectionMonitor parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string networkWatcherName, string connectionMonitorName, Azure.Management.Network.Models.ConnectionMonitor parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.ConnectionMonitorsDeleteOperation StartDelete(string resourceGroupName, string networkWatcherName, string connectionMonitorName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string networkWatcherName, string connectionMonitorName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.ConnectionMonitorsQueryOperation StartQuery(string resourceGroupName, string networkWatcherName, string connectionMonitorName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartQueryAsync(string resourceGroupName, string networkWatcherName, string connectionMonitorName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.ConnectionMonitorsStartOperation StartStart(string resourceGroupName, string networkWatcherName, string connectionMonitorName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartStartAsync(string resourceGroupName, string networkWatcherName, string connectionMonitorName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.ConnectionMonitorsStopOperation StartStop(string resourceGroupName, string networkWatcherName, string connectionMonitorName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartStopAsync(string resourceGroupName, string networkWatcherName, string connectionMonitorName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response UpdateTags(string resourceGroupName, string networkWatcherName, string connectionMonitorName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string networkWatcherName, string connectionMonitorName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected BgpServiceCommunitiesOperations() { } + public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class ConnectionMonitorsCreateOrUpdateOperation : Azure.Operation { @@ -345,6 +325,26 @@ internal ConnectionMonitorsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class ConnectionMonitorsOperations + { + protected ConnectionMonitorsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string networkWatcherName, string connectionMonitorName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string networkWatcherName, string connectionMonitorName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, string networkWatcherName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string networkWatcherName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.ConnectionMonitorsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string networkWatcherName, string connectionMonitorName, Azure.Management.Network.Models.ConnectionMonitor parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string networkWatcherName, string connectionMonitorName, Azure.Management.Network.Models.ConnectionMonitor parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.ConnectionMonitorsDeleteOperation StartDelete(string resourceGroupName, string networkWatcherName, string connectionMonitorName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string networkWatcherName, string connectionMonitorName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.ConnectionMonitorsQueryOperation StartQuery(string resourceGroupName, string networkWatcherName, string connectionMonitorName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartQueryAsync(string resourceGroupName, string networkWatcherName, string connectionMonitorName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.ConnectionMonitorsStartOperation StartStart(string resourceGroupName, string networkWatcherName, string connectionMonitorName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartStartAsync(string resourceGroupName, string networkWatcherName, string connectionMonitorName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.ConnectionMonitorsStopOperation StartStop(string resourceGroupName, string networkWatcherName, string connectionMonitorName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartStopAsync(string resourceGroupName, string networkWatcherName, string connectionMonitorName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response UpdateTags(string resourceGroupName, string networkWatcherName, string connectionMonitorName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string networkWatcherName, string connectionMonitorName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class ConnectionMonitorsQueryOperation : Azure.Operation { internal ConnectionMonitorsQueryOperation() { } @@ -384,18 +384,6 @@ internal ConnectionMonitorsStopOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class DdosCustomPoliciesClient - { - protected DdosCustomPoliciesClient() { } - public virtual Azure.Response Get(string resourceGroupName, string ddosCustomPolicyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string ddosCustomPolicyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.DdosCustomPoliciesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string ddosCustomPolicyName, Azure.Management.Network.Models.DdosCustomPolicy parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string ddosCustomPolicyName, Azure.Management.Network.Models.DdosCustomPolicy parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.DdosCustomPoliciesDeleteOperation StartDelete(string resourceGroupName, string ddosCustomPolicyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string ddosCustomPolicyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response UpdateTags(string resourceGroupName, string ddosCustomPolicyName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string ddosCustomPolicyName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class DdosCustomPoliciesCreateOrUpdateOperation : Azure.Operation { internal DdosCustomPoliciesCreateOrUpdateOperation() { } @@ -422,21 +410,17 @@ internal DdosCustomPoliciesDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class DdosProtectionPlansClient + public partial class DdosCustomPoliciesOperations { - protected DdosProtectionPlansClient() { } - public virtual Azure.Response Get(string resourceGroupName, string ddosProtectionPlanName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string ddosProtectionPlanName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.DdosProtectionPlansCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string ddosProtectionPlanName, Azure.Management.Network.Models.DdosProtectionPlan parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string ddosProtectionPlanName, Azure.Management.Network.Models.DdosProtectionPlan parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.DdosProtectionPlansDeleteOperation StartDelete(string resourceGroupName, string ddosProtectionPlanName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string ddosProtectionPlanName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response UpdateTags(string resourceGroupName, string ddosProtectionPlanName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string ddosProtectionPlanName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected DdosCustomPoliciesOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string ddosCustomPolicyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string ddosCustomPolicyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.DdosCustomPoliciesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string ddosCustomPolicyName, Azure.Management.Network.Models.DdosCustomPolicy parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string ddosCustomPolicyName, Azure.Management.Network.Models.DdosCustomPolicy parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.DdosCustomPoliciesDeleteOperation StartDelete(string resourceGroupName, string ddosCustomPolicyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string ddosCustomPolicyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response UpdateTags(string resourceGroupName, string ddosCustomPolicyName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string ddosCustomPolicyName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class DdosProtectionPlansCreateOrUpdateOperation : Azure.Operation { @@ -464,26 +448,30 @@ internal DdosProtectionPlansDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class DefaultSecurityRulesClient + public partial class DdosProtectionPlansOperations + { + protected DdosProtectionPlansOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string ddosProtectionPlanName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string ddosProtectionPlanName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.DdosProtectionPlansCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string ddosProtectionPlanName, Azure.Management.Network.Models.DdosProtectionPlan parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string ddosProtectionPlanName, Azure.Management.Network.Models.DdosProtectionPlan parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.DdosProtectionPlansDeleteOperation StartDelete(string resourceGroupName, string ddosProtectionPlanName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string ddosProtectionPlanName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response UpdateTags(string resourceGroupName, string ddosProtectionPlanName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string ddosProtectionPlanName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class DefaultSecurityRulesOperations { - protected DefaultSecurityRulesClient() { } + protected DefaultSecurityRulesOperations() { } public virtual Azure.Response Get(string resourceGroupName, string networkSecurityGroupName, string defaultSecurityRuleName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string networkSecurityGroupName, string defaultSecurityRuleName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(string resourceGroupName, string networkSecurityGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string networkSecurityGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ExpressRouteCircuitAuthorizationsClient - { - protected ExpressRouteCircuitAuthorizationsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string circuitName, string authorizationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string circuitName, string authorizationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, string circuitName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string circuitName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.ExpressRouteCircuitAuthorizationsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string circuitName, string authorizationName, Azure.Management.Network.Models.ExpressRouteCircuitAuthorization authorizationParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string circuitName, string authorizationName, Azure.Management.Network.Models.ExpressRouteCircuitAuthorization authorizationParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.ExpressRouteCircuitAuthorizationsDeleteOperation StartDelete(string resourceGroupName, string circuitName, string authorizationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string circuitName, string authorizationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class ExpressRouteCircuitAuthorizationsCreateOrUpdateOperation : Azure.Operation { internal ExpressRouteCircuitAuthorizationsCreateOrUpdateOperation() { } @@ -510,17 +498,17 @@ internal ExpressRouteCircuitAuthorizationsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ExpressRouteCircuitConnectionsClient + public partial class ExpressRouteCircuitAuthorizationsOperations { - protected ExpressRouteCircuitConnectionsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string circuitName, string peeringName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string circuitName, string peeringName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, string circuitName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string circuitName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.ExpressRouteCircuitConnectionsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string circuitName, string peeringName, string connectionName, Azure.Management.Network.Models.ExpressRouteCircuitConnection expressRouteCircuitConnectionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string circuitName, string peeringName, string connectionName, Azure.Management.Network.Models.ExpressRouteCircuitConnection expressRouteCircuitConnectionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.ExpressRouteCircuitConnectionsDeleteOperation StartDelete(string resourceGroupName, string circuitName, string peeringName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string circuitName, string peeringName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected ExpressRouteCircuitAuthorizationsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string circuitName, string authorizationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string circuitName, string authorizationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, string circuitName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string circuitName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.ExpressRouteCircuitAuthorizationsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string circuitName, string authorizationName, Azure.Management.Network.Models.ExpressRouteCircuitAuthorization authorizationParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string circuitName, string authorizationName, Azure.Management.Network.Models.ExpressRouteCircuitAuthorization authorizationParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.ExpressRouteCircuitAuthorizationsDeleteOperation StartDelete(string resourceGroupName, string circuitName, string authorizationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string circuitName, string authorizationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class ExpressRouteCircuitConnectionsCreateOrUpdateOperation : Azure.Operation { @@ -548,17 +536,17 @@ internal ExpressRouteCircuitConnectionsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ExpressRouteCircuitPeeringsClient + public partial class ExpressRouteCircuitConnectionsOperations { - protected ExpressRouteCircuitPeeringsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string circuitName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string circuitName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, string circuitName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string circuitName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.ExpressRouteCircuitPeeringsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string circuitName, string peeringName, Azure.Management.Network.Models.ExpressRouteCircuitPeering peeringParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string circuitName, string peeringName, Azure.Management.Network.Models.ExpressRouteCircuitPeering peeringParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.ExpressRouteCircuitPeeringsDeleteOperation StartDelete(string resourceGroupName, string circuitName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string circuitName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected ExpressRouteCircuitConnectionsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string circuitName, string peeringName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string circuitName, string peeringName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, string circuitName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string circuitName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.ExpressRouteCircuitConnectionsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string circuitName, string peeringName, string connectionName, Azure.Management.Network.Models.ExpressRouteCircuitConnection expressRouteCircuitConnectionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string circuitName, string peeringName, string connectionName, Azure.Management.Network.Models.ExpressRouteCircuitConnection expressRouteCircuitConnectionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.ExpressRouteCircuitConnectionsDeleteOperation StartDelete(string resourceGroupName, string circuitName, string peeringName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string circuitName, string peeringName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class ExpressRouteCircuitPeeringsCreateOrUpdateOperation : Azure.Operation { @@ -586,31 +574,17 @@ internal ExpressRouteCircuitPeeringsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ExpressRouteCircuitsClient + public partial class ExpressRouteCircuitPeeringsOperations { - protected ExpressRouteCircuitsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string circuitName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string circuitName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response GetPeeringStats(string resourceGroupName, string circuitName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetPeeringStatsAsync(string resourceGroupName, string circuitName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response GetStats(string resourceGroupName, string circuitName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetStatsAsync(string resourceGroupName, string circuitName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.ExpressRouteCircuitsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string circuitName, Azure.Management.Network.Models.ExpressRouteCircuit parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string circuitName, Azure.Management.Network.Models.ExpressRouteCircuit parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.ExpressRouteCircuitsDeleteOperation StartDelete(string resourceGroupName, string circuitName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string circuitName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.ExpressRouteCircuitsListArpTableOperation StartListArpTable(string resourceGroupName, string circuitName, string peeringName, string devicePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartListArpTableAsync(string resourceGroupName, string circuitName, string peeringName, string devicePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.ExpressRouteCircuitsListRoutesTableOperation StartListRoutesTable(string resourceGroupName, string circuitName, string peeringName, string devicePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartListRoutesTableAsync(string resourceGroupName, string circuitName, string peeringName, string devicePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.ExpressRouteCircuitsListRoutesTableSummaryOperation StartListRoutesTableSummary(string resourceGroupName, string circuitName, string peeringName, string devicePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartListRoutesTableSummaryAsync(string resourceGroupName, string circuitName, string peeringName, string devicePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response UpdateTags(string resourceGroupName, string circuitName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string circuitName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected ExpressRouteCircuitPeeringsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string circuitName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string circuitName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, string circuitName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string circuitName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.ExpressRouteCircuitPeeringsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string circuitName, string peeringName, Azure.Management.Network.Models.ExpressRouteCircuitPeering peeringParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string circuitName, string peeringName, Azure.Management.Network.Models.ExpressRouteCircuitPeering peeringParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.ExpressRouteCircuitPeeringsDeleteOperation StartDelete(string resourceGroupName, string circuitName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string circuitName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class ExpressRouteCircuitsCreateOrUpdateOperation : Azure.Operation { @@ -677,17 +651,31 @@ internal ExpressRouteCircuitsListRoutesTableSummaryOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ExpressRouteConnectionsClient + public partial class ExpressRouteCircuitsOperations { - protected ExpressRouteConnectionsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string expressRouteGatewayName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string expressRouteGatewayName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response List(string resourceGroupName, string expressRouteGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> ListAsync(string resourceGroupName, string expressRouteGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.ExpressRouteConnectionsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string expressRouteGatewayName, string connectionName, Azure.Management.Network.Models.ExpressRouteConnection putExpressRouteConnectionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string expressRouteGatewayName, string connectionName, Azure.Management.Network.Models.ExpressRouteConnection putExpressRouteConnectionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.ExpressRouteConnectionsDeleteOperation StartDelete(string resourceGroupName, string expressRouteGatewayName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string expressRouteGatewayName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected ExpressRouteCircuitsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string circuitName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string circuitName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetPeeringStats(string resourceGroupName, string circuitName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetPeeringStatsAsync(string resourceGroupName, string circuitName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetStats(string resourceGroupName, string circuitName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetStatsAsync(string resourceGroupName, string circuitName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.ExpressRouteCircuitsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string circuitName, Azure.Management.Network.Models.ExpressRouteCircuit parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string circuitName, Azure.Management.Network.Models.ExpressRouteCircuit parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.ExpressRouteCircuitsDeleteOperation StartDelete(string resourceGroupName, string circuitName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string circuitName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.ExpressRouteCircuitsListArpTableOperation StartListArpTable(string resourceGroupName, string circuitName, string peeringName, string devicePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartListArpTableAsync(string resourceGroupName, string circuitName, string peeringName, string devicePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.ExpressRouteCircuitsListRoutesTableOperation StartListRoutesTable(string resourceGroupName, string circuitName, string peeringName, string devicePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartListRoutesTableAsync(string resourceGroupName, string circuitName, string peeringName, string devicePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.ExpressRouteCircuitsListRoutesTableSummaryOperation StartListRoutesTableSummary(string resourceGroupName, string circuitName, string peeringName, string devicePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartListRoutesTableSummaryAsync(string resourceGroupName, string circuitName, string peeringName, string devicePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response UpdateTags(string resourceGroupName, string circuitName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string circuitName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class ExpressRouteConnectionsCreateOrUpdateOperation : Azure.Operation { @@ -715,17 +703,17 @@ internal ExpressRouteConnectionsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ExpressRouteCrossConnectionPeeringsClient + public partial class ExpressRouteConnectionsOperations { - protected ExpressRouteCrossConnectionPeeringsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string crossConnectionName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string crossConnectionName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, string crossConnectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string crossConnectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.ExpressRouteCrossConnectionPeeringsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string crossConnectionName, string peeringName, Azure.Management.Network.Models.ExpressRouteCrossConnectionPeering peeringParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string crossConnectionName, string peeringName, Azure.Management.Network.Models.ExpressRouteCrossConnectionPeering peeringParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.ExpressRouteCrossConnectionPeeringsDeleteOperation StartDelete(string resourceGroupName, string crossConnectionName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string crossConnectionName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected ExpressRouteConnectionsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string expressRouteGatewayName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string expressRouteGatewayName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response List(string resourceGroupName, string expressRouteGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> ListAsync(string resourceGroupName, string expressRouteGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.ExpressRouteConnectionsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string expressRouteGatewayName, string connectionName, Azure.Management.Network.Models.ExpressRouteConnection putExpressRouteConnectionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string expressRouteGatewayName, string connectionName, Azure.Management.Network.Models.ExpressRouteConnection putExpressRouteConnectionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.ExpressRouteConnectionsDeleteOperation StartDelete(string resourceGroupName, string expressRouteGatewayName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string expressRouteGatewayName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class ExpressRouteCrossConnectionPeeringsCreateOrUpdateOperation : Azure.Operation { @@ -753,25 +741,17 @@ internal ExpressRouteCrossConnectionPeeringsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ExpressRouteCrossConnectionsClient + public partial class ExpressRouteCrossConnectionPeeringsOperations { - protected ExpressRouteCrossConnectionsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string crossConnectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string crossConnectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.ExpressRouteCrossConnectionsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string crossConnectionName, Azure.Management.Network.Models.ExpressRouteCrossConnection parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string crossConnectionName, Azure.Management.Network.Models.ExpressRouteCrossConnection parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.ExpressRouteCrossConnectionsListArpTableOperation StartListArpTable(string resourceGroupName, string crossConnectionName, string peeringName, string devicePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartListArpTableAsync(string resourceGroupName, string crossConnectionName, string peeringName, string devicePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.ExpressRouteCrossConnectionsListRoutesTableOperation StartListRoutesTable(string resourceGroupName, string crossConnectionName, string peeringName, string devicePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartListRoutesTableAsync(string resourceGroupName, string crossConnectionName, string peeringName, string devicePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.ExpressRouteCrossConnectionsListRoutesTableSummaryOperation StartListRoutesTableSummary(string resourceGroupName, string crossConnectionName, string peeringName, string devicePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartListRoutesTableSummaryAsync(string resourceGroupName, string crossConnectionName, string peeringName, string devicePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response UpdateTags(string resourceGroupName, string crossConnectionName, Azure.Management.Network.Models.TagsObject crossConnectionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string crossConnectionName, Azure.Management.Network.Models.TagsObject crossConnectionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected ExpressRouteCrossConnectionPeeringsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string crossConnectionName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string crossConnectionName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, string crossConnectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string crossConnectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.ExpressRouteCrossConnectionPeeringsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string crossConnectionName, string peeringName, Azure.Management.Network.Models.ExpressRouteCrossConnectionPeering peeringParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string crossConnectionName, string peeringName, Azure.Management.Network.Models.ExpressRouteCrossConnectionPeering peeringParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.ExpressRouteCrossConnectionPeeringsDeleteOperation StartDelete(string resourceGroupName, string crossConnectionName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string crossConnectionName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class ExpressRouteCrossConnectionsCreateOrUpdateOperation : Azure.Operation { @@ -825,19 +805,25 @@ internal ExpressRouteCrossConnectionsListRoutesTableSummaryOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ExpressRouteGatewaysClient + public partial class ExpressRouteCrossConnectionsOperations { - protected ExpressRouteGatewaysClient() { } - public virtual Azure.Response Get(string resourceGroupName, string expressRouteGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string expressRouteGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response ListBySubscription(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> ListBySubscriptionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.ExpressRouteGatewaysCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string expressRouteGatewayName, Azure.Management.Network.Models.ExpressRouteGateway putExpressRouteGatewayParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string expressRouteGatewayName, Azure.Management.Network.Models.ExpressRouteGateway putExpressRouteGatewayParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.ExpressRouteGatewaysDeleteOperation StartDelete(string resourceGroupName, string expressRouteGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string expressRouteGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected ExpressRouteCrossConnectionsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string crossConnectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string crossConnectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.ExpressRouteCrossConnectionsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string crossConnectionName, Azure.Management.Network.Models.ExpressRouteCrossConnection parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string crossConnectionName, Azure.Management.Network.Models.ExpressRouteCrossConnection parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.ExpressRouteCrossConnectionsListArpTableOperation StartListArpTable(string resourceGroupName, string crossConnectionName, string peeringName, string devicePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartListArpTableAsync(string resourceGroupName, string crossConnectionName, string peeringName, string devicePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.ExpressRouteCrossConnectionsListRoutesTableOperation StartListRoutesTable(string resourceGroupName, string crossConnectionName, string peeringName, string devicePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartListRoutesTableAsync(string resourceGroupName, string crossConnectionName, string peeringName, string devicePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.ExpressRouteCrossConnectionsListRoutesTableSummaryOperation StartListRoutesTableSummary(string resourceGroupName, string crossConnectionName, string peeringName, string devicePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartListRoutesTableSummaryAsync(string resourceGroupName, string crossConnectionName, string peeringName, string devicePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response UpdateTags(string resourceGroupName, string crossConnectionName, Azure.Management.Network.Models.TagsObject crossConnectionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string crossConnectionName, Azure.Management.Network.Models.TagsObject crossConnectionParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class ExpressRouteGatewaysCreateOrUpdateOperation : Azure.Operation { @@ -865,30 +851,28 @@ internal ExpressRouteGatewaysDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ExpressRouteLinksClient + public partial class ExpressRouteGatewaysOperations { - protected ExpressRouteLinksClient() { } + protected ExpressRouteGatewaysOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string expressRouteGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string expressRouteGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response ListBySubscription(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> ListBySubscriptionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.ExpressRouteGatewaysCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string expressRouteGatewayName, Azure.Management.Network.Models.ExpressRouteGateway putExpressRouteGatewayParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string expressRouteGatewayName, Azure.Management.Network.Models.ExpressRouteGateway putExpressRouteGatewayParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.ExpressRouteGatewaysDeleteOperation StartDelete(string resourceGroupName, string expressRouteGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string expressRouteGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class ExpressRouteLinksOperations + { + protected ExpressRouteLinksOperations() { } public virtual Azure.Response Get(string resourceGroupName, string expressRoutePortName, string linkName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string expressRoutePortName, string linkName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(string resourceGroupName, string expressRoutePortName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string expressRoutePortName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ExpressRoutePortsClient - { - protected ExpressRoutePortsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string expressRoutePortName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string expressRoutePortName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.ExpressRoutePortsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string expressRoutePortName, Azure.Management.Network.Models.ExpressRoutePort parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string expressRoutePortName, Azure.Management.Network.Models.ExpressRoutePort parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.ExpressRoutePortsDeleteOperation StartDelete(string resourceGroupName, string expressRoutePortName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string expressRoutePortName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response UpdateTags(string resourceGroupName, string expressRoutePortName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string expressRoutePortName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class ExpressRoutePortsCreateOrUpdateOperation : Azure.Operation { internal ExpressRoutePortsCreateOrUpdateOperation() { } @@ -915,33 +899,35 @@ internal ExpressRoutePortsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ExpressRoutePortsLocationsClient + public partial class ExpressRoutePortsLocationsOperations { - protected ExpressRoutePortsLocationsClient() { } + protected ExpressRoutePortsLocationsOperations() { } public virtual Azure.Response Get(string locationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string locationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ExpressRouteServiceProvidersClient + public partial class ExpressRoutePortsOperations { - protected ExpressRouteServiceProvidersClient() { } - public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected ExpressRoutePortsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string expressRoutePortName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string expressRoutePortName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.ExpressRoutePortsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string expressRoutePortName, Azure.Management.Network.Models.ExpressRoutePort parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string expressRoutePortName, Azure.Management.Network.Models.ExpressRoutePort parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.ExpressRoutePortsDeleteOperation StartDelete(string resourceGroupName, string expressRoutePortName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string expressRoutePortName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response UpdateTags(string resourceGroupName, string expressRoutePortName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string expressRoutePortName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class FirewallPoliciesClient + public partial class ExpressRouteServiceProvidersOperations { - protected FirewallPoliciesClient() { } - public virtual Azure.Response Get(string resourceGroupName, string firewallPolicyName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string firewallPolicyName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.FirewallPoliciesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string firewallPolicyName, Azure.Management.Network.Models.FirewallPolicy parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string firewallPolicyName, Azure.Management.Network.Models.FirewallPolicy parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.FirewallPoliciesDeleteOperation StartDelete(string resourceGroupName, string firewallPolicyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string firewallPolicyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected ExpressRouteServiceProvidersOperations() { } + public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class FirewallPoliciesCreateOrUpdateOperation : Azure.Operation { @@ -969,17 +955,19 @@ internal FirewallPoliciesDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class FirewallPolicyRuleGroupsClient + public partial class FirewallPoliciesOperations { - protected FirewallPolicyRuleGroupsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string firewallPolicyName, string ruleGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string firewallPolicyName, string ruleGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, string firewallPolicyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string firewallPolicyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.FirewallPolicyRuleGroupsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string firewallPolicyName, string ruleGroupName, Azure.Management.Network.Models.FirewallPolicyRuleGroup parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string firewallPolicyName, string ruleGroupName, Azure.Management.Network.Models.FirewallPolicyRuleGroup parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.FirewallPolicyRuleGroupsDeleteOperation StartDelete(string resourceGroupName, string firewallPolicyName, string ruleGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string firewallPolicyName, string ruleGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected FirewallPoliciesOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string firewallPolicyName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string firewallPolicyName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.FirewallPoliciesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string firewallPolicyName, Azure.Management.Network.Models.FirewallPolicy parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string firewallPolicyName, Azure.Management.Network.Models.FirewallPolicy parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.FirewallPoliciesDeleteOperation StartDelete(string resourceGroupName, string firewallPolicyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string firewallPolicyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class FirewallPolicyRuleGroupsCreateOrUpdateOperation : Azure.Operation { @@ -1007,17 +995,17 @@ internal FirewallPolicyRuleGroupsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class FlowLogsClient + public partial class FirewallPolicyRuleGroupsOperations { - protected FlowLogsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string networkWatcherName, string flowLogName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string networkWatcherName, string flowLogName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, string networkWatcherName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string networkWatcherName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.FlowLogsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string networkWatcherName, string flowLogName, Azure.Management.Network.Models.FlowLog parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string networkWatcherName, string flowLogName, Azure.Management.Network.Models.FlowLog parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.FlowLogsDeleteOperation StartDelete(string resourceGroupName, string networkWatcherName, string flowLogName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string networkWatcherName, string flowLogName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected FirewallPolicyRuleGroupsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string firewallPolicyName, string ruleGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string firewallPolicyName, string ruleGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, string firewallPolicyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string firewallPolicyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.FirewallPolicyRuleGroupsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string firewallPolicyName, string ruleGroupName, Azure.Management.Network.Models.FirewallPolicyRuleGroup parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string firewallPolicyName, string ruleGroupName, Azure.Management.Network.Models.FirewallPolicyRuleGroup parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.FirewallPolicyRuleGroupsDeleteOperation StartDelete(string resourceGroupName, string firewallPolicyName, string ruleGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string firewallPolicyName, string ruleGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class FlowLogsCreateOrUpdateOperation : Azure.Operation { @@ -1045,17 +1033,17 @@ internal FlowLogsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class HubRouteTablesClient + public partial class FlowLogsOperations { - protected HubRouteTablesClient() { } - public virtual Azure.Response Get(string resourceGroupName, string virtualHubName, string routeTableName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string virtualHubName, string routeTableName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, string virtualHubName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string virtualHubName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.HubRouteTablesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string virtualHubName, string routeTableName, Azure.Management.Network.Models.HubRouteTable routeTableParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string virtualHubName, string routeTableName, Azure.Management.Network.Models.HubRouteTable routeTableParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.HubRouteTablesDeleteOperation StartDelete(string resourceGroupName, string virtualHubName, string routeTableName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string virtualHubName, string routeTableName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected FlowLogsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string networkWatcherName, string flowLogName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string networkWatcherName, string flowLogName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, string networkWatcherName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string networkWatcherName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.FlowLogsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string networkWatcherName, string flowLogName, Azure.Management.Network.Models.FlowLog parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string networkWatcherName, string flowLogName, Azure.Management.Network.Models.FlowLog parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.FlowLogsDeleteOperation StartDelete(string resourceGroupName, string networkWatcherName, string flowLogName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string networkWatcherName, string flowLogName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class HubRouteTablesCreateOrUpdateOperation : Azure.Operation { @@ -1083,26 +1071,26 @@ internal HubRouteTablesDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class HubVirtualNetworkConnectionsClient + public partial class HubRouteTablesOperations { - protected HubVirtualNetworkConnectionsClient() { } + protected HubRouteTablesOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string virtualHubName, string routeTableName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string virtualHubName, string routeTableName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, string virtualHubName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string virtualHubName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.HubRouteTablesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string virtualHubName, string routeTableName, Azure.Management.Network.Models.HubRouteTable routeTableParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string virtualHubName, string routeTableName, Azure.Management.Network.Models.HubRouteTable routeTableParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.HubRouteTablesDeleteOperation StartDelete(string resourceGroupName, string virtualHubName, string routeTableName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string virtualHubName, string routeTableName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class HubVirtualNetworkConnectionsOperations + { + protected HubVirtualNetworkConnectionsOperations() { } public virtual Azure.Response Get(string resourceGroupName, string virtualHubName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string virtualHubName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(string resourceGroupName, string virtualHubName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string virtualHubName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class InboundNatRulesClient - { - protected InboundNatRulesClient() { } - public virtual Azure.Response Get(string resourceGroupName, string loadBalancerName, string inboundNatRuleName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string loadBalancerName, string inboundNatRuleName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, string loadBalancerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string loadBalancerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.InboundNatRulesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string loadBalancerName, string inboundNatRuleName, Azure.Management.Network.Models.InboundNatRule inboundNatRuleParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string loadBalancerName, string inboundNatRuleName, Azure.Management.Network.Models.InboundNatRule inboundNatRuleParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.InboundNatRulesDeleteOperation StartDelete(string resourceGroupName, string loadBalancerName, string inboundNatRuleName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string loadBalancerName, string inboundNatRuleName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class InboundNatRulesCreateOrUpdateOperation : Azure.Operation { internal InboundNatRulesCreateOrUpdateOperation() { } @@ -1129,21 +1117,17 @@ internal InboundNatRulesDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class IpAllocationsClient + public partial class InboundNatRulesOperations { - protected IpAllocationsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string ipAllocationName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string ipAllocationName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.IpAllocationsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string ipAllocationName, Azure.Management.Network.Models.IpAllocation parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string ipAllocationName, Azure.Management.Network.Models.IpAllocation parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.IpAllocationsDeleteOperation StartDelete(string resourceGroupName, string ipAllocationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string ipAllocationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response UpdateTags(string resourceGroupName, string ipAllocationName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string ipAllocationName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected InboundNatRulesOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string loadBalancerName, string inboundNatRuleName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string loadBalancerName, string inboundNatRuleName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, string loadBalancerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string loadBalancerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.InboundNatRulesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string loadBalancerName, string inboundNatRuleName, Azure.Management.Network.Models.InboundNatRule inboundNatRuleParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string loadBalancerName, string inboundNatRuleName, Azure.Management.Network.Models.InboundNatRule inboundNatRuleParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.InboundNatRulesDeleteOperation StartDelete(string resourceGroupName, string loadBalancerName, string inboundNatRuleName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string loadBalancerName, string inboundNatRuleName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class IpAllocationsCreateOrUpdateOperation : Azure.Operation { @@ -1171,21 +1155,21 @@ internal IpAllocationsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class IpGroupsClient + public partial class IpAllocationsOperations { - protected IpGroupsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string ipGroupsName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string ipGroupsName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.IpGroupsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string ipGroupsName, Azure.Management.Network.Models.IpGroup parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string ipGroupsName, Azure.Management.Network.Models.IpGroup parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.IpGroupsDeleteOperation StartDelete(string resourceGroupName, string ipGroupsName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string ipGroupsName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response UpdateGroups(string resourceGroupName, string ipGroupsName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateGroupsAsync(string resourceGroupName, string ipGroupsName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected IpAllocationsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string ipAllocationName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string ipAllocationName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.IpAllocationsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string ipAllocationName, Azure.Management.Network.Models.IpAllocation parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string ipAllocationName, Azure.Management.Network.Models.IpAllocation parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.IpAllocationsDeleteOperation StartDelete(string resourceGroupName, string ipAllocationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string ipAllocationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response UpdateTags(string resourceGroupName, string ipAllocationName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string ipAllocationName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class IpGroupsCreateOrUpdateOperation : Azure.Operation { @@ -1213,17 +1197,21 @@ internal IpGroupsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class LoadBalancerBackendAddressPoolsClient + public partial class IpGroupsOperations { - protected LoadBalancerBackendAddressPoolsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string loadBalancerName, string backendAddressPoolName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string loadBalancerName, string backendAddressPoolName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, string loadBalancerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string loadBalancerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.LoadBalancerBackendAddressPoolsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string loadBalancerName, string backendAddressPoolName, Azure.Management.Network.Models.BackendAddressPool parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string loadBalancerName, string backendAddressPoolName, Azure.Management.Network.Models.BackendAddressPool parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.LoadBalancerBackendAddressPoolsDeleteOperation StartDelete(string resourceGroupName, string loadBalancerName, string backendAddressPoolName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string loadBalancerName, string backendAddressPoolName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected IpGroupsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string ipGroupsName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string ipGroupsName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.IpGroupsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string ipGroupsName, Azure.Management.Network.Models.IpGroup parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string ipGroupsName, Azure.Management.Network.Models.IpGroup parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.IpGroupsDeleteOperation StartDelete(string resourceGroupName, string ipGroupsName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string ipGroupsName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response UpdateGroups(string resourceGroupName, string ipGroupsName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateGroupsAsync(string resourceGroupName, string ipGroupsName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class LoadBalancerBackendAddressPoolsCreateOrUpdateOperation : Azure.Operation { @@ -1251,60 +1239,56 @@ internal LoadBalancerBackendAddressPoolsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class LoadBalancerFrontendIPConfigurationsClient + public partial class LoadBalancerBackendAddressPoolsOperations + { + protected LoadBalancerBackendAddressPoolsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string loadBalancerName, string backendAddressPoolName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string loadBalancerName, string backendAddressPoolName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, string loadBalancerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string loadBalancerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.LoadBalancerBackendAddressPoolsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string loadBalancerName, string backendAddressPoolName, Azure.Management.Network.Models.BackendAddressPool parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string loadBalancerName, string backendAddressPoolName, Azure.Management.Network.Models.BackendAddressPool parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.LoadBalancerBackendAddressPoolsDeleteOperation StartDelete(string resourceGroupName, string loadBalancerName, string backendAddressPoolName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string loadBalancerName, string backendAddressPoolName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class LoadBalancerFrontendIPConfigurationsOperations { - protected LoadBalancerFrontendIPConfigurationsClient() { } + protected LoadBalancerFrontendIPConfigurationsOperations() { } public virtual Azure.Response Get(string resourceGroupName, string loadBalancerName, string frontendIPConfigurationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string loadBalancerName, string frontendIPConfigurationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(string resourceGroupName, string loadBalancerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string loadBalancerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class LoadBalancerLoadBalancingRulesClient + public partial class LoadBalancerLoadBalancingRulesOperations { - protected LoadBalancerLoadBalancingRulesClient() { } + protected LoadBalancerLoadBalancingRulesOperations() { } public virtual Azure.Response Get(string resourceGroupName, string loadBalancerName, string loadBalancingRuleName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string loadBalancerName, string loadBalancingRuleName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(string resourceGroupName, string loadBalancerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string loadBalancerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class LoadBalancerNetworkInterfacesClient + public partial class LoadBalancerNetworkInterfacesOperations { - protected LoadBalancerNetworkInterfacesClient() { } + protected LoadBalancerNetworkInterfacesOperations() { } public virtual Azure.Pageable List(string resourceGroupName, string loadBalancerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string loadBalancerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class LoadBalancerOutboundRulesClient + public partial class LoadBalancerOutboundRulesOperations { - protected LoadBalancerOutboundRulesClient() { } + protected LoadBalancerOutboundRulesOperations() { } public virtual Azure.Response Get(string resourceGroupName, string loadBalancerName, string outboundRuleName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string loadBalancerName, string outboundRuleName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(string resourceGroupName, string loadBalancerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string loadBalancerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class LoadBalancerProbesClient + public partial class LoadBalancerProbesOperations { - protected LoadBalancerProbesClient() { } + protected LoadBalancerProbesOperations() { } public virtual Azure.Response Get(string resourceGroupName, string loadBalancerName, string probeName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string loadBalancerName, string probeName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(string resourceGroupName, string loadBalancerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string loadBalancerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class LoadBalancersClient - { - protected LoadBalancersClient() { } - public virtual Azure.Response Get(string resourceGroupName, string loadBalancerName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string loadBalancerName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.LoadBalancersCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string loadBalancerName, Azure.Management.Network.Models.LoadBalancer parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string loadBalancerName, Azure.Management.Network.Models.LoadBalancer parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.LoadBalancersDeleteOperation StartDelete(string resourceGroupName, string loadBalancerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string loadBalancerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response UpdateTags(string resourceGroupName, string loadBalancerName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string loadBalancerName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class LoadBalancersCreateOrUpdateOperation : Azure.Operation { internal LoadBalancersCreateOrUpdateOperation() { } @@ -1331,19 +1315,21 @@ internal LoadBalancersDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class LocalNetworkGatewaysClient + public partial class LoadBalancersOperations { - protected LocalNetworkGatewaysClient() { } - public virtual Azure.Response Get(string resourceGroupName, string localNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string localNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.LocalNetworkGatewaysCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string localNetworkGatewayName, Azure.Management.Network.Models.LocalNetworkGateway parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string localNetworkGatewayName, Azure.Management.Network.Models.LocalNetworkGateway parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.LocalNetworkGatewaysDeleteOperation StartDelete(string resourceGroupName, string localNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string localNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response UpdateTags(string resourceGroupName, string localNetworkGatewayName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string localNetworkGatewayName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected LoadBalancersOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string loadBalancerName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string loadBalancerName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.LoadBalancersCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string loadBalancerName, Azure.Management.Network.Models.LoadBalancer parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string loadBalancerName, Azure.Management.Network.Models.LoadBalancer parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.LoadBalancersDeleteOperation StartDelete(string resourceGroupName, string loadBalancerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string loadBalancerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response UpdateTags(string resourceGroupName, string loadBalancerName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string loadBalancerName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class LocalNetworkGatewaysCreateOrUpdateOperation : Azure.Operation { @@ -1371,21 +1357,19 @@ internal LocalNetworkGatewaysDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class NatGatewaysClient + public partial class LocalNetworkGatewaysOperations { - protected NatGatewaysClient() { } - public virtual Azure.Response Get(string resourceGroupName, string natGatewayName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string natGatewayName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.NatGatewaysCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string natGatewayName, Azure.Management.Network.Models.NatGateway parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string natGatewayName, Azure.Management.Network.Models.NatGateway parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.NatGatewaysDeleteOperation StartDelete(string resourceGroupName, string natGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string natGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response UpdateTags(string resourceGroupName, string natGatewayName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string natGatewayName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected LocalNetworkGatewaysOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string localNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string localNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.LocalNetworkGatewaysCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string localNetworkGatewayName, Azure.Management.Network.Models.LocalNetworkGateway parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string localNetworkGatewayName, Azure.Management.Network.Models.LocalNetworkGateway parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.LocalNetworkGatewaysDeleteOperation StartDelete(string resourceGroupName, string localNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string localNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response UpdateTags(string resourceGroupName, string localNetworkGatewayName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string localNetworkGatewayName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class NatGatewaysCreateOrUpdateOperation : Azure.Operation { @@ -1413,49 +1397,35 @@ internal NatGatewaysDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class NetworkInterfaceIPConfigurationsClient + public partial class NatGatewaysOperations { - protected NetworkInterfaceIPConfigurationsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string networkInterfaceName, string ipConfigurationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string networkInterfaceName, string ipConfigurationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } - public partial class NetworkInterfaceLoadBalancersClient - { - protected NetworkInterfaceLoadBalancersClient() { } - public virtual Azure.Pageable List(string resourceGroupName, string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } - public partial class NetworkInterfacesClient - { - protected NetworkInterfacesClient() { } - public virtual Azure.Response Get(string resourceGroupName, string networkInterfaceName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string networkInterfaceName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response GetVirtualMachineScaleSetIpConfiguration(string resourceGroupName, string virtualMachineScaleSetName, string virtualmachineIndex, string networkInterfaceName, string ipConfigurationName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetVirtualMachineScaleSetIpConfigurationAsync(string resourceGroupName, string virtualMachineScaleSetName, string virtualmachineIndex, string networkInterfaceName, string ipConfigurationName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response GetVirtualMachineScaleSetNetworkInterface(string resourceGroupName, string virtualMachineScaleSetName, string virtualmachineIndex, string networkInterfaceName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetVirtualMachineScaleSetNetworkInterfaceAsync(string resourceGroupName, string virtualMachineScaleSetName, string virtualmachineIndex, string networkInterfaceName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListVirtualMachineScaleSetIpConfigurations(string resourceGroupName, string virtualMachineScaleSetName, string virtualmachineIndex, string networkInterfaceName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListVirtualMachineScaleSetIpConfigurationsAsync(string resourceGroupName, string virtualMachineScaleSetName, string virtualmachineIndex, string networkInterfaceName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListVirtualMachineScaleSetNetworkInterfaces(string resourceGroupName, string virtualMachineScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListVirtualMachineScaleSetNetworkInterfacesAsync(string resourceGroupName, string virtualMachineScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListVirtualMachineScaleSetVMNetworkInterfaces(string resourceGroupName, string virtualMachineScaleSetName, string virtualmachineIndex, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListVirtualMachineScaleSetVMNetworkInterfacesAsync(string resourceGroupName, string virtualMachineScaleSetName, string virtualmachineIndex, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.NetworkInterfacesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string networkInterfaceName, Azure.Management.Network.Models.NetworkInterface parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string networkInterfaceName, Azure.Management.Network.Models.NetworkInterface parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.NetworkInterfacesDeleteOperation StartDelete(string resourceGroupName, string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.NetworkInterfacesGetEffectiveRouteTableOperation StartGetEffectiveRouteTable(string resourceGroupName, string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartGetEffectiveRouteTableAsync(string resourceGroupName, string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.NetworkInterfacesListEffectiveNetworkSecurityGroupsOperation StartListEffectiveNetworkSecurityGroups(string resourceGroupName, string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartListEffectiveNetworkSecurityGroupsAsync(string resourceGroupName, string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response UpdateTags(string resourceGroupName, string networkInterfaceName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string networkInterfaceName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected NatGatewaysOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string natGatewayName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string natGatewayName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.NatGatewaysCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string natGatewayName, Azure.Management.Network.Models.NatGateway parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string natGatewayName, Azure.Management.Network.Models.NatGateway parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.NatGatewaysDeleteOperation StartDelete(string resourceGroupName, string natGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string natGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response UpdateTags(string resourceGroupName, string natGatewayName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string natGatewayName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class NetworkInterfaceIPConfigurationsOperations + { + protected NetworkInterfaceIPConfigurationsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string networkInterfaceName, string ipConfigurationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string networkInterfaceName, string ipConfigurationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class NetworkInterfaceLoadBalancersOperations + { + protected NetworkInterfaceLoadBalancersOperations() { } + public virtual Azure.Pageable List(string resourceGroupName, string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class NetworkInterfacesCreateOrUpdateOperation : Azure.Operation { @@ -1509,17 +1479,35 @@ internal NetworkInterfacesListEffectiveNetworkSecurityGroupsOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class NetworkInterfaceTapConfigurationsClient + public partial class NetworkInterfacesOperations { - protected NetworkInterfaceTapConfigurationsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string networkInterfaceName, string tapConfigurationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string networkInterfaceName, string tapConfigurationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.NetworkInterfaceTapConfigurationsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string networkInterfaceName, string tapConfigurationName, Azure.Management.Network.Models.NetworkInterfaceTapConfiguration tapConfigurationParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string networkInterfaceName, string tapConfigurationName, Azure.Management.Network.Models.NetworkInterfaceTapConfiguration tapConfigurationParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.NetworkInterfaceTapConfigurationsDeleteOperation StartDelete(string resourceGroupName, string networkInterfaceName, string tapConfigurationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string networkInterfaceName, string tapConfigurationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected NetworkInterfacesOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string networkInterfaceName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string networkInterfaceName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetVirtualMachineScaleSetIpConfiguration(string resourceGroupName, string virtualMachineScaleSetName, string virtualmachineIndex, string networkInterfaceName, string ipConfigurationName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetVirtualMachineScaleSetIpConfigurationAsync(string resourceGroupName, string virtualMachineScaleSetName, string virtualmachineIndex, string networkInterfaceName, string ipConfigurationName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetVirtualMachineScaleSetNetworkInterface(string resourceGroupName, string virtualMachineScaleSetName, string virtualmachineIndex, string networkInterfaceName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetVirtualMachineScaleSetNetworkInterfaceAsync(string resourceGroupName, string virtualMachineScaleSetName, string virtualmachineIndex, string networkInterfaceName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListVirtualMachineScaleSetIpConfigurations(string resourceGroupName, string virtualMachineScaleSetName, string virtualmachineIndex, string networkInterfaceName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListVirtualMachineScaleSetIpConfigurationsAsync(string resourceGroupName, string virtualMachineScaleSetName, string virtualmachineIndex, string networkInterfaceName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListVirtualMachineScaleSetNetworkInterfaces(string resourceGroupName, string virtualMachineScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListVirtualMachineScaleSetNetworkInterfacesAsync(string resourceGroupName, string virtualMachineScaleSetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListVirtualMachineScaleSetVMNetworkInterfaces(string resourceGroupName, string virtualMachineScaleSetName, string virtualmachineIndex, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListVirtualMachineScaleSetVMNetworkInterfacesAsync(string resourceGroupName, string virtualMachineScaleSetName, string virtualmachineIndex, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.NetworkInterfacesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string networkInterfaceName, Azure.Management.Network.Models.NetworkInterface parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string networkInterfaceName, Azure.Management.Network.Models.NetworkInterface parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.NetworkInterfacesDeleteOperation StartDelete(string resourceGroupName, string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.NetworkInterfacesGetEffectiveRouteTableOperation StartGetEffectiveRouteTable(string resourceGroupName, string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartGetEffectiveRouteTableAsync(string resourceGroupName, string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.NetworkInterfacesListEffectiveNetworkSecurityGroupsOperation StartListEffectiveNetworkSecurityGroups(string resourceGroupName, string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartListEffectiveNetworkSecurityGroupsAsync(string resourceGroupName, string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response UpdateTags(string resourceGroupName, string networkInterfaceName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string networkInterfaceName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class NetworkInterfaceTapConfigurationsCreateOrUpdateOperation : Azure.Operation { @@ -1547,114 +1535,139 @@ internal NetworkInterfaceTapConfigurationsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class NetworkInterfaceTapConfigurationsOperations + { + protected NetworkInterfaceTapConfigurationsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string networkInterfaceName, string tapConfigurationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string networkInterfaceName, string tapConfigurationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.NetworkInterfaceTapConfigurationsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string networkInterfaceName, string tapConfigurationName, Azure.Management.Network.Models.NetworkInterfaceTapConfiguration tapConfigurationParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string networkInterfaceName, string tapConfigurationName, Azure.Management.Network.Models.NetworkInterfaceTapConfiguration tapConfigurationParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.NetworkInterfaceTapConfigurationsDeleteOperation StartDelete(string resourceGroupName, string networkInterfaceName, string tapConfigurationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string networkInterfaceName, string tapConfigurationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class NetworkManagementClient { protected NetworkManagementClient() { } public NetworkManagementClient(string subscriptionId, Azure.Core.TokenCredential tokenCredential, Azure.Management.Network.NetworkManagementClientOptions options = null) { } public NetworkManagementClient(string subscriptionId, System.Uri endpoint, Azure.Core.TokenCredential tokenCredential, Azure.Management.Network.NetworkManagementClientOptions options = null) { } - public virtual Azure.Management.Network.ApplicationGatewaysClient GetApplicationGatewaysClient() { throw null; } - public virtual Azure.Management.Network.ApplicationSecurityGroupsClient GetApplicationSecurityGroupsClient() { throw null; } - public virtual Azure.Management.Network.AvailableDelegationsClient GetAvailableDelegationsClient() { throw null; } - public virtual Azure.Management.Network.AvailableEndpointServicesClient GetAvailableEndpointServicesClient() { throw null; } - public virtual Azure.Management.Network.AvailablePrivateEndpointTypesClient GetAvailablePrivateEndpointTypesClient() { throw null; } - public virtual Azure.Management.Network.AvailableResourceGroupDelegationsClient GetAvailableResourceGroupDelegationsClient() { throw null; } - public virtual Azure.Management.Network.AvailableServiceAliasesClient GetAvailableServiceAliasesClient() { throw null; } - public virtual Azure.Management.Network.AzureFirewallFqdnTagsClient GetAzureFirewallFqdnTagsClient() { throw null; } - public virtual Azure.Management.Network.AzureFirewallsClient GetAzureFirewallsClient() { throw null; } - public virtual Azure.Management.Network.BastionHostsClient GetBastionHostsClient() { throw null; } - public virtual Azure.Management.Network.BgpServiceCommunitiesClient GetBgpServiceCommunitiesClient() { throw null; } - public virtual Azure.Management.Network.ConnectionMonitorsClient GetConnectionMonitorsClient() { throw null; } - public virtual Azure.Management.Network.DdosCustomPoliciesClient GetDdosCustomPoliciesClient() { throw null; } - public virtual Azure.Management.Network.DdosProtectionPlansClient GetDdosProtectionPlansClient() { throw null; } - public virtual Azure.Management.Network.DefaultSecurityRulesClient GetDefaultSecurityRulesClient() { throw null; } - public virtual Azure.Management.Network.ExpressRouteCircuitAuthorizationsClient GetExpressRouteCircuitAuthorizationsClient() { throw null; } - public virtual Azure.Management.Network.ExpressRouteCircuitConnectionsClient GetExpressRouteCircuitConnectionsClient() { throw null; } - public virtual Azure.Management.Network.ExpressRouteCircuitPeeringsClient GetExpressRouteCircuitPeeringsClient() { throw null; } - public virtual Azure.Management.Network.ExpressRouteCircuitsClient GetExpressRouteCircuitsClient() { throw null; } - public virtual Azure.Management.Network.ExpressRouteConnectionsClient GetExpressRouteConnectionsClient() { throw null; } - public virtual Azure.Management.Network.ExpressRouteCrossConnectionPeeringsClient GetExpressRouteCrossConnectionPeeringsClient() { throw null; } - public virtual Azure.Management.Network.ExpressRouteCrossConnectionsClient GetExpressRouteCrossConnectionsClient() { throw null; } - public virtual Azure.Management.Network.ExpressRouteGatewaysClient GetExpressRouteGatewaysClient() { throw null; } - public virtual Azure.Management.Network.ExpressRouteLinksClient GetExpressRouteLinksClient() { throw null; } - public virtual Azure.Management.Network.ExpressRoutePortsClient GetExpressRoutePortsClient() { throw null; } - public virtual Azure.Management.Network.ExpressRoutePortsLocationsClient GetExpressRoutePortsLocationsClient() { throw null; } - public virtual Azure.Management.Network.ExpressRouteServiceProvidersClient GetExpressRouteServiceProvidersClient() { throw null; } - public virtual Azure.Management.Network.FirewallPoliciesClient GetFirewallPoliciesClient() { throw null; } - public virtual Azure.Management.Network.FirewallPolicyRuleGroupsClient GetFirewallPolicyRuleGroupsClient() { throw null; } - public virtual Azure.Management.Network.FlowLogsClient GetFlowLogsClient() { throw null; } - public virtual Azure.Management.Network.HubRouteTablesClient GetHubRouteTablesClient() { throw null; } - public virtual Azure.Management.Network.HubVirtualNetworkConnectionsClient GetHubVirtualNetworkConnectionsClient() { throw null; } - public virtual Azure.Management.Network.InboundNatRulesClient GetInboundNatRulesClient() { throw null; } - public virtual Azure.Management.Network.IpAllocationsClient GetIpAllocationsClient() { throw null; } - public virtual Azure.Management.Network.IpGroupsClient GetIpGroupsClient() { throw null; } - public virtual Azure.Management.Network.LoadBalancerBackendAddressPoolsClient GetLoadBalancerBackendAddressPoolsClient() { throw null; } - public virtual Azure.Management.Network.LoadBalancerFrontendIPConfigurationsClient GetLoadBalancerFrontendIPConfigurationsClient() { throw null; } - public virtual Azure.Management.Network.LoadBalancerLoadBalancingRulesClient GetLoadBalancerLoadBalancingRulesClient() { throw null; } - public virtual Azure.Management.Network.LoadBalancerNetworkInterfacesClient GetLoadBalancerNetworkInterfacesClient() { throw null; } - public virtual Azure.Management.Network.LoadBalancerOutboundRulesClient GetLoadBalancerOutboundRulesClient() { throw null; } - public virtual Azure.Management.Network.LoadBalancerProbesClient GetLoadBalancerProbesClient() { throw null; } - public virtual Azure.Management.Network.LoadBalancersClient GetLoadBalancersClient() { throw null; } - public virtual Azure.Management.Network.LocalNetworkGatewaysClient GetLocalNetworkGatewaysClient() { throw null; } - public virtual Azure.Management.Network.NatGatewaysClient GetNatGatewaysClient() { throw null; } - public virtual Azure.Management.Network.NetworkInterfaceIPConfigurationsClient GetNetworkInterfaceIPConfigurationsClient() { throw null; } - public virtual Azure.Management.Network.NetworkInterfaceLoadBalancersClient GetNetworkInterfaceLoadBalancersClient() { throw null; } - public virtual Azure.Management.Network.NetworkInterfacesClient GetNetworkInterfacesClient() { throw null; } - public virtual Azure.Management.Network.NetworkInterfaceTapConfigurationsClient GetNetworkInterfaceTapConfigurationsClient() { throw null; } - public virtual Azure.Management.Network.NetworkProfilesClient GetNetworkProfilesClient() { throw null; } - public virtual Azure.Management.Network.NetworkSecurityGroupsClient GetNetworkSecurityGroupsClient() { throw null; } - public virtual Azure.Management.Network.NetworkVirtualAppliancesClient GetNetworkVirtualAppliancesClient() { throw null; } - public virtual Azure.Management.Network.NetworkWatchersClient GetNetworkWatchersClient() { throw null; } - public virtual Azure.Management.Network.OperationsClient GetOperationsClient() { throw null; } - public virtual Azure.Management.Network.P2SVpnGatewaysClient GetP2SVpnGatewaysClient() { throw null; } - public virtual Azure.Management.Network.PacketCapturesClient GetPacketCapturesClient() { throw null; } - public virtual Azure.Management.Network.PeerExpressRouteCircuitConnectionsClient GetPeerExpressRouteCircuitConnectionsClient() { throw null; } - public virtual Azure.Management.Network.PrivateDnsZoneGroupsClient GetPrivateDnsZoneGroupsClient() { throw null; } - public virtual Azure.Management.Network.PrivateEndpointsClient GetPrivateEndpointsClient() { throw null; } - public virtual Azure.Management.Network.PrivateLinkServicesClient GetPrivateLinkServicesClient() { throw null; } - public virtual Azure.Management.Network.PublicIPAddressesClient GetPublicIPAddressesClient() { throw null; } - public virtual Azure.Management.Network.PublicIPPrefixesClient GetPublicIPPrefixesClient() { throw null; } - public virtual Azure.Management.Network.ResourceNavigationLinksClient GetResourceNavigationLinksClient() { throw null; } - public virtual Azure.Management.Network.RouteFilterRulesClient GetRouteFilterRulesClient() { throw null; } - public virtual Azure.Management.Network.RouteFiltersClient GetRouteFiltersClient() { throw null; } - public virtual Azure.Management.Network.RoutesClient GetRoutesClient() { throw null; } - public virtual Azure.Management.Network.RouteTablesClient GetRouteTablesClient() { throw null; } - public virtual Azure.Management.Network.SecurityPartnerProvidersClient GetSecurityPartnerProvidersClient() { throw null; } - public virtual Azure.Management.Network.SecurityRulesClient GetSecurityRulesClient() { throw null; } - public virtual Azure.Management.Network.ServiceAssociationLinksClient GetServiceAssociationLinksClient() { throw null; } - public virtual Azure.Management.Network.ServiceClient GetServiceClient() { throw null; } - public virtual Azure.Management.Network.ServiceEndpointPoliciesClient GetServiceEndpointPoliciesClient() { throw null; } - public virtual Azure.Management.Network.ServiceEndpointPolicyDefinitionsClient GetServiceEndpointPolicyDefinitionsClient() { throw null; } - public virtual Azure.Management.Network.ServiceTagsClient GetServiceTagsClient() { throw null; } - public virtual Azure.Management.Network.SubnetsClient GetSubnetsClient() { throw null; } - public virtual Azure.Management.Network.UsagesClient GetUsagesClient() { throw null; } - public virtual Azure.Management.Network.VirtualHubRouteTableV2SClient GetVirtualHubRouteTableV2SClient() { throw null; } - public virtual Azure.Management.Network.VirtualHubsClient GetVirtualHubsClient() { throw null; } - public virtual Azure.Management.Network.VirtualNetworkGatewayConnectionsClient GetVirtualNetworkGatewayConnectionsClient() { throw null; } - public virtual Azure.Management.Network.VirtualNetworkGatewaysClient GetVirtualNetworkGatewaysClient() { throw null; } - public virtual Azure.Management.Network.VirtualNetworkPeeringsClient GetVirtualNetworkPeeringsClient() { throw null; } - public virtual Azure.Management.Network.VirtualNetworksClient GetVirtualNetworksClient() { throw null; } - public virtual Azure.Management.Network.VirtualNetworkTapsClient GetVirtualNetworkTapsClient() { throw null; } - public virtual Azure.Management.Network.VirtualRouterPeeringsClient GetVirtualRouterPeeringsClient() { throw null; } - public virtual Azure.Management.Network.VirtualRoutersClient GetVirtualRoutersClient() { throw null; } - public virtual Azure.Management.Network.VirtualWansClient GetVirtualWansClient() { throw null; } - public virtual Azure.Management.Network.VpnConnectionsClient GetVpnConnectionsClient() { throw null; } - public virtual Azure.Management.Network.VpnGatewaysClient GetVpnGatewaysClient() { throw null; } - public virtual Azure.Management.Network.VpnLinkConnectionsClient GetVpnLinkConnectionsClient() { throw null; } - public virtual Azure.Management.Network.VpnServerConfigurationsAssociatedWithVirtualWanClient GetVpnServerConfigurationsAssociatedWithVirtualWanClient() { throw null; } - public virtual Azure.Management.Network.VpnServerConfigurationsClient GetVpnServerConfigurationsClient() { throw null; } - public virtual Azure.Management.Network.VpnSiteLinkConnectionsClient GetVpnSiteLinkConnectionsClient() { throw null; } - public virtual Azure.Management.Network.VpnSiteLinksClient GetVpnSiteLinksClient() { throw null; } - public virtual Azure.Management.Network.VpnSitesClient GetVpnSitesClient() { throw null; } - public virtual Azure.Management.Network.VpnSitesConfigurationClient GetVpnSitesConfigurationClient() { throw null; } - public virtual Azure.Management.Network.WebApplicationFirewallPoliciesClient GetWebApplicationFirewallPoliciesClient() { throw null; } + public virtual Azure.Management.Network.ApplicationGatewaysOperations ApplicationGateways { get { throw null; } } + public virtual Azure.Management.Network.ApplicationSecurityGroupsOperations ApplicationSecurityGroups { get { throw null; } } + public virtual Azure.Management.Network.AvailableDelegationsOperations AvailableDelegations { get { throw null; } } + public virtual Azure.Management.Network.AvailableEndpointServicesOperations AvailableEndpointServices { get { throw null; } } + public virtual Azure.Management.Network.AvailablePrivateEndpointTypesOperations AvailablePrivateEndpointTypes { get { throw null; } } + public virtual Azure.Management.Network.AvailableResourceGroupDelegationsOperations AvailableResourceGroupDelegations { get { throw null; } } + public virtual Azure.Management.Network.AvailableServiceAliasesOperations AvailableServiceAliases { get { throw null; } } + public virtual Azure.Management.Network.AzureFirewallFqdnTagsOperations AzureFirewallFqdnTags { get { throw null; } } + public virtual Azure.Management.Network.AzureFirewallsOperations AzureFirewalls { get { throw null; } } + public virtual Azure.Management.Network.BastionHostsOperations BastionHosts { get { throw null; } } + public virtual Azure.Management.Network.BgpServiceCommunitiesOperations BgpServiceCommunities { get { throw null; } } + public virtual Azure.Management.Network.ConnectionMonitorsOperations ConnectionMonitors { get { throw null; } } + public virtual Azure.Management.Network.DdosCustomPoliciesOperations DdosCustomPolicies { get { throw null; } } + public virtual Azure.Management.Network.DdosProtectionPlansOperations DdosProtectionPlans { get { throw null; } } + public virtual Azure.Management.Network.DefaultSecurityRulesOperations DefaultSecurityRules { get { throw null; } } + public virtual Azure.Management.Network.ExpressRouteCircuitAuthorizationsOperations ExpressRouteCircuitAuthorizations { get { throw null; } } + public virtual Azure.Management.Network.ExpressRouteCircuitConnectionsOperations ExpressRouteCircuitConnections { get { throw null; } } + public virtual Azure.Management.Network.ExpressRouteCircuitPeeringsOperations ExpressRouteCircuitPeerings { get { throw null; } } + public virtual Azure.Management.Network.ExpressRouteCircuitsOperations ExpressRouteCircuits { get { throw null; } } + public virtual Azure.Management.Network.ExpressRouteConnectionsOperations ExpressRouteConnections { get { throw null; } } + public virtual Azure.Management.Network.ExpressRouteCrossConnectionPeeringsOperations ExpressRouteCrossConnectionPeerings { get { throw null; } } + public virtual Azure.Management.Network.ExpressRouteCrossConnectionsOperations ExpressRouteCrossConnections { get { throw null; } } + public virtual Azure.Management.Network.ExpressRouteGatewaysOperations ExpressRouteGateways { get { throw null; } } + public virtual Azure.Management.Network.ExpressRouteLinksOperations ExpressRouteLinks { get { throw null; } } + public virtual Azure.Management.Network.ExpressRoutePortsOperations ExpressRoutePorts { get { throw null; } } + public virtual Azure.Management.Network.ExpressRoutePortsLocationsOperations ExpressRoutePortsLocations { get { throw null; } } + public virtual Azure.Management.Network.ExpressRouteServiceProvidersOperations ExpressRouteServiceProviders { get { throw null; } } + public virtual Azure.Management.Network.FirewallPoliciesOperations FirewallPolicies { get { throw null; } } + public virtual Azure.Management.Network.FirewallPolicyRuleGroupsOperations FirewallPolicyRuleGroups { get { throw null; } } + public virtual Azure.Management.Network.FlowLogsOperations FlowLogs { get { throw null; } } + public virtual Azure.Management.Network.HubRouteTablesOperations HubRouteTables { get { throw null; } } + public virtual Azure.Management.Network.HubVirtualNetworkConnectionsOperations HubVirtualNetworkConnections { get { throw null; } } + public virtual Azure.Management.Network.InboundNatRulesOperations InboundNatRules { get { throw null; } } + public virtual Azure.Management.Network.IpAllocationsOperations IpAllocations { get { throw null; } } + public virtual Azure.Management.Network.IpGroupsOperations IpGroups { get { throw null; } } + public virtual Azure.Management.Network.LoadBalancerBackendAddressPoolsOperations LoadBalancerBackendAddressPools { get { throw null; } } + public virtual Azure.Management.Network.LoadBalancerFrontendIPConfigurationsOperations LoadBalancerFrontendIPConfigurations { get { throw null; } } + public virtual Azure.Management.Network.LoadBalancerLoadBalancingRulesOperations LoadBalancerLoadBalancingRules { get { throw null; } } + public virtual Azure.Management.Network.LoadBalancerNetworkInterfacesOperations LoadBalancerNetworkInterfaces { get { throw null; } } + public virtual Azure.Management.Network.LoadBalancerOutboundRulesOperations LoadBalancerOutboundRules { get { throw null; } } + public virtual Azure.Management.Network.LoadBalancerProbesOperations LoadBalancerProbes { get { throw null; } } + public virtual Azure.Management.Network.LoadBalancersOperations LoadBalancers { get { throw null; } } + public virtual Azure.Management.Network.LocalNetworkGatewaysOperations LocalNetworkGateways { get { throw null; } } + public virtual Azure.Management.Network.NatGatewaysOperations NatGateways { get { throw null; } } + public virtual Azure.Management.Network.NetworkInterfaceIPConfigurationsOperations NetworkInterfaceIPConfigurations { get { throw null; } } + public virtual Azure.Management.Network.NetworkInterfaceLoadBalancersOperations NetworkInterfaceLoadBalancers { get { throw null; } } + public virtual Azure.Management.Network.NetworkInterfacesOperations NetworkInterfaces { get { throw null; } } + public virtual Azure.Management.Network.NetworkInterfaceTapConfigurationsOperations NetworkInterfaceTapConfigurations { get { throw null; } } + public virtual Azure.Management.Network.NetworkProfilesOperations NetworkProfiles { get { throw null; } } + public virtual Azure.Management.Network.NetworkSecurityGroupsOperations NetworkSecurityGroups { get { throw null; } } + public virtual Azure.Management.Network.NetworkVirtualAppliancesOperations NetworkVirtualAppliances { get { throw null; } } + public virtual Azure.Management.Network.NetworkWatchersOperations NetworkWatchers { get { throw null; } } + public virtual Azure.Management.Network.Operations Operations { get { throw null; } } + public virtual Azure.Management.Network.P2SVpnGatewaysOperations P2SVpnGateways { get { throw null; } } + public virtual Azure.Management.Network.PacketCapturesOperations PacketCaptures { get { throw null; } } + public virtual Azure.Management.Network.PeerExpressRouteCircuitConnectionsOperations PeerExpressRouteCircuitConnections { get { throw null; } } + public virtual Azure.Management.Network.PrivateDnsZoneGroupsOperations PrivateDnsZoneGroups { get { throw null; } } + public virtual Azure.Management.Network.PrivateEndpointsOperations PrivateEndpoints { get { throw null; } } + public virtual Azure.Management.Network.PrivateLinkServicesOperations PrivateLinkServices { get { throw null; } } + public virtual Azure.Management.Network.PublicIPAddressesOperations PublicIPAddresses { get { throw null; } } + public virtual Azure.Management.Network.PublicIPPrefixesOperations PublicIPPrefixes { get { throw null; } } + public virtual Azure.Management.Network.ResourceNavigationLinksOperations ResourceNavigationLinks { get { throw null; } } + public virtual Azure.Management.Network.RouteFilterRulesOperations RouteFilterRules { get { throw null; } } + public virtual Azure.Management.Network.RouteFiltersOperations RouteFilters { get { throw null; } } + public virtual Azure.Management.Network.RoutesOperations Routes { get { throw null; } } + public virtual Azure.Management.Network.RouteTablesOperations RouteTables { get { throw null; } } + public virtual Azure.Management.Network.SecurityPartnerProvidersOperations SecurityPartnerProviders { get { throw null; } } + public virtual Azure.Management.Network.SecurityRulesOperations SecurityRules { get { throw null; } } + public virtual Azure.Management.Network.ServiceOperations Service { get { throw null; } } + public virtual Azure.Management.Network.ServiceAssociationLinksOperations ServiceAssociationLinks { get { throw null; } } + public virtual Azure.Management.Network.ServiceEndpointPoliciesOperations ServiceEndpointPolicies { get { throw null; } } + public virtual Azure.Management.Network.ServiceEndpointPolicyDefinitionsOperations ServiceEndpointPolicyDefinitions { get { throw null; } } + public virtual Azure.Management.Network.ServiceTagsOperations ServiceTags { get { throw null; } } + public virtual Azure.Management.Network.SubnetsOperations Subnets { get { throw null; } } + public virtual Azure.Management.Network.UsagesOperations Usages { get { throw null; } } + public virtual Azure.Management.Network.VirtualHubRouteTableV2SOperations VirtualHubRouteTableV2S { get { throw null; } } + public virtual Azure.Management.Network.VirtualHubsOperations VirtualHubs { get { throw null; } } + public virtual Azure.Management.Network.VirtualNetworkGatewayConnectionsOperations VirtualNetworkGatewayConnections { get { throw null; } } + public virtual Azure.Management.Network.VirtualNetworkGatewaysOperations VirtualNetworkGateways { get { throw null; } } + public virtual Azure.Management.Network.VirtualNetworkPeeringsOperations VirtualNetworkPeerings { get { throw null; } } + public virtual Azure.Management.Network.VirtualNetworksOperations VirtualNetworks { get { throw null; } } + public virtual Azure.Management.Network.VirtualNetworkTapsOperations VirtualNetworkTaps { get { throw null; } } + public virtual Azure.Management.Network.VirtualRouterPeeringsOperations VirtualRouterPeerings { get { throw null; } } + public virtual Azure.Management.Network.VirtualRoutersOperations VirtualRouters { get { throw null; } } + public virtual Azure.Management.Network.VirtualWansOperations VirtualWans { get { throw null; } } + public virtual Azure.Management.Network.VpnConnectionsOperations VpnConnections { get { throw null; } } + public virtual Azure.Management.Network.VpnGatewaysOperations VpnGateways { get { throw null; } } + public virtual Azure.Management.Network.VpnLinkConnectionsOperations VpnLinkConnections { get { throw null; } } + public virtual Azure.Management.Network.VpnServerConfigurationsOperations VpnServerConfigurations { get { throw null; } } + public virtual Azure.Management.Network.VpnServerConfigurationsAssociatedWithVirtualWanOperations VpnServerConfigurationsAssociatedWithVirtualWan { get { throw null; } } + public virtual Azure.Management.Network.VpnSiteLinkConnectionsOperations VpnSiteLinkConnections { get { throw null; } } + public virtual Azure.Management.Network.VpnSiteLinksOperations VpnSiteLinks { get { throw null; } } + public virtual Azure.Management.Network.VpnSitesOperations VpnSites { get { throw null; } } + public virtual Azure.Management.Network.VpnSitesConfigurationOperations VpnSitesConfiguration { get { throw null; } } + public virtual Azure.Management.Network.WebApplicationFirewallPoliciesOperations WebApplicationFirewallPolicies { get { throw null; } } } public partial class NetworkManagementClientOptions : Azure.Core.ClientOptions { public NetworkManagementClientOptions() { } } - public partial class NetworkProfilesClient + public partial class NetworkProfilesDeleteOperation : Azure.Operation + { + internal NetworkProfilesDeleteOperation() { } + public override bool HasCompleted { get { throw null; } } + public override bool HasValue { get { throw null; } } + public override string Id { get { throw null; } } + public override Azure.Response Value { get { throw null; } } + public override Azure.Response GetRawResponse() { throw null; } + public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class NetworkProfilesOperations { - protected NetworkProfilesClient() { } + protected NetworkProfilesOperations() { } public virtual Azure.Response CreateOrUpdate(string resourceGroupName, string networkProfileName, Azure.Management.Network.Models.NetworkProfile parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(string resourceGroupName, string networkProfileName, Azure.Management.Network.Models.NetworkProfile parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Get(string resourceGroupName, string networkProfileName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -1668,9 +1681,22 @@ protected NetworkProfilesClient() { } public virtual Azure.Response UpdateTags(string resourceGroupName, string networkProfileName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string networkProfileName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class NetworkProfilesDeleteOperation : Azure.Operation + public partial class NetworkSecurityGroupsCreateOrUpdateOperation : Azure.Operation { - internal NetworkProfilesDeleteOperation() { } + internal NetworkSecurityGroupsCreateOrUpdateOperation() { } + public override bool HasCompleted { get { throw null; } } + public override bool HasValue { get { throw null; } } + public override string Id { get { throw null; } } + public override Azure.Management.Network.Models.NetworkSecurityGroup Value { get { throw null; } } + public override Azure.Response GetRawResponse() { throw null; } + public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class NetworkSecurityGroupsDeleteOperation : Azure.Operation + { + internal NetworkSecurityGroupsDeleteOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } @@ -1681,9 +1707,9 @@ internal NetworkProfilesDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class NetworkSecurityGroupsClient + public partial class NetworkSecurityGroupsOperations { - protected NetworkSecurityGroupsClient() { } + protected NetworkSecurityGroupsOperations() { } public virtual Azure.Response Get(string resourceGroupName, string networkSecurityGroupName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string networkSecurityGroupName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -1697,22 +1723,22 @@ protected NetworkSecurityGroupsClient() { } public virtual Azure.Response UpdateTags(string resourceGroupName, string networkSecurityGroupName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string networkSecurityGroupName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class NetworkSecurityGroupsCreateOrUpdateOperation : Azure.Operation + public partial class NetworkVirtualAppliancesCreateOrUpdateOperation : Azure.Operation { - internal NetworkSecurityGroupsCreateOrUpdateOperation() { } + internal NetworkVirtualAppliancesCreateOrUpdateOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } - public override Azure.Management.Network.Models.NetworkSecurityGroup Value { get { throw null; } } + public override Azure.Management.Network.Models.NetworkVirtualAppliance Value { get { throw null; } } public override Azure.Response GetRawResponse() { throw null; } public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class NetworkSecurityGroupsDeleteOperation : Azure.Operation + public partial class NetworkVirtualAppliancesDeleteOperation : Azure.Operation { - internal NetworkSecurityGroupsDeleteOperation() { } + internal NetworkVirtualAppliancesDeleteOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } @@ -1723,9 +1749,9 @@ internal NetworkSecurityGroupsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class NetworkVirtualAppliancesClient + public partial class NetworkVirtualAppliancesOperations { - protected NetworkVirtualAppliancesClient() { } + protected NetworkVirtualAppliancesOperations() { } public virtual Azure.Response Get(string resourceGroupName, string networkVirtualApplianceName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string networkVirtualApplianceName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -1739,32 +1765,6 @@ protected NetworkVirtualAppliancesClient() { } public virtual Azure.Response UpdateTags(string resourceGroupName, string networkVirtualApplianceName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string networkVirtualApplianceName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class NetworkVirtualAppliancesCreateOrUpdateOperation : Azure.Operation - { - internal NetworkVirtualAppliancesCreateOrUpdateOperation() { } - public override bool HasCompleted { get { throw null; } } - public override bool HasValue { get { throw null; } } - public override string Id { get { throw null; } } - public override Azure.Management.Network.Models.NetworkVirtualAppliance Value { get { throw null; } } - public override Azure.Response GetRawResponse() { throw null; } - public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } - public partial class NetworkVirtualAppliancesDeleteOperation : Azure.Operation - { - internal NetworkVirtualAppliancesDeleteOperation() { } - public override bool HasCompleted { get { throw null; } } - public override bool HasValue { get { throw null; } } - public override string Id { get { throw null; } } - public override Azure.Response Value { get { throw null; } } - public override Azure.Response GetRawResponse() { throw null; } - public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class NetworkWatchersCheckConnectivityOperation : Azure.Operation { internal NetworkWatchersCheckConnectivityOperation() { } @@ -1778,46 +1778,6 @@ internal NetworkWatchersCheckConnectivityOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class NetworkWatchersClient - { - protected NetworkWatchersClient() { } - public virtual Azure.Response CreateOrUpdate(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.NetworkWatcher parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.NetworkWatcher parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Get(string resourceGroupName, string networkWatcherName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string networkWatcherName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response GetTopology(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.TopologyParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetTopologyAsync(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.TopologyParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.NetworkWatchersCheckConnectivityOperation StartCheckConnectivity(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.ConnectivityParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCheckConnectivityAsync(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.ConnectivityParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.NetworkWatchersDeleteOperation StartDelete(string resourceGroupName, string networkWatcherName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string networkWatcherName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.NetworkWatchersGetAzureReachabilityReportOperation StartGetAzureReachabilityReport(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.AzureReachabilityReportParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartGetAzureReachabilityReportAsync(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.AzureReachabilityReportParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.NetworkWatchersGetFlowLogStatusOperation StartGetFlowLogStatus(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.FlowLogStatusParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartGetFlowLogStatusAsync(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.FlowLogStatusParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.NetworkWatchersGetNetworkConfigurationDiagnosticOperation StartGetNetworkConfigurationDiagnostic(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.NetworkConfigurationDiagnosticParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartGetNetworkConfigurationDiagnosticAsync(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.NetworkConfigurationDiagnosticParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.NetworkWatchersGetNextHopOperation StartGetNextHop(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.NextHopParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartGetNextHopAsync(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.NextHopParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.NetworkWatchersGetTroubleshootingOperation StartGetTroubleshooting(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.TroubleshootingParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartGetTroubleshootingAsync(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.TroubleshootingParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.NetworkWatchersGetTroubleshootingResultOperation StartGetTroubleshootingResult(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.QueryTroubleshootingParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartGetTroubleshootingResultAsync(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.QueryTroubleshootingParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.NetworkWatchersGetVMSecurityRulesOperation StartGetVMSecurityRules(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.SecurityGroupViewParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartGetVMSecurityRulesAsync(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.SecurityGroupViewParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.NetworkWatchersListAvailableProvidersOperation StartListAvailableProviders(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.AvailableProvidersListParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartListAvailableProvidersAsync(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.AvailableProvidersListParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.NetworkWatchersSetFlowLogConfigurationOperation StartSetFlowLogConfiguration(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.FlowLogInformation parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartSetFlowLogConfigurationAsync(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.FlowLogInformation parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.NetworkWatchersVerifyIPFlowOperation StartVerifyIPFlow(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.VerificationIPFlowParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartVerifyIPFlowAsync(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.VerificationIPFlowParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response UpdateTags(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class NetworkWatchersDeleteOperation : Azure.Operation { internal NetworkWatchersDeleteOperation() { } @@ -1935,6 +1895,46 @@ internal NetworkWatchersListAvailableProvidersOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class NetworkWatchersOperations + { + protected NetworkWatchersOperations() { } + public virtual Azure.Response CreateOrUpdate(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.NetworkWatcher parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.NetworkWatcher parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Get(string resourceGroupName, string networkWatcherName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string networkWatcherName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetTopology(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.TopologyParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetTopologyAsync(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.TopologyParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.NetworkWatchersCheckConnectivityOperation StartCheckConnectivity(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.ConnectivityParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCheckConnectivityAsync(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.ConnectivityParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.NetworkWatchersDeleteOperation StartDelete(string resourceGroupName, string networkWatcherName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string networkWatcherName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.NetworkWatchersGetAzureReachabilityReportOperation StartGetAzureReachabilityReport(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.AzureReachabilityReportParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartGetAzureReachabilityReportAsync(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.AzureReachabilityReportParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.NetworkWatchersGetFlowLogStatusOperation StartGetFlowLogStatus(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.FlowLogStatusParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartGetFlowLogStatusAsync(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.FlowLogStatusParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.NetworkWatchersGetNetworkConfigurationDiagnosticOperation StartGetNetworkConfigurationDiagnostic(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.NetworkConfigurationDiagnosticParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartGetNetworkConfigurationDiagnosticAsync(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.NetworkConfigurationDiagnosticParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.NetworkWatchersGetNextHopOperation StartGetNextHop(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.NextHopParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartGetNextHopAsync(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.NextHopParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.NetworkWatchersGetTroubleshootingOperation StartGetTroubleshooting(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.TroubleshootingParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartGetTroubleshootingAsync(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.TroubleshootingParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.NetworkWatchersGetTroubleshootingResultOperation StartGetTroubleshootingResult(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.QueryTroubleshootingParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartGetTroubleshootingResultAsync(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.QueryTroubleshootingParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.NetworkWatchersGetVMSecurityRulesOperation StartGetVMSecurityRules(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.SecurityGroupViewParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartGetVMSecurityRulesAsync(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.SecurityGroupViewParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.NetworkWatchersListAvailableProvidersOperation StartListAvailableProviders(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.AvailableProvidersListParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartListAvailableProvidersAsync(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.AvailableProvidersListParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.NetworkWatchersSetFlowLogConfigurationOperation StartSetFlowLogConfiguration(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.FlowLogInformation parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartSetFlowLogConfigurationAsync(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.FlowLogInformation parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.NetworkWatchersVerifyIPFlowOperation StartVerifyIPFlow(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.VerificationIPFlowParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartVerifyIPFlowAsync(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.VerificationIPFlowParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response UpdateTags(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string networkWatcherName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class NetworkWatchersSetFlowLogConfigurationOperation : Azure.Operation { internal NetworkWatchersSetFlowLogConfigurationOperation() { } @@ -1961,36 +1961,12 @@ internal NetworkWatchersVerifyIPFlowOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class OperationsClient + public partial class Operations { - protected OperationsClient() { } + protected Operations() { } public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class P2SVpnGatewaysClient - { - protected P2SVpnGatewaysClient() { } - public virtual Azure.Response Get(string resourceGroupName, string gatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string gatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.P2SVpnGatewaysCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string gatewayName, Azure.Management.Network.Models.P2SVpnGateway p2SVpnGatewayParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string gatewayName, Azure.Management.Network.Models.P2SVpnGateway p2SVpnGatewayParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.P2SVpnGatewaysDeleteOperation StartDelete(string resourceGroupName, string gatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string gatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.P2SVpnGatewaysDisconnectP2SVpnConnectionsOperation StartDisconnectP2SVpnConnections(string resourceGroupName, string p2SVpnGatewayName, Azure.Management.Network.Models.P2SVpnConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDisconnectP2SVpnConnectionsAsync(string resourceGroupName, string p2SVpnGatewayName, Azure.Management.Network.Models.P2SVpnConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.P2SVpnGatewaysGenerateVpnProfileOperation StartGenerateVpnProfile(string resourceGroupName, string gatewayName, Azure.Management.Network.Models.P2SVpnProfileParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartGenerateVpnProfileAsync(string resourceGroupName, string gatewayName, Azure.Management.Network.Models.P2SVpnProfileParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.P2SVpnGatewaysGetP2SVpnConnectionHealthOperation StartGetP2SVpnConnectionHealth(string resourceGroupName, string gatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartGetP2SVpnConnectionHealthAsync(string resourceGroupName, string gatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.P2SVpnGatewaysGetP2SVpnConnectionHealthDetailedOperation StartGetP2SVpnConnectionHealthDetailed(string resourceGroupName, string gatewayName, Azure.Management.Network.Models.P2SVpnConnectionHealthRequest request, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartGetP2SVpnConnectionHealthDetailedAsync(string resourceGroupName, string gatewayName, Azure.Management.Network.Models.P2SVpnConnectionHealthRequest request, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response UpdateTags(string resourceGroupName, string gatewayName, Azure.Management.Network.Models.TagsObject p2SVpnGatewayParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string gatewayName, Azure.Management.Network.Models.TagsObject p2SVpnGatewayParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class P2SVpnGatewaysCreateOrUpdateOperation : Azure.Operation { internal P2SVpnGatewaysCreateOrUpdateOperation() { } @@ -2069,21 +2045,29 @@ internal P2SVpnGatewaysGetP2SVpnConnectionHealthOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class PacketCapturesClient + public partial class P2SVpnGatewaysOperations { - protected PacketCapturesClient() { } - public virtual Azure.Response Get(string resourceGroupName, string networkWatcherName, string packetCaptureName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string networkWatcherName, string packetCaptureName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, string networkWatcherName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string networkWatcherName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.PacketCapturesCreateOperation StartCreate(string resourceGroupName, string networkWatcherName, string packetCaptureName, Azure.Management.Network.Models.PacketCapture parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateAsync(string resourceGroupName, string networkWatcherName, string packetCaptureName, Azure.Management.Network.Models.PacketCapture parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.PacketCapturesDeleteOperation StartDelete(string resourceGroupName, string networkWatcherName, string packetCaptureName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string networkWatcherName, string packetCaptureName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.PacketCapturesGetStatusOperation StartGetStatus(string resourceGroupName, string networkWatcherName, string packetCaptureName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartGetStatusAsync(string resourceGroupName, string networkWatcherName, string packetCaptureName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.PacketCapturesStopOperation StartStop(string resourceGroupName, string networkWatcherName, string packetCaptureName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartStopAsync(string resourceGroupName, string networkWatcherName, string packetCaptureName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected P2SVpnGatewaysOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string gatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string gatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.P2SVpnGatewaysCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string gatewayName, Azure.Management.Network.Models.P2SVpnGateway p2SVpnGatewayParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string gatewayName, Azure.Management.Network.Models.P2SVpnGateway p2SVpnGatewayParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.P2SVpnGatewaysDeleteOperation StartDelete(string resourceGroupName, string gatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string gatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.P2SVpnGatewaysDisconnectP2SVpnConnectionsOperation StartDisconnectP2SVpnConnections(string resourceGroupName, string p2SVpnGatewayName, Azure.Management.Network.Models.P2SVpnConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDisconnectP2SVpnConnectionsAsync(string resourceGroupName, string p2SVpnGatewayName, Azure.Management.Network.Models.P2SVpnConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.P2SVpnGatewaysGenerateVpnProfileOperation StartGenerateVpnProfile(string resourceGroupName, string gatewayName, Azure.Management.Network.Models.P2SVpnProfileParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartGenerateVpnProfileAsync(string resourceGroupName, string gatewayName, Azure.Management.Network.Models.P2SVpnProfileParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.P2SVpnGatewaysGetP2SVpnConnectionHealthOperation StartGetP2SVpnConnectionHealth(string resourceGroupName, string gatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartGetP2SVpnConnectionHealthAsync(string resourceGroupName, string gatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.P2SVpnGatewaysGetP2SVpnConnectionHealthDetailedOperation StartGetP2SVpnConnectionHealthDetailed(string resourceGroupName, string gatewayName, Azure.Management.Network.Models.P2SVpnConnectionHealthRequest request, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartGetP2SVpnConnectionHealthDetailedAsync(string resourceGroupName, string gatewayName, Azure.Management.Network.Models.P2SVpnConnectionHealthRequest request, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response UpdateTags(string resourceGroupName, string gatewayName, Azure.Management.Network.Models.TagsObject p2SVpnGatewayParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string gatewayName, Azure.Management.Network.Models.TagsObject p2SVpnGatewayParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class PacketCapturesCreateOperation : Azure.Operation { @@ -2124,6 +2108,22 @@ internal PacketCapturesGetStatusOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class PacketCapturesOperations + { + protected PacketCapturesOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string networkWatcherName, string packetCaptureName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string networkWatcherName, string packetCaptureName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, string networkWatcherName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string networkWatcherName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.PacketCapturesCreateOperation StartCreate(string resourceGroupName, string networkWatcherName, string packetCaptureName, Azure.Management.Network.Models.PacketCapture parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateAsync(string resourceGroupName, string networkWatcherName, string packetCaptureName, Azure.Management.Network.Models.PacketCapture parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.PacketCapturesDeleteOperation StartDelete(string resourceGroupName, string networkWatcherName, string packetCaptureName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string networkWatcherName, string packetCaptureName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.PacketCapturesGetStatusOperation StartGetStatus(string resourceGroupName, string networkWatcherName, string packetCaptureName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartGetStatusAsync(string resourceGroupName, string networkWatcherName, string packetCaptureName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.PacketCapturesStopOperation StartStop(string resourceGroupName, string networkWatcherName, string packetCaptureName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartStopAsync(string resourceGroupName, string networkWatcherName, string packetCaptureName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class PacketCapturesStopOperation : Azure.Operation { internal PacketCapturesStopOperation() { } @@ -2137,17 +2137,43 @@ internal PacketCapturesStopOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class PeerExpressRouteCircuitConnectionsClient + public partial class PeerExpressRouteCircuitConnectionsOperations { - protected PeerExpressRouteCircuitConnectionsClient() { } + protected PeerExpressRouteCircuitConnectionsOperations() { } public virtual Azure.Response Get(string resourceGroupName, string circuitName, string peeringName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string circuitName, string peeringName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(string resourceGroupName, string circuitName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string circuitName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class PrivateDnsZoneGroupsClient + public partial class PrivateDnsZoneGroupsCreateOrUpdateOperation : Azure.Operation + { + internal PrivateDnsZoneGroupsCreateOrUpdateOperation() { } + public override bool HasCompleted { get { throw null; } } + public override bool HasValue { get { throw null; } } + public override string Id { get { throw null; } } + public override Azure.Management.Network.Models.PrivateDnsZoneGroup Value { get { throw null; } } + public override Azure.Response GetRawResponse() { throw null; } + public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class PrivateDnsZoneGroupsDeleteOperation : Azure.Operation + { + internal PrivateDnsZoneGroupsDeleteOperation() { } + public override bool HasCompleted { get { throw null; } } + public override bool HasValue { get { throw null; } } + public override string Id { get { throw null; } } + public override Azure.Response Value { get { throw null; } } + public override Azure.Response GetRawResponse() { throw null; } + public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class PrivateDnsZoneGroupsOperations { - protected PrivateDnsZoneGroupsClient() { } + protected PrivateDnsZoneGroupsOperations() { } public virtual Azure.Response Get(string resourceGroupName, string privateEndpointName, string privateDnsZoneGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string privateEndpointName, string privateDnsZoneGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(string privateEndpointName, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -2157,22 +2183,22 @@ protected PrivateDnsZoneGroupsClient() { } public virtual Azure.Management.Network.PrivateDnsZoneGroupsDeleteOperation StartDelete(string resourceGroupName, string privateEndpointName, string privateDnsZoneGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string privateEndpointName, string privateDnsZoneGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class PrivateDnsZoneGroupsCreateOrUpdateOperation : Azure.Operation + public partial class PrivateEndpointsCreateOrUpdateOperation : Azure.Operation { - internal PrivateDnsZoneGroupsCreateOrUpdateOperation() { } + internal PrivateEndpointsCreateOrUpdateOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } - public override Azure.Management.Network.Models.PrivateDnsZoneGroup Value { get { throw null; } } + public override Azure.Management.Network.Models.PrivateEndpoint Value { get { throw null; } } public override Azure.Response GetRawResponse() { throw null; } public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class PrivateDnsZoneGroupsDeleteOperation : Azure.Operation + public partial class PrivateEndpointsDeleteOperation : Azure.Operation { - internal PrivateDnsZoneGroupsDeleteOperation() { } + internal PrivateEndpointsDeleteOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } @@ -2183,9 +2209,9 @@ internal PrivateDnsZoneGroupsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class PrivateEndpointsClient + public partial class PrivateEndpointsOperations { - protected PrivateEndpointsClient() { } + protected PrivateEndpointsOperations() { } public virtual Azure.Response Get(string resourceGroupName, string privateEndpointName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string privateEndpointName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -2197,22 +2223,35 @@ protected PrivateEndpointsClient() { } public virtual Azure.Management.Network.PrivateEndpointsDeleteOperation StartDelete(string resourceGroupName, string privateEndpointName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string privateEndpointName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class PrivateEndpointsCreateOrUpdateOperation : Azure.Operation + public partial class PrivateLinkServicesCreateOrUpdateOperation : Azure.Operation { - internal PrivateEndpointsCreateOrUpdateOperation() { } + internal PrivateLinkServicesCreateOrUpdateOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } - public override Azure.Management.Network.Models.PrivateEndpoint Value { get { throw null; } } + public override Azure.Management.Network.Models.PrivateLinkService Value { get { throw null; } } public override Azure.Response GetRawResponse() { throw null; } public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class PrivateEndpointsDeleteOperation : Azure.Operation + public partial class PrivateLinkServicesDeleteOperation : Azure.Operation { - internal PrivateEndpointsDeleteOperation() { } + internal PrivateLinkServicesDeleteOperation() { } + public override bool HasCompleted { get { throw null; } } + public override bool HasValue { get { throw null; } } + public override string Id { get { throw null; } } + public override Azure.Response Value { get { throw null; } } + public override Azure.Response GetRawResponse() { throw null; } + public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class PrivateLinkServicesDeletePrivateEndpointConnectionOperation : Azure.Operation + { + internal PrivateLinkServicesDeletePrivateEndpointConnectionOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } @@ -2223,9 +2262,9 @@ internal PrivateEndpointsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class PrivateLinkServicesClient + public partial class PrivateLinkServicesOperations { - protected PrivateLinkServicesClient() { } + protected PrivateLinkServicesOperations() { } public virtual Azure.Response CheckPrivateLinkServiceVisibility(string location, Azure.Management.Network.Models.CheckPrivateLinkServiceVisibilityRequest parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CheckPrivateLinkServiceVisibilityAsync(string location, Azure.Management.Network.Models.CheckPrivateLinkServiceVisibilityRequest parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response CheckPrivateLinkServiceVisibilityByResourceGroup(string location, string resourceGroupName, Azure.Management.Network.Models.CheckPrivateLinkServiceVisibilityRequest parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -2253,35 +2292,22 @@ protected PrivateLinkServicesClient() { } public virtual Azure.Response UpdatePrivateEndpointConnection(string resourceGroupName, string serviceName, string peConnectionName, Azure.Management.Network.Models.PrivateEndpointConnection parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdatePrivateEndpointConnectionAsync(string resourceGroupName, string serviceName, string peConnectionName, Azure.Management.Network.Models.PrivateEndpointConnection parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class PrivateLinkServicesCreateOrUpdateOperation : Azure.Operation - { - internal PrivateLinkServicesCreateOrUpdateOperation() { } - public override bool HasCompleted { get { throw null; } } - public override bool HasValue { get { throw null; } } - public override string Id { get { throw null; } } - public override Azure.Management.Network.Models.PrivateLinkService Value { get { throw null; } } - public override Azure.Response GetRawResponse() { throw null; } - public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } - public partial class PrivateLinkServicesDeleteOperation : Azure.Operation + public partial class PublicIPAddressesCreateOrUpdateOperation : Azure.Operation { - internal PrivateLinkServicesDeleteOperation() { } + internal PublicIPAddressesCreateOrUpdateOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } - public override Azure.Response Value { get { throw null; } } + public override Azure.Management.Network.Models.PublicIPAddress Value { get { throw null; } } public override Azure.Response GetRawResponse() { throw null; } public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class PrivateLinkServicesDeletePrivateEndpointConnectionOperation : Azure.Operation + public partial class PublicIPAddressesDeleteOperation : Azure.Operation { - internal PrivateLinkServicesDeletePrivateEndpointConnectionOperation() { } + internal PublicIPAddressesDeleteOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } @@ -2292,9 +2318,9 @@ internal PrivateLinkServicesDeletePrivateEndpointConnectionOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class PublicIPAddressesClient + public partial class PublicIPAddressesOperations { - protected PublicIPAddressesClient() { } + protected PublicIPAddressesOperations() { } public virtual Azure.Response Get(string resourceGroupName, string publicIpAddressName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string publicIpAddressName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetVirtualMachineScaleSetPublicIPAddress(string resourceGroupName, string virtualMachineScaleSetName, string virtualmachineIndex, string networkInterfaceName, string ipConfigurationName, string publicIpAddressName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -2314,22 +2340,22 @@ protected PublicIPAddressesClient() { } public virtual Azure.Response UpdateTags(string resourceGroupName, string publicIpAddressName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string publicIpAddressName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class PublicIPAddressesCreateOrUpdateOperation : Azure.Operation + public partial class PublicIPPrefixesCreateOrUpdateOperation : Azure.Operation { - internal PublicIPAddressesCreateOrUpdateOperation() { } + internal PublicIPPrefixesCreateOrUpdateOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } - public override Azure.Management.Network.Models.PublicIPAddress Value { get { throw null; } } + public override Azure.Management.Network.Models.PublicIPPrefix Value { get { throw null; } } public override Azure.Response GetRawResponse() { throw null; } public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class PublicIPAddressesDeleteOperation : Azure.Operation + public partial class PublicIPPrefixesDeleteOperation : Azure.Operation { - internal PublicIPAddressesDeleteOperation() { } + internal PublicIPPrefixesDeleteOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } @@ -2340,9 +2366,9 @@ internal PublicIPAddressesDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class PublicIPPrefixesClient + public partial class PublicIPPrefixesOperations { - protected PublicIPPrefixesClient() { } + protected PublicIPPrefixesOperations() { } public virtual Azure.Response Get(string resourceGroupName, string publicIpPrefixName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string publicIpPrefixName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -2356,22 +2382,28 @@ protected PublicIPPrefixesClient() { } public virtual Azure.Response UpdateTags(string resourceGroupName, string publicIpPrefixName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string publicIpPrefixName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class PublicIPPrefixesCreateOrUpdateOperation : Azure.Operation + public partial class ResourceNavigationLinksOperations { - internal PublicIPPrefixesCreateOrUpdateOperation() { } + protected ResourceNavigationLinksOperations() { } + public virtual Azure.Response List(string resourceGroupName, string virtualNetworkName, string subnetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> ListAsync(string resourceGroupName, string virtualNetworkName, string subnetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class RouteFilterRulesCreateOrUpdateOperation : Azure.Operation + { + internal RouteFilterRulesCreateOrUpdateOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } - public override Azure.Management.Network.Models.PublicIPPrefix Value { get { throw null; } } + public override Azure.Management.Network.Models.RouteFilterRule Value { get { throw null; } } public override Azure.Response GetRawResponse() { throw null; } public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class PublicIPPrefixesDeleteOperation : Azure.Operation + public partial class RouteFilterRulesDeleteOperation : Azure.Operation { - internal PublicIPPrefixesDeleteOperation() { } + internal RouteFilterRulesDeleteOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } @@ -2382,15 +2414,9 @@ internal PublicIPPrefixesDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ResourceNavigationLinksClient - { - protected ResourceNavigationLinksClient() { } - public virtual Azure.Response List(string resourceGroupName, string virtualNetworkName, string subnetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> ListAsync(string resourceGroupName, string virtualNetworkName, string subnetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } - public partial class RouteFilterRulesClient + public partial class RouteFilterRulesOperations { - protected RouteFilterRulesClient() { } + protected RouteFilterRulesOperations() { } public virtual Azure.Response Get(string resourceGroupName, string routeFilterName, string ruleName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string routeFilterName, string ruleName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable ListByRouteFilter(string resourceGroupName, string routeFilterName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -2400,22 +2426,22 @@ protected RouteFilterRulesClient() { } public virtual Azure.Management.Network.RouteFilterRulesDeleteOperation StartDelete(string resourceGroupName, string routeFilterName, string ruleName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string routeFilterName, string ruleName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class RouteFilterRulesCreateOrUpdateOperation : Azure.Operation + public partial class RouteFiltersCreateOrUpdateOperation : Azure.Operation { - internal RouteFilterRulesCreateOrUpdateOperation() { } + internal RouteFiltersCreateOrUpdateOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } - public override Azure.Management.Network.Models.RouteFilterRule Value { get { throw null; } } + public override Azure.Management.Network.Models.RouteFilter Value { get { throw null; } } public override Azure.Response GetRawResponse() { throw null; } public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class RouteFilterRulesDeleteOperation : Azure.Operation + public partial class RouteFiltersDeleteOperation : Azure.Operation { - internal RouteFilterRulesDeleteOperation() { } + internal RouteFiltersDeleteOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } @@ -2426,9 +2452,9 @@ internal RouteFilterRulesDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class RouteFiltersClient + public partial class RouteFiltersOperations { - protected RouteFiltersClient() { } + protected RouteFiltersOperations() { } public virtual Azure.Response Get(string resourceGroupName, string routeFilterName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string routeFilterName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -2442,22 +2468,22 @@ protected RouteFiltersClient() { } public virtual Azure.Response UpdateTags(string resourceGroupName, string routeFilterName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string routeFilterName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class RouteFiltersCreateOrUpdateOperation : Azure.Operation + public partial class RoutesCreateOrUpdateOperation : Azure.Operation { - internal RouteFiltersCreateOrUpdateOperation() { } + internal RoutesCreateOrUpdateOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } - public override Azure.Management.Network.Models.RouteFilter Value { get { throw null; } } + public override Azure.Management.Network.Models.Route Value { get { throw null; } } public override Azure.Response GetRawResponse() { throw null; } public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class RouteFiltersDeleteOperation : Azure.Operation + public partial class RoutesDeleteOperation : Azure.Operation { - internal RouteFiltersDeleteOperation() { } + internal RoutesDeleteOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } @@ -2468,9 +2494,9 @@ internal RouteFiltersDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class RoutesClient + public partial class RoutesOperations { - protected RoutesClient() { } + protected RoutesOperations() { } public virtual Azure.Response Get(string resourceGroupName, string routeTableName, string routeName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string routeTableName, string routeName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(string resourceGroupName, string routeTableName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -2480,22 +2506,22 @@ protected RoutesClient() { } public virtual Azure.Management.Network.RoutesDeleteOperation StartDelete(string resourceGroupName, string routeTableName, string routeName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string routeTableName, string routeName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class RoutesCreateOrUpdateOperation : Azure.Operation + public partial class RouteTablesCreateOrUpdateOperation : Azure.Operation { - internal RoutesCreateOrUpdateOperation() { } + internal RouteTablesCreateOrUpdateOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } - public override Azure.Management.Network.Models.Route Value { get { throw null; } } + public override Azure.Management.Network.Models.RouteTable Value { get { throw null; } } public override Azure.Response GetRawResponse() { throw null; } public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class RoutesDeleteOperation : Azure.Operation + public partial class RouteTablesDeleteOperation : Azure.Operation { - internal RoutesDeleteOperation() { } + internal RouteTablesDeleteOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } @@ -2506,9 +2532,9 @@ internal RoutesDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class RouteTablesClient + public partial class RouteTablesOperations { - protected RouteTablesClient() { } + protected RouteTablesOperations() { } public virtual Azure.Response Get(string resourceGroupName, string routeTableName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string routeTableName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -2522,22 +2548,22 @@ protected RouteTablesClient() { } public virtual Azure.Response UpdateTags(string resourceGroupName, string routeTableName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string routeTableName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class RouteTablesCreateOrUpdateOperation : Azure.Operation + public partial class SecurityPartnerProvidersCreateOrUpdateOperation : Azure.Operation { - internal RouteTablesCreateOrUpdateOperation() { } + internal SecurityPartnerProvidersCreateOrUpdateOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } - public override Azure.Management.Network.Models.RouteTable Value { get { throw null; } } + public override Azure.Management.Network.Models.SecurityPartnerProvider Value { get { throw null; } } public override Azure.Response GetRawResponse() { throw null; } public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class RouteTablesDeleteOperation : Azure.Operation + public partial class SecurityPartnerProvidersDeleteOperation : Azure.Operation { - internal RouteTablesDeleteOperation() { } + internal SecurityPartnerProvidersDeleteOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } @@ -2548,9 +2574,9 @@ internal RouteTablesDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class SecurityPartnerProvidersClient + public partial class SecurityPartnerProvidersOperations { - protected SecurityPartnerProvidersClient() { } + protected SecurityPartnerProvidersOperations() { } public virtual Azure.Response Get(string resourceGroupName, string securityPartnerProviderName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string securityPartnerProviderName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -2564,44 +2590,6 @@ protected SecurityPartnerProvidersClient() { } public virtual Azure.Response UpdateTags(string resourceGroupName, string securityPartnerProviderName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string securityPartnerProviderName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class SecurityPartnerProvidersCreateOrUpdateOperation : Azure.Operation - { - internal SecurityPartnerProvidersCreateOrUpdateOperation() { } - public override bool HasCompleted { get { throw null; } } - public override bool HasValue { get { throw null; } } - public override string Id { get { throw null; } } - public override Azure.Management.Network.Models.SecurityPartnerProvider Value { get { throw null; } } - public override Azure.Response GetRawResponse() { throw null; } - public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } - public partial class SecurityPartnerProvidersDeleteOperation : Azure.Operation - { - internal SecurityPartnerProvidersDeleteOperation() { } - public override bool HasCompleted { get { throw null; } } - public override bool HasValue { get { throw null; } } - public override string Id { get { throw null; } } - public override Azure.Response Value { get { throw null; } } - public override Azure.Response GetRawResponse() { throw null; } - public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } - public partial class SecurityRulesClient - { - protected SecurityRulesClient() { } - public virtual Azure.Response Get(string resourceGroupName, string networkSecurityGroupName, string securityRuleName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string networkSecurityGroupName, string securityRuleName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, string networkSecurityGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string networkSecurityGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.SecurityRulesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string networkSecurityGroupName, string securityRuleName, Azure.Management.Network.Models.SecurityRule securityRuleParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string networkSecurityGroupName, string securityRuleName, Azure.Management.Network.Models.SecurityRule securityRuleParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.SecurityRulesDeleteOperation StartDelete(string resourceGroupName, string networkSecurityGroupName, string securityRuleName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string networkSecurityGroupName, string securityRuleName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class SecurityRulesCreateOrUpdateOperation : Azure.Operation { internal SecurityRulesCreateOrUpdateOperation() { } @@ -2628,31 +2616,23 @@ internal SecurityRulesDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ServiceAssociationLinksClient - { - protected ServiceAssociationLinksClient() { } - public virtual Azure.Response List(string resourceGroupName, string virtualNetworkName, string subnetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> ListAsync(string resourceGroupName, string virtualNetworkName, string subnetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } - public partial class ServiceClient + public partial class SecurityRulesOperations { - protected ServiceClient() { } - public virtual Azure.Response CheckDnsNameAvailability(string location, string domainNameLabel, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> CheckDnsNameAvailabilityAsync(string location, string domainNameLabel, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable DisconnectActiveSessions(string resourceGroupName, string bastionHostName, Azure.Management.Network.Models.SessionIds sessionIds, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable DisconnectActiveSessionsAsync(string resourceGroupName, string bastionHostName, Azure.Management.Network.Models.SessionIds sessionIds, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable GetBastionShareableLink(string resourceGroupName, string bastionHostName, Azure.Management.Network.Models.BastionShareableLinkListRequest bslRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable GetBastionShareableLinkAsync(string resourceGroupName, string bastionHostName, Azure.Management.Network.Models.BastionShareableLinkListRequest bslRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.ServiceDeleteBastionShareableLinkOperation StartDeleteBastionShareableLink(string resourceGroupName, string bastionHostName, Azure.Management.Network.Models.BastionShareableLinkListRequest bslRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteBastionShareableLinkAsync(string resourceGroupName, string bastionHostName, Azure.Management.Network.Models.BastionShareableLinkListRequest bslRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.ServiceGeneratevirtualwanvpnserverconfigurationvpnprofileOperation StartGeneratevirtualwanvpnserverconfigurationvpnprofile(string resourceGroupName, string virtualWANName, Azure.Management.Network.Models.VirtualWanVpnProfileParameters vpnClientParams, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartGeneratevirtualwanvpnserverconfigurationvpnprofileAsync(string resourceGroupName, string virtualWANName, Azure.Management.Network.Models.VirtualWanVpnProfileParameters vpnClientParams, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.ServiceGetActiveSessionsOperation StartGetActiveSessions(string resourceGroupName, string bastionHostName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartGetActiveSessionsAsync(string resourceGroupName, string bastionHostName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.ServicePutBastionShareableLinkOperation StartPutBastionShareableLink(string resourceGroupName, string bastionHostName, Azure.Management.Network.Models.BastionShareableLinkListRequest bslRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartPutBastionShareableLinkAsync(string resourceGroupName, string bastionHostName, Azure.Management.Network.Models.BastionShareableLinkListRequest bslRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response SupportedSecurityProviders(string resourceGroupName, string virtualWANName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> SupportedSecurityProvidersAsync(string resourceGroupName, string virtualWANName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected SecurityRulesOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string networkSecurityGroupName, string securityRuleName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string networkSecurityGroupName, string securityRuleName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, string networkSecurityGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string networkSecurityGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.SecurityRulesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string networkSecurityGroupName, string securityRuleName, Azure.Management.Network.Models.SecurityRule securityRuleParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string networkSecurityGroupName, string securityRuleName, Azure.Management.Network.Models.SecurityRule securityRuleParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.SecurityRulesDeleteOperation StartDelete(string resourceGroupName, string networkSecurityGroupName, string securityRuleName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string networkSecurityGroupName, string securityRuleName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class ServiceAssociationLinksOperations + { + protected ServiceAssociationLinksOperations() { } + public virtual Azure.Response List(string resourceGroupName, string virtualNetworkName, string subnetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> ListAsync(string resourceGroupName, string virtualNetworkName, string subnetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class ServiceDeleteBastionShareableLinkOperation : Azure.Operation { @@ -2667,22 +2647,6 @@ internal ServiceDeleteBastionShareableLinkOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ServiceEndpointPoliciesClient - { - protected ServiceEndpointPoliciesClient() { } - public virtual Azure.Response Get(string resourceGroupName, string serviceEndpointPolicyName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string serviceEndpointPolicyName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.ServiceEndpointPoliciesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string serviceEndpointPolicyName, Azure.Management.Network.Models.ServiceEndpointPolicy parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string serviceEndpointPolicyName, Azure.Management.Network.Models.ServiceEndpointPolicy parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.ServiceEndpointPoliciesDeleteOperation StartDelete(string resourceGroupName, string serviceEndpointPolicyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string serviceEndpointPolicyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response UpdateTags(string resourceGroupName, string serviceEndpointPolicyName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string serviceEndpointPolicyName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class ServiceEndpointPoliciesCreateOrUpdateOperation : Azure.Operation { internal ServiceEndpointPoliciesCreateOrUpdateOperation() { } @@ -2709,17 +2673,21 @@ internal ServiceEndpointPoliciesDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ServiceEndpointPolicyDefinitionsClient + public partial class ServiceEndpointPoliciesOperations { - protected ServiceEndpointPolicyDefinitionsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string serviceEndpointPolicyName, string serviceEndpointPolicyDefinitionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string serviceEndpointPolicyName, string serviceEndpointPolicyDefinitionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, string serviceEndpointPolicyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, string serviceEndpointPolicyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.ServiceEndpointPolicyDefinitionsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string serviceEndpointPolicyName, string serviceEndpointPolicyDefinitionName, Azure.Management.Network.Models.ServiceEndpointPolicyDefinition serviceEndpointPolicyDefinitions, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string serviceEndpointPolicyName, string serviceEndpointPolicyDefinitionName, Azure.Management.Network.Models.ServiceEndpointPolicyDefinition serviceEndpointPolicyDefinitions, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.ServiceEndpointPolicyDefinitionsDeleteOperation StartDelete(string resourceGroupName, string serviceEndpointPolicyName, string serviceEndpointPolicyDefinitionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string serviceEndpointPolicyName, string serviceEndpointPolicyDefinitionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected ServiceEndpointPoliciesOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string serviceEndpointPolicyName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string serviceEndpointPolicyName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.ServiceEndpointPoliciesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string serviceEndpointPolicyName, Azure.Management.Network.Models.ServiceEndpointPolicy parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string serviceEndpointPolicyName, Azure.Management.Network.Models.ServiceEndpointPolicy parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.ServiceEndpointPoliciesDeleteOperation StartDelete(string resourceGroupName, string serviceEndpointPolicyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string serviceEndpointPolicyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response UpdateTags(string resourceGroupName, string serviceEndpointPolicyName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string serviceEndpointPolicyName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class ServiceEndpointPolicyDefinitionsCreateOrUpdateOperation : Azure.Operation { @@ -2747,6 +2715,18 @@ internal ServiceEndpointPolicyDefinitionsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class ServiceEndpointPolicyDefinitionsOperations + { + protected ServiceEndpointPolicyDefinitionsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string serviceEndpointPolicyName, string serviceEndpointPolicyDefinitionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string serviceEndpointPolicyName, string serviceEndpointPolicyDefinitionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, string serviceEndpointPolicyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, string serviceEndpointPolicyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.ServiceEndpointPolicyDefinitionsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string serviceEndpointPolicyName, string serviceEndpointPolicyDefinitionName, Azure.Management.Network.Models.ServiceEndpointPolicyDefinition serviceEndpointPolicyDefinitions, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string serviceEndpointPolicyName, string serviceEndpointPolicyDefinitionName, Azure.Management.Network.Models.ServiceEndpointPolicyDefinition serviceEndpointPolicyDefinitions, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.ServiceEndpointPolicyDefinitionsDeleteOperation StartDelete(string resourceGroupName, string serviceEndpointPolicyName, string serviceEndpointPolicyDefinitionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string serviceEndpointPolicyName, string serviceEndpointPolicyDefinitionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class ServiceGeneratevirtualwanvpnserverconfigurationvpnprofileOperation : Azure.Operation { internal ServiceGeneratevirtualwanvpnserverconfigurationvpnprofileOperation() { } @@ -2773,6 +2753,26 @@ internal ServiceGetActiveSessionsOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class ServiceOperations + { + protected ServiceOperations() { } + public virtual Azure.Response CheckDnsNameAvailability(string location, string domainNameLabel, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> CheckDnsNameAvailabilityAsync(string location, string domainNameLabel, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable DisconnectActiveSessions(string resourceGroupName, string bastionHostName, Azure.Management.Network.Models.SessionIds sessionIds, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable DisconnectActiveSessionsAsync(string resourceGroupName, string bastionHostName, Azure.Management.Network.Models.SessionIds sessionIds, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable GetBastionShareableLink(string resourceGroupName, string bastionHostName, Azure.Management.Network.Models.BastionShareableLinkListRequest bslRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable GetBastionShareableLinkAsync(string resourceGroupName, string bastionHostName, Azure.Management.Network.Models.BastionShareableLinkListRequest bslRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.ServiceDeleteBastionShareableLinkOperation StartDeleteBastionShareableLink(string resourceGroupName, string bastionHostName, Azure.Management.Network.Models.BastionShareableLinkListRequest bslRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteBastionShareableLinkAsync(string resourceGroupName, string bastionHostName, Azure.Management.Network.Models.BastionShareableLinkListRequest bslRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.ServiceGeneratevirtualwanvpnserverconfigurationvpnprofileOperation StartGeneratevirtualwanvpnserverconfigurationvpnprofile(string resourceGroupName, string virtualWANName, Azure.Management.Network.Models.VirtualWanVpnProfileParameters vpnClientParams, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartGeneratevirtualwanvpnserverconfigurationvpnprofileAsync(string resourceGroupName, string virtualWANName, Azure.Management.Network.Models.VirtualWanVpnProfileParameters vpnClientParams, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.ServiceGetActiveSessionsOperation StartGetActiveSessions(string resourceGroupName, string bastionHostName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartGetActiveSessionsAsync(string resourceGroupName, string bastionHostName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.ServicePutBastionShareableLinkOperation StartPutBastionShareableLink(string resourceGroupName, string bastionHostName, Azure.Management.Network.Models.BastionShareableLinkListRequest bslRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartPutBastionShareableLinkAsync(string resourceGroupName, string bastionHostName, Azure.Management.Network.Models.BastionShareableLinkListRequest bslRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response SupportedSecurityProviders(string resourceGroupName, string virtualWANName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> SupportedSecurityProvidersAsync(string resourceGroupName, string virtualWANName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class ServicePutBastionShareableLinkOperation : Azure.Operation { internal ServicePutBastionShareableLinkOperation() { } @@ -2786,28 +2786,12 @@ internal ServicePutBastionShareableLinkOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ServiceTagsClient + public partial class ServiceTagsOperations { - protected ServiceTagsClient() { } + protected ServiceTagsOperations() { } public virtual Azure.Response List(string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> ListAsync(string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class SubnetsClient - { - protected SubnetsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string virtualNetworkName, string subnetName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string virtualNetworkName, string subnetName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, string virtualNetworkName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string virtualNetworkName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.SubnetsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string virtualNetworkName, string subnetName, Azure.Management.Network.Models.Subnet subnetParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string virtualNetworkName, string subnetName, Azure.Management.Network.Models.Subnet subnetParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.SubnetsDeleteOperation StartDelete(string resourceGroupName, string virtualNetworkName, string subnetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string virtualNetworkName, string subnetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.SubnetsPrepareNetworkPoliciesOperation StartPrepareNetworkPolicies(string resourceGroupName, string virtualNetworkName, string subnetName, Azure.Management.Network.Models.PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartPrepareNetworkPoliciesAsync(string resourceGroupName, string virtualNetworkName, string subnetName, Azure.Management.Network.Models.PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.SubnetsUnprepareNetworkPoliciesOperation StartUnprepareNetworkPolicies(string resourceGroupName, string virtualNetworkName, string subnetName, Azure.Management.Network.Models.UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartUnprepareNetworkPoliciesAsync(string resourceGroupName, string virtualNetworkName, string subnetName, Azure.Management.Network.Models.UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class SubnetsCreateOrUpdateOperation : Azure.Operation { internal SubnetsCreateOrUpdateOperation() { } @@ -2834,6 +2818,22 @@ internal SubnetsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class SubnetsOperations + { + protected SubnetsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string virtualNetworkName, string subnetName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string virtualNetworkName, string subnetName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, string virtualNetworkName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string virtualNetworkName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.SubnetsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string virtualNetworkName, string subnetName, Azure.Management.Network.Models.Subnet subnetParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string virtualNetworkName, string subnetName, Azure.Management.Network.Models.Subnet subnetParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.SubnetsDeleteOperation StartDelete(string resourceGroupName, string virtualNetworkName, string subnetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string virtualNetworkName, string subnetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.SubnetsPrepareNetworkPoliciesOperation StartPrepareNetworkPolicies(string resourceGroupName, string virtualNetworkName, string subnetName, Azure.Management.Network.Models.PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartPrepareNetworkPoliciesAsync(string resourceGroupName, string virtualNetworkName, string subnetName, Azure.Management.Network.Models.PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.SubnetsUnprepareNetworkPoliciesOperation StartUnprepareNetworkPolicies(string resourceGroupName, string virtualNetworkName, string subnetName, Azure.Management.Network.Models.UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartUnprepareNetworkPoliciesAsync(string resourceGroupName, string virtualNetworkName, string subnetName, Azure.Management.Network.Models.UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class SubnetsPrepareNetworkPoliciesOperation : Azure.Operation { internal SubnetsPrepareNetworkPoliciesOperation() { } @@ -2860,15 +2860,41 @@ internal SubnetsUnprepareNetworkPoliciesOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class UsagesClient + public partial class UsagesOperations { - protected UsagesClient() { } + protected UsagesOperations() { } public virtual Azure.Pageable List(string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualHubRouteTableV2SClient + public partial class VirtualHubRouteTableV2SCreateOrUpdateOperation : Azure.Operation + { + internal VirtualHubRouteTableV2SCreateOrUpdateOperation() { } + public override bool HasCompleted { get { throw null; } } + public override bool HasValue { get { throw null; } } + public override string Id { get { throw null; } } + public override Azure.Management.Network.Models.VirtualHubRouteTableV2 Value { get { throw null; } } + public override Azure.Response GetRawResponse() { throw null; } + public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class VirtualHubRouteTableV2SDeleteOperation : Azure.Operation + { + internal VirtualHubRouteTableV2SDeleteOperation() { } + public override bool HasCompleted { get { throw null; } } + public override bool HasValue { get { throw null; } } + public override string Id { get { throw null; } } + public override Azure.Response Value { get { throw null; } } + public override Azure.Response GetRawResponse() { throw null; } + public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class VirtualHubRouteTableV2SOperations { - protected VirtualHubRouteTableV2SClient() { } + protected VirtualHubRouteTableV2SOperations() { } public virtual Azure.Response Get(string resourceGroupName, string virtualHubName, string routeTableName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string virtualHubName, string routeTableName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(string resourceGroupName, string virtualHubName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -2878,22 +2904,22 @@ protected VirtualHubRouteTableV2SClient() { } public virtual Azure.Management.Network.VirtualHubRouteTableV2SDeleteOperation StartDelete(string resourceGroupName, string virtualHubName, string routeTableName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string virtualHubName, string routeTableName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualHubRouteTableV2SCreateOrUpdateOperation : Azure.Operation + public partial class VirtualHubsCreateOrUpdateOperation : Azure.Operation { - internal VirtualHubRouteTableV2SCreateOrUpdateOperation() { } + internal VirtualHubsCreateOrUpdateOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } - public override Azure.Management.Network.Models.VirtualHubRouteTableV2 Value { get { throw null; } } + public override Azure.Management.Network.Models.VirtualHub Value { get { throw null; } } public override Azure.Response GetRawResponse() { throw null; } public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualHubRouteTableV2SDeleteOperation : Azure.Operation + public partial class VirtualHubsDeleteOperation : Azure.Operation { - internal VirtualHubRouteTableV2SDeleteOperation() { } + internal VirtualHubsDeleteOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } @@ -2904,9 +2930,9 @@ internal VirtualHubRouteTableV2SDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualHubsClient + public partial class VirtualHubsOperations { - protected VirtualHubsClient() { } + protected VirtualHubsOperations() { } public virtual Azure.Response Get(string resourceGroupName, string virtualHubName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string virtualHubName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -2920,22 +2946,22 @@ protected VirtualHubsClient() { } public virtual Azure.Response UpdateTags(string resourceGroupName, string virtualHubName, Azure.Management.Network.Models.TagsObject virtualHubParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string virtualHubName, Azure.Management.Network.Models.TagsObject virtualHubParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualHubsCreateOrUpdateOperation : Azure.Operation + public partial class VirtualNetworkGatewayConnectionsCreateOrUpdateOperation : Azure.Operation { - internal VirtualHubsCreateOrUpdateOperation() { } + internal VirtualNetworkGatewayConnectionsCreateOrUpdateOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } - public override Azure.Management.Network.Models.VirtualHub Value { get { throw null; } } + public override Azure.Management.Network.Models.VirtualNetworkGatewayConnection Value { get { throw null; } } public override Azure.Response GetRawResponse() { throw null; } public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualHubsDeleteOperation : Azure.Operation + public partial class VirtualNetworkGatewayConnectionsDeleteOperation : Azure.Operation { - internal VirtualHubsDeleteOperation() { } + internal VirtualNetworkGatewayConnectionsDeleteOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } @@ -2946,9 +2972,9 @@ internal VirtualHubsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualNetworkGatewayConnectionsClient + public partial class VirtualNetworkGatewayConnectionsOperations { - protected VirtualNetworkGatewayConnectionsClient() { } + protected VirtualNetworkGatewayConnectionsOperations() { } public virtual Azure.Response Get(string resourceGroupName, string virtualNetworkGatewayConnectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string virtualNetworkGatewayConnectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetSharedKey(string resourceGroupName, string virtualNetworkGatewayConnectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -2970,32 +2996,6 @@ protected VirtualNetworkGatewayConnectionsClient() { } public virtual Azure.Management.Network.VirtualNetworkGatewayConnectionsUpdateTagsOperation StartUpdateTags(string resourceGroupName, string virtualNetworkGatewayConnectionName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task StartUpdateTagsAsync(string resourceGroupName, string virtualNetworkGatewayConnectionName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualNetworkGatewayConnectionsCreateOrUpdateOperation : Azure.Operation - { - internal VirtualNetworkGatewayConnectionsCreateOrUpdateOperation() { } - public override bool HasCompleted { get { throw null; } } - public override bool HasValue { get { throw null; } } - public override string Id { get { throw null; } } - public override Azure.Management.Network.Models.VirtualNetworkGatewayConnection Value { get { throw null; } } - public override Azure.Response GetRawResponse() { throw null; } - public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } - public partial class VirtualNetworkGatewayConnectionsDeleteOperation : Azure.Operation - { - internal VirtualNetworkGatewayConnectionsDeleteOperation() { } - public override bool HasCompleted { get { throw null; } } - public override bool HasValue { get { throw null; } } - public override string Id { get { throw null; } } - public override Azure.Response Value { get { throw null; } } - public override Azure.Response GetRawResponse() { throw null; } - public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class VirtualNetworkGatewayConnectionsResetSharedKeyOperation : Azure.Operation { internal VirtualNetworkGatewayConnectionsResetSharedKeyOperation() { } @@ -3061,54 +3061,6 @@ internal VirtualNetworkGatewayConnectionsUpdateTagsOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualNetworkGatewaysClient - { - protected VirtualNetworkGatewaysClient() { } - public virtual Azure.Response Get(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListConnections(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListConnectionsAsync(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.VirtualNetworkGatewaysCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string virtualNetworkGatewayName, Azure.Management.Network.Models.VirtualNetworkGateway parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string virtualNetworkGatewayName, Azure.Management.Network.Models.VirtualNetworkGateway parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.VirtualNetworkGatewaysDeleteOperation StartDelete(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnectionsOperation StartDisconnectVirtualNetworkGatewayVpnConnections(string resourceGroupName, string virtualNetworkGatewayName, Azure.Management.Network.Models.P2SVpnConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDisconnectVirtualNetworkGatewayVpnConnectionsAsync(string resourceGroupName, string virtualNetworkGatewayName, Azure.Management.Network.Models.P2SVpnConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.VirtualNetworkGatewaysGeneratevpnclientpackageOperation StartGeneratevpnclientpackage(string resourceGroupName, string virtualNetworkGatewayName, Azure.Management.Network.Models.VpnClientParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartGeneratevpnclientpackageAsync(string resourceGroupName, string virtualNetworkGatewayName, Azure.Management.Network.Models.VpnClientParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.VirtualNetworkGatewaysGenerateVpnProfileOperation StartGenerateVpnProfile(string resourceGroupName, string virtualNetworkGatewayName, Azure.Management.Network.Models.VpnClientParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartGenerateVpnProfileAsync(string resourceGroupName, string virtualNetworkGatewayName, Azure.Management.Network.Models.VpnClientParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.VirtualNetworkGatewaysGetAdvertisedRoutesOperation StartGetAdvertisedRoutes(string resourceGroupName, string virtualNetworkGatewayName, string peer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartGetAdvertisedRoutesAsync(string resourceGroupName, string virtualNetworkGatewayName, string peer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.VirtualNetworkGatewaysGetBgpPeerStatusOperation StartGetBgpPeerStatus(string resourceGroupName, string virtualNetworkGatewayName, string peer = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartGetBgpPeerStatusAsync(string resourceGroupName, string virtualNetworkGatewayName, string peer = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.VirtualNetworkGatewaysGetLearnedRoutesOperation StartGetLearnedRoutes(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartGetLearnedRoutesAsync(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.VirtualNetworkGatewaysGetVpnclientConnectionHealthOperation StartGetVpnclientConnectionHealth(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartGetVpnclientConnectionHealthAsync(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.VirtualNetworkGatewaysGetVpnclientIpsecParametersOperation StartGetVpnclientIpsecParameters(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartGetVpnclientIpsecParametersAsync(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.VirtualNetworkGatewaysGetVpnProfilePackageUrlOperation StartGetVpnProfilePackageUrl(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartGetVpnProfilePackageUrlAsync(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.VirtualNetworkGatewaysResetOperation StartReset(string resourceGroupName, string virtualNetworkGatewayName, string gatewayVip = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartResetAsync(string resourceGroupName, string virtualNetworkGatewayName, string gatewayVip = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.VirtualNetworkGatewaysResetVpnClientSharedKeyOperation StartResetVpnClientSharedKey(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartResetVpnClientSharedKeyAsync(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.VirtualNetworkGatewaysSetVpnclientIpsecParametersOperation StartSetVpnclientIpsecParameters(string resourceGroupName, string virtualNetworkGatewayName, Azure.Management.Network.Models.VpnClientIPsecParameters vpnclientIpsecParams, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartSetVpnclientIpsecParametersAsync(string resourceGroupName, string virtualNetworkGatewayName, Azure.Management.Network.Models.VpnClientIPsecParameters vpnclientIpsecParams, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.VirtualNetworkGatewaysStartPacketCaptureOperation StartStartPacketCapture(string resourceGroupName, string virtualNetworkGatewayName, Azure.Management.Network.Models.VpnPacketCaptureStartParameters parameters = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartStartPacketCaptureAsync(string resourceGroupName, string virtualNetworkGatewayName, Azure.Management.Network.Models.VpnPacketCaptureStartParameters parameters = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.VirtualNetworkGatewaysStopPacketCaptureOperation StartStopPacketCapture(string resourceGroupName, string virtualNetworkGatewayName, Azure.Management.Network.Models.VpnPacketCaptureStopParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartStopPacketCaptureAsync(string resourceGroupName, string virtualNetworkGatewayName, Azure.Management.Network.Models.VpnPacketCaptureStopParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.VirtualNetworkGatewaysUpdateTagsOperation StartUpdateTags(string resourceGroupName, string virtualNetworkGatewayName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartUpdateTagsAsync(string resourceGroupName, string virtualNetworkGatewayName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response SupportedVpnDevices(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> SupportedVpnDevicesAsync(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response VpnDeviceConfigurationScript(string resourceGroupName, string virtualNetworkGatewayConnectionName, Azure.Management.Network.Models.VpnDeviceScriptParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> VpnDeviceConfigurationScriptAsync(string resourceGroupName, string virtualNetworkGatewayConnectionName, Azure.Management.Network.Models.VpnDeviceScriptParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class VirtualNetworkGatewaysCreateOrUpdateOperation : Azure.Operation { internal VirtualNetworkGatewaysCreateOrUpdateOperation() { } @@ -3252,6 +3204,54 @@ internal VirtualNetworkGatewaysGetVpnProfilePackageUrlOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class VirtualNetworkGatewaysOperations + { + protected VirtualNetworkGatewaysOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListConnections(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListConnectionsAsync(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.VirtualNetworkGatewaysCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string virtualNetworkGatewayName, Azure.Management.Network.Models.VirtualNetworkGateway parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string virtualNetworkGatewayName, Azure.Management.Network.Models.VirtualNetworkGateway parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.VirtualNetworkGatewaysDeleteOperation StartDelete(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnectionsOperation StartDisconnectVirtualNetworkGatewayVpnConnections(string resourceGroupName, string virtualNetworkGatewayName, Azure.Management.Network.Models.P2SVpnConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDisconnectVirtualNetworkGatewayVpnConnectionsAsync(string resourceGroupName, string virtualNetworkGatewayName, Azure.Management.Network.Models.P2SVpnConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.VirtualNetworkGatewaysGeneratevpnclientpackageOperation StartGeneratevpnclientpackage(string resourceGroupName, string virtualNetworkGatewayName, Azure.Management.Network.Models.VpnClientParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartGeneratevpnclientpackageAsync(string resourceGroupName, string virtualNetworkGatewayName, Azure.Management.Network.Models.VpnClientParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.VirtualNetworkGatewaysGenerateVpnProfileOperation StartGenerateVpnProfile(string resourceGroupName, string virtualNetworkGatewayName, Azure.Management.Network.Models.VpnClientParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartGenerateVpnProfileAsync(string resourceGroupName, string virtualNetworkGatewayName, Azure.Management.Network.Models.VpnClientParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.VirtualNetworkGatewaysGetAdvertisedRoutesOperation StartGetAdvertisedRoutes(string resourceGroupName, string virtualNetworkGatewayName, string peer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartGetAdvertisedRoutesAsync(string resourceGroupName, string virtualNetworkGatewayName, string peer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.VirtualNetworkGatewaysGetBgpPeerStatusOperation StartGetBgpPeerStatus(string resourceGroupName, string virtualNetworkGatewayName, string peer = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartGetBgpPeerStatusAsync(string resourceGroupName, string virtualNetworkGatewayName, string peer = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.VirtualNetworkGatewaysGetLearnedRoutesOperation StartGetLearnedRoutes(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartGetLearnedRoutesAsync(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.VirtualNetworkGatewaysGetVpnclientConnectionHealthOperation StartGetVpnclientConnectionHealth(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartGetVpnclientConnectionHealthAsync(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.VirtualNetworkGatewaysGetVpnclientIpsecParametersOperation StartGetVpnclientIpsecParameters(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartGetVpnclientIpsecParametersAsync(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.VirtualNetworkGatewaysGetVpnProfilePackageUrlOperation StartGetVpnProfilePackageUrl(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartGetVpnProfilePackageUrlAsync(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.VirtualNetworkGatewaysResetOperation StartReset(string resourceGroupName, string virtualNetworkGatewayName, string gatewayVip = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartResetAsync(string resourceGroupName, string virtualNetworkGatewayName, string gatewayVip = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.VirtualNetworkGatewaysResetVpnClientSharedKeyOperation StartResetVpnClientSharedKey(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartResetVpnClientSharedKeyAsync(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.VirtualNetworkGatewaysSetVpnclientIpsecParametersOperation StartSetVpnclientIpsecParameters(string resourceGroupName, string virtualNetworkGatewayName, Azure.Management.Network.Models.VpnClientIPsecParameters vpnclientIpsecParams, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartSetVpnclientIpsecParametersAsync(string resourceGroupName, string virtualNetworkGatewayName, Azure.Management.Network.Models.VpnClientIPsecParameters vpnclientIpsecParams, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.VirtualNetworkGatewaysStartPacketCaptureOperation StartStartPacketCapture(string resourceGroupName, string virtualNetworkGatewayName, Azure.Management.Network.Models.VpnPacketCaptureStartParameters parameters = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartStartPacketCaptureAsync(string resourceGroupName, string virtualNetworkGatewayName, Azure.Management.Network.Models.VpnPacketCaptureStartParameters parameters = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.VirtualNetworkGatewaysStopPacketCaptureOperation StartStopPacketCapture(string resourceGroupName, string virtualNetworkGatewayName, Azure.Management.Network.Models.VpnPacketCaptureStopParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartStopPacketCaptureAsync(string resourceGroupName, string virtualNetworkGatewayName, Azure.Management.Network.Models.VpnPacketCaptureStopParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.VirtualNetworkGatewaysUpdateTagsOperation StartUpdateTags(string resourceGroupName, string virtualNetworkGatewayName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartUpdateTagsAsync(string resourceGroupName, string virtualNetworkGatewayName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response SupportedVpnDevices(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> SupportedVpnDevicesAsync(string resourceGroupName, string virtualNetworkGatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response VpnDeviceConfigurationScript(string resourceGroupName, string virtualNetworkGatewayConnectionName, Azure.Management.Network.Models.VpnDeviceScriptParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> VpnDeviceConfigurationScriptAsync(string resourceGroupName, string virtualNetworkGatewayConnectionName, Azure.Management.Network.Models.VpnDeviceScriptParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class VirtualNetworkGatewaysResetOperation : Azure.Operation { internal VirtualNetworkGatewaysResetOperation() { } @@ -3330,9 +3330,35 @@ internal VirtualNetworkGatewaysUpdateTagsOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualNetworkPeeringsClient + public partial class VirtualNetworkPeeringsCreateOrUpdateOperation : Azure.Operation + { + internal VirtualNetworkPeeringsCreateOrUpdateOperation() { } + public override bool HasCompleted { get { throw null; } } + public override bool HasValue { get { throw null; } } + public override string Id { get { throw null; } } + public override Azure.Management.Network.Models.VirtualNetworkPeering Value { get { throw null; } } + public override Azure.Response GetRawResponse() { throw null; } + public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class VirtualNetworkPeeringsDeleteOperation : Azure.Operation + { + internal VirtualNetworkPeeringsDeleteOperation() { } + public override bool HasCompleted { get { throw null; } } + public override bool HasValue { get { throw null; } } + public override string Id { get { throw null; } } + public override Azure.Response Value { get { throw null; } } + public override Azure.Response GetRawResponse() { throw null; } + public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class VirtualNetworkPeeringsOperations { - protected VirtualNetworkPeeringsClient() { } + protected VirtualNetworkPeeringsOperations() { } public virtual Azure.Response Get(string resourceGroupName, string virtualNetworkName, string virtualNetworkPeeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string virtualNetworkName, string virtualNetworkPeeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(string resourceGroupName, string virtualNetworkName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -3342,22 +3368,22 @@ protected VirtualNetworkPeeringsClient() { } public virtual Azure.Management.Network.VirtualNetworkPeeringsDeleteOperation StartDelete(string resourceGroupName, string virtualNetworkName, string virtualNetworkPeeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string virtualNetworkName, string virtualNetworkPeeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualNetworkPeeringsCreateOrUpdateOperation : Azure.Operation + public partial class VirtualNetworksCreateOrUpdateOperation : Azure.Operation { - internal VirtualNetworkPeeringsCreateOrUpdateOperation() { } + internal VirtualNetworksCreateOrUpdateOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } - public override Azure.Management.Network.Models.VirtualNetworkPeering Value { get { throw null; } } + public override Azure.Management.Network.Models.VirtualNetwork Value { get { throw null; } } public override Azure.Response GetRawResponse() { throw null; } public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualNetworkPeeringsDeleteOperation : Azure.Operation + public partial class VirtualNetworksDeleteOperation : Azure.Operation { - internal VirtualNetworkPeeringsDeleteOperation() { } + internal VirtualNetworksDeleteOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } @@ -3368,9 +3394,9 @@ internal VirtualNetworkPeeringsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualNetworksClient + public partial class VirtualNetworksOperations { - protected VirtualNetworksClient() { } + protected VirtualNetworksOperations() { } public virtual Azure.Response CheckIPAddressAvailability(string resourceGroupName, string virtualNetworkName, string ipAddress, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CheckIPAddressAvailabilityAsync(string resourceGroupName, string virtualNetworkName, string ipAddress, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Get(string resourceGroupName, string virtualNetworkName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -3388,22 +3414,22 @@ protected VirtualNetworksClient() { } public virtual Azure.Response UpdateTags(string resourceGroupName, string virtualNetworkName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string virtualNetworkName, Azure.Management.Network.Models.TagsObject parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualNetworksCreateOrUpdateOperation : Azure.Operation + public partial class VirtualNetworkTapsCreateOrUpdateOperation : Azure.Operation { - internal VirtualNetworksCreateOrUpdateOperation() { } + internal VirtualNetworkTapsCreateOrUpdateOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } - public override Azure.Management.Network.Models.VirtualNetwork Value { get { throw null; } } + public override Azure.Management.Network.Models.VirtualNetworkTap Value { get { throw null; } } public override Azure.Response GetRawResponse() { throw null; } public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualNetworksDeleteOperation : Azure.Operation + public partial class VirtualNetworkTapsDeleteOperation : Azure.Operation { - internal VirtualNetworksDeleteOperation() { } + internal VirtualNetworkTapsDeleteOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } @@ -3414,9 +3440,9 @@ internal VirtualNetworksDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualNetworkTapsClient + public partial class VirtualNetworkTapsOperations { - protected VirtualNetworkTapsClient() { } + protected VirtualNetworkTapsOperations() { } public virtual Azure.Response Get(string resourceGroupName, string tapName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string tapName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable ListAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -3430,22 +3456,22 @@ protected VirtualNetworkTapsClient() { } public virtual Azure.Response UpdateTags(string resourceGroupName, string tapName, Azure.Management.Network.Models.TagsObject tapParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string tapName, Azure.Management.Network.Models.TagsObject tapParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualNetworkTapsCreateOrUpdateOperation : Azure.Operation + public partial class VirtualRouterPeeringsCreateOrUpdateOperation : Azure.Operation { - internal VirtualNetworkTapsCreateOrUpdateOperation() { } + internal VirtualRouterPeeringsCreateOrUpdateOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } - public override Azure.Management.Network.Models.VirtualNetworkTap Value { get { throw null; } } + public override Azure.Management.Network.Models.VirtualRouterPeering Value { get { throw null; } } public override Azure.Response GetRawResponse() { throw null; } public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualNetworkTapsDeleteOperation : Azure.Operation + public partial class VirtualRouterPeeringsDeleteOperation : Azure.Operation { - internal VirtualNetworkTapsDeleteOperation() { } + internal VirtualRouterPeeringsDeleteOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } @@ -3456,9 +3482,9 @@ internal VirtualNetworkTapsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualRouterPeeringsClient + public partial class VirtualRouterPeeringsOperations { - protected VirtualRouterPeeringsClient() { } + protected VirtualRouterPeeringsOperations() { } public virtual Azure.Response Get(string resourceGroupName, string virtualRouterName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string virtualRouterName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(string resourceGroupName, string virtualRouterName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -3468,22 +3494,22 @@ protected VirtualRouterPeeringsClient() { } public virtual Azure.Management.Network.VirtualRouterPeeringsDeleteOperation StartDelete(string resourceGroupName, string virtualRouterName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string virtualRouterName, string peeringName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualRouterPeeringsCreateOrUpdateOperation : Azure.Operation + public partial class VirtualRoutersCreateOrUpdateOperation : Azure.Operation { - internal VirtualRouterPeeringsCreateOrUpdateOperation() { } + internal VirtualRoutersCreateOrUpdateOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } - public override Azure.Management.Network.Models.VirtualRouterPeering Value { get { throw null; } } + public override Azure.Management.Network.Models.VirtualRouter Value { get { throw null; } } public override Azure.Response GetRawResponse() { throw null; } public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualRouterPeeringsDeleteOperation : Azure.Operation + public partial class VirtualRoutersDeleteOperation : Azure.Operation { - internal VirtualRouterPeeringsDeleteOperation() { } + internal VirtualRoutersDeleteOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } @@ -3494,9 +3520,9 @@ internal VirtualRouterPeeringsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualRoutersClient + public partial class VirtualRoutersOperations { - protected VirtualRoutersClient() { } + protected VirtualRoutersOperations() { } public virtual Azure.Response Get(string resourceGroupName, string virtualRouterName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string virtualRouterName, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -3508,22 +3534,22 @@ protected VirtualRoutersClient() { } public virtual Azure.Management.Network.VirtualRoutersDeleteOperation StartDelete(string resourceGroupName, string virtualRouterName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string virtualRouterName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualRoutersCreateOrUpdateOperation : Azure.Operation + public partial class VirtualWansCreateOrUpdateOperation : Azure.Operation { - internal VirtualRoutersCreateOrUpdateOperation() { } + internal VirtualWansCreateOrUpdateOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } - public override Azure.Management.Network.Models.VirtualRouter Value { get { throw null; } } + public override Azure.Management.Network.Models.VirtualWAN Value { get { throw null; } } public override Azure.Response GetRawResponse() { throw null; } public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualRoutersDeleteOperation : Azure.Operation + public partial class VirtualWansDeleteOperation : Azure.Operation { - internal VirtualRoutersDeleteOperation() { } + internal VirtualWansDeleteOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } @@ -3534,9 +3560,9 @@ internal VirtualRoutersDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualWansClient + public partial class VirtualWansOperations { - protected VirtualWansClient() { } + protected VirtualWansOperations() { } public virtual Azure.Response Get(string resourceGroupName, string virtualWANName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string virtualWANName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -3550,22 +3576,22 @@ protected VirtualWansClient() { } public virtual Azure.Response UpdateTags(string resourceGroupName, string virtualWANName, Azure.Management.Network.Models.TagsObject wANParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string virtualWANName, Azure.Management.Network.Models.TagsObject wANParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualWansCreateOrUpdateOperation : Azure.Operation + public partial class VpnConnectionsCreateOrUpdateOperation : Azure.Operation { - internal VirtualWansCreateOrUpdateOperation() { } + internal VpnConnectionsCreateOrUpdateOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } - public override Azure.Management.Network.Models.VirtualWAN Value { get { throw null; } } + public override Azure.Management.Network.Models.VpnConnection Value { get { throw null; } } public override Azure.Response GetRawResponse() { throw null; } public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VirtualWansDeleteOperation : Azure.Operation + public partial class VpnConnectionsDeleteOperation : Azure.Operation { - internal VirtualWansDeleteOperation() { } + internal VpnConnectionsDeleteOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } @@ -3576,9 +3602,9 @@ internal VirtualWansDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VpnConnectionsClient + public partial class VpnConnectionsOperations { - protected VpnConnectionsClient() { } + protected VpnConnectionsOperations() { } public virtual Azure.Response Get(string resourceGroupName, string gatewayName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string gatewayName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable ListByVpnGateway(string resourceGroupName, string gatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -3588,22 +3614,22 @@ protected VpnConnectionsClient() { } public virtual Azure.Management.Network.VpnConnectionsDeleteOperation StartDelete(string resourceGroupName, string gatewayName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string gatewayName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VpnConnectionsCreateOrUpdateOperation : Azure.Operation + public partial class VpnGatewaysCreateOrUpdateOperation : Azure.Operation { - internal VpnConnectionsCreateOrUpdateOperation() { } + internal VpnGatewaysCreateOrUpdateOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } - public override Azure.Management.Network.Models.VpnConnection Value { get { throw null; } } + public override Azure.Management.Network.Models.VpnGateway Value { get { throw null; } } public override Azure.Response GetRawResponse() { throw null; } public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VpnConnectionsDeleteOperation : Azure.Operation + public partial class VpnGatewaysDeleteOperation : Azure.Operation { - internal VpnConnectionsDeleteOperation() { } + internal VpnGatewaysDeleteOperation() { } public override bool HasCompleted { get { throw null; } } public override bool HasValue { get { throw null; } } public override string Id { get { throw null; } } @@ -3614,9 +3640,9 @@ internal VpnConnectionsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VpnGatewaysClient + public partial class VpnGatewaysOperations { - protected VpnGatewaysClient() { } + protected VpnGatewaysOperations() { } public virtual Azure.Response Get(string resourceGroupName, string gatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string gatewayName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -3632,32 +3658,6 @@ protected VpnGatewaysClient() { } public virtual Azure.Response UpdateTags(string resourceGroupName, string gatewayName, Azure.Management.Network.Models.TagsObject vpnGatewayParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string gatewayName, Azure.Management.Network.Models.TagsObject vpnGatewayParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VpnGatewaysCreateOrUpdateOperation : Azure.Operation - { - internal VpnGatewaysCreateOrUpdateOperation() { } - public override bool HasCompleted { get { throw null; } } - public override bool HasValue { get { throw null; } } - public override string Id { get { throw null; } } - public override Azure.Management.Network.Models.VpnGateway Value { get { throw null; } } - public override Azure.Response GetRawResponse() { throw null; } - public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } - public partial class VpnGatewaysDeleteOperation : Azure.Operation - { - internal VpnGatewaysDeleteOperation() { } - public override bool HasCompleted { get { throw null; } } - public override bool HasValue { get { throw null; } } - public override string Id { get { throw null; } } - public override Azure.Response Value { get { throw null; } } - public override Azure.Response GetRawResponse() { throw null; } - public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class VpnGatewaysResetOperation : Azure.Operation { internal VpnGatewaysResetOperation() { } @@ -3671,18 +3671,12 @@ internal VpnGatewaysResetOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VpnLinkConnectionsClient + public partial class VpnLinkConnectionsOperations { - protected VpnLinkConnectionsClient() { } + protected VpnLinkConnectionsOperations() { } public virtual Azure.Pageable ListByVpnConnection(string resourceGroupName, string gatewayName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListByVpnConnectionAsync(string resourceGroupName, string gatewayName, string connectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VpnServerConfigurationsAssociatedWithVirtualWanClient - { - protected VpnServerConfigurationsAssociatedWithVirtualWanClient() { } - public virtual Azure.Management.Network.VpnServerConfigurationsAssociatedWithVirtualWanListOperation StartList(string resourceGroupName, string virtualWANName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartListAsync(string resourceGroupName, string virtualWANName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class VpnServerConfigurationsAssociatedWithVirtualWanListOperation : Azure.Operation { internal VpnServerConfigurationsAssociatedWithVirtualWanListOperation() { } @@ -3696,21 +3690,11 @@ internal VpnServerConfigurationsAssociatedWithVirtualWanListOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VpnServerConfigurationsClient + public partial class VpnServerConfigurationsAssociatedWithVirtualWanOperations { - protected VpnServerConfigurationsClient() { } - public virtual Azure.Response Get(string resourceGroupName, string vpnServerConfigurationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string vpnServerConfigurationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.VpnServerConfigurationsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string vpnServerConfigurationName, Azure.Management.Network.Models.VpnServerConfiguration vpnServerConfigurationParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string vpnServerConfigurationName, Azure.Management.Network.Models.VpnServerConfiguration vpnServerConfigurationParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.VpnServerConfigurationsDeleteOperation StartDelete(string resourceGroupName, string vpnServerConfigurationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string vpnServerConfigurationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response UpdateTags(string resourceGroupName, string vpnServerConfigurationName, Azure.Management.Network.Models.TagsObject vpnServerConfigurationParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string vpnServerConfigurationName, Azure.Management.Network.Models.TagsObject vpnServerConfigurationParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected VpnServerConfigurationsAssociatedWithVirtualWanOperations() { } + public virtual Azure.Management.Network.VpnServerConfigurationsAssociatedWithVirtualWanListOperation StartList(string resourceGroupName, string virtualWANName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartListAsync(string resourceGroupName, string virtualWANName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class VpnServerConfigurationsCreateOrUpdateOperation : Azure.Operation { @@ -3738,42 +3722,36 @@ internal VpnServerConfigurationsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VpnSiteLinkConnectionsClient + public partial class VpnServerConfigurationsOperations + { + protected VpnServerConfigurationsOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string vpnServerConfigurationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string vpnServerConfigurationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.VpnServerConfigurationsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string vpnServerConfigurationName, Azure.Management.Network.Models.VpnServerConfiguration vpnServerConfigurationParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string vpnServerConfigurationName, Azure.Management.Network.Models.VpnServerConfiguration vpnServerConfigurationParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.VpnServerConfigurationsDeleteOperation StartDelete(string resourceGroupName, string vpnServerConfigurationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string vpnServerConfigurationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response UpdateTags(string resourceGroupName, string vpnServerConfigurationName, Azure.Management.Network.Models.TagsObject vpnServerConfigurationParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string vpnServerConfigurationName, Azure.Management.Network.Models.TagsObject vpnServerConfigurationParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class VpnSiteLinkConnectionsOperations { - protected VpnSiteLinkConnectionsClient() { } + protected VpnSiteLinkConnectionsOperations() { } public virtual Azure.Response Get(string resourceGroupName, string gatewayName, string connectionName, string linkConnectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string gatewayName, string connectionName, string linkConnectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VpnSiteLinksClient + public partial class VpnSiteLinksOperations { - protected VpnSiteLinksClient() { } + protected VpnSiteLinksOperations() { } public virtual Azure.Response Get(string resourceGroupName, string vpnSiteName, string vpnSiteLinkName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string vpnSiteName, string vpnSiteLinkName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable ListByVpnSite(string resourceGroupName, string vpnSiteName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListByVpnSiteAsync(string resourceGroupName, string vpnSiteName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class VpnSitesClient - { - protected VpnSitesClient() { } - public virtual Azure.Response Get(string resourceGroupName, string vpnSiteName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string vpnSiteName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.VpnSitesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string vpnSiteName, Azure.Management.Network.Models.VpnSite vpnSiteParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string vpnSiteName, Azure.Management.Network.Models.VpnSite vpnSiteParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.VpnSitesDeleteOperation StartDelete(string resourceGroupName, string vpnSiteName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string vpnSiteName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response UpdateTags(string resourceGroupName, string vpnSiteName, Azure.Management.Network.Models.TagsObject vpnSiteParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string vpnSiteName, Azure.Management.Network.Models.TagsObject vpnSiteParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } - public partial class VpnSitesConfigurationClient - { - protected VpnSitesConfigurationClient() { } - public virtual Azure.Management.Network.VpnSitesConfigurationDownloadOperation StartDownload(string resourceGroupName, string virtualWANName, Azure.Management.Network.Models.GetVpnSitesConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDownloadAsync(string resourceGroupName, string virtualWANName, Azure.Management.Network.Models.GetVpnSitesConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class VpnSitesConfigurationDownloadOperation : Azure.Operation { internal VpnSitesConfigurationDownloadOperation() { } @@ -3787,6 +3765,12 @@ internal VpnSitesConfigurationDownloadOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class VpnSitesConfigurationOperations + { + protected VpnSitesConfigurationOperations() { } + public virtual Azure.Management.Network.VpnSitesConfigurationDownloadOperation StartDownload(string resourceGroupName, string virtualWANName, Azure.Management.Network.Models.GetVpnSitesConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDownloadAsync(string resourceGroupName, string virtualWANName, Azure.Management.Network.Models.GetVpnSitesConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class VpnSitesCreateOrUpdateOperation : Azure.Operation { internal VpnSitesCreateOrUpdateOperation() { } @@ -3813,19 +3797,21 @@ internal VpnSitesDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class WebApplicationFirewallPoliciesClient + public partial class VpnSitesOperations { - protected WebApplicationFirewallPoliciesClient() { } - public virtual Azure.Response CreateOrUpdate(string resourceGroupName, string policyName, Azure.Management.Network.Models.WebApplicationFirewallPolicy parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(string resourceGroupName, string policyName, Azure.Management.Network.Models.WebApplicationFirewallPolicy parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Get(string resourceGroupName, string policyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string policyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Network.WebApplicationFirewallPoliciesDeleteOperation StartDelete(string resourceGroupName, string policyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string policyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected VpnSitesOperations() { } + public virtual Azure.Response Get(string resourceGroupName, string vpnSiteName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string vpnSiteName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.VpnSitesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string vpnSiteName, Azure.Management.Network.Models.VpnSite vpnSiteParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string vpnSiteName, Azure.Management.Network.Models.VpnSite vpnSiteParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.VpnSitesDeleteOperation StartDelete(string resourceGroupName, string vpnSiteName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string vpnSiteName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response UpdateTags(string resourceGroupName, string vpnSiteName, Azure.Management.Network.Models.TagsObject vpnSiteParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateTagsAsync(string resourceGroupName, string vpnSiteName, Azure.Management.Network.Models.TagsObject vpnSiteParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class WebApplicationFirewallPoliciesDeleteOperation : Azure.Operation { @@ -3840,6 +3826,20 @@ internal WebApplicationFirewallPoliciesDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class WebApplicationFirewallPoliciesOperations + { + protected WebApplicationFirewallPoliciesOperations() { } + public virtual Azure.Response CreateOrUpdate(string resourceGroupName, string policyName, Azure.Management.Network.Models.WebApplicationFirewallPolicy parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(string resourceGroupName, string policyName, Azure.Management.Network.Models.WebApplicationFirewallPolicy parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Get(string resourceGroupName, string policyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string policyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Network.WebApplicationFirewallPoliciesDeleteOperation StartDelete(string resourceGroupName, string policyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string policyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } } namespace Azure.Management.Network.Models { diff --git a/sdk/testcommon/Azure.Management.Resources.2017_05/api/Azure.Management.Resources.netstandard2.0.cs b/sdk/testcommon/Azure.Management.Resources.2017_05/api/Azure.Management.Resources.netstandard2.0.cs index ac0f9bfdf6d8b..58372a56c2856 100644 --- a/sdk/testcommon/Azure.Management.Resources.2017_05/api/Azure.Management.Resources.netstandard2.0.cs +++ b/sdk/testcommon/Azure.Management.Resources.2017_05/api/Azure.Management.Resources.netstandard2.0.cs @@ -1,35 +1,13 @@ namespace Azure.Management.Resources { - public partial class DeploymentClient + public partial class DeploymentOperations { - protected DeploymentClient() { } + protected DeploymentOperations() { } public virtual Azure.Response Get(string resourceGroupName, string deploymentName, string operationId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string deploymentName, string operationId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(string resourceGroupName, string deploymentName, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string deploymentName, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class DeploymentsClient - { - protected DeploymentsClient() { } - public virtual Azure.Response CalculateTemplateHash(object template, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> CalculateTemplateHashAsync(object template, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Cancel(string resourceGroupName, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task CancelAsync(string resourceGroupName, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response CheckExistence(string resourceGroupName, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task CheckExistenceAsync(string resourceGroupName, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response ExportTemplate(string resourceGroupName, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> ExportTemplateAsync(string resourceGroupName, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Get(string resourceGroupName, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, string filter = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, string filter = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Resources.DeploymentsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string deploymentName, Azure.Management.Resources.Models.Deployment parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string deploymentName, Azure.Management.Resources.Models.Deployment parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Resources.DeploymentsDeleteOperation StartDelete(string resourceGroupName, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Validate(string resourceGroupName, string deploymentName, Azure.Management.Resources.Models.Deployment parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> ValidateAsync(string resourceGroupName, string deploymentName, Azure.Management.Resources.Models.Deployment parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class DeploymentsCreateOrUpdateOperation : Azure.Operation { internal DeploymentsCreateOrUpdateOperation() { } @@ -56,9 +34,31 @@ internal DeploymentsDeleteOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ProvidersClient + public partial class DeploymentsOperations { - protected ProvidersClient() { } + protected DeploymentsOperations() { } + public virtual Azure.Response CalculateTemplateHash(object template, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> CalculateTemplateHashAsync(object template, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Cancel(string resourceGroupName, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task CancelAsync(string resourceGroupName, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response CheckExistence(string resourceGroupName, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task CheckExistenceAsync(string resourceGroupName, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response ExportTemplate(string resourceGroupName, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> ExportTemplateAsync(string resourceGroupName, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Get(string resourceGroupName, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, string filter = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, string filter = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Resources.DeploymentsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string deploymentName, Azure.Management.Resources.Models.Deployment parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string deploymentName, Azure.Management.Resources.Models.Deployment parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Resources.DeploymentsDeleteOperation StartDelete(string resourceGroupName, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string deploymentName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Validate(string resourceGroupName, string deploymentName, Azure.Management.Resources.Models.Deployment parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> ValidateAsync(string resourceGroupName, string deploymentName, Azure.Management.Resources.Models.Deployment parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class ProvidersOperations + { + protected ProvidersOperations() { } public virtual Azure.Response Get(string resourceProviderNamespace, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceProviderNamespace, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(int? top = default(int?), string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -68,9 +68,22 @@ protected ProvidersClient() { } public virtual Azure.Response Unregister(string resourceProviderNamespace, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UnregisterAsync(string resourceProviderNamespace, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ResourceGroupsClient + public partial class ResourceGroupsDeleteOperation : Azure.Operation { - protected ResourceGroupsClient() { } + internal ResourceGroupsDeleteOperation() { } + public override bool HasCompleted { get { throw null; } } + public override bool HasValue { get { throw null; } } + public override string Id { get { throw null; } } + public override Azure.Response Value { get { throw null; } } + public override Azure.Response GetRawResponse() { throw null; } + public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class ResourceGroupsOperations + { + protected ResourceGroupsOperations() { } public virtual Azure.Response CheckExistence(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task CheckExistenceAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response CreateOrUpdate(string resourceGroupName, Azure.Management.Resources.Models.ResourceGroup parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -86,51 +99,6 @@ protected ResourceGroupsClient() { } public virtual Azure.Response Update(string resourceGroupName, Azure.Management.Resources.Models.ResourceGroupPatchable parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateAsync(string resourceGroupName, Azure.Management.Resources.Models.ResourceGroupPatchable parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ResourceGroupsDeleteOperation : Azure.Operation - { - internal ResourceGroupsDeleteOperation() { } - public override bool HasCompleted { get { throw null; } } - public override bool HasValue { get { throw null; } } - public override string Id { get { throw null; } } - public override Azure.Response Value { get { throw null; } } - public override Azure.Response GetRawResponse() { throw null; } - public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } - public partial class ResourcesClient - { - protected ResourcesClient() { } - public virtual Azure.Response CheckExistence(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task CheckExistenceAsync(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response CheckExistenceById(string resourceId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task CheckExistenceByIdAsync(string resourceId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Get(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response GetById(string resourceId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetByIdAsync(string resourceId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(string filter = null, string expand = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(string filter = null, string expand = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, string filter = null, string expand = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, string filter = null, string expand = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Resources.ResourcesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, Azure.Management.Resources.Models.GenericResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, Azure.Management.Resources.Models.GenericResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Resources.ResourcesCreateOrUpdateByIdOperation StartCreateOrUpdateById(string resourceId, Azure.Management.Resources.Models.GenericResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateByIdAsync(string resourceId, Azure.Management.Resources.Models.GenericResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Resources.ResourcesDeleteOperation StartDelete(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Resources.ResourcesDeleteByIdOperation StartDeleteById(string resourceId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteByIdAsync(string resourceId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Resources.ResourcesMoveResourcesOperation StartMoveResources(string sourceResourceGroupName, Azure.Management.Resources.Models.ResourcesMoveInfo parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartMoveResourcesAsync(string sourceResourceGroupName, Azure.Management.Resources.Models.ResourcesMoveInfo parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Resources.ResourcesUpdateOperation StartUpdate(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, Azure.Management.Resources.Models.GenericResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, Azure.Management.Resources.Models.GenericResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Resources.ResourcesUpdateByIdOperation StartUpdateById(string resourceId, Azure.Management.Resources.Models.GenericResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartUpdateByIdAsync(string resourceId, Azure.Management.Resources.Models.GenericResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Management.Resources.ResourcesValidateMoveResourcesOperation StartValidateMoveResources(string sourceResourceGroupName, Azure.Management.Resources.Models.ResourcesMoveInfo parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartValidateMoveResourcesAsync(string sourceResourceGroupName, Azure.Management.Resources.Models.ResourcesMoveInfo parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class ResourcesCreateOrUpdateByIdOperation : Azure.Operation { internal ResourcesCreateOrUpdateByIdOperation() { } @@ -188,12 +156,12 @@ public partial class ResourcesManagementClient protected ResourcesManagementClient() { } public ResourcesManagementClient(string subscriptionId, Azure.Core.TokenCredential tokenCredential, Azure.Management.Resources.ResourcesManagementClientOptions options = null) { } public ResourcesManagementClient(string subscriptionId, System.Uri endpoint, Azure.Core.TokenCredential tokenCredential, Azure.Management.Resources.ResourcesManagementClientOptions options = null) { } - public virtual Azure.Management.Resources.DeploymentClient GetDeploymentClient() { throw null; } - public virtual Azure.Management.Resources.DeploymentsClient GetDeploymentsClient() { throw null; } - public virtual Azure.Management.Resources.ProvidersClient GetProvidersClient() { throw null; } - public virtual Azure.Management.Resources.ResourceGroupsClient GetResourceGroupsClient() { throw null; } - public virtual Azure.Management.Resources.ResourcesClient GetResourcesClient() { throw null; } - public virtual Azure.Management.Resources.TagsClient GetTagsClient() { throw null; } + public virtual Azure.Management.Resources.DeploymentOperations Deployment { get { throw null; } } + public virtual Azure.Management.Resources.DeploymentsOperations Deployments { get { throw null; } } + public virtual Azure.Management.Resources.ProvidersOperations Providers { get { throw null; } } + public virtual Azure.Management.Resources.ResourceGroupsOperations ResourceGroups { get { throw null; } } + public virtual Azure.Management.Resources.ResourcesOperations Resources { get { throw null; } } + public virtual Azure.Management.Resources.TagsOperations Tags { get { throw null; } } } public partial class ResourcesManagementClientOptions : Azure.Core.ClientOptions { @@ -212,6 +180,38 @@ internal ResourcesMoveResourcesOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class ResourcesOperations + { + protected ResourcesOperations() { } + public virtual Azure.Response CheckExistence(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task CheckExistenceAsync(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response CheckExistenceById(string resourceId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task CheckExistenceByIdAsync(string resourceId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Get(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetById(string resourceId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetByIdAsync(string resourceId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable List(string filter = null, string expand = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListAsync(string filter = null, string expand = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable ListByResourceGroup(string resourceGroupName, string filter = null, string expand = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable ListByResourceGroupAsync(string resourceGroupName, string filter = null, string expand = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Resources.ResourcesCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, Azure.Management.Resources.Models.GenericResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, Azure.Management.Resources.Models.GenericResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Resources.ResourcesCreateOrUpdateByIdOperation StartCreateOrUpdateById(string resourceId, Azure.Management.Resources.Models.GenericResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateByIdAsync(string resourceId, Azure.Management.Resources.Models.GenericResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Resources.ResourcesDeleteOperation StartDelete(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Resources.ResourcesDeleteByIdOperation StartDeleteById(string resourceId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteByIdAsync(string resourceId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Resources.ResourcesMoveResourcesOperation StartMoveResources(string sourceResourceGroupName, Azure.Management.Resources.Models.ResourcesMoveInfo parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartMoveResourcesAsync(string sourceResourceGroupName, Azure.Management.Resources.Models.ResourcesMoveInfo parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Resources.ResourcesUpdateOperation StartUpdate(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, Azure.Management.Resources.Models.GenericResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartUpdateAsync(string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, Azure.Management.Resources.Models.GenericResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Resources.ResourcesUpdateByIdOperation StartUpdateById(string resourceId, Azure.Management.Resources.Models.GenericResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartUpdateByIdAsync(string resourceId, Azure.Management.Resources.Models.GenericResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Management.Resources.ResourcesValidateMoveResourcesOperation StartValidateMoveResources(string sourceResourceGroupName, Azure.Management.Resources.Models.ResourcesMoveInfo parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartValidateMoveResourcesAsync(string sourceResourceGroupName, Azure.Management.Resources.Models.ResourcesMoveInfo parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } public partial class ResourcesUpdateByIdOperation : Azure.Operation { internal ResourcesUpdateByIdOperation() { } @@ -251,9 +251,9 @@ internal ResourcesValidateMoveResourcesOperation() { } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class TagsClient + public partial class TagsOperations { - protected TagsClient() { } + protected TagsOperations() { } public virtual Azure.Response CreateOrUpdate(string tagName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(string tagName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response CreateOrUpdateValue(string tagName, string tagValue, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } diff --git a/sdk/testcommon/Azure.Management.Storage.2019_06/api/Azure.Management.Storage.netstandard2.0.cs b/sdk/testcommon/Azure.Management.Storage.2019_06/api/Azure.Management.Storage.netstandard2.0.cs index df386b7312d52..a8008ce1077d2 100644 --- a/sdk/testcommon/Azure.Management.Storage.2019_06/api/Azure.Management.Storage.netstandard2.0.cs +++ b/sdk/testcommon/Azure.Management.Storage.2019_06/api/Azure.Management.Storage.netstandard2.0.cs @@ -1,8 +1,8 @@ namespace Azure.Management.Storage { - public partial class BlobContainersClient + public partial class BlobContainersOperations { - protected BlobContainersClient() { } + protected BlobContainersOperations() { } public virtual Azure.Response ClearLegalHold(string resourceGroupName, string accountName, string containerName, Azure.Management.Storage.Models.LegalHold legalHold, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> ClearLegalHoldAsync(string resourceGroupName, string accountName, string containerName, Azure.Management.Storage.Models.LegalHold legalHold, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Create(string resourceGroupName, string accountName, string containerName, Azure.Management.Storage.Models.BlobContainer blobContainer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -30,9 +30,9 @@ protected BlobContainersClient() { } public virtual Azure.Response Update(string resourceGroupName, string accountName, string containerName, Azure.Management.Storage.Models.BlobContainer blobContainer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateAsync(string resourceGroupName, string accountName, string containerName, Azure.Management.Storage.Models.BlobContainer blobContainer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class BlobServicesClient + public partial class BlobServicesOperations { - protected BlobServicesClient() { } + protected BlobServicesOperations() { } public virtual Azure.Response GetServiceProperties(string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetServicePropertiesAsync(string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -40,9 +40,9 @@ protected BlobServicesClient() { } public virtual Azure.Response SetServiceProperties(string resourceGroupName, string accountName, Azure.Management.Storage.Models.BlobServiceProperties parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> SetServicePropertiesAsync(string resourceGroupName, string accountName, Azure.Management.Storage.Models.BlobServiceProperties parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class EncryptionScopesClient + public partial class EncryptionScopesOperations { - protected EncryptionScopesClient() { } + protected EncryptionScopesOperations() { } public virtual Azure.Response Get(string resourceGroupName, string accountName, string encryptionScopeName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string accountName, string encryptionScopeName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable List(string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -52,9 +52,9 @@ protected EncryptionScopesClient() { } public virtual Azure.Response Put(string resourceGroupName, string accountName, string encryptionScopeName, Azure.Management.Storage.Models.EncryptionScope encryptionScope, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> PutAsync(string resourceGroupName, string accountName, string encryptionScopeName, Azure.Management.Storage.Models.EncryptionScope encryptionScope, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class FileServicesClient + public partial class FileServicesOperations { - protected FileServicesClient() { } + protected FileServicesOperations() { } public virtual Azure.Response GetServiceProperties(string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetServicePropertiesAsync(string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response List(string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -62,9 +62,9 @@ protected FileServicesClient() { } public virtual Azure.Response SetServiceProperties(string resourceGroupName, string accountName, Azure.Management.Storage.Models.FileServiceProperties parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> SetServicePropertiesAsync(string resourceGroupName, string accountName, Azure.Management.Storage.Models.FileServiceProperties parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class FileSharesClient + public partial class FileSharesOperations { - protected FileSharesClient() { } + protected FileSharesOperations() { } public virtual Azure.Response Create(string resourceGroupName, string accountName, string shareName, Azure.Management.Storage.Models.FileShare fileShare, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CreateAsync(string resourceGroupName, string accountName, string shareName, Azure.Management.Storage.Models.FileShare fileShare, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Delete(string resourceGroupName, string accountName, string shareName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -78,9 +78,9 @@ protected FileSharesClient() { } public virtual Azure.Response Update(string resourceGroupName, string accountName, string shareName, Azure.Management.Storage.Models.FileShare fileShare, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateAsync(string resourceGroupName, string accountName, string shareName, Azure.Management.Storage.Models.FileShare fileShare, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ManagementPoliciesClient + public partial class ManagementPoliciesOperations { - protected ManagementPoliciesClient() { } + protected ManagementPoliciesOperations() { } public virtual Azure.Response CreateOrUpdate(string resourceGroupName, string accountName, Azure.Management.Storage.Models.ManagementPolicy properties, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(string resourceGroupName, string accountName, Azure.Management.Storage.Models.ManagementPolicy properties, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Delete(string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -88,9 +88,9 @@ protected ManagementPoliciesClient() { } public virtual Azure.Response Get(string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ObjectReplicationPoliciesClient + public partial class ObjectReplicationPoliciesOperations { - protected ObjectReplicationPoliciesClient() { } + protected ObjectReplicationPoliciesOperations() { } public virtual Azure.Response CreateOrUpdate(string resourceGroupName, string accountName, string objectReplicationPolicyId, Azure.Management.Storage.Models.ObjectReplicationPolicy properties, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(string resourceGroupName, string accountName, string objectReplicationPolicyId, Azure.Management.Storage.Models.ObjectReplicationPolicy properties, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Delete(string resourceGroupName, string accountName, string objectReplicationPolicyId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -100,15 +100,15 @@ protected ObjectReplicationPoliciesClient() { } public virtual Azure.Pageable List(string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class OperationsClient + public partial class Operations { - protected OperationsClient() { } + protected Operations() { } public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class PrivateEndpointConnectionsClient + public partial class PrivateEndpointConnectionsOperations { - protected PrivateEndpointConnectionsClient() { } + protected PrivateEndpointConnectionsOperations() { } public virtual Azure.Response Delete(string resourceGroupName, string accountName, string privateEndpointConnectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task DeleteAsync(string resourceGroupName, string accountName, string privateEndpointConnectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Get(string resourceGroupName, string accountName, string privateEndpointConnectionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -118,15 +118,15 @@ protected PrivateEndpointConnectionsClient() { } public virtual Azure.Response Put(string resourceGroupName, string accountName, string privateEndpointConnectionName, Azure.Management.Storage.Models.PrivateEndpointConnection properties, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> PutAsync(string resourceGroupName, string accountName, string privateEndpointConnectionName, Azure.Management.Storage.Models.PrivateEndpointConnection properties, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class PrivateLinkResourcesClient + public partial class PrivateLinkResourcesOperations { - protected PrivateLinkResourcesClient() { } + protected PrivateLinkResourcesOperations() { } public virtual Azure.Response ListByStorageAccount(string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> ListByStorageAccountAsync(string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class QueueClient + public partial class QueueOperations { - protected QueueClient() { } + protected QueueOperations() { } public virtual Azure.Response Create(string resourceGroupName, string accountName, string queueName, Azure.Management.Storage.Models.StorageQueue queue, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CreateAsync(string resourceGroupName, string accountName, string queueName, Azure.Management.Storage.Models.StorageQueue queue, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Delete(string resourceGroupName, string accountName, string queueName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -138,9 +138,9 @@ protected QueueClient() { } public virtual Azure.Response Update(string resourceGroupName, string accountName, string queueName, Azure.Management.Storage.Models.StorageQueue queue, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateAsync(string resourceGroupName, string accountName, string queueName, Azure.Management.Storage.Models.StorageQueue queue, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class QueueServicesClient + public partial class QueueServicesOperations { - protected QueueServicesClient() { } + protected QueueServicesOperations() { } public virtual Azure.Response GetServiceProperties(string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetServicePropertiesAsync(string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response List(string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -148,15 +148,41 @@ protected QueueServicesClient() { } public virtual Azure.Response SetServiceProperties(string resourceGroupName, string accountName, Azure.Management.Storage.Models.QueueServiceProperties parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> SetServicePropertiesAsync(string resourceGroupName, string accountName, Azure.Management.Storage.Models.QueueServiceProperties parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class SkusClient + public partial class SkusOperations { - protected SkusClient() { } + protected SkusOperations() { } public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class StorageAccountsClient + public partial class StorageAccountsCreateOperation : Azure.Operation + { + internal StorageAccountsCreateOperation() { } + public override bool HasCompleted { get { throw null; } } + public override bool HasValue { get { throw null; } } + public override string Id { get { throw null; } } + public override Azure.Management.Storage.Models.StorageAccount Value { get { throw null; } } + public override Azure.Response GetRawResponse() { throw null; } + public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class StorageAccountsFailoverOperation : Azure.Operation + { + internal StorageAccountsFailoverOperation() { } + public override bool HasCompleted { get { throw null; } } + public override bool HasValue { get { throw null; } } + public override string Id { get { throw null; } } + public override Azure.Response Value { get { throw null; } } + public override Azure.Response GetRawResponse() { throw null; } + public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class StorageAccountsOperations { - protected StorageAccountsClient() { } + protected StorageAccountsOperations() { } public virtual Azure.Response CheckNameAvailability(Azure.Management.Storage.Models.StorageAccountCheckNameAvailabilityParameters accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CheckNameAvailabilityAsync(Azure.Management.Storage.Models.StorageAccountCheckNameAvailabilityParameters accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Delete(string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -186,32 +212,6 @@ protected StorageAccountsClient() { } public virtual Azure.Response Update(string resourceGroupName, string accountName, Azure.Management.Storage.Models.StorageAccountUpdateParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateAsync(string resourceGroupName, string accountName, Azure.Management.Storage.Models.StorageAccountUpdateParameters parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class StorageAccountsCreateOperation : Azure.Operation - { - internal StorageAccountsCreateOperation() { } - public override bool HasCompleted { get { throw null; } } - public override bool HasValue { get { throw null; } } - public override string Id { get { throw null; } } - public override Azure.Management.Storage.Models.StorageAccount Value { get { throw null; } } - public override Azure.Response GetRawResponse() { throw null; } - public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } - public partial class StorageAccountsFailoverOperation : Azure.Operation - { - internal StorageAccountsFailoverOperation() { } - public override bool HasCompleted { get { throw null; } } - public override bool HasValue { get { throw null; } } - public override string Id { get { throw null; } } - public override Azure.Response Value { get { throw null; } } - public override Azure.Response GetRawResponse() { throw null; } - public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class StorageAccountsRestoreBlobRangesOperation : Azure.Operation { internal StorageAccountsRestoreBlobRangesOperation() { } @@ -230,31 +230,31 @@ public partial class StorageManagementClient protected StorageManagementClient() { } public StorageManagementClient(string subscriptionId, Azure.Core.TokenCredential tokenCredential, Azure.Management.Storage.StorageManagementClientOptions options = null) { } public StorageManagementClient(System.Uri endpoint, string subscriptionId, Azure.Core.TokenCredential tokenCredential, Azure.Management.Storage.StorageManagementClientOptions options = null) { } - public virtual Azure.Management.Storage.BlobContainersClient GetBlobContainersClient() { throw null; } - public virtual Azure.Management.Storage.BlobServicesClient GetBlobServicesClient() { throw null; } - public virtual Azure.Management.Storage.EncryptionScopesClient GetEncryptionScopesClient() { throw null; } - public virtual Azure.Management.Storage.FileServicesClient GetFileServicesClient() { throw null; } - public virtual Azure.Management.Storage.FileSharesClient GetFileSharesClient() { throw null; } - public virtual Azure.Management.Storage.ManagementPoliciesClient GetManagementPoliciesClient() { throw null; } - public virtual Azure.Management.Storage.ObjectReplicationPoliciesClient GetObjectReplicationPoliciesClient() { throw null; } - public virtual Azure.Management.Storage.OperationsClient GetOperationsClient() { throw null; } - public virtual Azure.Management.Storage.PrivateEndpointConnectionsClient GetPrivateEndpointConnectionsClient() { throw null; } - public virtual Azure.Management.Storage.PrivateLinkResourcesClient GetPrivateLinkResourcesClient() { throw null; } - public virtual Azure.Management.Storage.QueueClient GetQueueClient() { throw null; } - public virtual Azure.Management.Storage.QueueServicesClient GetQueueServicesClient() { throw null; } - public virtual Azure.Management.Storage.SkusClient GetSkusClient() { throw null; } - public virtual Azure.Management.Storage.StorageAccountsClient GetStorageAccountsClient() { throw null; } - public virtual Azure.Management.Storage.TableClient GetTableClient() { throw null; } - public virtual Azure.Management.Storage.TableServicesClient GetTableServicesClient() { throw null; } - public virtual Azure.Management.Storage.UsagesClient GetUsagesClient() { throw null; } + public virtual Azure.Management.Storage.BlobContainersOperations BlobContainers { get { throw null; } } + public virtual Azure.Management.Storage.BlobServicesOperations BlobServices { get { throw null; } } + public virtual Azure.Management.Storage.EncryptionScopesOperations EncryptionScopes { get { throw null; } } + public virtual Azure.Management.Storage.FileServicesOperations FileServices { get { throw null; } } + public virtual Azure.Management.Storage.FileSharesOperations FileShares { get { throw null; } } + public virtual Azure.Management.Storage.ManagementPoliciesOperations ManagementPolicies { get { throw null; } } + public virtual Azure.Management.Storage.ObjectReplicationPoliciesOperations ObjectReplicationPolicies { get { throw null; } } + public virtual Azure.Management.Storage.Operations Operations { get { throw null; } } + public virtual Azure.Management.Storage.PrivateEndpointConnectionsOperations PrivateEndpointConnections { get { throw null; } } + public virtual Azure.Management.Storage.PrivateLinkResourcesOperations PrivateLinkResources { get { throw null; } } + public virtual Azure.Management.Storage.QueueOperations Queue { get { throw null; } } + public virtual Azure.Management.Storage.QueueServicesOperations QueueServices { get { throw null; } } + public virtual Azure.Management.Storage.SkusOperations Skus { get { throw null; } } + public virtual Azure.Management.Storage.StorageAccountsOperations StorageAccounts { get { throw null; } } + public virtual Azure.Management.Storage.TableOperations Table { get { throw null; } } + public virtual Azure.Management.Storage.TableServicesOperations TableServices { get { throw null; } } + public virtual Azure.Management.Storage.UsagesOperations Usages { get { throw null; } } } public partial class StorageManagementClientOptions : Azure.Core.ClientOptions { public StorageManagementClientOptions() { } } - public partial class TableClient + public partial class TableOperations { - protected TableClient() { } + protected TableOperations() { } public virtual Azure.Response Create(string resourceGroupName, string accountName, string tableName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CreateAsync(string resourceGroupName, string accountName, string tableName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Delete(string resourceGroupName, string accountName, string tableName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -266,9 +266,9 @@ protected TableClient() { } public virtual Azure.Response Update(string resourceGroupName, string accountName, string tableName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateAsync(string resourceGroupName, string accountName, string tableName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class TableServicesClient + public partial class TableServicesOperations { - protected TableServicesClient() { } + protected TableServicesOperations() { } public virtual Azure.Response GetServiceProperties(string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetServicePropertiesAsync(string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response List(string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -276,9 +276,9 @@ protected TableServicesClient() { } public virtual Azure.Response SetServiceProperties(string resourceGroupName, string accountName, Azure.Management.Storage.Models.TableServiceProperties parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> SetServicePropertiesAsync(string resourceGroupName, string accountName, Azure.Management.Storage.Models.TableServiceProperties parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class UsagesClient + public partial class UsagesOperations { - protected UsagesClient() { } + protected UsagesOperations() { } public virtual Azure.Pageable ListByLocation(string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable ListByLocationAsync(string location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } }