From 5a48e7fd2f6c0ecd0a0ec4f0a9c852b5bcf9aabc Mon Sep 17 00:00:00 2001 From: Weidong Xu Date: Mon, 22 Nov 2021 11:51:51 +0800 Subject: [PATCH] mgmt, fix LRO context (#25575) --- .../implementation/AppsClientImpl.java | 6 +- .../implementation/BindingsClientImpl.java | 6 +- .../CertificatesClientImpl.java | 4 +- .../ConfigServersClientImpl.java | 6 +- .../CustomDomainsClientImpl.java | 6 +- .../implementation/DeploymentsClientImpl.java | 12 ++-- .../MonitoringSettingsClientImpl.java | 4 +- .../implementation/ServicesClientImpl.java | 6 +- ...AppServiceCertificateOrdersClientImpl.java | 4 +- .../AppServiceEnvironmentsClientImpl.java | 18 ++--- .../AppServicePlansClientImpl.java | 2 +- .../implementation/DomainsClientImpl.java | 2 +- .../KubeEnvironmentsClientImpl.java | 4 +- .../implementation/StaticSitesClientImpl.java | 26 +++---- .../implementation/WebAppsClientImpl.java | 68 +++++++++---------- .../AfdCustomDomainsClientImpl.java | 8 +-- .../AfdEndpointsClientImpl.java | 8 +-- .../AfdOriginGroupsClientImpl.java | 6 +- .../implementation/AfdOriginsClientImpl.java | 6 +- .../CustomDomainsClientImpl.java | 4 +- .../implementation/EndpointsClientImpl.java | 14 ++-- .../OriginGroupsClientImpl.java | 6 +- .../cdn/implementation/OriginsClientImpl.java | 6 +- .../implementation/PoliciesClientImpl.java | 4 +- .../implementation/ProfilesClientImpl.java | 6 +- .../cdn/implementation/RoutesClientImpl.java | 6 +- .../implementation/RuleSetsClientImpl.java | 4 +- .../cdn/implementation/RulesClientImpl.java | 6 +- .../cdn/implementation/SecretsClientImpl.java | 6 +- .../SecurityPoliciesClientImpl.java | 6 +- .../CapacityReservationsClientImpl.java | 6 +- .../CloudServiceRoleInstancesClientImpl.java | 8 +-- .../CloudServicesClientImpl.java | 18 ++--- .../CloudServicesUpdateDomainsClientImpl.java | 2 +- .../DedicatedHostsClientImpl.java | 6 +- .../DiskAccessesClientImpl.java | 10 +-- .../DiskEncryptionSetsClientImpl.java | 6 +- .../DiskRestorePointsClientImpl.java | 4 +- .../implementation/DisksClientImpl.java | 10 +-- .../implementation/GalleriesClientImpl.java | 6 +- .../GalleryApplicationVersionsClientImpl.java | 6 +- .../GalleryApplicationsClientImpl.java | 6 +- .../GalleryImageVersionsClientImpl.java | 6 +- .../GalleryImagesClientImpl.java | 6 +- .../GallerySharingProfilesClientImpl.java | 2 +- .../implementation/ImagesClientImpl.java | 6 +- .../LogAnalyticsClientImpl.java | 4 +- .../RestorePointCollectionsClientImpl.java | 2 +- .../RestorePointsClientImpl.java | 4 +- .../implementation/SnapshotsClientImpl.java | 10 +-- .../VirtualMachineExtensionsClientImpl.java | 6 +- .../VirtualMachineRunCommandsClientImpl.java | 6 +- ...alMachineScaleSetExtensionsClientImpl.java | 6 +- ...hineScaleSetRollingUpgradesClientImpl.java | 6 +- ...MachineScaleSetVMExtensionsClientImpl.java | 6 +- ...achineScaleSetVMRunCommandsClientImpl.java | 6 +- .../VirtualMachineScaleSetVMsClientImpl.java | 22 +++--- .../VirtualMachineScaleSetsClientImpl.java | 28 ++++---- .../VirtualMachinesClientImpl.java | 32 ++++----- .../ContainerGroupsClientImpl.java | 8 +-- .../implementation/AgentPoolsClientImpl.java | 6 +- .../ExportPipelinesClientImpl.java | 4 +- .../ImportPipelinesClientImpl.java | 4 +- .../PipelineRunsClientImpl.java | 4 +- .../PrivateEndpointConnectionsClientImpl.java | 4 +- .../implementation/RegistriesClientImpl.java | 12 ++-- .../ReplicationsClientImpl.java | 6 +- .../implementation/RunsClientImpl.java | 4 +- .../implementation/ScopeMapsClientImpl.java | 6 +- .../implementation/TaskRunsClientImpl.java | 6 +- .../implementation/TasksClientImpl.java | 6 +- .../implementation/TokensClientImpl.java | 6 +- .../implementation/WebhooksClientImpl.java | 6 +- .../implementation/AgentPoolsClientImpl.java | 6 +- .../ManagedClustersClientImpl.java | 18 ++--- .../OpenShiftManagedClustersClientImpl.java | 6 +- .../PrivateEndpointConnectionsClientImpl.java | 2 +- .../CassandraClustersClientImpl.java | 12 ++-- .../CassandraDataCentersClientImpl.java | 6 +- .../CassandraResourcesClientImpl.java | 20 +++--- .../DatabaseAccountsClientImpl.java | 14 ++-- .../GremlinResourcesClientImpl.java | 20 +++--- .../MongoDBResourcesClientImpl.java | 22 +++--- .../NotebookWorkspacesClientImpl.java | 8 +-- .../PrivateEndpointConnectionsClientImpl.java | 4 +- .../SqlResourcesClientImpl.java | 42 ++++++------ .../TableResourcesClientImpl.java | 10 +-- .../dns/implementation/ZonesClientImpl.java | 2 +- .../implementation/ClustersClientImpl.java | 6 +- .../implementation/NamespacesClientImpl.java | 4 +- .../PrivateEndpointConnectionsClientImpl.java | 2 +- .../PrivateEndpointConnectionsClientImpl.java | 2 +- .../implementation/VaultsClientImpl.java | 4 +- .../PrivateEndpointConnectionsClientImpl.java | 4 +- .../PrivateLinkScopedResourcesClientImpl.java | 4 +- .../PrivateLinkScopesClientImpl.java | 2 +- ...yPrivateEndpointConnectionsClientImpl.java | 4 +- .../ApplicationGatewaysClientImpl.java | 12 ++-- .../ApplicationSecurityGroupsClientImpl.java | 4 +- .../AzureFirewallsClientImpl.java | 6 +- .../BastionHostsClientImpl.java | 6 +- .../ConnectionMonitorsClientImpl.java | 10 +-- .../CustomIpPrefixesClientImpl.java | 4 +- .../DdosCustomPoliciesClientImpl.java | 4 +- .../DdosProtectionPlansClientImpl.java | 4 +- .../DscpConfigurationsClientImpl.java | 4 +- ...sRouteCircuitAuthorizationsClientImpl.java | 4 +- ...ressRouteCircuitConnectionsClientImpl.java | 4 +- ...ExpressRouteCircuitPeeringsClientImpl.java | 4 +- .../ExpressRouteCircuitsClientImpl.java | 10 +-- .../ExpressRouteConnectionsClientImpl.java | 4 +- ...outeCrossConnectionPeeringsClientImpl.java | 4 +- ...xpressRouteCrossConnectionsClientImpl.java | 8 +-- .../ExpressRouteGatewaysClientImpl.java | 6 +- .../ExpressRoutePortsClientImpl.java | 4 +- .../FirewallPoliciesClientImpl.java | 4 +- ...lPolicyRuleCollectionGroupsClientImpl.java | 4 +- .../implementation/FlowLogsClientImpl.java | 4 +- .../HubRouteTablesClientImpl.java | 4 +- ...ubVirtualNetworkConnectionsClientImpl.java | 4 +- .../InboundNatRulesClientImpl.java | 4 +- ...boundSecurityRuleOperationsClientImpl.java | 2 +- .../IpAllocationsClientImpl.java | 4 +- .../implementation/IpGroupsClientImpl.java | 4 +- ...BalancerBackendAddressPoolsClientImpl.java | 4 +- .../LoadBalancersClientImpl.java | 8 +-- .../LocalNetworkGatewaysClientImpl.java | 4 +- .../implementation/NatGatewaysClientImpl.java | 4 +- .../implementation/NatRulesClientImpl.java | 4 +- ...kInterfaceTapConfigurationsClientImpl.java | 4 +- .../NetworkInterfacesClientImpl.java | 8 +-- .../NetworkManagementClientImpl.java | 8 +-- .../NetworkProfilesClientImpl.java | 2 +- .../NetworkSecurityGroupsClientImpl.java | 4 +- .../NetworkVirtualAppliancesClientImpl.java | 4 +- .../NetworkWatchersClientImpl.java | 24 +++---- .../P2SVpnGatewaysClientImpl.java | 16 ++--- .../PacketCapturesClientImpl.java | 8 +-- .../PrivateDnsZoneGroupsClientImpl.java | 4 +- .../PrivateEndpointsClientImpl.java | 4 +- .../PrivateLinkServicesClientImpl.java | 10 +-- .../PublicIpAddressesClientImpl.java | 4 +- .../PublicIpPrefixesClientImpl.java | 4 +- .../RouteFilterRulesClientImpl.java | 4 +- .../RouteFiltersClientImpl.java | 4 +- .../implementation/RouteTablesClientImpl.java | 4 +- .../implementation/RoutesClientImpl.java | 4 +- .../RoutingIntentsClientImpl.java | 4 +- .../SecurityPartnerProvidersClientImpl.java | 4 +- .../SecurityRulesClientImpl.java | 4 +- .../ServiceEndpointPoliciesClientImpl.java | 4 +- ...ceEndpointPolicyDefinitionsClientImpl.java | 4 +- .../implementation/SubnetsClientImpl.java | 8 +-- .../VirtualApplianceSitesClientImpl.java | 4 +- .../VirtualHubBgpConnectionsClientImpl.java | 8 +-- .../VirtualHubIpConfigurationsClientImpl.java | 4 +- .../VirtualHubRouteTableV2SClientImpl.java | 4 +- .../implementation/VirtualHubsClientImpl.java | 6 +- ...alNetworkGatewayConnectionsClientImpl.java | 18 ++--- ...rtualNetworkGatewayNatRulesClientImpl.java | 4 +- .../VirtualNetworkGatewaysClientImpl.java | 34 +++++----- .../VirtualNetworkPeeringsClientImpl.java | 4 +- .../VirtualNetworkTapsClientImpl.java | 4 +- .../VirtualNetworksClientImpl.java | 4 +- .../VirtualRouterPeeringsClientImpl.java | 4 +- .../VirtualRoutersClientImpl.java | 4 +- .../implementation/VirtualWansClientImpl.java | 4 +- .../VpnConnectionsClientImpl.java | 8 +-- .../implementation/VpnGatewaysClientImpl.java | 12 ++-- .../VpnLinkConnectionsClientImpl.java | 4 +- ...nsAssociatedWithVirtualWansClientImpl.java | 2 +- .../VpnServerConfigurationsClientImpl.java | 4 +- .../implementation/VpnSitesClientImpl.java | 4 +- .../VpnSitesConfigurationsClientImpl.java | 2 +- ...ApplicationFirewallPoliciesClientImpl.java | 2 +- .../PrivateZonesClientImpl.java | 6 +- .../VirtualNetworkLinksClientImpl.java | 6 +- .../LinkedServersClientImpl.java | 2 +- .../PrivateEndpointConnectionsClientImpl.java | 2 +- .../redis/implementation/RedisClientImpl.java | 8 +-- .../implementation/DeploymentsClientImpl.java | 38 +++++------ .../ResourceGroupsClientImpl.java | 4 +- .../implementation/ResourcesClientImpl.java | 16 ++--- .../implementation/ServicesClientImpl.java | 2 +- .../SharedPrivateLinkResourcesClientImpl.java | 4 +- .../MigrationConfigsClientImpl.java | 2 +- .../implementation/NamespacesClientImpl.java | 4 +- ...upLongTermRetentionPoliciesClientImpl.java | 2 +- ...pShortTermRetentionPoliciesClientImpl.java | 4 +- ...ulnerabilityAssessmentScansClientImpl.java | 2 +- .../implementation/DatabasesClientImpl.java | 20 +++--- .../ElasticPoolsClientImpl.java | 8 +-- .../EncryptionProtectorsClientImpl.java | 4 +- ...dServerBlobAuditingPoliciesClientImpl.java | 2 +- .../FailoverGroupsClientImpl.java | 10 +-- .../InstanceFailoverGroupsClientImpl.java | 8 +-- .../InstancePoolsClientImpl.java | 6 +- .../implementation/JobAgentsClientImpl.java | 6 +- .../JobExecutionsClientImpl.java | 4 +- .../LongTermRetentionBackupsClientImpl.java | 4 +- ...ntionManagedInstanceBackupsClientImpl.java | 4 +- ...pShortTermRetentionPoliciesClientImpl.java | 4 +- ...ulnerabilityAssessmentScansClientImpl.java | 2 +- .../ManagedDatabasesClientImpl.java | 8 +-- ...nagedInstanceAdministratorsClientImpl.java | 4 +- ...nstanceEncryptionProtectorsClientImpl.java | 4 +- .../ManagedInstanceKeysClientImpl.java | 4 +- ...ceLongTermRetentionPoliciesClientImpl.java | 2 +- ...agedInstanceTdeCertificatesClientImpl.java | 2 +- .../ManagedInstancesClientImpl.java | 6 +- ...pShortTermRetentionPoliciesClientImpl.java | 4 +- ...ServerSecurityAlertPoliciesClientImpl.java | 2 +- .../PrivateEndpointConnectionsClientImpl.java | 4 +- .../ReplicationLinksClientImpl.java | 6 +- .../RestorePointsClientImpl.java | 2 +- ...ServerAzureADAdministratorsClientImpl.java | 6 +- .../ServerBlobAuditingPoliciesClientImpl.java | 2 +- .../ServerCommunicationLinksClientImpl.java | 2 +- .../ServerDnsAliasesClientImpl.java | 6 +- .../implementation/ServerKeysClientImpl.java | 4 +- ...ServerSecurityAlertPoliciesClientImpl.java | 2 +- .../sql/implementation/ServersClientImpl.java | 6 +- .../implementation/SyncAgentsClientImpl.java | 4 +- .../implementation/SyncGroupsClientImpl.java | 8 +-- .../implementation/SyncMembersClientImpl.java | 8 +-- .../TdeCertificatesClientImpl.java | 2 +- .../VirtualClustersClientImpl.java | 4 +- .../VirtualNetworkRulesClientImpl.java | 4 +- .../WorkloadClassifiersClientImpl.java | 4 +- .../WorkloadGroupsClientImpl.java | 4 +- .../BlobContainersClientImpl.java | 2 +- .../StorageAccountsClientImpl.java | 6 +- 232 files changed, 790 insertions(+), 790 deletions(-) diff --git a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/AppsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/AppsClientImpl.java index cd2646a6a9e17..007031c28b00f 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/AppsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/AppsClientImpl.java @@ -539,7 +539,7 @@ public PollerFlux, AppResourceInner> beginCreateOrU return this .client .getLroResult( - mono, this.client.getHttpPipeline(), AppResourceInner.class, AppResourceInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), AppResourceInner.class, AppResourceInner.class, this.client.getContext()); } /** @@ -813,7 +813,7 @@ public PollerFlux, Void> beginDeleteAsync( Mono>> mono = deleteWithResponseAsync(resourceGroupName, serviceName, appName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1090,7 +1090,7 @@ public PollerFlux, AppResourceInner> beginUpdateAsy return this .client .getLroResult( - mono, this.client.getHttpPipeline(), AppResourceInner.class, AppResourceInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), AppResourceInner.class, AppResourceInner.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/BindingsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/BindingsClientImpl.java index a1d8de6594a08..8866d7ed8b7a9 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/BindingsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/BindingsClientImpl.java @@ -515,7 +515,7 @@ public PollerFlux, BindingResourceInner> beginC this.client.getHttpPipeline(), BindingResourceInner.class, BindingResourceInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -884,7 +884,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, serviceName, appName, bindingName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1198,7 +1198,7 @@ public PollerFlux, BindingResourceInner> beginU this.client.getHttpPipeline(), BindingResourceInner.class, BindingResourceInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/CertificatesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/CertificatesClientImpl.java index 65a6c6fb0fc00..75f5574d9a041 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/CertificatesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/CertificatesClientImpl.java @@ -464,7 +464,7 @@ public PollerFlux, CertificateResourceInner this.client.getHttpPipeline(), CertificateResourceInner.class, CertificateResourceInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -802,7 +802,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, serviceName, certificateName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/ConfigServersClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/ConfigServersClientImpl.java index f924086ef7cf4..fbe46398b4990 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/ConfigServersClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/ConfigServersClientImpl.java @@ -418,7 +418,7 @@ public PollerFlux, ConfigServerResourceInn this.client.getHttpPipeline(), ConfigServerResourceInner.class, ConfigServerResourceInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -735,7 +735,7 @@ public PollerFlux, ConfigServerResourceInn this.client.getHttpPipeline(), ConfigServerResourceInner.class, ConfigServerResourceInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1051,7 +1051,7 @@ private Mono>> validateWithResponseAsync( this.client.getHttpPipeline(), ConfigServerSettingsValidateResultInner.class, ConfigServerSettingsValidateResultInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/CustomDomainsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/CustomDomainsClientImpl.java index a7eabdf3a3bf1..dd2d884a6e357 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/CustomDomainsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/CustomDomainsClientImpl.java @@ -517,7 +517,7 @@ public PollerFlux, CustomDomainResourceInn this.client.getHttpPipeline(), CustomDomainResourceInner.class, CustomDomainResourceInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -890,7 +890,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, serviceName, appName, domainName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1204,7 +1204,7 @@ public PollerFlux, CustomDomainResourceInn this.client.getHttpPipeline(), CustomDomainResourceInner.class, CustomDomainResourceInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/DeploymentsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/DeploymentsClientImpl.java index b9daca63f6f3f..068c1e6195054 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/DeploymentsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/DeploymentsClientImpl.java @@ -619,7 +619,7 @@ public PollerFlux, DeploymentResourceInner> this.client.getHttpPipeline(), DeploymentResourceInner.class, DeploymentResourceInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -954,7 +954,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, serviceName, appName, deploymentName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1270,7 +1270,7 @@ public PollerFlux, DeploymentResourceInner> this.client.getHttpPipeline(), DeploymentResourceInner.class, DeploymentResourceInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -2054,7 +2054,7 @@ public PollerFlux, Void> beginStartAsync( startWithResponseAsync(resourceGroupName, serviceName, appName, deploymentName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -2335,7 +2335,7 @@ public PollerFlux, Void> beginStopAsync( stopWithResponseAsync(resourceGroupName, serviceName, appName, deploymentName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -2616,7 +2616,7 @@ public PollerFlux, Void> beginRestartAsync( restartWithResponseAsync(resourceGroupName, serviceName, appName, deploymentName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/MonitoringSettingsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/MonitoringSettingsClientImpl.java index adb1ed3694b01..f04899344e811 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/MonitoringSettingsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/MonitoringSettingsClientImpl.java @@ -398,7 +398,7 @@ public PollerFlux, MonitoringSettingR this.client.getHttpPipeline(), MonitoringSettingResourceInner.class, MonitoringSettingResourceInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -715,7 +715,7 @@ public PollerFlux, MonitoringSettingR this.client.getHttpPipeline(), MonitoringSettingResourceInner.class, MonitoringSettingResourceInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/ServicesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/ServicesClientImpl.java index b4095d5410001..5e3af9dbf70b8 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/ServicesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/ServicesClientImpl.java @@ -551,7 +551,7 @@ public PollerFlux, ServiceResourceInner> beginC this.client.getHttpPipeline(), ServiceResourceInner.class, ServiceResourceInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -805,7 +805,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, serviceName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1063,7 +1063,7 @@ public PollerFlux, ServiceResourceInner> beginU this.client.getHttpPipeline(), ServiceResourceInner.class, ServiceResourceInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/implementation/AppServiceCertificateOrdersClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/implementation/AppServiceCertificateOrdersClientImpl.java index 9ec6f3df7abfc..a80a6764965d9 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/implementation/AppServiceCertificateOrdersClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/implementation/AppServiceCertificateOrdersClientImpl.java @@ -1168,7 +1168,7 @@ private Mono>> createOrUpdateWithResponseAsync( this.client.getHttpPipeline(), AppServiceCertificateOrderInner.class, AppServiceCertificateOrderInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -2169,7 +2169,7 @@ private Mono>> createOrUpdateCertificateWithResponseAs this.client.getHttpPipeline(), AppServiceCertificateResourceInner.class, AppServiceCertificateResourceInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/implementation/AppServiceEnvironmentsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/implementation/AppServiceEnvironmentsClientImpl.java index f8de2c8fd7fc8..2ed1c9ae3dbc4 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/implementation/AppServiceEnvironmentsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/implementation/AppServiceEnvironmentsClientImpl.java @@ -1590,7 +1590,7 @@ private Mono>> createOrUpdateWithResponseAsync( this.client.getHttpPipeline(), AppServiceEnvironmentResourceInner.class, AppServiceEnvironmentResourceInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1863,7 +1863,7 @@ public PollerFlux, Void> beginDeleteAsync( Mono>> mono = deleteWithResponseAsync(resourceGroupName, name, forceDelete); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -2600,7 +2600,7 @@ private Mono> changeVnetSinglePageAsync( this.client.getHttpPipeline(), WebAppCollection.class, WebAppCollection.class, - Context.NONE) + this.client.getContext()) .last() .flatMap(this.client::getLroFinalResultOrError)); }) @@ -4053,7 +4053,7 @@ private Mono>> createOrUpdateMultiRolePoolWithResponse this.client.getHttpPipeline(), WorkerPoolResourceInner.class, WorkerPoolResourceInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -5960,7 +5960,7 @@ private Mono>> approveOrRejectPrivateEndpointConnectio this.client.getHttpPipeline(), RemotePrivateEndpointConnectionArmResourceInner.class, RemotePrivateEndpointConnectionArmResourceInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -6282,7 +6282,7 @@ public PollerFlux, Object> beginDeletePrivateEndpointConnecti return this .client .getLroResult( - mono, this.client.getHttpPipeline(), Object.class, Object.class, Context.NONE); + mono, this.client.getHttpPipeline(), Object.class, Object.class, this.client.getContext()); } /** @@ -6765,7 +6765,7 @@ private Mono> resumeSinglePageAsync(String resourceGrou this.client.getHttpPipeline(), WebAppCollection.class, WebAppCollection.class, - Context.NONE) + this.client.getContext()) .last() .flatMap(this.client::getLroFinalResultOrError)); }) @@ -7354,7 +7354,7 @@ private Mono> suspendSinglePageAsync(String resourceGro this.client.getHttpPipeline(), WebAppCollection.class, WebAppCollection.class, - Context.NONE) + this.client.getContext()) .last() .flatMap(this.client::getLroFinalResultOrError)); }) @@ -8208,7 +8208,7 @@ public PollerFlux, WorkerPoolResourceInner> this.client.getHttpPipeline(), WorkerPoolResourceInner.class, WorkerPoolResourceInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/implementation/AppServicePlansClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/implementation/AppServicePlansClientImpl.java index 00d4fc9ae642c..ffb69d4ed38fc 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/implementation/AppServicePlansClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/implementation/AppServicePlansClientImpl.java @@ -1201,7 +1201,7 @@ public PollerFlux, AppServicePlanInner> beginCre this.client.getHttpPipeline(), AppServicePlanInner.class, AppServicePlanInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/implementation/DomainsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/implementation/DomainsClientImpl.java index 7b7220fe920c8..05a3aa3b1203b 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/implementation/DomainsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/implementation/DomainsClientImpl.java @@ -1343,7 +1343,7 @@ public PollerFlux, DomainInner> beginCreateOrUpdateAsync return this .client .getLroResult( - mono, this.client.getHttpPipeline(), DomainInner.class, DomainInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), DomainInner.class, DomainInner.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/implementation/KubeEnvironmentsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/implementation/KubeEnvironmentsClientImpl.java index 0d946fde84d84..a1b898bc246a4 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/implementation/KubeEnvironmentsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/implementation/KubeEnvironmentsClientImpl.java @@ -772,7 +772,7 @@ public PollerFlux, KubeEnvironmentInner> beginC this.client.getHttpPipeline(), KubeEnvironmentInner.class, KubeEnvironmentInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1016,7 +1016,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, name); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/implementation/StaticSitesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/implementation/StaticSitesClientImpl.java index d6187eb851aeb..da33074fd1a49 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/implementation/StaticSitesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/implementation/StaticSitesClientImpl.java @@ -1718,7 +1718,7 @@ private Mono>> createOrUpdateStaticSiteWithResponseAsy this.client.getHttpPipeline(), StaticSiteArmResourceInner.class, StaticSiteArmResourceInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1967,7 +1967,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, name); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -3309,7 +3309,7 @@ public PollerFlux, Void> beginDeleteStaticSiteBuildAsync( deleteStaticSiteBuildWithResponseAsync(resourceGroupName, name, environmentName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -4964,7 +4964,7 @@ private Mono>> registerUserProvidedFunctionAppWithStat this.client.getHttpPipeline(), StaticSiteUserProvidedFunctionAppArmResourceInner.class, StaticSiteUserProvidedFunctionAppArmResourceInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -5649,7 +5649,7 @@ public PollerFlux, Void> beginCreateZipDeploymentForStaticSiteB resourceGroupName, name, environmentName, staticSiteZipDeploymentEnvelope); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -6873,7 +6873,7 @@ private Mono>> createOrUpdateStaticSiteCustomDomainWit this.client.getHttpPipeline(), StaticSiteCustomDomainOverviewArmResourceInner.class, StaticSiteCustomDomainOverviewArmResourceInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -7192,7 +7192,7 @@ public PollerFlux, Void> beginDeleteStaticSiteCustomDomainAsync deleteStaticSiteCustomDomainWithResponseAsync(resourceGroupName, name, domainName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -7480,7 +7480,7 @@ public PollerFlux, Void> beginValidateCustomDomainCanBeAddedToS resourceGroupName, name, domainName, staticSiteCustomDomainRequestPropertiesEnvelope); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -7771,7 +7771,7 @@ public PollerFlux, Void> beginDetachStaticSiteAsync(String reso Mono>> mono = detachStaticSiteWithResponseAsync(resourceGroupName, name); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -9192,7 +9192,7 @@ private Mono>> approveOrRejectPrivateEndpointConnectio this.client.getHttpPipeline(), RemotePrivateEndpointConnectionArmResourceInner.class, RemotePrivateEndpointConnectionArmResourceInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -9514,7 +9514,7 @@ public PollerFlux, Object> beginDeletePrivateEndpointConnecti return this .client .getLroResult( - mono, this.client.getHttpPipeline(), Object.class, Object.class, Context.NONE); + mono, this.client.getHttpPipeline(), Object.class, Object.class, this.client.getContext()); } /** @@ -10511,7 +10511,7 @@ private Mono>> registerUserProvidedFunctionAppWithStat this.client.getHttpPipeline(), StaticSiteUserProvidedFunctionAppArmResourceInner.class, StaticSiteUserProvidedFunctionAppArmResourceInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -11088,7 +11088,7 @@ public PollerFlux, Void> beginCreateZipDeploymentForStaticSiteA createZipDeploymentForStaticSiteWithResponseAsync(resourceGroupName, name, staticSiteZipDeploymentEnvelope); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/implementation/WebAppsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/implementation/WebAppsClientImpl.java index c8ad26d9af4f5..6dfe0d8fd97dd 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/implementation/WebAppsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/implementation/WebAppsClientImpl.java @@ -7821,7 +7821,7 @@ public PollerFlux, SiteInner> beginCreateOrUpdateAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), SiteInner.class, SiteInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), SiteInner.class, SiteInner.class, this.client.getContext()); } /** @@ -9635,7 +9635,7 @@ public PollerFlux, Void> beginRestoreAsync( Mono>> mono = restoreWithResponseAsync(resourceGroupName, name, backupId, request); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -14308,7 +14308,7 @@ public PollerFlux, UserInner> beginListPublishingCredentia return this .client .getLroResult( - mono, this.client.getHttpPipeline(), UserInner.class, UserInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), UserInner.class, UserInner.class, this.client.getContext()); } /** @@ -19424,7 +19424,7 @@ public PollerFlux, MSDeployStatusInner> beginCre this.client.getHttpPipeline(), MSDeployStatusInner.class, MSDeployStatusInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -20343,7 +20343,7 @@ public PollerFlux, FunctionEnvelopeInner> begi this.client.getHttpPipeline(), FunctionEnvelopeInner.class, FunctionEnvelopeInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -25275,7 +25275,7 @@ public PollerFlux, MSDeployStatusInner> beginCre this.client.getHttpPipeline(), MSDeployStatusInner.class, MSDeployStatusInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -27608,7 +27608,7 @@ private Mono>> migrateStorageWithResponseAsync( this.client.getHttpPipeline(), StorageMigrationResponseInner.class, StorageMigrationResponseInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -27904,7 +27904,7 @@ public PollerFlux, OperationInner> beginMigrateMySqlA return this .client .getLroResult( - mono, this.client.getHttpPipeline(), OperationInner.class, OperationInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), OperationInner.class, OperationInner.class, this.client.getContext()); } /** @@ -29521,7 +29521,7 @@ public PollerFlux, Object> beginStartWebSiteNetworkTraceOpera return this .client .getLroResult( - mono, this.client.getHttpPipeline(), Object.class, Object.class, Context.NONE); + mono, this.client.getHttpPipeline(), Object.class, Object.class, this.client.getContext()); } /** @@ -32577,7 +32577,7 @@ private Mono>> approveOrRejectPrivateEndpointConnectio this.client.getHttpPipeline(), RemotePrivateEndpointConnectionArmResourceInner.class, RemotePrivateEndpointConnectionArmResourceInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -32899,7 +32899,7 @@ public PollerFlux, Object> beginDeletePrivateEndpointConnecti return this .client .getLroResult( - mono, this.client.getHttpPipeline(), Object.class, Object.class, Context.NONE); + mono, this.client.getHttpPipeline(), Object.class, Object.class, this.client.getContext()); } /** @@ -35781,7 +35781,7 @@ public PollerFlux, Void> beginRestoreFromBackupBlobAsync( restoreFromBackupBlobWithResponseAsync(resourceGroupName, name, request); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -36038,7 +36038,7 @@ public PollerFlux, Void> beginRestoreFromDeletedAppAsync( restoreFromDeletedAppWithResponseAsync(resourceGroupName, name, restoreRequest); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -36299,7 +36299,7 @@ public PollerFlux, Void> beginRestoreSnapshotAsync( restoreSnapshotWithResponseAsync(resourceGroupName, name, restoreRequest); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -36912,7 +36912,7 @@ public PollerFlux, SiteExtensionInfoInner> be this.client.getHttpPipeline(), SiteExtensionInfoInner.class, SiteExtensionInfoInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -37689,7 +37689,7 @@ public PollerFlux, SiteInner> beginCreateOrUpdateSlotAsync return this .client .getLroResult( - mono, this.client.getHttpPipeline(), SiteInner.class, SiteInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), SiteInner.class, SiteInner.class, this.client.getContext()); } /** @@ -39719,7 +39719,7 @@ public PollerFlux, Void> beginRestoreSlotAsync( restoreSlotWithResponseAsync(resourceGroupName, name, backupId, slot, request); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -44948,7 +44948,7 @@ public PollerFlux, UserInner> beginListPublishingCredentia return this .client .getLroResult( - mono, this.client.getHttpPipeline(), UserInner.class, UserInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), UserInner.class, UserInner.class, this.client.getContext()); } /** @@ -50276,7 +50276,7 @@ public PollerFlux, MSDeployStatusInner> beginCre this.client.getHttpPipeline(), MSDeployStatusInner.class, MSDeployStatusInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -51284,7 +51284,7 @@ public PollerFlux, FunctionEnvelopeInner> begi this.client.getHttpPipeline(), FunctionEnvelopeInner.class, FunctionEnvelopeInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -56751,7 +56751,7 @@ private Mono>> createInstanceMSDeployOperationSlotWith this.client.getHttpPipeline(), MSDeployStatusInner.class, MSDeployStatusInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -60835,7 +60835,7 @@ public PollerFlux, Object> beginStartWebSiteNetworkTraceOpera return this .client .getLroResult( - mono, this.client.getHttpPipeline(), Object.class, Object.class, Context.NONE); + mono, this.client.getHttpPipeline(), Object.class, Object.class, this.client.getContext()); } /** @@ -64226,7 +64226,7 @@ private Mono>> approveOrRejectPrivateEndpointConnectio this.client.getHttpPipeline(), RemotePrivateEndpointConnectionArmResourceInner.class, RemotePrivateEndpointConnectionArmResourceInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -64574,7 +64574,7 @@ public PollerFlux, Object> beginDeletePrivateEndpointConnecti return this .client .getLroResult( - mono, this.client.getHttpPipeline(), Object.class, Object.class, Context.NONE); + mono, this.client.getHttpPipeline(), Object.class, Object.class, this.client.getContext()); } /** @@ -67789,7 +67789,7 @@ public PollerFlux, Void> beginRestoreFromBackupBlobSlotAsync( restoreFromBackupBlobSlotWithResponseAsync(resourceGroupName, name, slot, request); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -68073,7 +68073,7 @@ public PollerFlux, Void> beginRestoreFromDeletedAppSlotAsync( restoreFromDeletedAppSlotWithResponseAsync(resourceGroupName, name, slot, restoreRequest); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -68354,7 +68354,7 @@ public PollerFlux, Void> beginRestoreSnapshotSlotAsync( restoreSnapshotSlotWithResponseAsync(resourceGroupName, name, slot, restoreRequest); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -69016,7 +69016,7 @@ public PollerFlux, SiteExtensionInfoInner> be this.client.getHttpPipeline(), SiteExtensionInfoInner.class, SiteExtensionInfoInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -69692,7 +69692,7 @@ public PollerFlux, Void> beginSwapSlotAsync( swapSlotWithResponseAsync(resourceGroupName, name, slot, slotSwapEntity); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -70535,7 +70535,7 @@ private Mono>> createOrUpdateSourceControlSlotWithResp this.client.getHttpPipeline(), SiteSourceControlInner.class, SiteSourceControlInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -71378,7 +71378,7 @@ public PollerFlux, Object> beginStartNetworkTraceSlotAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), Object.class, Object.class, Context.NONE); + mono, this.client.getHttpPipeline(), Object.class, Object.class, this.client.getContext()); } /** @@ -75953,7 +75953,7 @@ public PollerFlux, Void> beginSwapSlotWithProductionAsync( swapSlotWithProductionWithResponseAsync(resourceGroupName, name, slotSwapEntity); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -76723,7 +76723,7 @@ public PollerFlux, SiteSourceControlInner> be this.client.getHttpPipeline(), SiteSourceControlInner.class, SiteSourceControlInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -77469,7 +77469,7 @@ public PollerFlux, Object> beginStartNetworkTraceAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), Object.class, Object.class, Context.NONE); + mono, this.client.getHttpPipeline(), Object.class, Object.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/AfdCustomDomainsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/AfdCustomDomainsClientImpl.java index fbb5857ac6630..6379555b496f8 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/AfdCustomDomainsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/AfdCustomDomainsClientImpl.java @@ -681,7 +681,7 @@ public PollerFlux, AfdDomainInner> beginCreateAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), AfdDomainInner.class, AfdDomainInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), AfdDomainInner.class, AfdDomainInner.class, this.client.getContext()); } /** @@ -1021,7 +1021,7 @@ public PollerFlux, AfdDomainInner> beginUpdateAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), AfdDomainInner.class, AfdDomainInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), AfdDomainInner.class, AfdDomainInner.class, this.client.getContext()); } /** @@ -1395,7 +1395,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, profileName, customDomainName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1661,7 +1661,7 @@ public PollerFlux, ValidationTokenInner> beginR this.client.getHttpPipeline(), ValidationTokenInner.class, ValidationTokenInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/AfdEndpointsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/AfdEndpointsClientImpl.java index 9b7dbb7f1a913..f8bce1a5153d6 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/AfdEndpointsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/AfdEndpointsClientImpl.java @@ -724,7 +724,7 @@ public PollerFlux, AfdEndpointInner> beginCreateAsy return this .client .getLroResult( - mono, this.client.getHttpPipeline(), AfdEndpointInner.class, AfdEndpointInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), AfdEndpointInner.class, AfdEndpointInner.class, this.client.getContext()); } /** @@ -1045,7 +1045,7 @@ public PollerFlux, AfdEndpointInner> beginUpdateAsy return this .client .getLroResult( - mono, this.client.getHttpPipeline(), AfdEndpointInner.class, AfdEndpointInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), AfdEndpointInner.class, AfdEndpointInner.class, this.client.getContext()); } /** @@ -1366,7 +1366,7 @@ public PollerFlux, Void> beginDeleteAsync( Mono>> mono = deleteWithResponseAsync(resourceGroupName, profileName, endpointName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1657,7 +1657,7 @@ public PollerFlux, Void> beginPurgeContentAsync( purgeContentWithResponseAsync(resourceGroupName, profileName, endpointName, contentPaths, domains); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/AfdOriginGroupsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/AfdOriginGroupsClientImpl.java index 84cc3e4016af6..28d80ec3ed978 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/AfdOriginGroupsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/AfdOriginGroupsClientImpl.java @@ -685,7 +685,7 @@ public PollerFlux, AfdOriginGroupInner> beginCre this.client.getHttpPipeline(), AfdOriginGroupInner.class, AfdOriginGroupInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1014,7 +1014,7 @@ public PollerFlux, AfdOriginGroupInner> beginUpd this.client.getHttpPipeline(), AfdOriginGroupInner.class, AfdOriginGroupInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1317,7 +1317,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, profileName, originGroupName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/AfdOriginsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/AfdOriginsClientImpl.java index 8fa07fafe37fc..13e6266b7b89d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/AfdOriginsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/AfdOriginsClientImpl.java @@ -706,7 +706,7 @@ public PollerFlux, AfdOriginInner> beginCreateAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), AfdOriginInner.class, AfdOriginInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), AfdOriginInner.class, AfdOriginInner.class, this.client.getContext()); } /** @@ -1058,7 +1058,7 @@ public PollerFlux, AfdOriginInner> beginUpdateAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), AfdOriginInner.class, AfdOriginInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), AfdOriginInner.class, AfdOriginInner.class, this.client.getContext()); } /** @@ -1381,7 +1381,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, profileName, originGroupName, originName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/CustomDomainsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/CustomDomainsClientImpl.java index c230e001f8c1d..85fd59d45697d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/CustomDomainsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/CustomDomainsClientImpl.java @@ -712,7 +712,7 @@ public PollerFlux, CustomDomainInner> beginCreateA return this .client .getLroResult( - mono, this.client.getHttpPipeline(), CustomDomainInner.class, CustomDomainInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), CustomDomainInner.class, CustomDomainInner.class, this.client.getContext()); } /** @@ -1069,7 +1069,7 @@ public PollerFlux, CustomDomainInner> beginDeleteA return this .client .getLroResult( - mono, this.client.getHttpPipeline(), CustomDomainInner.class, CustomDomainInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), CustomDomainInner.class, CustomDomainInner.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/EndpointsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/EndpointsClientImpl.java index 46742612d836f..7a228a704ceab 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/EndpointsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/EndpointsClientImpl.java @@ -772,7 +772,7 @@ public PollerFlux, EndpointInner> beginCreateAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), EndpointInner.class, EndpointInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), EndpointInner.class, EndpointInner.class, this.client.getContext()); } /** @@ -1093,7 +1093,7 @@ public PollerFlux, EndpointInner> beginUpdateAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), EndpointInner.class, EndpointInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), EndpointInner.class, EndpointInner.class, this.client.getContext()); } /** @@ -1414,7 +1414,7 @@ public PollerFlux, Void> beginDeleteAsync( Mono>> mono = deleteWithResponseAsync(resourceGroupName, profileName, endpointName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1675,7 +1675,7 @@ public PollerFlux, EndpointInner> beginStartAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), EndpointInner.class, EndpointInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), EndpointInner.class, EndpointInner.class, this.client.getContext()); } /** @@ -1940,7 +1940,7 @@ public PollerFlux, EndpointInner> beginStopAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), EndpointInner.class, EndpointInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), EndpointInner.class, EndpointInner.class, this.client.getContext()); } /** @@ -2217,7 +2217,7 @@ public PollerFlux, Void> beginPurgeContentAsync( purgeContentWithResponseAsync(resourceGroupName, profileName, endpointName, contentPaths); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -2495,7 +2495,7 @@ public PollerFlux, Void> beginLoadContentAsync( loadContentWithResponseAsync(resourceGroupName, profileName, endpointName, contentPaths); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/OriginGroupsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/OriginGroupsClientImpl.java index d1bfa26aff4fb..3f80b26e12cd7 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/OriginGroupsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/OriginGroupsClientImpl.java @@ -708,7 +708,7 @@ public PollerFlux, OriginGroupInner> beginCreateAsy return this .client .getLroResult( - mono, this.client.getHttpPipeline(), OriginGroupInner.class, OriginGroupInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), OriginGroupInner.class, OriginGroupInner.class, this.client.getContext()); } /** @@ -1074,7 +1074,7 @@ public PollerFlux, OriginGroupInner> beginUpdateAsy return this .client .getLroResult( - mono, this.client.getHttpPipeline(), OriginGroupInner.class, OriginGroupInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), OriginGroupInner.class, OriginGroupInner.class, this.client.getContext()); } /** @@ -1408,7 +1408,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, profileName, endpointName, originGroupName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/OriginsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/OriginsClientImpl.java index 2f85e47b824f4..5d632b45f0c79 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/OriginsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/OriginsClientImpl.java @@ -691,7 +691,7 @@ public PollerFlux, OriginInner> beginCreateAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), OriginInner.class, OriginInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), OriginInner.class, OriginInner.class, this.client.getContext()); } /** @@ -1028,7 +1028,7 @@ public PollerFlux, OriginInner> beginUpdateAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), OriginInner.class, OriginInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), OriginInner.class, OriginInner.class, this.client.getContext()); } /** @@ -1349,7 +1349,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, profileName, endpointName, originName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/PoliciesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/PoliciesClientImpl.java index 6a4754c260f7b..c6918564d69f0 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/PoliciesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/PoliciesClientImpl.java @@ -619,7 +619,7 @@ private Mono>> createOrUpdateWithResponseAsync( this.client.getHttpPipeline(), CdnWebApplicationFirewallPolicyInner.class, CdnWebApplicationFirewallPolicyInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -910,7 +910,7 @@ private Mono>> updateWithResponseAsync( this.client.getHttpPipeline(), CdnWebApplicationFirewallPolicyInner.class, CdnWebApplicationFirewallPolicyInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/ProfilesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/ProfilesClientImpl.java index 7b148ef2b4369..1100325ef1e9c 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/ProfilesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/ProfilesClientImpl.java @@ -823,7 +823,7 @@ public PollerFlux, ProfileInner> beginCreateAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), ProfileInner.class, ProfileInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), ProfileInner.class, ProfileInner.class, this.client.getContext()); } /** @@ -1089,7 +1089,7 @@ public PollerFlux, ProfileInner> beginUpdateAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), ProfileInner.class, ProfileInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), ProfileInner.class, ProfileInner.class, this.client.getContext()); } /** @@ -1385,7 +1385,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, profileName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/RoutesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/RoutesClientImpl.java index 408809183843e..750d97776b952 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/RoutesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/RoutesClientImpl.java @@ -703,7 +703,7 @@ public PollerFlux, RouteInner> beginCreateAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), RouteInner.class, RouteInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), RouteInner.class, RouteInner.class, this.client.getContext()); } /** @@ -1048,7 +1048,7 @@ public PollerFlux, RouteInner> beginUpdateAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), RouteInner.class, RouteInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), RouteInner.class, RouteInner.class, this.client.getContext()); } /** @@ -1377,7 +1377,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, profileName, endpointName, routeName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/RuleSetsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/RuleSetsClientImpl.java index aefccd5b0ee0c..19bd2913fec70 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/RuleSetsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/RuleSetsClientImpl.java @@ -640,7 +640,7 @@ public PollerFlux, RuleSetInner> beginCreateAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), RuleSetInner.class, RuleSetInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), RuleSetInner.class, RuleSetInner.class, this.client.getContext()); } /** @@ -897,7 +897,7 @@ public PollerFlux, Void> beginDeleteAsync( Mono>> mono = deleteWithResponseAsync(resourceGroupName, profileName, ruleSetName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/RulesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/RulesClientImpl.java index 809c0ac3ece32..a2fdc234f1b1a 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/RulesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/RulesClientImpl.java @@ -688,7 +688,7 @@ public PollerFlux, RuleInner> beginCreateAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), RuleInner.class, RuleInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), RuleInner.class, RuleInner.class, this.client.getContext()); } /** @@ -1022,7 +1022,7 @@ public PollerFlux, RuleInner> beginUpdateAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), RuleInner.class, RuleInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), RuleInner.class, RuleInner.class, this.client.getContext()); } /** @@ -1341,7 +1341,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, profileName, ruleSetName, ruleName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/SecretsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/SecretsClientImpl.java index cafc1e7b0362a..119014f969291 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/SecretsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/SecretsClientImpl.java @@ -639,7 +639,7 @@ public PollerFlux, SecretInner> beginCreateAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), SecretInner.class, SecretInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), SecretInner.class, SecretInner.class, this.client.getContext()); } /** @@ -956,7 +956,7 @@ public PollerFlux, SecretInner> beginUpdateAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), SecretInner.class, SecretInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), SecretInner.class, SecretInner.class, this.client.getContext()); } /** @@ -1256,7 +1256,7 @@ public PollerFlux, Void> beginDeleteAsync( Mono>> mono = deleteWithResponseAsync(resourceGroupName, profileName, secretName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/SecurityPoliciesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/SecurityPoliciesClientImpl.java index 3370d0a6d6232..56ee7cbac0027 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/SecurityPoliciesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cdn/src/main/java/com/azure/resourcemanager/cdn/implementation/SecurityPoliciesClientImpl.java @@ -654,7 +654,7 @@ public PollerFlux, SecurityPolicyInner> beginCre this.client.getHttpPipeline(), SecurityPolicyInner.class, SecurityPolicyInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -999,7 +999,7 @@ public PollerFlux, SecurityPolicyInner> beginPat this.client.getHttpPipeline(), SecurityPolicyInner.class, SecurityPolicyInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1319,7 +1319,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, profileName, securityPolicyName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CapacityReservationsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CapacityReservationsClientImpl.java index 2efc7d913f4a6..2918078a5e9e0 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CapacityReservationsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CapacityReservationsClientImpl.java @@ -336,7 +336,7 @@ public PollerFlux, CapacityReservationInner this.client.getHttpPipeline(), CapacityReservationInner.class, CapacityReservationInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -690,7 +690,7 @@ public PollerFlux, CapacityReservationInner this.client.getHttpPipeline(), CapacityReservationInner.class, CapacityReservationInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1013,7 +1013,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, capacityReservationGroupName, capacityReservationName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CloudServiceRoleInstancesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CloudServiceRoleInstancesClientImpl.java index f4c13a2d05607..532651a72af37 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CloudServiceRoleInstancesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CloudServiceRoleInstancesClientImpl.java @@ -345,7 +345,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(roleInstanceName, resourceGroupName, cloudServiceName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1201,7 +1201,7 @@ public PollerFlux, Void> beginRestartAsync( restartWithResponseAsync(roleInstanceName, resourceGroupName, cloudServiceName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1462,7 +1462,7 @@ public PollerFlux, Void> beginReimageAsync( reimageWithResponseAsync(roleInstanceName, resourceGroupName, cloudServiceName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1733,7 +1733,7 @@ public PollerFlux, Void> beginRebuildAsync( rebuildWithResponseAsync(roleInstanceName, resourceGroupName, cloudServiceName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CloudServicesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CloudServicesClientImpl.java index 2675464041256..fe73dfb7979fb 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CloudServicesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CloudServicesClientImpl.java @@ -423,7 +423,7 @@ public PollerFlux, CloudServiceInner> beginCreateO return this .client .getLroResult( - mono, this.client.getHttpPipeline(), CloudServiceInner.class, CloudServiceInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), CloudServiceInner.class, CloudServiceInner.class, this.client.getContext()); } /** @@ -720,7 +720,7 @@ public PollerFlux, CloudServiceInner> beginUpdateA return this .client .getLroResult( - mono, this.client.getHttpPipeline(), CloudServiceInner.class, CloudServiceInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), CloudServiceInner.class, CloudServiceInner.class, this.client.getContext()); } /** @@ -1001,7 +1001,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, cloudServiceName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1853,7 +1853,7 @@ public PollerFlux, Void> beginStartAsync(String resourceGroupNa Mono>> mono = startWithResponseAsync(resourceGroupName, cloudServiceName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -2089,7 +2089,7 @@ public PollerFlux, Void> beginPowerOffAsync(String resourceGrou Mono>> mono = powerOffWithResponseAsync(resourceGroupName, cloudServiceName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -2342,7 +2342,7 @@ public PollerFlux, Void> beginRestartAsync( restartWithResponseAsync(resourceGroupName, cloudServiceName, parameters); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -2631,7 +2631,7 @@ public PollerFlux, Void> beginReimageAsync( reimageWithResponseAsync(resourceGroupName, cloudServiceName, parameters); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -2926,7 +2926,7 @@ public PollerFlux, Void> beginRebuildAsync( rebuildWithResponseAsync(resourceGroupName, cloudServiceName, parameters); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -3233,7 +3233,7 @@ public PollerFlux, Void> beginDeleteInstancesAsync( deleteInstancesWithResponseAsync(resourceGroupName, cloudServiceName, parameters); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CloudServicesUpdateDomainsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CloudServicesUpdateDomainsClientImpl.java index 59d24576314f8..2a37a3fb95e7a 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CloudServicesUpdateDomainsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/CloudServicesUpdateDomainsClientImpl.java @@ -265,7 +265,7 @@ public PollerFlux, Void> beginWalkUpdateDomainAsync( walkUpdateDomainWithResponseAsync(resourceGroupName, cloudServiceName, updateDomain, parameters); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/DedicatedHostsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/DedicatedHostsClientImpl.java index b65127ef1844a..bdb53172c8cd0 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/DedicatedHostsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/DedicatedHostsClientImpl.java @@ -306,7 +306,7 @@ public PollerFlux, DedicatedHostInner> beginCreat return this .client .getLroResult( - mono, this.client.getHttpPipeline(), DedicatedHostInner.class, DedicatedHostInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), DedicatedHostInner.class, DedicatedHostInner.class, this.client.getContext()); } /** @@ -610,7 +610,7 @@ public PollerFlux, DedicatedHostInner> beginUpdat return this .client .getLroResult( - mono, this.client.getHttpPipeline(), DedicatedHostInner.class, DedicatedHostInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), DedicatedHostInner.class, DedicatedHostInner.class, this.client.getContext()); } /** @@ -888,7 +888,7 @@ public PollerFlux, Void> beginDeleteAsync( Mono>> mono = deleteWithResponseAsync(resourceGroupName, hostGroupName, hostname); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/DiskAccessesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/DiskAccessesClientImpl.java index 8e39ca4d66cbe..5dc832ee5d61a 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/DiskAccessesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/DiskAccessesClientImpl.java @@ -412,7 +412,7 @@ public PollerFlux, DiskAccessInner> beginCreateOrUpd return this .client .getLroResult( - mono, this.client.getHttpPipeline(), DiskAccessInner.class, DiskAccessInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), DiskAccessInner.class, DiskAccessInner.class, this.client.getContext()); } /** @@ -695,7 +695,7 @@ public PollerFlux, DiskAccessInner> beginUpdateAsync return this .client .getLroResult( - mono, this.client.getHttpPipeline(), DiskAccessInner.class, DiskAccessInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), DiskAccessInner.class, DiskAccessInner.class, this.client.getContext()); } /** @@ -1121,7 +1121,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, diskAccessName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1894,7 +1894,7 @@ private Mono>> updateAPrivateEndpointConnectionWithRes this.client.getHttpPipeline(), PrivateEndpointConnectionInner.class, PrivateEndpointConnectionInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -2431,7 +2431,7 @@ public PollerFlux, Void> beginDeleteAPrivateEndpointConnectionA resourceGroupName, diskAccessName, privateEndpointConnectionName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/DiskEncryptionSetsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/DiskEncryptionSetsClientImpl.java index 525aefa372840..bc839987802bf 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/DiskEncryptionSetsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/DiskEncryptionSetsClientImpl.java @@ -359,7 +359,7 @@ public PollerFlux, DiskEncryptionSetInner> be this.client.getHttpPipeline(), DiskEncryptionSetInner.class, DiskEncryptionSetInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -682,7 +682,7 @@ public PollerFlux, DiskEncryptionSetInner> be this.client.getHttpPipeline(), DiskEncryptionSetInner.class, DiskEncryptionSetInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1138,7 +1138,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, diskEncryptionSetName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/DiskRestorePointsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/DiskRestorePointsClientImpl.java index ca124b211b153..8badf21bc84dd 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/DiskRestorePointsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/DiskRestorePointsClientImpl.java @@ -752,7 +752,7 @@ public PollerFlux, AccessUriInner> beginGrantAccessAs return this .client .getLroResult( - mono, this.client.getHttpPipeline(), AccessUriInner.class, AccessUriInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), AccessUriInner.class, AccessUriInner.class, this.client.getContext()); } /** @@ -1133,7 +1133,7 @@ public PollerFlux, Void> beginRevokeAccessAsync( resourceGroupName, restorePointCollectionName, vmRestorePointName, diskRestorePointName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/DisksClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/DisksClientImpl.java index aac96f49fd7d2..f812560f55825 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/DisksClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/DisksClientImpl.java @@ -344,7 +344,7 @@ public PollerFlux, DiskInner> beginCreateOrUpdateAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), DiskInner.class, DiskInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), DiskInner.class, DiskInner.class, this.client.getContext()); } /** @@ -625,7 +625,7 @@ public PollerFlux, DiskInner> beginUpdateAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), DiskInner.class, DiskInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), DiskInner.class, DiskInner.class, this.client.getContext()); } /** @@ -1042,7 +1042,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, diskName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1607,7 +1607,7 @@ public PollerFlux, AccessUriInner> beginGrantAccessAs return this .client .getLroResult( - mono, this.client.getHttpPipeline(), AccessUriInner.class, AccessUriInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), AccessUriInner.class, AccessUriInner.class, this.client.getContext()); } /** @@ -1868,7 +1868,7 @@ public PollerFlux, Void> beginRevokeAccessAsync(String resource Mono>> mono = revokeAccessWithResponseAsync(resourceGroupName, diskName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/GalleriesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/GalleriesClientImpl.java index 9b4297d864afb..65e51cc26da16 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/GalleriesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/GalleriesClientImpl.java @@ -316,7 +316,7 @@ public PollerFlux, GalleryInner> beginCreateOrUpdateAsy return this .client .getLroResult( - mono, this.client.getHttpPipeline(), GalleryInner.class, GalleryInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), GalleryInner.class, GalleryInner.class, this.client.getContext()); } /** @@ -588,7 +588,7 @@ public PollerFlux, GalleryInner> beginUpdateAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), GalleryInner.class, GalleryInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), GalleryInner.class, GalleryInner.class, this.client.getContext()); } /** @@ -1021,7 +1021,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, galleryName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/GalleryApplicationVersionsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/GalleryApplicationVersionsClientImpl.java index afd1b189d86f2..69e75e7270fdf 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/GalleryApplicationVersionsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/GalleryApplicationVersionsClientImpl.java @@ -372,7 +372,7 @@ private Mono>> createOrUpdateWithResponseAsync( this.client.getHttpPipeline(), GalleryApplicationVersionInner.class, GalleryApplicationVersionInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -828,7 +828,7 @@ public PollerFlux, GalleryApplication this.client.getHttpPipeline(), GalleryApplicationVersionInner.class, GalleryApplicationVersionInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1495,7 +1495,7 @@ public PollerFlux, Void> beginDeleteAsync( resourceGroupName, galleryName, galleryApplicationName, galleryApplicationVersionName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/GalleryApplicationsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/GalleryApplicationsClientImpl.java index 7fbad420470f8..3ce9f201d3eca 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/GalleryApplicationsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/GalleryApplicationsClientImpl.java @@ -330,7 +330,7 @@ public PollerFlux, GalleryApplicationInner> this.client.getHttpPipeline(), GalleryApplicationInner.class, GalleryApplicationInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -698,7 +698,7 @@ public PollerFlux, GalleryApplicationInner> this.client.getHttpPipeline(), GalleryApplicationInner.class, GalleryApplicationInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1199,7 +1199,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, galleryName, galleryApplicationName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/GalleryImageVersionsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/GalleryImageVersionsClientImpl.java index 4aaba936e8fe1..a9514750a0f78 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/GalleryImageVersionsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/GalleryImageVersionsClientImpl.java @@ -352,7 +352,7 @@ public PollerFlux, GalleryImageVersionInner this.client.getHttpPipeline(), GalleryImageVersionInner.class, GalleryImageVersionInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -751,7 +751,7 @@ public PollerFlux, GalleryImageVersionInner this.client.getHttpPipeline(), GalleryImageVersionInner.class, GalleryImageVersionInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1351,7 +1351,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, galleryName, galleryImageName, galleryImageVersionName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/GalleryImagesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/GalleryImagesClientImpl.java index 76caf9f14e493..19429eaf9e0d7 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/GalleryImagesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/GalleryImagesClientImpl.java @@ -313,7 +313,7 @@ public PollerFlux, GalleryImageInner> beginCreateO return this .client .getLroResult( - mono, this.client.getHttpPipeline(), GalleryImageInner.class, GalleryImageInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), GalleryImageInner.class, GalleryImageInner.class, this.client.getContext()); } /** @@ -639,7 +639,7 @@ public PollerFlux, GalleryImageInner> beginUpdateA return this .client .getLroResult( - mono, this.client.getHttpPipeline(), GalleryImageInner.class, GalleryImageInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), GalleryImageInner.class, GalleryImageInner.class, this.client.getContext()); } /** @@ -1105,7 +1105,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, galleryName, galleryImageName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/GallerySharingProfilesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/GallerySharingProfilesClientImpl.java index f8089eb1362e8..d961845169b4d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/GallerySharingProfilesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/GallerySharingProfilesClientImpl.java @@ -206,7 +206,7 @@ public PollerFlux, SharingUpdateInner> beginUpdat return this .client .getLroResult( - mono, this.client.getHttpPipeline(), SharingUpdateInner.class, SharingUpdateInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), SharingUpdateInner.class, SharingUpdateInner.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/ImagesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/ImagesClientImpl.java index 5f62bd6ceaa2f..c277171fd37d1 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/ImagesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/ImagesClientImpl.java @@ -307,7 +307,7 @@ public PollerFlux, ImageInner> beginCreateOrUpdateAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), ImageInner.class, ImageInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), ImageInner.class, ImageInner.class, this.client.getContext()); } /** @@ -569,7 +569,7 @@ public PollerFlux, ImageInner> beginUpdateAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), ImageInner.class, ImageInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), ImageInner.class, ImageInner.class, this.client.getContext()); } /** @@ -808,7 +808,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, imageName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/LogAnalyticsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/LogAnalyticsClientImpl.java index 5c4a385b34c15..13a73acc2dee8 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/LogAnalyticsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/LogAnalyticsClientImpl.java @@ -215,7 +215,7 @@ private Mono>> exportRequestRateByIntervalWithResponse this.client.getHttpPipeline(), LogAnalyticsOperationResultInner.class, LogAnalyticsOperationResultInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -474,7 +474,7 @@ private Mono>> exportThrottledRequestsWithResponseAsyn this.client.getHttpPipeline(), LogAnalyticsOperationResultInner.class, LogAnalyticsOperationResultInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/RestorePointCollectionsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/RestorePointCollectionsClientImpl.java index 74bd927550629..612567c7442ed 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/RestorePointCollectionsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/RestorePointCollectionsClientImpl.java @@ -678,7 +678,7 @@ public PollerFlux, Void> beginDeleteAsync( Mono>> mono = deleteWithResponseAsync(resourceGroupName, restorePointCollectionName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/RestorePointsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/RestorePointsClientImpl.java index 6d3653c12bb17..2be016c1d2399 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/RestorePointsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/RestorePointsClientImpl.java @@ -270,7 +270,7 @@ public PollerFlux, RestorePointInner> beginCreateA return this .client .getLroResult( - mono, this.client.getHttpPipeline(), RestorePointInner.class, RestorePointInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), RestorePointInner.class, RestorePointInner.class, this.client.getContext()); } /** @@ -574,7 +574,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, restorePointCollectionName, restorePointName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/SnapshotsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/SnapshotsClientImpl.java index df3b48fe2298f..26aaa238987cf 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/SnapshotsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/SnapshotsClientImpl.java @@ -349,7 +349,7 @@ public PollerFlux, SnapshotInner> beginCreateOrUpdateA return this .client .getLroResult( - mono, this.client.getHttpPipeline(), SnapshotInner.class, SnapshotInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), SnapshotInner.class, SnapshotInner.class, this.client.getContext()); } /** @@ -632,7 +632,7 @@ public PollerFlux, SnapshotInner> beginUpdateAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), SnapshotInner.class, SnapshotInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), SnapshotInner.class, SnapshotInner.class, this.client.getContext()); } /** @@ -1053,7 +1053,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, snapshotName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1619,7 +1619,7 @@ public PollerFlux, AccessUriInner> beginGrantAccessAs return this .client .getLroResult( - mono, this.client.getHttpPipeline(), AccessUriInner.class, AccessUriInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), AccessUriInner.class, AccessUriInner.class, this.client.getContext()); } /** @@ -1881,7 +1881,7 @@ public PollerFlux, Void> beginRevokeAccessAsync(String resource Mono>> mono = revokeAccessWithResponseAsync(resourceGroupName, snapshotName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineExtensionsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineExtensionsClientImpl.java index 202be30bdfb85..b111f589ad1cf 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineExtensionsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineExtensionsClientImpl.java @@ -307,7 +307,7 @@ public PollerFlux, VirtualMachineExtens this.client.getHttpPipeline(), VirtualMachineExtensionInner.class, VirtualMachineExtensionInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -639,7 +639,7 @@ public PollerFlux, VirtualMachineExtens this.client.getHttpPipeline(), VirtualMachineExtensionInner.class, VirtualMachineExtensionInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -933,7 +933,7 @@ public PollerFlux, Void> beginDeleteAsync( Mono>> mono = deleteWithResponseAsync(resourceGroupName, vmName, vmExtensionName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineRunCommandsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineRunCommandsClientImpl.java index 23d8a8da21cf8..d872913bc02e2 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineRunCommandsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineRunCommandsClientImpl.java @@ -653,7 +653,7 @@ private Mono>> createOrUpdateWithResponseAsync( this.client.getHttpPipeline(), VirtualMachineRunCommandInner.class, VirtualMachineRunCommandInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -965,7 +965,7 @@ public PollerFlux, VirtualMachineRunCo this.client.getHttpPipeline(), VirtualMachineRunCommandInner.class, VirtualMachineRunCommandInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1251,7 +1251,7 @@ public PollerFlux, Void> beginDeleteAsync( Mono>> mono = deleteWithResponseAsync(resourceGroupName, vmName, runCommandName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetExtensionsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetExtensionsClientImpl.java index 5399b9c517715..2cc589ef313b1 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetExtensionsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetExtensionsClientImpl.java @@ -326,7 +326,7 @@ private Mono>> createOrUpdateWithResponseAsync( this.client.getHttpPipeline(), VirtualMachineScaleSetExtensionInner.class, VirtualMachineScaleSetExtensionInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -666,7 +666,7 @@ private Mono>> updateWithResponseAsync( this.client.getHttpPipeline(), VirtualMachineScaleSetExtensionInner.class, VirtualMachineScaleSetExtensionInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -965,7 +965,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, vmScaleSetName, vmssExtensionName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetRollingUpgradesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetRollingUpgradesClientImpl.java index c9bd2060b22b3..75f8251191466 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetRollingUpgradesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetRollingUpgradesClientImpl.java @@ -232,7 +232,7 @@ public PollerFlux, Void> beginCancelAsync(String resourceGroupN Mono>> mono = cancelWithResponseAsync(resourceGroupName, vmScaleSetName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -463,7 +463,7 @@ public PollerFlux, Void> beginStartOSUpgradeAsync( Mono>> mono = startOSUpgradeWithResponseAsync(resourceGroupName, vmScaleSetName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -703,7 +703,7 @@ public PollerFlux, Void> beginStartExtensionUpgradeAsync( startExtensionUpgradeWithResponseAsync(resourceGroupName, vmScaleSetName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetVMExtensionsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetVMExtensionsClientImpl.java index b52e010c8de21..896bc9c92cffb 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetVMExtensionsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetVMExtensionsClientImpl.java @@ -334,7 +334,7 @@ private Mono>> createOrUpdateWithResponseAsync( this.client.getHttpPipeline(), VirtualMachineScaleSetVMExtensionInner.class, VirtualMachineScaleSetVMExtensionInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -707,7 +707,7 @@ private Mono>> updateWithResponseAsync( this.client.getHttpPipeline(), VirtualMachineScaleSetVMExtensionInner.class, VirtualMachineScaleSetVMExtensionInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1039,7 +1039,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, vmScaleSetName, instanceId, vmExtensionName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetVMRunCommandsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetVMRunCommandsClientImpl.java index 4a19bb58c91f6..9445b4263c95c 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetVMRunCommandsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetVMRunCommandsClientImpl.java @@ -343,7 +343,7 @@ private Mono>> createOrUpdateWithResponseAsync( this.client.getHttpPipeline(), VirtualMachineRunCommandInner.class, VirtualMachineRunCommandInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -704,7 +704,7 @@ public PollerFlux, VirtualMachineRunCo this.client.getHttpPipeline(), VirtualMachineRunCommandInner.class, VirtualMachineRunCommandInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1027,7 +1027,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, vmScaleSetName, instanceId, runCommandName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetVMsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetVMsClientImpl.java index 0a2b633ce9509..229c4a744de68 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetVMsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetVMsClientImpl.java @@ -484,7 +484,7 @@ public PollerFlux, Void> beginReimageAsync( reimageWithResponseAsync(resourceGroupName, vmScaleSetName, instanceId, vmScaleSetVMReimageInput); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -809,7 +809,7 @@ public PollerFlux, Void> beginReimageAllAsync( reimageAllWithResponseAsync(resourceGroupName, vmScaleSetName, instanceId); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1069,7 +1069,7 @@ public PollerFlux, Void> beginDeallocateAsync( deallocateWithResponseAsync(resourceGroupName, vmScaleSetName, instanceId); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1354,7 +1354,7 @@ public PollerFlux, VirtualMachineScale this.client.getHttpPipeline(), VirtualMachineScaleSetVMInner.class, VirtualMachineScaleSetVMInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1645,7 +1645,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, vmScaleSetName, instanceId, forceDeletion); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -2584,7 +2584,7 @@ public PollerFlux, Void> beginPowerOffAsync( powerOffWithResponseAsync(resourceGroupName, vmScaleSetName, instanceId, skipShutdown); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -2900,7 +2900,7 @@ public PollerFlux, Void> beginRestartAsync( Mono>> mono = restartWithResponseAsync(resourceGroupName, vmScaleSetName, instanceId); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -3149,7 +3149,7 @@ public PollerFlux, Void> beginStartAsync( Mono>> mono = startWithResponseAsync(resourceGroupName, vmScaleSetName, instanceId); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -3398,7 +3398,7 @@ public PollerFlux, Void> beginRedeployAsync( redeployWithResponseAsync(resourceGroupName, vmScaleSetName, instanceId); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -3869,7 +3869,7 @@ public PollerFlux, Void> beginPerformMaintenanceAsync( performMaintenanceWithResponseAsync(resourceGroupName, vmScaleSetName, instanceId); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -4300,7 +4300,7 @@ public PollerFlux, RunCommandResultInner> begi this.client.getHttpPipeline(), RunCommandResultInner.class, RunCommandResultInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetsClientImpl.java index 7912e40d19743..3ddd4c5c5ac67 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetsClientImpl.java @@ -776,7 +776,7 @@ public PollerFlux, VirtualMachineScaleSe this.client.getHttpPipeline(), VirtualMachineScaleSetInner.class, VirtualMachineScaleSetInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1048,7 +1048,7 @@ public PollerFlux, VirtualMachineScaleSe this.client.getHttpPipeline(), VirtualMachineScaleSetInner.class, VirtualMachineScaleSetInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1302,7 +1302,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, vmScaleSetName, forceDeletion); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1778,7 +1778,7 @@ public PollerFlux, Void> beginDeallocateAsync( deallocateWithResponseAsync(resourceGroupName, vmScaleSetName, vmInstanceIDs); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -2107,7 +2107,7 @@ public PollerFlux, Void> beginDeleteInstancesAsync( deleteInstancesWithResponseAsync(resourceGroupName, vmScaleSetName, vmInstanceIDs, forceDeletion); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -3301,7 +3301,7 @@ public PollerFlux, Void> beginPowerOffAsync( powerOffWithResponseAsync(resourceGroupName, vmScaleSetName, skipShutdown, vmInstanceIDs); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -3648,7 +3648,7 @@ public PollerFlux, Void> beginRestartAsync( restartWithResponseAsync(resourceGroupName, vmScaleSetName, vmInstanceIDs); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -3949,7 +3949,7 @@ public PollerFlux, Void> beginStartAsync( startWithResponseAsync(resourceGroupName, vmScaleSetName, vmInstanceIDs); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -4253,7 +4253,7 @@ public PollerFlux, Void> beginRedeployAsync( redeployWithResponseAsync(resourceGroupName, vmScaleSetName, vmInstanceIDs); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -4569,7 +4569,7 @@ public PollerFlux, Void> beginPerformMaintenanceAsync( performMaintenanceWithResponseAsync(resourceGroupName, vmScaleSetName, vmInstanceIDs); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -4892,7 +4892,7 @@ public PollerFlux, Void> beginUpdateInstancesAsync( updateInstancesWithResponseAsync(resourceGroupName, vmScaleSetName, vmInstanceIDs); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -5170,7 +5170,7 @@ public PollerFlux, Void> beginReimageAsync( reimageWithResponseAsync(resourceGroupName, vmScaleSetName, vmScaleSetReimageInput); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -5498,7 +5498,7 @@ public PollerFlux, Void> beginReimageAllAsync( reimageAllWithResponseAsync(resourceGroupName, vmScaleSetName, vmInstanceIDs); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -6141,7 +6141,7 @@ public PollerFlux, Void> beginSetOrchestrationServiceStateAsync setOrchestrationServiceStateWithResponseAsync(resourceGroupName, vmScaleSetName, parameters); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachinesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachinesClientImpl.java index 72a8f0db3373b..8c9d9cca017d1 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachinesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachinesClientImpl.java @@ -781,7 +781,7 @@ public PollerFlux, VirtualMachineCa this.client.getHttpPipeline(), VirtualMachineCaptureResultInner.class, VirtualMachineCaptureResultInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1064,7 +1064,7 @@ public PollerFlux, VirtualMachineInner> beginCre this.client.getHttpPipeline(), VirtualMachineInner.class, VirtualMachineInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1338,7 +1338,7 @@ public PollerFlux, VirtualMachineInner> beginUpd this.client.getHttpPipeline(), VirtualMachineInner.class, VirtualMachineInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1585,7 +1585,7 @@ public PollerFlux, Void> beginDeleteAsync( Mono>> mono = deleteWithResponseAsync(resourceGroupName, vmName, forceDeletion); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -2203,7 +2203,7 @@ public PollerFlux, Void> beginConvertToManagedDisksAsync(String Mono>> mono = convertToManagedDisksWithResponseAsync(resourceGroupName, vmName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -2447,7 +2447,7 @@ public PollerFlux, Void> beginDeallocateAsync( Mono>> mono = deallocateWithResponseAsync(resourceGroupName, vmName, hibernate); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -3399,7 +3399,7 @@ public PollerFlux, Void> beginPowerOffAsync( Mono>> mono = powerOffWithResponseAsync(resourceGroupName, vmName, skipShutdown); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -3694,7 +3694,7 @@ public PollerFlux, Void> beginReapplyAsync(String resourceGroup Mono>> mono = reapplyWithResponseAsync(resourceGroupName, vmName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -3917,7 +3917,7 @@ public PollerFlux, Void> beginRestartAsync(String resourceGroup Mono>> mono = restartWithResponseAsync(resourceGroupName, vmName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -4140,7 +4140,7 @@ public PollerFlux, Void> beginStartAsync(String resourceGroupNa Mono>> mono = startWithResponseAsync(resourceGroupName, vmName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -4363,7 +4363,7 @@ public PollerFlux, Void> beginRedeployAsync(String resourceGrou Mono>> mono = redeployWithResponseAsync(resourceGroupName, vmName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -4599,7 +4599,7 @@ public PollerFlux, Void> beginReimageAsync( Mono>> mono = reimageWithResponseAsync(resourceGroupName, vmName, parameters); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -5065,7 +5065,7 @@ public PollerFlux, Void> beginPerformMaintenanceAsync(String re Mono>> mono = performMaintenanceWithResponseAsync(resourceGroupName, vmName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -5438,7 +5438,7 @@ private Mono>> assessPatchesWithResponseAsync( this.client.getHttpPipeline(), VirtualMachineAssessPatchesResultInner.class, VirtualMachineAssessPatchesResultInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -5705,7 +5705,7 @@ private Mono>> installPatchesWithResponseAsync( this.client.getHttpPipeline(), VirtualMachineInstallPatchesResultInner.class, VirtualMachineInstallPatchesResultInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -5992,7 +5992,7 @@ public PollerFlux, RunCommandResultInner> begi this.client.getHttpPipeline(), RunCommandResultInner.class, RunCommandResultInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/implementation/ContainerGroupsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/implementation/ContainerGroupsClientImpl.java index 2e92e0d172d85..2b46214991061 100644 --- a/sdk/resourcemanager/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/implementation/ContainerGroupsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-containerinstance/src/main/java/com/azure/resourcemanager/containerinstance/implementation/ContainerGroupsClientImpl.java @@ -867,7 +867,7 @@ public PollerFlux, ContainerGroupInner> beginCre this.client.getHttpPipeline(), ContainerGroupInner.class, ContainerGroupInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1288,7 +1288,7 @@ public PollerFlux, ContainerGroupInner> beginDel this.client.getHttpPipeline(), ContainerGroupInner.class, ContainerGroupInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1534,7 +1534,7 @@ public PollerFlux, Void> beginRestartAsync(String resourceGroup Mono>> mono = restartWithResponseAsync(resourceGroupName, containerGroupName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1914,7 +1914,7 @@ public PollerFlux, Void> beginStartAsync(String resourceGroupNa Mono>> mono = startWithResponseAsync(resourceGroupName, containerGroupName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/AgentPoolsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/AgentPoolsClientImpl.java index b6f02eb780f92..14cfd4aea3061 100644 --- a/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/AgentPoolsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/AgentPoolsClientImpl.java @@ -487,7 +487,7 @@ public PollerFlux, AgentPoolInner> beginCreateAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), AgentPoolInner.class, AgentPoolInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), AgentPoolInner.class, AgentPoolInner.class, this.client.getContext()); } /** @@ -769,7 +769,7 @@ public PollerFlux, Void> beginDeleteAsync( Mono>> mono = deleteWithResponseAsync(resourceGroupName, registryName, agentPoolName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1051,7 +1051,7 @@ public PollerFlux, AgentPoolInner> beginUpdateAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), AgentPoolInner.class, AgentPoolInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), AgentPoolInner.class, AgentPoolInner.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/ExportPipelinesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/ExportPipelinesClientImpl.java index 7affc72ed486f..7366e6238fbfb 100644 --- a/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/ExportPipelinesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/ExportPipelinesClientImpl.java @@ -471,7 +471,7 @@ public PollerFlux, ExportPipelineInner> beginCre this.client.getHttpPipeline(), ExportPipelineInner.class, ExportPipelineInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -767,7 +767,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, registryName, exportPipelineName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/ImportPipelinesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/ImportPipelinesClientImpl.java index 0cf124940ee45..af5b4fd14ca70 100644 --- a/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/ImportPipelinesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/ImportPipelinesClientImpl.java @@ -471,7 +471,7 @@ public PollerFlux, ImportPipelineInner> beginCre this.client.getHttpPipeline(), ImportPipelineInner.class, ImportPipelineInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -767,7 +767,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, registryName, importPipelineName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/PipelineRunsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/PipelineRunsClientImpl.java index 020dffece2460..37b55c32cda65 100644 --- a/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/PipelineRunsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/PipelineRunsClientImpl.java @@ -465,7 +465,7 @@ public PollerFlux, PipelineRunInner> beginCreateAsy return this .client .getLroResult( - mono, this.client.getHttpPipeline(), PipelineRunInner.class, PipelineRunInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), PipelineRunInner.class, PipelineRunInner.class, this.client.getContext()); } /** @@ -759,7 +759,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, registryName, pipelineRunName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/PrivateEndpointConnectionsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/PrivateEndpointConnectionsClientImpl.java index 8a2fdea8bacc7..fbd77581064c9 100644 --- a/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/PrivateEndpointConnectionsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/PrivateEndpointConnectionsClientImpl.java @@ -483,7 +483,7 @@ private Mono>> createOrUpdateWithResponseAsync( this.client.getHttpPipeline(), PrivateEndpointConnectionInner.class, PrivateEndpointConnectionInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -793,7 +793,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, registryName, privateEndpointConnectionName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/RegistriesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/RegistriesClientImpl.java index 73f52193b9f30..e4019d3d15ac5 100644 --- a/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/RegistriesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/RegistriesClientImpl.java @@ -466,7 +466,7 @@ public PollerFlux, Void> beginImportImageAsync( importImageWithResponseAsync(resourceGroupName, registryName, parameters); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1026,7 +1026,7 @@ public PollerFlux, RegistryInner> beginCreateAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), RegistryInner.class, RegistryInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), RegistryInner.class, RegistryInner.class, this.client.getContext()); } /** @@ -1266,7 +1266,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, registryName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1520,7 +1520,7 @@ public PollerFlux, RegistryInner> beginUpdateAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), RegistryInner.class, RegistryInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), RegistryInner.class, RegistryInner.class, this.client.getContext()); } /** @@ -2770,7 +2770,7 @@ public PollerFlux, RunInner> beginScheduleRunAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), RunInner.class, RunInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), RunInner.class, RunInner.class, this.client.getContext()); } /** @@ -3200,7 +3200,7 @@ private Mono>> generateCredentialsWithResponseAsync( this.client.getHttpPipeline(), GenerateCredentialsResultInner.class, GenerateCredentialsResultInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/ReplicationsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/ReplicationsClientImpl.java index a4b2d397801b5..a663b7bf1f568 100644 --- a/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/ReplicationsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/ReplicationsClientImpl.java @@ -472,7 +472,7 @@ public PollerFlux, ReplicationInner> beginCreateAsy return this .client .getLroResult( - mono, this.client.getHttpPipeline(), ReplicationInner.class, ReplicationInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), ReplicationInner.class, ReplicationInner.class, this.client.getContext()); } /** @@ -753,7 +753,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, registryName, replicationName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1041,7 +1041,7 @@ public PollerFlux, ReplicationInner> beginUpdateAsy return this .client .getLroResult( - mono, this.client.getHttpPipeline(), ReplicationInner.class, ReplicationInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), ReplicationInner.class, ReplicationInner.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/RunsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/RunsClientImpl.java index e595aadf5882c..3889bed562c2a 100644 --- a/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/RunsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/RunsClientImpl.java @@ -692,7 +692,7 @@ public PollerFlux, RunInner> beginUpdateAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), RunInner.class, RunInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), RunInner.class, RunInner.class, this.client.getContext()); } /** @@ -1138,7 +1138,7 @@ public PollerFlux, Void> beginCancelAsync( Mono>> mono = cancelWithResponseAsync(resourceGroupName, registryName, runId); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/ScopeMapsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/ScopeMapsClientImpl.java index 9c059553b7b15..6d0c49d52d0df 100644 --- a/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/ScopeMapsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/ScopeMapsClientImpl.java @@ -472,7 +472,7 @@ public PollerFlux, ScopeMapInner> beginCreateAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), ScopeMapInner.class, ScopeMapInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), ScopeMapInner.class, ScopeMapInner.class, this.client.getContext()); } /** @@ -752,7 +752,7 @@ public PollerFlux, Void> beginDeleteAsync( Mono>> mono = deleteWithResponseAsync(resourceGroupName, registryName, scopeMapName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1036,7 +1036,7 @@ public PollerFlux, ScopeMapInner> beginUpdateAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), ScopeMapInner.class, ScopeMapInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), ScopeMapInner.class, ScopeMapInner.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/TaskRunsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/TaskRunsClientImpl.java index 5d0763bbbde6a..8533ea09cd443 100644 --- a/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/TaskRunsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/TaskRunsClientImpl.java @@ -481,7 +481,7 @@ public PollerFlux, TaskRunInner> beginCreateAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), TaskRunInner.class, TaskRunInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), TaskRunInner.class, TaskRunInner.class, this.client.getContext()); } /** @@ -747,7 +747,7 @@ public PollerFlux, Void> beginDeleteAsync( Mono>> mono = deleteWithResponseAsync(resourceGroupName, registryName, taskRunName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1022,7 +1022,7 @@ public PollerFlux, TaskRunInner> beginUpdateAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), TaskRunInner.class, TaskRunInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), TaskRunInner.class, TaskRunInner.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/TasksClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/TasksClientImpl.java index 840673b8dab92..ed5836a9298ce 100644 --- a/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/TasksClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/TasksClientImpl.java @@ -665,7 +665,7 @@ public PollerFlux, TaskInner> beginCreateAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), TaskInner.class, TaskInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), TaskInner.class, TaskInner.class, this.client.getContext()); } /** @@ -948,7 +948,7 @@ public PollerFlux, Void> beginDeleteAsync( Mono>> mono = deleteWithResponseAsync(resourceGroupName, registryName, taskName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1223,7 +1223,7 @@ public PollerFlux, TaskInner> beginUpdateAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), TaskInner.class, TaskInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), TaskInner.class, TaskInner.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/TokensClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/TokensClientImpl.java index 358ad3384084a..77a94699d5a67 100644 --- a/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/TokensClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/TokensClientImpl.java @@ -469,7 +469,7 @@ public PollerFlux, TokenInner> beginCreateAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), TokenInner.class, TokenInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), TokenInner.class, TokenInner.class, this.client.getContext()); } /** @@ -748,7 +748,7 @@ public PollerFlux, Void> beginDeleteAsync( Mono>> mono = deleteWithResponseAsync(resourceGroupName, registryName, tokenName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1023,7 +1023,7 @@ public PollerFlux, TokenInner> beginUpdateAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), TokenInner.class, TokenInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), TokenInner.class, TokenInner.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/WebhooksClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/WebhooksClientImpl.java index f0dd7b65a50cb..23e8a94abdeb0 100644 --- a/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/WebhooksClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/implementation/WebhooksClientImpl.java @@ -541,7 +541,7 @@ public PollerFlux, WebhookInner> beginCreateAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), WebhookInner.class, WebhookInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), WebhookInner.class, WebhookInner.class, this.client.getContext()); } /** @@ -829,7 +829,7 @@ public PollerFlux, Void> beginDeleteAsync( Mono>> mono = deleteWithResponseAsync(resourceGroupName, registryName, webhookName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1112,7 +1112,7 @@ public PollerFlux, WebhookInner> beginUpdateAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), WebhookInner.class, WebhookInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), WebhookInner.class, WebhookInner.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/AgentPoolsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/AgentPoolsClientImpl.java index c6b10b189a1b2..d51ddf198254e 100644 --- a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/AgentPoolsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/AgentPoolsClientImpl.java @@ -678,7 +678,7 @@ public PollerFlux, AgentPoolInner> beginCreateOrUpdat return this .client .getLroResult( - mono, this.client.getHttpPipeline(), AgentPoolInner.class, AgentPoolInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), AgentPoolInner.class, AgentPoolInner.class, this.client.getContext()); } /** @@ -961,7 +961,7 @@ public PollerFlux, Void> beginDeleteAsync( Mono>> mono = deleteWithResponseAsync(resourceGroupName, resourceName, agentPoolName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1546,7 +1546,7 @@ public PollerFlux, AgentPoolInner> beginUpgradeNodeIm return this .client .getLroResult( - mono, this.client.getHttpPipeline(), AgentPoolInner.class, AgentPoolInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), AgentPoolInner.class, AgentPoolInner.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/ManagedClustersClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/ManagedClustersClientImpl.java index 20f5cd114b747..d1b8a74e79b47 100644 --- a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/ManagedClustersClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/ManagedClustersClientImpl.java @@ -2062,7 +2062,7 @@ public PollerFlux, ManagedClusterInner> beginCre this.client.getHttpPipeline(), ManagedClusterInner.class, ManagedClusterInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -2331,7 +2331,7 @@ public PollerFlux, ManagedClusterInner> beginUpd this.client.getHttpPipeline(), ManagedClusterInner.class, ManagedClusterInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -2576,7 +2576,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, resourceName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -2825,7 +2825,7 @@ public PollerFlux, Void> beginResetServicePrincipalProfileAsync resetServicePrincipalProfileWithResponseAsync(resourceGroupName, resourceName, parameters); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -3099,7 +3099,7 @@ public PollerFlux, Void> beginResetAadProfileAsync( resetAadProfileWithResponseAsync(resourceGroupName, resourceName, parameters); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -3347,7 +3347,7 @@ public PollerFlux, Void> beginRotateClusterCertificatesAsync( rotateClusterCertificatesWithResponseAsync(resourceGroupName, resourceName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -3595,7 +3595,7 @@ public PollerFlux, Void> beginStopAsync(String resourceGroupNam Mono>> mono = stopWithResponseAsync(resourceGroupName, resourceName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -3847,7 +3847,7 @@ public PollerFlux, Void> beginStartAsync(String resourceGroupNa Mono>> mono = startWithResponseAsync(resourceGroupName, resourceName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -4108,7 +4108,7 @@ public PollerFlux, RunCommandResultInner> begi this.client.getHttpPipeline(), RunCommandResultInner.class, RunCommandResultInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/OpenShiftManagedClustersClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/OpenShiftManagedClustersClientImpl.java index 2e32b690a458e..62b6db737448f 100644 --- a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/OpenShiftManagedClustersClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/OpenShiftManagedClustersClientImpl.java @@ -780,7 +780,7 @@ public PollerFlux, OpenShiftManagedClus this.client.getHttpPipeline(), OpenShiftManagedClusterInner.class, OpenShiftManagedClusterInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1053,7 +1053,7 @@ public PollerFlux, OpenShiftManagedClus this.client.getHttpPipeline(), OpenShiftManagedClusterInner.class, OpenShiftManagedClusterInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1303,7 +1303,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, resourceName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/PrivateEndpointConnectionsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/PrivateEndpointConnectionsClientImpl.java index cb05646d49895..4986f5d417505 100644 --- a/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/PrivateEndpointConnectionsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/implementation/PrivateEndpointConnectionsClientImpl.java @@ -791,7 +791,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, resourceName, privateEndpointConnectionName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/CassandraClustersClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/CassandraClustersClientImpl.java index a0ae87323df77..8c203b6e65f7f 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/CassandraClustersClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/CassandraClustersClientImpl.java @@ -763,7 +763,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, clusterName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1014,7 +1014,7 @@ public PollerFlux, ClusterResourceInner> beginC this.client.getHttpPipeline(), ClusterResourceInner.class, ClusterResourceInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1286,7 +1286,7 @@ public PollerFlux, ClusterResourceInner> beginU this.client.getHttpPipeline(), ClusterResourceInner.class, ClusterResourceInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1546,7 +1546,7 @@ public PollerFlux, CommandOutputInner> beginInvok return this .client .getLroResult( - mono, this.client.getHttpPipeline(), CommandOutputInner.class, CommandOutputInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), CommandOutputInner.class, CommandOutputInner.class, this.client.getContext()); } /** @@ -1795,7 +1795,7 @@ public PollerFlux, Void> beginDeallocateAsync(String resourceGr Mono>> mono = deallocateWithResponseAsync(resourceGroupName, clusterName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -2043,7 +2043,7 @@ public PollerFlux, Void> beginStartAsync(String resourceGroupNa Mono>> mono = startWithResponseAsync(resourceGroupName, clusterName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/CassandraDataCentersClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/CassandraDataCentersClientImpl.java index 81b013d0fd2f0..67af91c73c954 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/CassandraDataCentersClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/CassandraDataCentersClientImpl.java @@ -599,7 +599,7 @@ public PollerFlux, Void> beginDeleteAsync( Mono>> mono = deleteWithResponseAsync(resourceGroupName, clusterName, dataCenterName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -878,7 +878,7 @@ public PollerFlux, DataCenterResourceInner> this.client.getHttpPipeline(), DataCenterResourceInner.class, DataCenterResourceInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1194,7 +1194,7 @@ public PollerFlux, DataCenterResourceInner> this.client.getHttpPipeline(), DataCenterResourceInner.class, DataCenterResourceInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/CassandraResourcesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/CassandraResourcesClientImpl.java index 489e114abd017..147a9fb423aec 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/CassandraResourcesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/CassandraResourcesClientImpl.java @@ -838,7 +838,7 @@ private Mono>> createUpdateCassandraKeyspaceWithRespon this.client.getHttpPipeline(), CassandraKeyspaceGetResultsInner.class, CassandraKeyspaceGetResultsInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1142,7 +1142,7 @@ public PollerFlux, Void> beginDeleteCassandraKeyspaceAsync( deleteCassandraKeyspaceWithResponseAsync(resourceGroupName, accountName, keyspaceName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1611,7 +1611,7 @@ private Mono>> updateCassandraKeyspaceThroughputWithRe this.client.getHttpPipeline(), ThroughputSettingsGetResultsInner.class, ThroughputSettingsGetResultsInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1932,7 +1932,7 @@ private Mono>> migrateCassandraKeyspaceToAutoscaleWith this.client.getHttpPipeline(), ThroughputSettingsGetResultsInner.class, ThroughputSettingsGetResultsInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -2204,7 +2204,7 @@ private Mono>> migrateCassandraKeyspaceToManualThrough this.client.getHttpPipeline(), ThroughputSettingsGetResultsInner.class, ThroughputSettingsGetResultsInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -2888,7 +2888,7 @@ private Mono>> createUpdateCassandraTableWithResponseA this.client.getHttpPipeline(), CassandraTableGetResultsInner.class, CassandraTableGetResultsInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -3217,7 +3217,7 @@ public PollerFlux, Void> beginDeleteCassandraTableAsync( deleteCassandraTableWithResponseAsync(resourceGroupName, accountName, keyspaceName, tableName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -3724,7 +3724,7 @@ private Mono>> updateCassandraTableThroughputWithRespo this.client.getHttpPipeline(), ThroughputSettingsGetResultsInner.class, ThroughputSettingsGetResultsInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -4070,7 +4070,7 @@ private Mono>> migrateCassandraTableToAutoscaleWithRes this.client.getHttpPipeline(), ThroughputSettingsGetResultsInner.class, ThroughputSettingsGetResultsInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -4366,7 +4366,7 @@ private Mono>> migrateCassandraTableToManualThroughput this.client.getHttpPipeline(), ThroughputSettingsGetResultsInner.class, ThroughputSettingsGetResultsInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/DatabaseAccountsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/DatabaseAccountsClientImpl.java index 09e64d27d17b1..4609b8057b704 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/DatabaseAccountsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/DatabaseAccountsClientImpl.java @@ -642,7 +642,7 @@ public PollerFlux, DatabaseAccountGet this.client.getHttpPipeline(), DatabaseAccountGetResultsInner.class, DatabaseAccountGetResultsInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -938,7 +938,7 @@ private Mono>> createOrUpdateWithResponseAsync( this.client.getHttpPipeline(), DatabaseAccountGetResultsInner.class, DatabaseAccountGetResultsInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1203,7 +1203,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, accountName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1451,7 +1451,7 @@ public PollerFlux, Void> beginFailoverPriorityChangeAsync( failoverPriorityChangeWithResponseAsync(resourceGroupName, accountName, failoverParameters); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -2315,7 +2315,7 @@ public PollerFlux, Void> beginOfflineRegionAsync( offlineRegionWithResponseAsync(resourceGroupName, accountName, regionParameterForOffline); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -2594,7 +2594,7 @@ public PollerFlux, Void> beginOnlineRegionAsync( onlineRegionWithResponseAsync(resourceGroupName, accountName, regionParameterForOnline); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -3167,7 +3167,7 @@ public PollerFlux, Void> beginRegenerateKeyAsync( regenerateKeyWithResponseAsync(resourceGroupName, accountName, keyToRegenerate); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/GremlinResourcesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/GremlinResourcesClientImpl.java index 452854addaa75..0aec7b2537a57 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/GremlinResourcesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/GremlinResourcesClientImpl.java @@ -837,7 +837,7 @@ private Mono>> createUpdateGremlinDatabaseWithResponse this.client.getHttpPipeline(), GremlinDatabaseGetResultsInner.class, GremlinDatabaseGetResultsInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1141,7 +1141,7 @@ public PollerFlux, Void> beginDeleteGremlinDatabaseAsync( deleteGremlinDatabaseWithResponseAsync(resourceGroupName, accountName, databaseName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1610,7 +1610,7 @@ private Mono>> updateGremlinDatabaseThroughputWithResp this.client.getHttpPipeline(), ThroughputSettingsGetResultsInner.class, ThroughputSettingsGetResultsInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1930,7 +1930,7 @@ private Mono>> migrateGremlinDatabaseToAutoscaleWithRe this.client.getHttpPipeline(), ThroughputSettingsGetResultsInner.class, ThroughputSettingsGetResultsInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -2202,7 +2202,7 @@ private Mono>> migrateGremlinDatabaseToManualThroughpu this.client.getHttpPipeline(), ThroughputSettingsGetResultsInner.class, ThroughputSettingsGetResultsInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -2884,7 +2884,7 @@ private Mono>> createUpdateGremlinGraphWithResponseAsy this.client.getHttpPipeline(), GremlinGraphGetResultsInner.class, GremlinGraphGetResultsInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -3213,7 +3213,7 @@ public PollerFlux, Void> beginDeleteGremlinGraphAsync( deleteGremlinGraphWithResponseAsync(resourceGroupName, accountName, databaseName, graphName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -3707,7 +3707,7 @@ private Mono>> updateGremlinGraphThroughputWithRespons this.client.getHttpPipeline(), ThroughputSettingsGetResultsInner.class, ThroughputSettingsGetResultsInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -4046,7 +4046,7 @@ private Mono>> migrateGremlinGraphToAutoscaleWithRespo this.client.getHttpPipeline(), ThroughputSettingsGetResultsInner.class, ThroughputSettingsGetResultsInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -4342,7 +4342,7 @@ private Mono>> migrateGremlinGraphToManualThroughputWi this.client.getHttpPipeline(), ThroughputSettingsGetResultsInner.class, ThroughputSettingsGetResultsInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/MongoDBResourcesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/MongoDBResourcesClientImpl.java index b5f8ffd594b59..b438552cc1a00 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/MongoDBResourcesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/MongoDBResourcesClientImpl.java @@ -859,7 +859,7 @@ private Mono>> createUpdateMongoDBDatabaseWithResponse this.client.getHttpPipeline(), MongoDBDatabaseGetResultsInner.class, MongoDBDatabaseGetResultsInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1163,7 +1163,7 @@ public PollerFlux, Void> beginDeleteMongoDBDatabaseAsync( deleteMongoDBDatabaseWithResponseAsync(resourceGroupName, accountName, databaseName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1632,7 +1632,7 @@ private Mono>> updateMongoDBDatabaseThroughputWithResp this.client.getHttpPipeline(), ThroughputSettingsGetResultsInner.class, ThroughputSettingsGetResultsInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1952,7 +1952,7 @@ private Mono>> migrateMongoDBDatabaseToAutoscaleWithRe this.client.getHttpPipeline(), ThroughputSettingsGetResultsInner.class, ThroughputSettingsGetResultsInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -2224,7 +2224,7 @@ private Mono>> migrateMongoDBDatabaseToManualThroughpu this.client.getHttpPipeline(), ThroughputSettingsGetResultsInner.class, ThroughputSettingsGetResultsInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -2908,7 +2908,7 @@ private Mono>> createUpdateMongoDBCollectionWithRespon this.client.getHttpPipeline(), MongoDBCollectionGetResultsInner.class, MongoDBCollectionGetResultsInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -3257,7 +3257,7 @@ public PollerFlux, Void> beginDeleteMongoDBCollectionAsync( deleteMongoDBCollectionWithResponseAsync(resourceGroupName, accountName, databaseName, collectionName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -3768,7 +3768,7 @@ private Mono>> updateMongoDBCollectionThroughputWithRe this.client.getHttpPipeline(), ThroughputSettingsGetResultsInner.class, ThroughputSettingsGetResultsInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -4115,7 +4115,7 @@ private Mono>> migrateMongoDBCollectionToAutoscaleWith this.client.getHttpPipeline(), ThroughputSettingsGetResultsInner.class, ThroughputSettingsGetResultsInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -4415,7 +4415,7 @@ private Mono>> migrateMongoDBCollectionToManualThrough this.client.getHttpPipeline(), ThroughputSettingsGetResultsInner.class, ThroughputSettingsGetResultsInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -4744,7 +4744,7 @@ private Mono>> retrieveContinuousBackupInformationWith this.client.getHttpPipeline(), BackupInformationInner.class, BackupInformationInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/NotebookWorkspacesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/NotebookWorkspacesClientImpl.java index d78a0e841c1ab..268b9bda6c6e0 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/NotebookWorkspacesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/NotebookWorkspacesClientImpl.java @@ -677,7 +677,7 @@ public PollerFlux, NotebookWorkspaceInner> be this.client.getHttpPipeline(), NotebookWorkspaceInner.class, NotebookWorkspaceInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -984,7 +984,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, accountName, notebookWorkspaceName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1407,7 +1407,7 @@ public PollerFlux, Void> beginRegenerateAuthTokenAsync( regenerateAuthTokenWithResponseAsync(resourceGroupName, accountName, notebookWorkspaceName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1665,7 +1665,7 @@ public PollerFlux, Void> beginStartAsync( startWithResponseAsync(resourceGroupName, accountName, notebookWorkspaceName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/PrivateEndpointConnectionsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/PrivateEndpointConnectionsClientImpl.java index 42859bf75734f..eddd61eacbb26 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/PrivateEndpointConnectionsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/PrivateEndpointConnectionsClientImpl.java @@ -631,7 +631,7 @@ private Mono>> createOrUpdateWithResponseAsync( this.client.getHttpPipeline(), PrivateEndpointConnectionInner.class, PrivateEndpointConnectionInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -938,7 +938,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, accountName, privateEndpointConnectionName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/SqlResourcesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/SqlResourcesClientImpl.java index 5cad5c71fbd23..dfe2f40a566bf 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/SqlResourcesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/SqlResourcesClientImpl.java @@ -1227,7 +1227,7 @@ private Mono>> createUpdateSqlDatabaseWithResponseAsyn this.client.getHttpPipeline(), SqlDatabaseGetResultsInner.class, SqlDatabaseGetResultsInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1529,7 +1529,7 @@ public PollerFlux, Void> beginDeleteSqlDatabaseAsync( deleteSqlDatabaseWithResponseAsync(resourceGroupName, accountName, databaseName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1993,7 +1993,7 @@ private Mono>> updateSqlDatabaseThroughputWithResponse this.client.getHttpPipeline(), ThroughputSettingsGetResultsInner.class, ThroughputSettingsGetResultsInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -2306,7 +2306,7 @@ private Mono>> migrateSqlDatabaseToAutoscaleWithRespon this.client.getHttpPipeline(), ThroughputSettingsGetResultsInner.class, ThroughputSettingsGetResultsInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -2577,7 +2577,7 @@ private Mono>> migrateSqlDatabaseToManualThroughputWit this.client.getHttpPipeline(), ThroughputSettingsGetResultsInner.class, ThroughputSettingsGetResultsInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -3257,7 +3257,7 @@ private Mono>> createUpdateSqlContainerWithResponseAsy this.client.getHttpPipeline(), SqlContainerGetResultsInner.class, SqlContainerGetResultsInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -3606,7 +3606,7 @@ public PollerFlux, Void> beginDeleteSqlContainerAsync( deleteSqlContainerWithResponseAsync(resourceGroupName, accountName, databaseName, containerName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -4101,7 +4101,7 @@ private Mono>> updateSqlContainerThroughputWithRespons this.client.getHttpPipeline(), ThroughputSettingsGetResultsInner.class, ThroughputSettingsGetResultsInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -4441,7 +4441,7 @@ private Mono>> migrateSqlContainerToAutoscaleWithRespo this.client.getHttpPipeline(), ThroughputSettingsGetResultsInner.class, ThroughputSettingsGetResultsInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -4737,7 +4737,7 @@ private Mono>> migrateSqlContainerToManualThroughputWi this.client.getHttpPipeline(), ThroughputSettingsGetResultsInner.class, ThroughputSettingsGetResultsInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -5513,7 +5513,7 @@ private Mono>> createUpdateSqlStoredProcedureWithRespo this.client.getHttpPipeline(), SqlStoredProcedureGetResultsInner.class, SqlStoredProcedureGetResultsInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -5922,7 +5922,7 @@ public PollerFlux, Void> beginDeleteSqlStoredProcedureAsync( resourceGroupName, accountName, databaseName, containerName, storedProcedureName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -6736,7 +6736,7 @@ private Mono>> createUpdateSqlUserDefinedFunctionWithR this.client.getHttpPipeline(), SqlUserDefinedFunctionGetResultsInner.class, SqlUserDefinedFunctionGetResultsInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -7154,7 +7154,7 @@ public PollerFlux, Void> beginDeleteSqlUserDefinedFunctionAsync resourceGroupName, accountName, databaseName, containerName, userDefinedFunctionName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -7938,7 +7938,7 @@ private Mono>> createUpdateSqlTriggerWithResponseAsync this.client.getHttpPipeline(), SqlTriggerGetResultsInner.class, SqlTriggerGetResultsInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -8334,7 +8334,7 @@ public PollerFlux, Void> beginDeleteSqlTriggerAsync( deleteSqlTriggerWithResponseAsync(resourceGroupName, accountName, databaseName, containerName, triggerName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -8835,7 +8835,7 @@ private Mono>> createUpdateSqlRoleDefinitionWithRespon this.client.getHttpPipeline(), SqlRoleDefinitionGetResultsInner.class, SqlRoleDefinitionGetResultsInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -9145,7 +9145,7 @@ public PollerFlux, Void> beginDeleteSqlRoleDefinitionAsync( deleteSqlRoleDefinitionWithResponseAsync(roleDefinitionId, resourceGroupName, accountName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -9774,7 +9774,7 @@ private Mono>> createUpdateSqlRoleAssignmentWithRespon this.client.getHttpPipeline(), SqlRoleAssignmentGetResultsInner.class, SqlRoleAssignmentGetResultsInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -10084,7 +10084,7 @@ public PollerFlux, Void> beginDeleteSqlRoleAssignmentAsync( deleteSqlRoleAssignmentWithResponseAsync(roleAssignmentId, resourceGroupName, accountName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -10553,7 +10553,7 @@ private Mono>> retrieveContinuousBackupInformationWith this.client.getHttpPipeline(), BackupInformationInner.class, BackupInformationInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/TableResourcesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/TableResourcesClientImpl.java index 80888454f6aeb..d59e54a18be9e 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/TableResourcesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/TableResourcesClientImpl.java @@ -687,7 +687,7 @@ public PollerFlux, TableGetResultsInner> beginC this.client.getHttpPipeline(), TableGetResultsInner.class, TableGetResultsInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -978,7 +978,7 @@ public PollerFlux, Void> beginDeleteTableAsync( Mono>> mono = deleteTableWithResponseAsync(resourceGroupName, accountName, tableName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1437,7 +1437,7 @@ private Mono>> updateTableThroughputWithResponseAsync( this.client.getHttpPipeline(), ThroughputSettingsGetResultsInner.class, ThroughputSettingsGetResultsInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1747,7 +1747,7 @@ private Mono>> migrateTableToAutoscaleWithResponseAsyn this.client.getHttpPipeline(), ThroughputSettingsGetResultsInner.class, ThroughputSettingsGetResultsInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -2015,7 +2015,7 @@ private Mono>> migrateTableToManualThroughputWithRespo this.client.getHttpPipeline(), ThroughputSettingsGetResultsInner.class, ThroughputSettingsGetResultsInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-dns/src/main/java/com/azure/resourcemanager/dns/implementation/ZonesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-dns/src/main/java/com/azure/resourcemanager/dns/implementation/ZonesClientImpl.java index 20e0356ab5866..8a6b9195e1720 100644 --- a/sdk/resourcemanager/azure-resourcemanager-dns/src/main/java/com/azure/resourcemanager/dns/implementation/ZonesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-dns/src/main/java/com/azure/resourcemanager/dns/implementation/ZonesClientImpl.java @@ -509,7 +509,7 @@ public PollerFlux, Void> beginDeleteAsync( Mono>> mono = deleteWithResponseAsync(resourceGroupName, zoneName, ifMatch); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-eventhubs/src/main/java/com/azure/resourcemanager/eventhubs/implementation/ClustersClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-eventhubs/src/main/java/com/azure/resourcemanager/eventhubs/implementation/ClustersClientImpl.java index 6852491fe845d..60450ad80926a 100644 --- a/sdk/resourcemanager/azure-resourcemanager-eventhubs/src/main/java/com/azure/resourcemanager/eventhubs/implementation/ClustersClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-eventhubs/src/main/java/com/azure/resourcemanager/eventhubs/implementation/ClustersClientImpl.java @@ -903,7 +903,7 @@ public PollerFlux, ClusterInner> beginCreateOrUpdateAsy return this .client .getLroResult( - mono, this.client.getHttpPipeline(), ClusterInner.class, ClusterInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), ClusterInner.class, ClusterInner.class, this.client.getContext()); } /** @@ -1164,7 +1164,7 @@ public PollerFlux, ClusterInner> beginUpdateAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), ClusterInner.class, ClusterInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), ClusterInner.class, ClusterInner.class, this.client.getContext()); } /** @@ -1405,7 +1405,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, clusterName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-eventhubs/src/main/java/com/azure/resourcemanager/eventhubs/implementation/NamespacesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-eventhubs/src/main/java/com/azure/resourcemanager/eventhubs/implementation/NamespacesClientImpl.java index fe6dc2b3410c4..c8033d7f3ebfa 100644 --- a/sdk/resourcemanager/azure-resourcemanager-eventhubs/src/main/java/com/azure/resourcemanager/eventhubs/implementation/NamespacesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-eventhubs/src/main/java/com/azure/resourcemanager/eventhubs/implementation/NamespacesClientImpl.java @@ -790,7 +790,7 @@ public PollerFlux, EHNamespaceInner> beginCreateOrU return this .client .getLroResult( - mono, this.client.getHttpPipeline(), EHNamespaceInner.class, EHNamespaceInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), EHNamespaceInner.class, EHNamespaceInner.class, this.client.getContext()); } /** @@ -1041,7 +1041,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, namespaceName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-eventhubs/src/main/java/com/azure/resourcemanager/eventhubs/implementation/PrivateEndpointConnectionsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-eventhubs/src/main/java/com/azure/resourcemanager/eventhubs/implementation/PrivateEndpointConnectionsClientImpl.java index 7707a306b0e8d..dfd8058dd3b6b 100644 --- a/sdk/resourcemanager/azure-resourcemanager-eventhubs/src/main/java/com/azure/resourcemanager/eventhubs/implementation/PrivateEndpointConnectionsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-eventhubs/src/main/java/com/azure/resourcemanager/eventhubs/implementation/PrivateEndpointConnectionsClientImpl.java @@ -658,7 +658,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, namespaceName, privateEndpointConnectionName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-keyvault/src/main/java/com/azure/resourcemanager/keyvault/implementation/PrivateEndpointConnectionsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-keyvault/src/main/java/com/azure/resourcemanager/keyvault/implementation/PrivateEndpointConnectionsClientImpl.java index 44b73d3ee54b3..e7a359fdf0ba3 100644 --- a/sdk/resourcemanager/azure-resourcemanager-keyvault/src/main/java/com/azure/resourcemanager/keyvault/implementation/PrivateEndpointConnectionsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-keyvault/src/main/java/com/azure/resourcemanager/keyvault/implementation/PrivateEndpointConnectionsClientImpl.java @@ -623,7 +623,7 @@ public PollerFlux, PrivateEndpointCon this.client.getHttpPipeline(), PrivateEndpointConnectionInner.class, PrivateEndpointConnectionInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-keyvault/src/main/java/com/azure/resourcemanager/keyvault/implementation/VaultsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-keyvault/src/main/java/com/azure/resourcemanager/keyvault/implementation/VaultsClientImpl.java index faf9e2f3530e2..d8bdd6513fa74 100644 --- a/sdk/resourcemanager/azure-resourcemanager-keyvault/src/main/java/com/azure/resourcemanager/keyvault/implementation/VaultsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-keyvault/src/main/java/com/azure/resourcemanager/keyvault/implementation/VaultsClientImpl.java @@ -419,7 +419,7 @@ public PollerFlux, VaultInner> beginCreateOrUpdateAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), VaultInner.class, VaultInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), VaultInner.class, VaultInner.class, this.client.getContext()); } /** @@ -1962,7 +1962,7 @@ public PollerFlux, Void> beginPurgeDeletedAsync(String vaultNam Mono>> mono = purgeDeletedWithResponseAsync(vaultName, location); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/implementation/PrivateEndpointConnectionsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/implementation/PrivateEndpointConnectionsClientImpl.java index f128510da74b1..163e49cad7a9e 100644 --- a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/implementation/PrivateEndpointConnectionsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/implementation/PrivateEndpointConnectionsClientImpl.java @@ -476,7 +476,7 @@ private Mono>> createOrUpdateWithResponseAsync( this.client.getHttpPipeline(), PrivateEndpointConnectionInner.class, PrivateEndpointConnectionInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -781,7 +781,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, scopeName, privateEndpointConnectionName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/implementation/PrivateLinkScopedResourcesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/implementation/PrivateLinkScopedResourcesClientImpl.java index f0ef89e21042f..13cb2b418f6a9 100644 --- a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/implementation/PrivateLinkScopedResourcesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/implementation/PrivateLinkScopedResourcesClientImpl.java @@ -445,7 +445,7 @@ public PollerFlux, ScopedResourceInner> beginCre this.client.getHttpPipeline(), ScopedResourceInner.class, ScopedResourceInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -743,7 +743,7 @@ public PollerFlux, Void> beginDeleteAsync( Mono>> mono = deleteWithResponseAsync(resourceGroupName, scopeName, name); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/implementation/PrivateLinkScopesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/implementation/PrivateLinkScopesClientImpl.java index a5fc6d66c98aa..3f0dd394adc73 100644 --- a/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/implementation/PrivateLinkScopesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-monitor/src/main/java/com/azure/resourcemanager/monitor/implementation/PrivateLinkScopesClientImpl.java @@ -590,7 +590,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, scopeName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateEndpointConnectionsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateEndpointConnectionsClientImpl.java index fc66d76f2ba39..677ec8c1f644e 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateEndpointConnectionsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateEndpointConnectionsClientImpl.java @@ -278,7 +278,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, applicationGatewayName, connectionName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -571,7 +571,7 @@ private Mono>> updateWithResponseAsync( this.client.getHttpPipeline(), ApplicationGatewayPrivateEndpointConnectionInner.class, ApplicationGatewayPrivateEndpointConnectionInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewaysClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewaysClientImpl.java index 13135bd403eaa..291925eedda95 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewaysClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewaysClientImpl.java @@ -466,7 +466,7 @@ public PollerFlux, Void> beginDeleteAsync( Mono>> mono = deleteWithResponseAsync(resourceGroupName, applicationGatewayName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -880,7 +880,7 @@ public PollerFlux, ApplicationGatewayInner> this.client.getHttpPipeline(), ApplicationGatewayInner.class, ApplicationGatewayInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1605,7 +1605,7 @@ public PollerFlux, Void> beginStartAsync(String resourceGroupNa Mono>> mono = startWithResponseAsync(resourceGroupName, applicationGatewayName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1841,7 +1841,7 @@ public PollerFlux, Void> beginStopAsync(String resourceGroupNam Mono>> mono = stopWithResponseAsync(resourceGroupName, applicationGatewayName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -2089,7 +2089,7 @@ private Mono>> backendHealthWithResponseAsync( this.client.getHttpPipeline(), ApplicationGatewayBackendHealthInner.class, ApplicationGatewayBackendHealthInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -2425,7 +2425,7 @@ private Mono>> backendHealthOnDemandWithResponseAsync( this.client.getHttpPipeline(), ApplicationGatewayBackendHealthOnDemandInner.class, ApplicationGatewayBackendHealthOnDemandInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ApplicationSecurityGroupsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ApplicationSecurityGroupsClientImpl.java index 4768fe77cba50..20ffb9dbfca45 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ApplicationSecurityGroupsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ApplicationSecurityGroupsClientImpl.java @@ -305,7 +305,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, applicationSecurityGroupName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -729,7 +729,7 @@ private Mono>> createOrUpdateWithResponseAsync( this.client.getHttpPipeline(), ApplicationSecurityGroupInner.class, ApplicationSecurityGroupInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallsClientImpl.java index 38fcc72fac37e..ff5b585c06e1d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallsClientImpl.java @@ -297,7 +297,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, azureFirewallName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -701,7 +701,7 @@ public PollerFlux, AzureFirewallInner> beginCreat return this .client .getLroResult( - mono, this.client.getHttpPipeline(), AzureFirewallInner.class, AzureFirewallInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), AzureFirewallInner.class, AzureFirewallInner.class, this.client.getContext()); } /** @@ -968,7 +968,7 @@ public PollerFlux, AzureFirewallInner> beginUpdat return this .client .getLroResult( - mono, this.client.getHttpPipeline(), AzureFirewallInner.class, AzureFirewallInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), AzureFirewallInner.class, AzureFirewallInner.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/BastionHostsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/BastionHostsClientImpl.java index 2747cf3a845ea..a2196894ac660 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/BastionHostsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/BastionHostsClientImpl.java @@ -296,7 +296,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, bastionHostname); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -700,7 +700,7 @@ public PollerFlux, BastionHostInner> beginCreateOrU return this .client .getLroResult( - mono, this.client.getHttpPipeline(), BastionHostInner.class, BastionHostInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), BastionHostInner.class, BastionHostInner.class, this.client.getContext()); } /** @@ -967,7 +967,7 @@ public PollerFlux, BastionHostInner> beginUpdateTag return this .client .getLroResult( - mono, this.client.getHttpPipeline(), BastionHostInner.class, BastionHostInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), BastionHostInner.class, BastionHostInner.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ConnectionMonitorsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ConnectionMonitorsClientImpl.java index d4d067c5fd7dd..20a251951dc76 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ConnectionMonitorsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ConnectionMonitorsClientImpl.java @@ -370,7 +370,7 @@ public PollerFlux, ConnectionMonitorRes this.client.getHttpPipeline(), ConnectionMonitorResultInner.class, ConnectionMonitorResultInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -912,7 +912,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, networkWatcherName, connectionMonitorName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1368,7 +1368,7 @@ public PollerFlux, Void> beginStopAsync( stopWithResponseAsync(resourceGroupName, networkWatcherName, connectionMonitorName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1627,7 +1627,7 @@ public PollerFlux, Void> beginStartAsync( startWithResponseAsync(resourceGroupName, networkWatcherName, connectionMonitorName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1891,7 +1891,7 @@ public PollerFlux, ConnectionMonit this.client.getHttpPipeline(), ConnectionMonitorQueryResultInner.class, ConnectionMonitorQueryResultInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/CustomIpPrefixesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/CustomIpPrefixesClientImpl.java index 9e18a68410d1c..0f05c4cca7888 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/CustomIpPrefixesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/CustomIpPrefixesClientImpl.java @@ -298,7 +298,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, customIpPrefixName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -738,7 +738,7 @@ public PollerFlux, CustomIpPrefixInner> beginCre this.client.getHttpPipeline(), CustomIpPrefixInner.class, CustomIpPrefixInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/DdosCustomPoliciesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/DdosCustomPoliciesClientImpl.java index 8da3dc0db1dca..5f5b795ceb7e9 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/DdosCustomPoliciesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/DdosCustomPoliciesClientImpl.java @@ -243,7 +243,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, ddosCustomPolicyName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -652,7 +652,7 @@ public PollerFlux, DdosCustomPolicyInner> begi this.client.getHttpPipeline(), DdosCustomPolicyInner.class, DdosCustomPolicyInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/DdosProtectionPlansClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/DdosProtectionPlansClientImpl.java index 500247fc705ad..8c0af5e009279 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/DdosProtectionPlansClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/DdosProtectionPlansClientImpl.java @@ -300,7 +300,7 @@ public PollerFlux, Void> beginDeleteAsync( Mono>> mono = deleteWithResponseAsync(resourceGroupName, ddosProtectionPlanName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -714,7 +714,7 @@ public PollerFlux, DdosProtectionPlanInner> this.client.getHttpPipeline(), DdosProtectionPlanInner.class, DdosProtectionPlanInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/DscpConfigurationsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/DscpConfigurationsClientImpl.java index c09e69d4595de..93314ae392dcf 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/DscpConfigurationsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/DscpConfigurationsClientImpl.java @@ -301,7 +301,7 @@ public PollerFlux, DscpConfigurationInner> be this.client.getHttpPipeline(), DscpConfigurationInner.class, DscpConfigurationInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -554,7 +554,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, dscpConfigurationName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitAuthorizationsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitAuthorizationsClientImpl.java index f3817985b41fe..45b73ea25ced9 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitAuthorizationsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitAuthorizationsClientImpl.java @@ -274,7 +274,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, circuitName, authorizationName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -736,7 +736,7 @@ private Mono>> createOrUpdateWithResponseAsync( this.client.getHttpPipeline(), ExpressRouteCircuitAuthorizationInner.class, ExpressRouteCircuitAuthorizationInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitConnectionsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitConnectionsClientImpl.java index c0cc138aeccc8..353ce4a9cdffd 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitConnectionsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitConnectionsClientImpl.java @@ -285,7 +285,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, circuitName, peeringName, connectionName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -782,7 +782,7 @@ private Mono>> createOrUpdateWithResponseAsync( this.client.getHttpPipeline(), ExpressRouteCircuitConnectionInner.class, ExpressRouteCircuitConnectionInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitPeeringsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitPeeringsClientImpl.java index f0cdbb094f3ee..d04089fa73fec 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitPeeringsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitPeeringsClientImpl.java @@ -267,7 +267,7 @@ public PollerFlux, Void> beginDeleteAsync( Mono>> mono = deleteWithResponseAsync(resourceGroupName, circuitName, peeringName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -718,7 +718,7 @@ private Mono>> createOrUpdateWithResponseAsync( this.client.getHttpPipeline(), ExpressRouteCircuitPeeringInner.class, ExpressRouteCircuitPeeringInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitsClientImpl.java index 42494ba4e16d6..3bfcbe5b9510a 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitsClientImpl.java @@ -382,7 +382,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, circuitName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -784,7 +784,7 @@ public PollerFlux, ExpressRouteCircuitInner this.client.getHttpPipeline(), ExpressRouteCircuitInner.class, ExpressRouteCircuitInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1234,7 +1234,7 @@ private Mono>> listArpTableWithResponseAsync( this.client.getHttpPipeline(), ExpressRouteCircuitsArpTableListResultInner.class, ExpressRouteCircuitsArpTableListResultInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1528,7 +1528,7 @@ private Mono>> listRoutesTableWithResponseAsync( this.client.getHttpPipeline(), ExpressRouteCircuitsRoutesTableListResultInner.class, ExpressRouteCircuitsRoutesTableListResultInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1830,7 +1830,7 @@ private Mono>> listRoutesTableSummaryWithResponseAsync this.client.getHttpPipeline(), ExpressRouteCircuitsRoutesTableSummaryListResultInner.class, ExpressRouteCircuitsRoutesTableSummaryListResultInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteConnectionsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteConnectionsClientImpl.java index a24049455cd98..29ac9db7c46af 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteConnectionsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteConnectionsClientImpl.java @@ -294,7 +294,7 @@ public PollerFlux, ExpressRouteConnectio this.client.getHttpPipeline(), ExpressRouteConnectionInner.class, ExpressRouteConnectionInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -791,7 +791,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, expressRouteGatewayName, connectionName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionPeeringsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionPeeringsClientImpl.java index 5a5e1d5266347..85fee815572a1 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionPeeringsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionPeeringsClientImpl.java @@ -460,7 +460,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, crossConnectionName, peeringName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -920,7 +920,7 @@ private Mono>> createOrUpdateWithResponseAsync( this.client.getHttpPipeline(), ExpressRouteCrossConnectionPeeringInner.class, ExpressRouteCrossConnectionPeeringInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionsClientImpl.java index 9e0d59415ad89..68ce563507ab3 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionsClientImpl.java @@ -817,7 +817,7 @@ private Mono>> createOrUpdateWithResponseAsync( this.client.getHttpPipeline(), ExpressRouteCrossConnectionInner.class, ExpressRouteCrossConnectionInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1298,7 +1298,7 @@ private Mono>> listArpTableWithResponseAsync( this.client.getHttpPipeline(), ExpressRouteCircuitsArpTableListResultInner.class, ExpressRouteCircuitsArpTableListResultInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1613,7 +1613,7 @@ private Mono>> listRoutesTableSummaryWithResponseAsync this.client.getHttpPipeline(), ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner.class, ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1936,7 +1936,7 @@ private Mono>> listRoutesTableWithResponseAsync( this.client.getHttpPipeline(), ExpressRouteCircuitsRoutesTableListResultInner.class, ExpressRouteCircuitsRoutesTableListResultInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteGatewaysClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteGatewaysClientImpl.java index fc2e830020026..110066e0af1fb 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteGatewaysClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteGatewaysClientImpl.java @@ -554,7 +554,7 @@ public PollerFlux, ExpressRouteGatewayInner this.client.getHttpPipeline(), ExpressRouteGatewayInner.class, ExpressRouteGatewayInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -866,7 +866,7 @@ public PollerFlux, ExpressRouteGatewayInner this.client.getHttpPipeline(), ExpressRouteGatewayInner.class, ExpressRouteGatewayInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1297,7 +1297,7 @@ public PollerFlux, Void> beginDeleteAsync( Mono>> mono = deleteWithResponseAsync(resourceGroupName, expressRouteGatewayName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsClientImpl.java index a9721aa5ed044..bdeb4ee524806 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsClientImpl.java @@ -316,7 +316,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, expressRoutePortName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -725,7 +725,7 @@ public PollerFlux, ExpressRoutePortInner> begi this.client.getHttpPipeline(), ExpressRoutePortInner.class, ExpressRoutePortInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FirewallPoliciesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FirewallPoliciesClientImpl.java index 81d4419b16ad3..cfacaf048b571 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FirewallPoliciesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FirewallPoliciesClientImpl.java @@ -280,7 +280,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, firewallPolicyName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -720,7 +720,7 @@ public PollerFlux, FirewallPolicyInner> beginCre this.client.getHttpPipeline(), FirewallPolicyInner.class, FirewallPolicyInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupsClientImpl.java index bb44468252224..40722d77b0f43 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupsClientImpl.java @@ -278,7 +278,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, firewallPolicyName, ruleCollectionGroupName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -743,7 +743,7 @@ private Mono>> createOrUpdateWithResponseAsync( this.client.getHttpPipeline(), FirewallPolicyRuleCollectionGroupInner.class, FirewallPolicyRuleCollectionGroupInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FlowLogsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FlowLogsClientImpl.java index 7f72f1739bd4f..aa85fc98c8e1a 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FlowLogsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FlowLogsClientImpl.java @@ -306,7 +306,7 @@ public PollerFlux, FlowLogInner> beginCreateOrUpdateAsy return this .client .getLroResult( - mono, this.client.getHttpPipeline(), FlowLogInner.class, FlowLogInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), FlowLogInner.class, FlowLogInner.class, this.client.getContext()); } /** @@ -952,7 +952,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, networkWatcherName, flowLogName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/HubRouteTablesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/HubRouteTablesClientImpl.java index 06df99cbd57ae..2688c2fffbf06 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/HubRouteTablesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/HubRouteTablesClientImpl.java @@ -294,7 +294,7 @@ public PollerFlux, HubRouteTableInner> beginCreat return this .client .getLroResult( - mono, this.client.getHttpPipeline(), HubRouteTableInner.class, HubRouteTableInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), HubRouteTableInner.class, HubRouteTableInner.class, this.client.getContext()); } /** @@ -756,7 +756,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, virtualHubName, routeTableName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/HubVirtualNetworkConnectionsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/HubVirtualNetworkConnectionsClientImpl.java index 3149244fca6b5..e8e1a6a215c31 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/HubVirtualNetworkConnectionsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/HubVirtualNetworkConnectionsClientImpl.java @@ -309,7 +309,7 @@ private Mono>> createOrUpdateWithResponseAsync( this.client.getHttpPipeline(), HubVirtualNetworkConnectionInner.class, HubVirtualNetworkConnectionInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -626,7 +626,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, virtualHubName, connectionName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/InboundNatRulesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/InboundNatRulesClientImpl.java index 150536339e454..fb97733836a89 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/InboundNatRulesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/InboundNatRulesClientImpl.java @@ -454,7 +454,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, loadBalancerName, inboundNatRuleName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -949,7 +949,7 @@ public PollerFlux, InboundNatRuleInner> beginCre this.client.getHttpPipeline(), InboundNatRuleInner.class, InboundNatRuleInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/InboundSecurityRuleOperationsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/InboundSecurityRuleOperationsClientImpl.java index b170509a31f7c..1f7c80e56b02d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/InboundSecurityRuleOperationsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/InboundSecurityRuleOperationsClientImpl.java @@ -248,7 +248,7 @@ public PollerFlux, InboundSecurityRuleInner this.client.getHttpPipeline(), InboundSecurityRuleInner.class, InboundSecurityRuleInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/IpAllocationsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/IpAllocationsClientImpl.java index 219b4b4322d75..3ae27cc6d60d0 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/IpAllocationsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/IpAllocationsClientImpl.java @@ -297,7 +297,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, ipAllocationName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -733,7 +733,7 @@ public PollerFlux, IpAllocationInner> beginCreateO return this .client .getLroResult( - mono, this.client.getHttpPipeline(), IpAllocationInner.class, IpAllocationInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), IpAllocationInner.class, IpAllocationInner.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/IpGroupsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/IpGroupsClientImpl.java index c378b6e037e56..3ab2dd0ba4a5d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/IpGroupsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/IpGroupsClientImpl.java @@ -497,7 +497,7 @@ public PollerFlux, IpGroupInner> beginCreateOrUpdateAsy return this .client .getLroResult( - mono, this.client.getHttpPipeline(), IpGroupInner.class, IpGroupInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), IpGroupInner.class, IpGroupInner.class, this.client.getContext()); } /** @@ -910,7 +910,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, ipGroupsName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerBackendAddressPoolsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerBackendAddressPoolsClientImpl.java index 7099e692da305..e6df8936df05f 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerBackendAddressPoolsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerBackendAddressPoolsClientImpl.java @@ -662,7 +662,7 @@ public PollerFlux, BackendAddressPoolInner> this.client.getHttpPipeline(), BackendAddressPoolInner.class, BackendAddressPoolInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -970,7 +970,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, loadBalancerName, backendAddressPoolName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancersClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancersClientImpl.java index 3d2212bec2d94..f525f5b2bd76d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancersClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancersClientImpl.java @@ -333,7 +333,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, loadBalancerName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -769,7 +769,7 @@ public PollerFlux, LoadBalancerInner> beginCreateO return this .client .getLroResult( - mono, this.client.getHttpPipeline(), LoadBalancerInner.class, LoadBalancerInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), LoadBalancerInner.class, LoadBalancerInner.class, this.client.getContext()); } /** @@ -1486,7 +1486,7 @@ public PollerFlux, Void> beginSwapPublicIpAddressesAsync( Mono>> mono = swapPublicIpAddressesWithResponseAsync(location, parameters); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1766,7 +1766,7 @@ private Mono>> listInboundNatRulePortMappingsWithRespo this.client.getHttpPipeline(), BackendAddressInboundNatRulePortMappingsInner.class, BackendAddressInboundNatRulePortMappingsInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LocalNetworkGatewaysClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LocalNetworkGatewaysClientImpl.java index 973e537d03d62..c6d8a5662dc50 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LocalNetworkGatewaysClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LocalNetworkGatewaysClientImpl.java @@ -300,7 +300,7 @@ public PollerFlux, LocalNetworkGatewayInner this.client.getHttpPipeline(), LocalNetworkGatewayInner.class, LocalNetworkGatewayInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -725,7 +725,7 @@ public PollerFlux, Void> beginDeleteAsync( Mono>> mono = deleteWithResponseAsync(resourceGroupName, localNetworkGatewayName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NatGatewaysClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NatGatewaysClientImpl.java index 55545bdf451b8..a8c9cc25838cc 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NatGatewaysClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NatGatewaysClientImpl.java @@ -295,7 +295,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, natGatewayName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -727,7 +727,7 @@ public PollerFlux, NatGatewayInner> beginCreateOrUpd return this .client .getLroResult( - mono, this.client.getHttpPipeline(), NatGatewayInner.class, NatGatewayInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), NatGatewayInner.class, NatGatewayInner.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NatRulesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NatRulesClientImpl.java index 2c0dc1012b4be..b4dbed7186f6a 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NatRulesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NatRulesClientImpl.java @@ -455,7 +455,7 @@ public PollerFlux, VpnGatewayNatRuleInner> be this.client.getHttpPipeline(), VpnGatewayNatRuleInner.class, VpnGatewayNatRuleInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -742,7 +742,7 @@ public PollerFlux, Void> beginDeleteAsync( Mono>> mono = deleteWithResponseAsync(resourceGroupName, gatewayName, natRuleName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceTapConfigurationsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceTapConfigurationsClientImpl.java index 6f28f6126d490..0b0b3ffd160d3 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceTapConfigurationsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceTapConfigurationsClientImpl.java @@ -276,7 +276,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, networkInterfaceName, tapConfigurationName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -743,7 +743,7 @@ private Mono>> createOrUpdateWithResponseAsync( this.client.getHttpPipeline(), NetworkInterfaceTapConfigurationInner.class, NetworkInterfaceTapConfigurationInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfacesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfacesClientImpl.java index 94aac4a641dc2..5181f48fa5223 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfacesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfacesClientImpl.java @@ -1162,7 +1162,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, networkInterfaceName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1603,7 +1603,7 @@ public PollerFlux, NetworkInterfaceInner> begi this.client.getHttpPipeline(), NetworkInterfaceInner.class, NetworkInterfaceInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -2327,7 +2327,7 @@ private Mono>> getEffectiveRouteTableWithResponseAsync this.client.getHttpPipeline(), EffectiveRouteListResultInner.class, EffectiveRouteListResultInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -2580,7 +2580,7 @@ private Mono>> listEffectiveNetworkSecurityGroupsWithR this.client.getHttpPipeline(), EffectiveNetworkSecurityGroupListResultInner.class, EffectiveNetworkSecurityGroupListResultInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java index 5099140cba48f..c6fae0a865a80 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java @@ -1946,7 +1946,7 @@ private Mono> putBastionShareableLinkSi this.getHttpPipeline(), BastionShareableLinkListResult.class, BastionShareableLinkListResult.class, - Context.NONE) + this.getContext()) .last() .flatMap(this::getLroFinalResultOrError)); }) @@ -2234,7 +2234,7 @@ public PollerFlux, Void> beginDeleteBastionShareableLinkAsync( String resourceGroupName, String bastionHostname, BastionShareableLinkListRequest bslRequest) { Mono>> mono = deleteBastionShareableLinkWithResponseAsync(resourceGroupName, bastionHostname, bslRequest); - return this.getLroResult(mono, this.getHttpPipeline(), Void.class, Void.class, Context.NONE); + return this.getLroResult(mono, this.getHttpPipeline(), Void.class, Void.class, this.getContext()); } /** @@ -2620,7 +2620,7 @@ private Mono> getActiveSessionsSinglePa this.getHttpPipeline(), BastionActiveSessionListResult.class, BastionActiveSessionListResult.class, - Context.NONE) + this.getContext()) .last() .flatMap(this::getLroFinalResultOrError)); }) @@ -3400,7 +3400,7 @@ private Mono>> generatevirtualwanvpnserverconfiguratio this.getHttpPipeline(), VpnProfileResponseInner.class, VpnProfileResponseInner.class, - Context.NONE); + this.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkProfilesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkProfilesClientImpl.java index d228ed412f11b..45cc08939615d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkProfilesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkProfilesClientImpl.java @@ -298,7 +298,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, networkProfileName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityGroupsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityGroupsClientImpl.java index dbdfe24ecbae2..2c3f383c2efe5 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityGroupsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityGroupsClientImpl.java @@ -302,7 +302,7 @@ public PollerFlux, Void> beginDeleteAsync( Mono>> mono = deleteWithResponseAsync(resourceGroupName, networkSecurityGroupName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -752,7 +752,7 @@ public PollerFlux, NetworkSecurityGroupInn this.client.getHttpPipeline(), NetworkSecurityGroupInner.class, NetworkSecurityGroupInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualAppliancesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualAppliancesClientImpl.java index 98265dcf91a83..db01172aa7391 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualAppliancesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualAppliancesClientImpl.java @@ -304,7 +304,7 @@ public PollerFlux, Void> beginDeleteAsync( Mono>> mono = deleteWithResponseAsync(resourceGroupName, networkVirtualApplianceName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -936,7 +936,7 @@ public PollerFlux, NetworkVirtualApplia this.client.getHttpPipeline(), NetworkVirtualApplianceInner.class, NetworkVirtualApplianceInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkWatchersClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkWatchersClientImpl.java index 440b40af25444..72dceaf644bd6 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkWatchersClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkWatchersClientImpl.java @@ -816,7 +816,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, networkWatcherName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1686,7 +1686,7 @@ public PollerFlux, VerificationIpFlowR this.client.getHttpPipeline(), VerificationIpFlowResultInner.class, VerificationIpFlowResultInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1957,7 +1957,7 @@ public PollerFlux, NextHopResultInner> beginGetNe return this .client .getLroResult( - mono, this.client.getHttpPipeline(), NextHopResultInner.class, NextHopResultInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), NextHopResultInner.class, NextHopResultInner.class, this.client.getContext()); } /** @@ -2229,7 +2229,7 @@ private Mono>> getVMSecurityRulesWithResponseAsync( this.client.getHttpPipeline(), SecurityGroupViewResultInner.class, SecurityGroupViewResultInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -2508,7 +2508,7 @@ public PollerFlux, TroubleshootingResultI this.client.getHttpPipeline(), TroubleshootingResultInner.class, TroubleshootingResultInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -2787,7 +2787,7 @@ private Mono>> getTroubleshootingResultWithResponseAsy this.client.getHttpPipeline(), TroubleshootingResultInner.class, TroubleshootingResultInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -3076,7 +3076,7 @@ public PollerFlux, FlowLogInformationInner> this.client.getHttpPipeline(), FlowLogInformationInner.class, FlowLogInformationInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -3352,7 +3352,7 @@ public PollerFlux, FlowLogInformationInner> this.client.getHttpPipeline(), FlowLogInformationInner.class, FlowLogInformationInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -3631,7 +3631,7 @@ private Mono>> checkConnectivityWithResponseAsync( this.client.getHttpPipeline(), ConnectivityInformationInner.class, ConnectivityInformationInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -3921,7 +3921,7 @@ private Mono>> getAzureReachabilityReportWithResponseA this.client.getHttpPipeline(), AzureReachabilityReportInner.class, AzureReachabilityReportInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -4226,7 +4226,7 @@ private Mono>> listAvailableProvidersWithResponseAsync this.client.getHttpPipeline(), AvailableProvidersListInner.class, AvailableProvidersListInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -4536,7 +4536,7 @@ private Mono>> getNetworkConfigurationDiagnosticWithRe this.client.getHttpPipeline(), NetworkConfigurationDiagnosticResponseInner.class, NetworkConfigurationDiagnosticResponseInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/P2SVpnGatewaysClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/P2SVpnGatewaysClientImpl.java index 5987bc54c53a4..5a99f47820227 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/P2SVpnGatewaysClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/P2SVpnGatewaysClientImpl.java @@ -552,7 +552,7 @@ public PollerFlux, P2SVpnGatewayInner> beginCreat return this .client .getLroResult( - mono, this.client.getHttpPipeline(), P2SVpnGatewayInner.class, P2SVpnGatewayInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), P2SVpnGatewayInner.class, P2SVpnGatewayInner.class, this.client.getContext()); } /** @@ -822,7 +822,7 @@ public PollerFlux, P2SVpnGatewayInner> beginUpdat return this .client .getLroResult( - mono, this.client.getHttpPipeline(), P2SVpnGatewayInner.class, P2SVpnGatewayInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), P2SVpnGatewayInner.class, P2SVpnGatewayInner.class, this.client.getContext()); } /** @@ -1068,7 +1068,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, gatewayName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1595,7 +1595,7 @@ public PollerFlux, P2SVpnGatewayInner> beginReset return this .client .getLroResult( - mono, this.client.getHttpPipeline(), P2SVpnGatewayInner.class, P2SVpnGatewayInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), P2SVpnGatewayInner.class, P2SVpnGatewayInner.class, this.client.getContext()); } /** @@ -1850,7 +1850,7 @@ public PollerFlux, VpnProfileResponseInner> this.client.getHttpPipeline(), VpnProfileResponseInner.class, VpnProfileResponseInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -2104,7 +2104,7 @@ public PollerFlux, P2SVpnGatewayInner> beginGetP2 return this .client .getLroResult( - mono, this.client.getHttpPipeline(), P2SVpnGatewayInner.class, P2SVpnGatewayInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), P2SVpnGatewayInner.class, P2SVpnGatewayInner.class, this.client.getContext()); } /** @@ -2370,7 +2370,7 @@ private Mono>> getP2SVpnConnectionHealthDetailedWithRe this.client.getHttpPipeline(), P2SVpnConnectionHealthInner.class, P2SVpnConnectionHealthInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -2658,7 +2658,7 @@ public PollerFlux, Void> beginDisconnectP2SVpnConnectionsAsync( disconnectP2SVpnConnectionsWithResponseAsync(resourceGroupName, p2SVpnGatewayName, request); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PacketCapturesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PacketCapturesClientImpl.java index 3d672bfd161e0..6dac1645bb7a7 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PacketCapturesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PacketCapturesClientImpl.java @@ -319,7 +319,7 @@ public PollerFlux, PacketCaptureResultInner this.client.getHttpPipeline(), PacketCaptureResultInner.class, PacketCaptureResultInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -780,7 +780,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, networkWatcherName, packetCaptureName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1038,7 +1038,7 @@ public PollerFlux, Void> beginStopAsync( stopWithResponseAsync(resourceGroupName, networkWatcherName, packetCaptureName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1301,7 +1301,7 @@ private Mono>> getStatusWithResponseAsync( this.client.getHttpPipeline(), PacketCaptureQueryStatusResultInner.class, PacketCaptureQueryStatusResultInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PrivateDnsZoneGroupsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PrivateDnsZoneGroupsClientImpl.java index 754012cc70112..5112351138d8b 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PrivateDnsZoneGroupsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PrivateDnsZoneGroupsClientImpl.java @@ -274,7 +274,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, privateEndpointName, privateDnsZoneGroupName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -740,7 +740,7 @@ public PollerFlux, PrivateDnsZoneGroupInner this.client.getHttpPipeline(), PrivateDnsZoneGroupInner.class, PrivateDnsZoneGroupInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PrivateEndpointsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PrivateEndpointsClientImpl.java index 0281b572c685e..91f2302d42577 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PrivateEndpointsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PrivateEndpointsClientImpl.java @@ -280,7 +280,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, privateEndpointName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -721,7 +721,7 @@ public PollerFlux, PrivateEndpointInner> beginC this.client.getHttpPipeline(), PrivateEndpointInner.class, PrivateEndpointInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PrivateLinkServicesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PrivateLinkServicesClientImpl.java index 4a55e38720f36..0ed699f8bae08 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PrivateLinkServicesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PrivateLinkServicesClientImpl.java @@ -440,7 +440,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, serviceName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -874,7 +874,7 @@ public PollerFlux, PrivateLinkServiceInner> this.client.getHttpPipeline(), PrivateLinkServiceInner.class, PrivateLinkServiceInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1846,7 +1846,7 @@ public PollerFlux, Void> beginDeletePrivateEndpointConnectionAs deletePrivateEndpointConnectionWithResponseAsync(resourceGroupName, serviceName, peConnectionName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -2285,7 +2285,7 @@ private Mono>> checkPrivateLinkServiceVisibilityWithRe this.client.getHttpPipeline(), PrivateLinkServiceVisibilityInner.class, PrivateLinkServiceVisibilityInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -2557,7 +2557,7 @@ private Mono>> checkPrivateLinkServiceVisibilityByReso this.client.getHttpPipeline(), PrivateLinkServiceVisibilityInner.class, PrivateLinkServiceVisibilityInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PublicIpAddressesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PublicIpAddressesClientImpl.java index d7b8b706baf23..64658991847ed 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PublicIpAddressesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PublicIpAddressesClientImpl.java @@ -1234,7 +1234,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, publicIpAddressName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1675,7 +1675,7 @@ public PollerFlux, PublicIpAddressInner> beginC this.client.getHttpPipeline(), PublicIpAddressInner.class, PublicIpAddressInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PublicIpPrefixesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PublicIpPrefixesClientImpl.java index 8a9f7929b45ca..df77df2bf679f 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PublicIpPrefixesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PublicIpPrefixesClientImpl.java @@ -298,7 +298,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, publicIpPrefixName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -738,7 +738,7 @@ public PollerFlux, PublicIpPrefixInner> beginCre this.client.getHttpPipeline(), PublicIpPrefixInner.class, PublicIpPrefixInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RouteFilterRulesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RouteFilterRulesClientImpl.java index 9668361c1e85d..68b762be58d6e 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RouteFilterRulesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RouteFilterRulesClientImpl.java @@ -267,7 +267,7 @@ public PollerFlux, Void> beginDeleteAsync( Mono>> mono = deleteWithResponseAsync(resourceGroupName, routeFilterName, ruleName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -724,7 +724,7 @@ public PollerFlux, RouteFilterRuleInner> beginC this.client.getHttpPipeline(), RouteFilterRuleInner.class, RouteFilterRuleInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RouteFiltersClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RouteFiltersClientImpl.java index 6c6e9c5031467..cadbdc4acd3e4 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RouteFiltersClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RouteFiltersClientImpl.java @@ -297,7 +297,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, routeFilterName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -735,7 +735,7 @@ public PollerFlux, RouteFilterInner> beginCreateOrU return this .client .getLroResult( - mono, this.client.getHttpPipeline(), RouteFilterInner.class, RouteFilterInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), RouteFilterInner.class, RouteFilterInner.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RouteTablesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RouteTablesClientImpl.java index f62e344a92ed2..0937fba38b417 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RouteTablesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RouteTablesClientImpl.java @@ -295,7 +295,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, routeTableName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -727,7 +727,7 @@ public PollerFlux, RouteTableInner> beginCreateOrUpd return this .client .getLroResult( - mono, this.client.getHttpPipeline(), RouteTableInner.class, RouteTableInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), RouteTableInner.class, RouteTableInner.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RoutesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RoutesClientImpl.java index def1aa0769bac..aced050201ab7 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RoutesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RoutesClientImpl.java @@ -264,7 +264,7 @@ public PollerFlux, Void> beginDeleteAsync( Mono>> mono = deleteWithResponseAsync(resourceGroupName, routeTableName, routeName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -703,7 +703,7 @@ public PollerFlux, RouteInner> beginCreateOrUpdateAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), RouteInner.class, RouteInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), RouteInner.class, RouteInner.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RoutingIntentsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RoutingIntentsClientImpl.java index ce03ea89928fa..1b7f651d40ba3 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RoutingIntentsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RoutingIntentsClientImpl.java @@ -299,7 +299,7 @@ public PollerFlux, RoutingIntentInner> beginCreat return this .client .getLroResult( - mono, this.client.getHttpPipeline(), RoutingIntentInner.class, RoutingIntentInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), RoutingIntentInner.class, RoutingIntentInner.class, this.client.getContext()); } /** @@ -768,7 +768,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, virtualHubName, routingIntentName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/SecurityPartnerProvidersClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/SecurityPartnerProvidersClientImpl.java index d992b38ddf48c..feab5b268c9e2 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/SecurityPartnerProvidersClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/SecurityPartnerProvidersClientImpl.java @@ -303,7 +303,7 @@ public PollerFlux, Void> beginDeleteAsync( Mono>> mono = deleteWithResponseAsync(resourceGroupName, securityPartnerProviderName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -726,7 +726,7 @@ public PollerFlux, SecurityPartnerProvi this.client.getHttpPipeline(), SecurityPartnerProviderInner.class, SecurityPartnerProviderInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/SecurityRulesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/SecurityRulesClientImpl.java index 79de590c59057..6ba2f4857a061 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/SecurityRulesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/SecurityRulesClientImpl.java @@ -272,7 +272,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, networkSecurityGroupName, securityRuleName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -735,7 +735,7 @@ public PollerFlux, SecurityRuleInner> beginCreateO return this .client .getLroResult( - mono, this.client.getHttpPipeline(), SecurityRuleInner.class, SecurityRuleInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), SecurityRuleInner.class, SecurityRuleInner.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPoliciesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPoliciesClientImpl.java index 543eb1d58b723..0ef14f0a9e99d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPoliciesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPoliciesClientImpl.java @@ -304,7 +304,7 @@ public PollerFlux, Void> beginDeleteAsync( Mono>> mono = deleteWithResponseAsync(resourceGroupName, serviceEndpointPolicyName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -758,7 +758,7 @@ public PollerFlux, ServiceEndpointPolicyI this.client.getHttpPipeline(), ServiceEndpointPolicyInner.class, ServiceEndpointPolicyInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPolicyDefinitionsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPolicyDefinitionsClientImpl.java index a5fcedfcd5059..d1cd66766994d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPolicyDefinitionsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPolicyDefinitionsClientImpl.java @@ -290,7 +290,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, serviceEndpointPolicyName, serviceEndpointPolicyDefinitionName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -806,7 +806,7 @@ private Mono>> createOrUpdateWithResponseAsync( this.client.getHttpPipeline(), ServiceEndpointPolicyDefinitionInner.class, ServiceEndpointPolicyDefinitionInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/SubnetsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/SubnetsClientImpl.java index 4fb85dd51fb27..5dfa94aae2bdf 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/SubnetsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/SubnetsClientImpl.java @@ -305,7 +305,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, virtualNetworkName, subnetName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -782,7 +782,7 @@ public PollerFlux, SubnetInner> beginCreateOrUpdateAsync return this .client .getLroResult( - mono, this.client.getHttpPipeline(), SubnetInner.class, SubnetInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), SubnetInner.class, SubnetInner.class, this.client.getContext()); } /** @@ -1106,7 +1106,7 @@ public PollerFlux, Void> beginPrepareNetworkPoliciesAsync( resourceGroupName, virtualNetworkName, subnetName, prepareNetworkPoliciesRequestParameters); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1450,7 +1450,7 @@ public PollerFlux, Void> beginUnprepareNetworkPoliciesAsync( resourceGroupName, virtualNetworkName, subnetName, unprepareNetworkPoliciesRequestParameters); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSitesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSitesClientImpl.java index c04576cca1830..2760acf561f6a 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSitesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSitesClientImpl.java @@ -273,7 +273,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, networkVirtualApplianceName, siteName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -735,7 +735,7 @@ public PollerFlux, VirtualApplianceSiteInn this.client.getHttpPipeline(), VirtualApplianceSiteInner.class, VirtualApplianceSiteInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubBgpConnectionsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubBgpConnectionsClientImpl.java index 49a6fbac777b7..16c600be96278 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubBgpConnectionsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubBgpConnectionsClientImpl.java @@ -485,7 +485,7 @@ public PollerFlux, BgpConnectionInner> beginCreat return this .client .getLroResult( - mono, this.client.getHttpPipeline(), BgpConnectionInner.class, BgpConnectionInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), BgpConnectionInner.class, BgpConnectionInner.class, this.client.getContext()); } /** @@ -769,7 +769,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, virtualHubName, connectionName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1204,7 +1204,7 @@ public PollerFlux, PeerRouteListInner> beginListL return this .client .getLroResult( - mono, this.client.getHttpPipeline(), PeerRouteListInner.class, PeerRouteListInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), PeerRouteListInner.class, PeerRouteListInner.class, this.client.getContext()); } /** @@ -1464,7 +1464,7 @@ public PollerFlux, PeerRouteListInner> beginListA return this .client .getLroResult( - mono, this.client.getHttpPipeline(), PeerRouteListInner.class, PeerRouteListInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), PeerRouteListInner.class, PeerRouteListInner.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubIpConfigurationsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubIpConfigurationsClientImpl.java index 4f212671dbf0a..c9c4b8c36e3e1 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubIpConfigurationsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubIpConfigurationsClientImpl.java @@ -460,7 +460,7 @@ public PollerFlux, HubIpConfigurationInner> this.client.getHttpPipeline(), HubIpConfigurationInner.class, HubIpConfigurationInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -755,7 +755,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, virtualHubName, ipConfigName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubRouteTableV2SClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubRouteTableV2SClientImpl.java index 6c90cee6999d0..80752e9b2a9b9 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubRouteTableV2SClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubRouteTableV2SClientImpl.java @@ -470,7 +470,7 @@ public PollerFlux, VirtualHubRouteTableV this.client.getHttpPipeline(), VirtualHubRouteTableV2Inner.class, VirtualHubRouteTableV2Inner.class, - Context.NONE); + this.client.getContext()); } /** @@ -776,7 +776,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, virtualHubName, routeTableName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubsClientImpl.java index 3fa4d68528500..30ad9b9a42f8c 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubsClientImpl.java @@ -484,7 +484,7 @@ public PollerFlux, VirtualHubInner> beginCreateOrUpd return this .client .getLroResult( - mono, this.client.getHttpPipeline(), VirtualHubInner.class, VirtualHubInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), VirtualHubInner.class, VirtualHubInner.class, this.client.getContext()); } /** @@ -903,7 +903,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, virtualHubName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1447,7 +1447,7 @@ public PollerFlux, Void> beginGetEffectiveVirtualHubRoutesAsync getEffectiveVirtualHubRoutesWithResponseAsync(resourceGroupName, virtualHubName, effectiveRoutesParameters); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayConnectionsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayConnectionsClientImpl.java index 9bf17d38c561e..bcdfbcb524ad5 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayConnectionsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayConnectionsClientImpl.java @@ -429,7 +429,7 @@ private Mono>> createOrUpdateWithResponseAsync( this.client.getHttpPipeline(), VirtualNetworkGatewayConnectionInner.class, VirtualNetworkGatewayConnectionInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -872,7 +872,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, virtualNetworkGatewayConnectionName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1135,7 +1135,7 @@ private Mono>> updateTagsWithResponseAsync( this.client.getHttpPipeline(), VirtualNetworkGatewayConnectionInner.class, VirtualNetworkGatewayConnectionInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1432,7 +1432,7 @@ public PollerFlux, ConnectionSharedKeyInner this.client.getHttpPipeline(), ConnectionSharedKeyInner.class, ConnectionSharedKeyInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -2092,7 +2092,7 @@ private Mono>> resetSharedKeyWithResponseAsync( this.client.getHttpPipeline(), ConnectionResetSharedKeyInner.class, ConnectionResetSharedKeyInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -2416,7 +2416,7 @@ public PollerFlux, String> beginStartPacketCaptureAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), String.class, String.class, Context.NONE); + mono, this.client.getHttpPipeline(), String.class, String.class, this.client.getContext()); } /** @@ -2759,7 +2759,7 @@ public PollerFlux, String> beginStopPacketCaptureAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), String.class, String.class, Context.NONE); + mono, this.client.getHttpPipeline(), String.class, String.class, this.client.getContext()); } /** @@ -3043,7 +3043,7 @@ public PollerFlux, String> beginGetIkeSasAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), String.class, String.class, Context.NONE); + mono, this.client.getHttpPipeline(), String.class, String.class, this.client.getContext()); } /** @@ -3287,7 +3287,7 @@ public PollerFlux, Void> beginResetConnectionAsync( resetConnectionWithResponseAsync(resourceGroupName, virtualNetworkGatewayConnectionName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayNatRulesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayNatRulesClientImpl.java index 47b2929ffe1f4..12d7b1d34be5e 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayNatRulesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayNatRulesClientImpl.java @@ -482,7 +482,7 @@ private Mono>> createOrUpdateWithResponseAsync( this.client.getHttpPipeline(), VirtualNetworkGatewayNatRuleInner.class, VirtualNetworkGatewayNatRuleInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -795,7 +795,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, natRuleName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewaysClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewaysClientImpl.java index 20c170c0bf782..dc407773b9c8f 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewaysClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewaysClientImpl.java @@ -590,7 +590,7 @@ public PollerFlux, VirtualNetworkGatewayI this.client.getHttpPipeline(), VirtualNetworkGatewayInner.class, VirtualNetworkGatewayInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1019,7 +1019,7 @@ public PollerFlux, Void> beginDeleteAsync( Mono>> mono = deleteWithResponseAsync(resourceGroupName, virtualNetworkGatewayName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1279,7 +1279,7 @@ public PollerFlux, VirtualNetworkGatewayI this.client.getHttpPipeline(), VirtualNetworkGatewayInner.class, VirtualNetworkGatewayInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1906,7 +1906,7 @@ public PollerFlux, VirtualNetworkGatewayI this.client.getHttpPipeline(), VirtualNetworkGatewayInner.class, VirtualNetworkGatewayInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -2206,7 +2206,7 @@ public PollerFlux, Void> beginResetVpnClientSharedKeyAsync( resetVpnClientSharedKeyWithResponseAsync(resourceGroupName, virtualNetworkGatewayName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -2464,7 +2464,7 @@ public PollerFlux, String> beginGeneratevpnclientpackageAsync return this .client .getLroResult( - mono, this.client.getHttpPipeline(), String.class, String.class, Context.NONE); + mono, this.client.getHttpPipeline(), String.class, String.class, this.client.getContext()); } /** @@ -2740,7 +2740,7 @@ public PollerFlux, String> beginGenerateVpnProfileAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), String.class, String.class, Context.NONE); + mono, this.client.getHttpPipeline(), String.class, String.class, this.client.getContext()); } /** @@ -3006,7 +3006,7 @@ public PollerFlux, String> beginGetVpnProfilePackageUrlAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), String.class, String.class, Context.NONE); + mono, this.client.getHttpPipeline(), String.class, String.class, this.client.getContext()); } /** @@ -3267,7 +3267,7 @@ private Mono>> getBgpPeerStatusWithResponseAsync( this.client.getHttpPipeline(), BgpPeerStatusListResultInner.class, BgpPeerStatusListResultInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -3727,7 +3727,7 @@ public PollerFlux, GatewayRouteListResul this.client.getHttpPipeline(), GatewayRouteListResultInner.class, GatewayRouteListResultInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -4001,7 +4001,7 @@ private Mono>> getAdvertisedRoutesWithResponseAsync( this.client.getHttpPipeline(), GatewayRouteListResultInner.class, GatewayRouteListResultInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -4299,7 +4299,7 @@ private Mono>> setVpnclientIpsecParametersWithResponse this.client.getHttpPipeline(), VpnClientIPsecParametersInner.class, VpnClientIPsecParametersInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -4609,7 +4609,7 @@ private Mono>> getVpnclientIpsecParametersWithResponse this.client.getHttpPipeline(), VpnClientIPsecParametersInner.class, VpnClientIPsecParametersInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -5076,7 +5076,7 @@ public PollerFlux, String> beginStartPacketCaptureAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), String.class, String.class, Context.NONE); + mono, this.client.getHttpPipeline(), String.class, String.class, this.client.getContext()); } /** @@ -5396,7 +5396,7 @@ public PollerFlux, String> beginStopPacketCaptureAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), String.class, String.class, Context.NONE); + mono, this.client.getHttpPipeline(), String.class, String.class, this.client.getContext()); } /** @@ -5676,7 +5676,7 @@ private Mono>> getVpnclientConnectionHealthWithRespons this.client.getHttpPipeline(), VpnClientConnectionHealthDetailListResultInner.class, VpnClientConnectionHealthDetailListResultInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -5964,7 +5964,7 @@ public PollerFlux, Void> beginDisconnectVirtualNetworkGatewayVp resourceGroupName, virtualNetworkGatewayName, request); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkPeeringsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkPeeringsClientImpl.java index 3fa2c79439679..60e9e8530dc71 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkPeeringsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkPeeringsClientImpl.java @@ -277,7 +277,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, virtualNetworkName, virtualNetworkPeeringName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -771,7 +771,7 @@ public PollerFlux, VirtualNetworkPeeringI this.client.getHttpPipeline(), VirtualNetworkPeeringInner.class, VirtualNetworkPeeringInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkTapsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkTapsClientImpl.java index 0b7a1994c536b..7849181c1e69f 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkTapsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkTapsClientImpl.java @@ -294,7 +294,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, tapName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -694,7 +694,7 @@ public PollerFlux, VirtualNetworkTapInner> be this.client.getHttpPipeline(), VirtualNetworkTapInner.class, VirtualNetworkTapInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworksClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworksClientImpl.java index 84e173b9eb744..9acb3a3b1c403 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworksClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworksClientImpl.java @@ -342,7 +342,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, virtualNetworkName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -782,7 +782,7 @@ public PollerFlux, VirtualNetworkInner> beginCre this.client.getHttpPipeline(), VirtualNetworkInner.class, VirtualNetworkInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualRouterPeeringsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualRouterPeeringsClientImpl.java index 8ec3420b2fa9b..198b6f998916b 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualRouterPeeringsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualRouterPeeringsClientImpl.java @@ -269,7 +269,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, virtualRouterName, peeringName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -716,7 +716,7 @@ public PollerFlux, VirtualRouterPeeringInn this.client.getHttpPipeline(), VirtualRouterPeeringInner.class, VirtualRouterPeeringInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualRoutersClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualRoutersClientImpl.java index ef6d86293033e..4a3c3d9488098 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualRoutersClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualRoutersClientImpl.java @@ -280,7 +280,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, virtualRouterName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -716,7 +716,7 @@ public PollerFlux, VirtualRouterInner> beginCreat return this .client .getLroResult( - mono, this.client.getHttpPipeline(), VirtualRouterInner.class, VirtualRouterInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), VirtualRouterInner.class, VirtualRouterInner.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualWansClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualWansClientImpl.java index 745ae64ee4e85..42e4cea036f0b 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualWansClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualWansClientImpl.java @@ -464,7 +464,7 @@ public PollerFlux, VirtualWanInner> beginCreateOrUpd return this .client .getLroResult( - mono, this.client.getHttpPipeline(), VirtualWanInner.class, VirtualWanInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), VirtualWanInner.class, VirtualWanInner.class, this.client.getContext()); } /** @@ -879,7 +879,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, virtualWanName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnConnectionsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnConnectionsClientImpl.java index f5e48fb32648e..db38f890307bf 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnConnectionsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnConnectionsClientImpl.java @@ -497,7 +497,7 @@ public PollerFlux, VpnConnectionInner> beginCreat return this .client .getLroResult( - mono, this.client.getHttpPipeline(), VpnConnectionInner.class, VpnConnectionInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), VpnConnectionInner.class, VpnConnectionInner.class, this.client.getContext()); } /** @@ -794,7 +794,7 @@ public PollerFlux, Void> beginDeleteAsync( Mono>> mono = deleteWithResponseAsync(resourceGroupName, gatewayName, connectionName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1075,7 +1075,7 @@ public PollerFlux, String> beginStartPacketCaptureAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), String.class, String.class, Context.NONE); + mono, this.client.getHttpPipeline(), String.class, String.class, this.client.getContext()); } /** @@ -1436,7 +1436,7 @@ public PollerFlux, String> beginStopPacketCaptureAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), String.class, String.class, Context.NONE); + mono, this.client.getHttpPipeline(), String.class, String.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnGatewaysClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnGatewaysClientImpl.java index fa0dbc7f448c4..7c6dffbb2b413 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnGatewaysClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnGatewaysClientImpl.java @@ -516,7 +516,7 @@ public PollerFlux, VpnGatewayInner> beginCreateOrUpd return this .client .getLroResult( - mono, this.client.getHttpPipeline(), VpnGatewayInner.class, VpnGatewayInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), VpnGatewayInner.class, VpnGatewayInner.class, this.client.getContext()); } /** @@ -783,7 +783,7 @@ public PollerFlux, VpnGatewayInner> beginUpdateTagsA return this .client .getLroResult( - mono, this.client.getHttpPipeline(), VpnGatewayInner.class, VpnGatewayInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), VpnGatewayInner.class, VpnGatewayInner.class, this.client.getContext()); } /** @@ -1028,7 +1028,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, gatewayName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1258,7 +1258,7 @@ public PollerFlux, VpnGatewayInner> beginResetAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), VpnGatewayInner.class, VpnGatewayInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), VpnGatewayInner.class, VpnGatewayInner.class, this.client.getContext()); } /** @@ -1508,7 +1508,7 @@ public PollerFlux, String> beginStartPacketCaptureAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), String.class, String.class, Context.NONE); + mono, this.client.getHttpPipeline(), String.class, String.class, this.client.getContext()); } /** @@ -1817,7 +1817,7 @@ public PollerFlux, String> beginStopPacketCaptureAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), String.class, String.class, Context.NONE); + mono, this.client.getHttpPipeline(), String.class, String.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnLinkConnectionsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnLinkConnectionsClientImpl.java index 90e3fb1373b82..1845393131330 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnLinkConnectionsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnLinkConnectionsClientImpl.java @@ -268,7 +268,7 @@ public PollerFlux, Void> beginResetConnectionAsync( resetConnectionWithResponseAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -569,7 +569,7 @@ public PollerFlux, String> beginGetIkeSasAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), String.class, String.class, Context.NONE); + mono, this.client.getHttpPipeline(), String.class, String.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsAssociatedWithVirtualWansClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsAssociatedWithVirtualWansClientImpl.java index 777512e172c10..11e052a83dbc4 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsAssociatedWithVirtualWansClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsAssociatedWithVirtualWansClientImpl.java @@ -201,7 +201,7 @@ private Mono>> listWithResponseAsync( this.client.getHttpPipeline(), VpnServerConfigurationsResponseInner.class, VpnServerConfigurationsResponseInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsClientImpl.java index 8914e4187900c..6c4ed146e9ed7 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsClientImpl.java @@ -496,7 +496,7 @@ public PollerFlux, VpnServerConfiguratio this.client.getHttpPipeline(), VpnServerConfigurationInner.class, VpnServerConfigurationInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -971,7 +971,7 @@ public PollerFlux, Void> beginDeleteAsync( Mono>> mono = deleteWithResponseAsync(resourceGroupName, vpnServerConfigurationName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesClientImpl.java index 9bd891ab66791..c04997fd7e04e 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesClientImpl.java @@ -463,7 +463,7 @@ public PollerFlux, VpnSiteInner> beginCreateOrUpdateAsy return this .client .getLroResult( - mono, this.client.getHttpPipeline(), VpnSiteInner.class, VpnSiteInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), VpnSiteInner.class, VpnSiteInner.class, this.client.getContext()); } /** @@ -879,7 +879,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, vpnSiteName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesConfigurationsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesConfigurationsClientImpl.java index 4a714e680944c..6005758b15ad0 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesConfigurationsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesConfigurationsClientImpl.java @@ -205,7 +205,7 @@ public PollerFlux, Void> beginDownloadAsync( Mono>> mono = downloadWithResponseAsync(resourceGroupName, virtualWanName, request); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/WebApplicationFirewallPoliciesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/WebApplicationFirewallPoliciesClientImpl.java index 53ea12a703519..f3f7ffe7ba1f5 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/WebApplicationFirewallPoliciesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/WebApplicationFirewallPoliciesClientImpl.java @@ -903,7 +903,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, policyName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-privatedns/src/main/java/com/azure/resourcemanager/privatedns/implementation/PrivateZonesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-privatedns/src/main/java/com/azure/resourcemanager/privatedns/implementation/PrivateZonesClientImpl.java index eed19d9e0f161..144f1d3ad72cf 100644 --- a/sdk/resourcemanager/azure-resourcemanager-privatedns/src/main/java/com/azure/resourcemanager/privatedns/implementation/PrivateZonesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-privatedns/src/main/java/com/azure/resourcemanager/privatedns/implementation/PrivateZonesClientImpl.java @@ -331,7 +331,7 @@ public PollerFlux, PrivateZoneInner> beginCreateOrU return this .client .getLroResult( - mono, this.client.getHttpPipeline(), PrivateZoneInner.class, PrivateZoneInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), PrivateZoneInner.class, PrivateZoneInner.class, this.client.getContext()); } /** @@ -708,7 +708,7 @@ public PollerFlux, PrivateZoneInner> beginUpdateAsy return this .client .getLroResult( - mono, this.client.getHttpPipeline(), PrivateZoneInner.class, PrivateZoneInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), PrivateZoneInner.class, PrivateZoneInner.class, this.client.getContext()); } /** @@ -1030,7 +1030,7 @@ public PollerFlux, Void> beginDeleteAsync( Mono>> mono = deleteWithResponseAsync(resourceGroupName, privateZoneName, ifMatch); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-privatedns/src/main/java/com/azure/resourcemanager/privatedns/implementation/VirtualNetworkLinksClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-privatedns/src/main/java/com/azure/resourcemanager/privatedns/implementation/VirtualNetworkLinksClientImpl.java index 961e0da98e3a3..01d3d6ec2c8f9 100644 --- a/sdk/resourcemanager/azure-resourcemanager-privatedns/src/main/java/com/azure/resourcemanager/privatedns/implementation/VirtualNetworkLinksClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-privatedns/src/main/java/com/azure/resourcemanager/privatedns/implementation/VirtualNetworkLinksClientImpl.java @@ -337,7 +337,7 @@ public PollerFlux, VirtualNetworkLinkInner> this.client.getHttpPipeline(), VirtualNetworkLinkInner.class, VirtualNetworkLinkInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -788,7 +788,7 @@ public PollerFlux, VirtualNetworkLinkInner> this.client.getHttpPipeline(), VirtualNetworkLinkInner.class, VirtualNetworkLinkInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1182,7 +1182,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, privateZoneName, virtualNetworkLinkName, ifMatch); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-redis/src/main/java/com/azure/resourcemanager/redis/implementation/LinkedServersClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-redis/src/main/java/com/azure/resourcemanager/redis/implementation/LinkedServersClientImpl.java index 0efae3b0e085a..addf057d7885c 100644 --- a/sdk/resourcemanager/azure-resourcemanager-redis/src/main/java/com/azure/resourcemanager/redis/implementation/LinkedServersClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-redis/src/main/java/com/azure/resourcemanager/redis/implementation/LinkedServersClientImpl.java @@ -295,7 +295,7 @@ private Mono>> createWithResponseAsync( this.client.getHttpPipeline(), RedisLinkedServerWithPropertiesInner.class, RedisLinkedServerWithPropertiesInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-redis/src/main/java/com/azure/resourcemanager/redis/implementation/PrivateEndpointConnectionsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-redis/src/main/java/com/azure/resourcemanager/redis/implementation/PrivateEndpointConnectionsClientImpl.java index 7aaa47873412d..1cf6c716b039d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-redis/src/main/java/com/azure/resourcemanager/redis/implementation/PrivateEndpointConnectionsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-redis/src/main/java/com/azure/resourcemanager/redis/implementation/PrivateEndpointConnectionsClientImpl.java @@ -636,7 +636,7 @@ public PollerFlux, PrivateEndpointCon this.client.getHttpPipeline(), PrivateEndpointConnectionInner.class, PrivateEndpointConnectionInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-redis/src/main/java/com/azure/resourcemanager/redis/implementation/RedisClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-redis/src/main/java/com/azure/resourcemanager/redis/implementation/RedisClientImpl.java index c7bcf3e312996..79446166daef0 100644 --- a/sdk/resourcemanager/azure-resourcemanager-redis/src/main/java/com/azure/resourcemanager/redis/implementation/RedisClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-redis/src/main/java/com/azure/resourcemanager/redis/implementation/RedisClientImpl.java @@ -754,7 +754,7 @@ public PollerFlux, RedisResourceInner> beginCreat return this .client .getLroResult( - mono, this.client.getHttpPipeline(), RedisResourceInner.class, RedisResourceInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), RedisResourceInner.class, RedisResourceInner.class, this.client.getContext()); } /** @@ -1163,7 +1163,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, name); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -2344,7 +2344,7 @@ public PollerFlux, Void> beginImportDataAsync( Mono>> mono = importDataWithResponseAsync(resourceGroupName, name, parameters); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -2599,7 +2599,7 @@ public PollerFlux, Void> beginExportDataAsync( Mono>> mono = exportDataWithResponseAsync(resourceGroupName, name, parameters); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-resources/src/main/java/com/azure/resourcemanager/resources/implementation/DeploymentsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-resources/src/main/java/com/azure/resourcemanager/resources/implementation/DeploymentsClientImpl.java index e003bce0ab8b3..0e1ce7eca02f1 100644 --- a/sdk/resourcemanager/azure-resourcemanager-resources/src/main/java/com/azure/resourcemanager/resources/implementation/DeploymentsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-resources/src/main/java/com/azure/resourcemanager/resources/implementation/DeploymentsClientImpl.java @@ -830,7 +830,7 @@ public PollerFlux, Void> beginDeleteAtScopeAsync(String scope, Mono>> mono = deleteAtScopeWithResponseAsync(scope, deploymentName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1228,7 +1228,7 @@ public PollerFlux, DeploymentExtendedInner> this.client.getHttpPipeline(), DeploymentExtendedInner.class, DeploymentExtendedInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1737,7 +1737,7 @@ private Mono>> validateAtScopeWithResponseAsync( this.client.getHttpPipeline(), DeploymentValidateResultInner.class, DeploymentValidateResultInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -2280,7 +2280,7 @@ public PollerFlux, Void> beginDeleteAtTenantScopeAsync(String d Mono>> mono = deleteAtTenantScopeWithResponseAsync(deploymentName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -2638,7 +2638,7 @@ private Mono>> createOrUpdateAtTenantScopeWithResponse this.client.getHttpPipeline(), DeploymentExtendedInner.class, DeploymentExtendedInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -3090,7 +3090,7 @@ private Mono>> validateAtTenantScopeWithResponseAsync( this.client.getHttpPipeline(), DeploymentValidateResultInner.class, DeploymentValidateResultInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -3327,7 +3327,7 @@ public PollerFlux, WhatIfOperationResultI this.client.getHttpPipeline(), WhatIfOperationResultInner.class, WhatIfOperationResultInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -3833,7 +3833,7 @@ public PollerFlux, Void> beginDeleteAtManagementGroupScopeAsync Mono>> mono = deleteAtManagementGroupScopeWithResponseAsync(groupId, deploymentName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -4238,7 +4238,7 @@ private Mono>> createOrUpdateAtManagementGroupScopeWit this.client.getHttpPipeline(), DeploymentExtendedInner.class, DeploymentExtendedInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -4756,7 +4756,7 @@ private Mono>> validateAtManagementGroupScopeWithRespo this.client.getHttpPipeline(), DeploymentValidateResultInner.class, DeploymentValidateResultInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -5021,7 +5021,7 @@ private Mono>> whatIfAtManagementGroupScopeWithRespons this.client.getHttpPipeline(), WhatIfOperationResultInner.class, WhatIfOperationResultInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -5586,7 +5586,7 @@ public PollerFlux, Void> beginDeleteAtSubscriptionScopeAsync(St Mono>> mono = deleteAtSubscriptionScopeWithResponseAsync(deploymentName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -5988,7 +5988,7 @@ private Mono>> createOrUpdateAtSubscriptionScopeWithRe this.client.getHttpPipeline(), DeploymentExtendedInner.class, DeploymentExtendedInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -6508,7 +6508,7 @@ private Mono>> validateAtSubscriptionScopeWithResponse this.client.getHttpPipeline(), DeploymentValidateResultInner.class, DeploymentValidateResultInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -6765,7 +6765,7 @@ private Mono>> whatIfAtSubscriptionScopeWithResponseAs this.client.getHttpPipeline(), WhatIfOperationResultInner.class, WhatIfOperationResultInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -7341,7 +7341,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, deploymentName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -7802,7 +7802,7 @@ public PollerFlux, DeploymentExtendedInner> this.client.getHttpPipeline(), DeploymentExtendedInner.class, DeploymentExtendedInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -8383,7 +8383,7 @@ public PollerFlux, DeploymentValidateR this.client.getHttpPipeline(), DeploymentValidateResultInner.class, DeploymentValidateResultInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -8670,7 +8670,7 @@ public PollerFlux, WhatIfOperationResultI this.client.getHttpPipeline(), WhatIfOperationResultInner.class, WhatIfOperationResultInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-resources/src/main/java/com/azure/resourcemanager/resources/implementation/ResourceGroupsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-resources/src/main/java/com/azure/resourcemanager/resources/implementation/ResourceGroupsClientImpl.java index 55e60722dbd04..9075d4f3da691 100644 --- a/sdk/resourcemanager/azure-resourcemanager-resources/src/main/java/com/azure/resourcemanager/resources/implementation/ResourceGroupsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-resources/src/main/java/com/azure/resourcemanager/resources/implementation/ResourceGroupsClientImpl.java @@ -583,7 +583,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, forceDeletionTypes); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1160,7 +1160,7 @@ private Mono>> exportTemplateWithResponseAsync( this.client.getHttpPipeline(), ResourceGroupExportResultInner.class, ResourceGroupExportResultInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-resources/src/main/java/com/azure/resourcemanager/resources/implementation/ResourcesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-resources/src/main/java/com/azure/resourcemanager/resources/implementation/ResourcesClientImpl.java index 8779c156642c0..4cf5a3b834716 100644 --- a/sdk/resourcemanager/azure-resourcemanager-resources/src/main/java/com/azure/resourcemanager/resources/implementation/ResourcesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-resources/src/main/java/com/azure/resourcemanager/resources/implementation/ResourcesClientImpl.java @@ -695,7 +695,7 @@ public PollerFlux, Void> beginMoveResourcesAsync( Mono>> mono = moveResourcesWithResponseAsync(sourceResourceGroupName, parameters); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -961,7 +961,7 @@ public PollerFlux, Void> beginValidateMoveResourcesAsync( validateMoveResourcesWithResponseAsync(sourceResourceGroupName, parameters); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1819,7 +1819,7 @@ public PollerFlux, Void> beginDeleteAsync( apiVersion); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -2276,7 +2276,7 @@ public PollerFlux, GenericResourceInner> beginC this.client.getHttpPipeline(), GenericResourceInner.class, GenericResourceInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -2750,7 +2750,7 @@ public PollerFlux, GenericResourceInner> beginU this.client.getHttpPipeline(), GenericResourceInner.class, GenericResourceInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -3494,7 +3494,7 @@ public PollerFlux, Void> beginDeleteByIdAsync(String resourceId Mono>> mono = deleteByIdWithResponseAsync(resourceId, apiVersion); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -3732,7 +3732,7 @@ public PollerFlux, GenericResourceInner> beginC this.client.getHttpPipeline(), GenericResourceInner.class, GenericResourceInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -3986,7 +3986,7 @@ public PollerFlux, GenericResourceInner> beginU this.client.getHttpPipeline(), GenericResourceInner.class, GenericResourceInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-search/src/main/java/com/azure/resourcemanager/search/implementation/ServicesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-search/src/main/java/com/azure/resourcemanager/search/implementation/ServicesClientImpl.java index 2df805002a64d..9ff12f6df59e4 100644 --- a/sdk/resourcemanager/azure-resourcemanager-search/src/main/java/com/azure/resourcemanager/search/implementation/ServicesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-search/src/main/java/com/azure/resourcemanager/search/implementation/ServicesClientImpl.java @@ -367,7 +367,7 @@ public PollerFlux, SearchServiceInner> beginCreat return this .client .getLroResult( - mono, this.client.getHttpPipeline(), SearchServiceInner.class, SearchServiceInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), SearchServiceInner.class, SearchServiceInner.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-search/src/main/java/com/azure/resourcemanager/search/implementation/SharedPrivateLinkResourcesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-search/src/main/java/com/azure/resourcemanager/search/implementation/SharedPrivateLinkResourcesClientImpl.java index b88f8e7cbf04e..cffc2b258ae19 100644 --- a/sdk/resourcemanager/azure-resourcemanager-search/src/main/java/com/azure/resourcemanager/search/implementation/SharedPrivateLinkResourcesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-search/src/main/java/com/azure/resourcemanager/search/implementation/SharedPrivateLinkResourcesClientImpl.java @@ -339,7 +339,7 @@ private Mono>> createOrUpdateWithResponseAsync( this.client.getHttpPipeline(), SharedPrivateLinkResourceInner.class, SharedPrivateLinkResourceInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1059,7 +1059,7 @@ public PollerFlux, Void> beginDeleteAsync( resourceGroupName, searchServiceName, sharedPrivateLinkResourceName, clientRequestId); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/implementation/MigrationConfigsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/implementation/MigrationConfigsClientImpl.java index 240c49eb9e167..7eeebbc7a8cc5 100644 --- a/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/implementation/MigrationConfigsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/implementation/MigrationConfigsClientImpl.java @@ -508,7 +508,7 @@ private Mono>> createAndStartMigrationWithResponseAsyn this.client.getHttpPipeline(), MigrationConfigPropertiesInner.class, MigrationConfigPropertiesInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/implementation/NamespacesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/implementation/NamespacesClientImpl.java index 4f5369195daca..2b8154651a3d9 100644 --- a/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/implementation/NamespacesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/implementation/NamespacesClientImpl.java @@ -2213,7 +2213,7 @@ public PollerFlux, SBNamespaceInner> beginCreateOrU return this .client .getLroResult( - mono, this.client.getHttpPipeline(), SBNamespaceInner.class, SBNamespaceInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), SBNamespaceInner.class, SBNamespaceInner.class, this.client.getContext()); } /** @@ -2464,7 +2464,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, namespaceName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/BackupLongTermRetentionPoliciesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/BackupLongTermRetentionPoliciesClientImpl.java index fd3b242ccfb8d..5e5448ff39649 100644 --- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/BackupLongTermRetentionPoliciesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/BackupLongTermRetentionPoliciesClientImpl.java @@ -470,7 +470,7 @@ private Mono>> createOrUpdateWithResponseAsync( this.client.getHttpPipeline(), BackupLongTermRetentionPolicyInner.class, BackupLongTermRetentionPolicyInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/BackupShortTermRetentionPoliciesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/BackupShortTermRetentionPoliciesClientImpl.java index a6d4c11c04b42..85133c693a14a 100644 --- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/BackupShortTermRetentionPoliciesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/BackupShortTermRetentionPoliciesClientImpl.java @@ -499,7 +499,7 @@ private Mono>> createOrUpdateWithResponseAsync( this.client.getHttpPipeline(), BackupShortTermRetentionPolicyInner.class, BackupShortTermRetentionPolicyInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -913,7 +913,7 @@ private Mono>> updateWithResponseAsync( this.client.getHttpPipeline(), BackupShortTermRetentionPolicyInner.class, BackupShortTermRetentionPolicyInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/DatabaseVulnerabilityAssessmentScansClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/DatabaseVulnerabilityAssessmentScansClientImpl.java index 329d4def48891..d4e0741b3157f 100644 --- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/DatabaseVulnerabilityAssessmentScansClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/DatabaseVulnerabilityAssessmentScansClientImpl.java @@ -786,7 +786,7 @@ public PollerFlux, Void> beginInitiateScanAsync( resourceGroupName, serverName, databaseName, vulnerabilityAssessmentName, scanId); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/DatabasesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/DatabasesClientImpl.java index 6006ecbbffccc..10b663108c7c8 100644 --- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/DatabasesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/DatabasesClientImpl.java @@ -474,7 +474,7 @@ public PollerFlux, ImportExportResponseInn this.client.getHttpPipeline(), ImportExportResponseInner.class, ImportExportResponseInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -789,7 +789,7 @@ public PollerFlux, ImportExportResponseInn this.client.getHttpPipeline(), ImportExportResponseInner.class, ImportExportResponseInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1134,7 +1134,7 @@ public PollerFlux, ImportExportResponseInn this.client.getHttpPipeline(), ImportExportResponseInner.class, ImportExportResponseInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -2162,7 +2162,7 @@ public PollerFlux, DatabaseInner> beginCreateOrUpdateA return this .client .getLroResult( - mono, this.client.getHttpPipeline(), DatabaseInner.class, DatabaseInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), DatabaseInner.class, DatabaseInner.class, this.client.getContext()); } /** @@ -2435,7 +2435,7 @@ public PollerFlux, Void> beginDeleteAsync( Mono>> mono = deleteWithResponseAsync(resourceGroupName, serverName, databaseName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -2710,7 +2710,7 @@ public PollerFlux, DatabaseInner> beginUpdateAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), DatabaseInner.class, DatabaseInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), DatabaseInner.class, DatabaseInner.class, this.client.getContext()); } /** @@ -3185,7 +3185,7 @@ public PollerFlux, DatabaseInner> beginPauseAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), DatabaseInner.class, DatabaseInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), DatabaseInner.class, DatabaseInner.class, this.client.getContext()); } /** @@ -3448,7 +3448,7 @@ public PollerFlux, DatabaseInner> beginResumeAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), DatabaseInner.class, DatabaseInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), DatabaseInner.class, DatabaseInner.class, this.client.getContext()); } /** @@ -3711,7 +3711,7 @@ public PollerFlux, Void> beginUpgradeDataWarehouseAsync( upgradeDataWarehouseWithResponseAsync(resourceGroupName, serverName, databaseName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -4151,7 +4151,7 @@ public PollerFlux, Void> beginFailoverAsync( failoverWithResponseAsync(resourceGroupName, serverName, databaseName, replicaType); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ElasticPoolsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ElasticPoolsClientImpl.java index 179a80944b51c..365bf53c9b868 100644 --- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ElasticPoolsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ElasticPoolsClientImpl.java @@ -1121,7 +1121,7 @@ public PollerFlux, ElasticPoolInner> beginCreateOrU return this .client .getLroResult( - mono, this.client.getHttpPipeline(), ElasticPoolInner.class, ElasticPoolInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), ElasticPoolInner.class, ElasticPoolInner.class, this.client.getContext()); } /** @@ -1412,7 +1412,7 @@ public PollerFlux, Void> beginDeleteAsync( Mono>> mono = deleteWithResponseAsync(resourceGroupName, serverName, elasticPoolName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1694,7 +1694,7 @@ public PollerFlux, ElasticPoolInner> beginUpdateAsy return this .client .getLroResult( - mono, this.client.getHttpPipeline(), ElasticPoolInner.class, ElasticPoolInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), ElasticPoolInner.class, ElasticPoolInner.class, this.client.getContext()); } /** @@ -1985,7 +1985,7 @@ public PollerFlux, Void> beginFailoverAsync( failoverWithResponseAsync(resourceGroupName, serverName, elasticPoolName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/EncryptionProtectorsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/EncryptionProtectorsClientImpl.java index fd1220ad9df58..9ede1be0fb49e 100644 --- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/EncryptionProtectorsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/EncryptionProtectorsClientImpl.java @@ -263,7 +263,7 @@ public PollerFlux, Void> beginRevalidateAsync( revalidateWithResponseAsync(resourceGroupName, serverName, encryptionProtectorName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -915,7 +915,7 @@ public PollerFlux, EncryptionProtectorInner this.client.getHttpPipeline(), EncryptionProtectorInner.class, EncryptionProtectorInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ExtendedServerBlobAuditingPoliciesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ExtendedServerBlobAuditingPoliciesClientImpl.java index 667b274576135..2db57a44b2b39 100644 --- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ExtendedServerBlobAuditingPoliciesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ExtendedServerBlobAuditingPoliciesClientImpl.java @@ -420,7 +420,7 @@ private Mono>> createOrUpdateWithResponseAsync( this.client.getHttpPipeline(), ExtendedServerBlobAuditingPolicyInner.class, ExtendedServerBlobAuditingPolicyInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/FailoverGroupsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/FailoverGroupsClientImpl.java index d52ab970bda61..f66cd11a2ef9b 100644 --- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/FailoverGroupsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/FailoverGroupsClientImpl.java @@ -495,7 +495,7 @@ public PollerFlux, FailoverGroupInner> beginCreat return this .client .getLroResult( - mono, this.client.getHttpPipeline(), FailoverGroupInner.class, FailoverGroupInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), FailoverGroupInner.class, FailoverGroupInner.class, this.client.getContext()); } /** @@ -787,7 +787,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, serverName, failoverGroupName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1069,7 +1069,7 @@ public PollerFlux, FailoverGroupInner> beginUpdat return this .client .getLroResult( - mono, this.client.getHttpPipeline(), FailoverGroupInner.class, FailoverGroupInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), FailoverGroupInner.class, FailoverGroupInner.class, this.client.getContext()); } /** @@ -1545,7 +1545,7 @@ public PollerFlux, FailoverGroupInner> beginFailo return this .client .getLroResult( - mono, this.client.getHttpPipeline(), FailoverGroupInner.class, FailoverGroupInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), FailoverGroupInner.class, FailoverGroupInner.class, this.client.getContext()); } /** @@ -1813,7 +1813,7 @@ public PollerFlux, FailoverGroupInner> beginForce return this .client .getLroResult( - mono, this.client.getHttpPipeline(), FailoverGroupInner.class, FailoverGroupInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), FailoverGroupInner.class, FailoverGroupInner.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/InstanceFailoverGroupsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/InstanceFailoverGroupsClientImpl.java index bac684fe38876..36e28134731dc 100644 --- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/InstanceFailoverGroupsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/InstanceFailoverGroupsClientImpl.java @@ -489,7 +489,7 @@ public PollerFlux, InstanceFailoverGroupI this.client.getHttpPipeline(), InstanceFailoverGroupInner.class, InstanceFailoverGroupInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -794,7 +794,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, locationName, failoverGroupName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1245,7 +1245,7 @@ public PollerFlux, InstanceFailoverGroupI this.client.getHttpPipeline(), InstanceFailoverGroupInner.class, InstanceFailoverGroupInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1525,7 +1525,7 @@ private Mono>> forceFailoverAllowDataLossWithResponseA this.client.getHttpPipeline(), InstanceFailoverGroupInner.class, InstanceFailoverGroupInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/InstancePoolsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/InstancePoolsClientImpl.java index ad2b2424a1663..7d3665a56f667 100644 --- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/InstancePoolsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/InstancePoolsClientImpl.java @@ -454,7 +454,7 @@ public PollerFlux, InstancePoolInner> beginCreateO return this .client .getLroResult( - mono, this.client.getHttpPipeline(), InstancePoolInner.class, InstancePoolInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), InstancePoolInner.class, InstancePoolInner.class, this.client.getContext()); } /** @@ -708,7 +708,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, instancePoolName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -958,7 +958,7 @@ public PollerFlux, InstancePoolInner> beginUpdateA return this .client .getLroResult( - mono, this.client.getHttpPipeline(), InstancePoolInner.class, InstancePoolInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), InstancePoolInner.class, InstancePoolInner.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/JobAgentsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/JobAgentsClientImpl.java index 0a24ccd4b82b4..211b9d3c69bcc 100644 --- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/JobAgentsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/JobAgentsClientImpl.java @@ -639,7 +639,7 @@ public PollerFlux, JobAgentInner> beginCreateOrUpdateA return this .client .getLroResult( - mono, this.client.getHttpPipeline(), JobAgentInner.class, JobAgentInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), JobAgentInner.class, JobAgentInner.class, this.client.getContext()); } /** @@ -912,7 +912,7 @@ public PollerFlux, Void> beginDeleteAsync( Mono>> mono = deleteWithResponseAsync(resourceGroupName, serverName, jobAgentName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1181,7 +1181,7 @@ public PollerFlux, JobAgentInner> beginUpdateAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), JobAgentInner.class, JobAgentInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), JobAgentInner.class, JobAgentInner.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/JobExecutionsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/JobExecutionsClientImpl.java index 20d791b57fa59..2d316b96d2ea6 100644 --- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/JobExecutionsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/JobExecutionsClientImpl.java @@ -913,7 +913,7 @@ public PollerFlux, JobExecutionInner> beginCreateA return this .client .getLroResult( - mono, this.client.getHttpPipeline(), JobExecutionInner.class, JobExecutionInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), JobExecutionInner.class, JobExecutionInner.class, this.client.getContext()); } /** @@ -1830,7 +1830,7 @@ public PollerFlux, JobExecutionInner> beginCreateO return this .client .getLroResult( - mono, this.client.getHttpPipeline(), JobExecutionInner.class, JobExecutionInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), JobExecutionInner.class, JobExecutionInner.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/LongTermRetentionBackupsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/LongTermRetentionBackupsClientImpl.java index f937195568327..ae090109c7852 100644 --- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/LongTermRetentionBackupsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/LongTermRetentionBackupsClientImpl.java @@ -691,7 +691,7 @@ public PollerFlux, Void> beginDeleteByResourceGroupAsync( backupName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -2138,7 +2138,7 @@ public PollerFlux, Void> beginDeleteAsync( locationName, longTermRetentionServerName, longTermRetentionDatabaseName, backupName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/LongTermRetentionManagedInstanceBackupsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/LongTermRetentionManagedInstanceBackupsClientImpl.java index dbb7880f8005a..d2aeda56a03e7 100644 --- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/LongTermRetentionManagedInstanceBackupsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/LongTermRetentionManagedInstanceBackupsClientImpl.java @@ -594,7 +594,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(locationName, managedInstanceName, databaseName, backupName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1809,7 +1809,7 @@ public PollerFlux, Void> beginDeleteByResourceGroupAsync( resourceGroupName, locationName, managedInstanceName, databaseName, backupName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ManagedBackupShortTermRetentionPoliciesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ManagedBackupShortTermRetentionPoliciesClientImpl.java index cf3b5e9f06dea..a1622b5a3792f 100644 --- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ManagedBackupShortTermRetentionPoliciesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ManagedBackupShortTermRetentionPoliciesClientImpl.java @@ -519,7 +519,7 @@ private Mono>> createOrUpdateWithResponseAsync( this.client.getHttpPipeline(), ManagedBackupShortTermRetentionPolicyInner.class, ManagedBackupShortTermRetentionPolicyInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -950,7 +950,7 @@ private Mono>> updateWithResponseAsync( this.client.getHttpPipeline(), ManagedBackupShortTermRetentionPolicyInner.class, ManagedBackupShortTermRetentionPolicyInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ManagedDatabaseVulnerabilityAssessmentScansClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ManagedDatabaseVulnerabilityAssessmentScansClientImpl.java index 7bb24a148d480..d0bcf294a8cb5 100644 --- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ManagedDatabaseVulnerabilityAssessmentScansClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ManagedDatabaseVulnerabilityAssessmentScansClientImpl.java @@ -797,7 +797,7 @@ public PollerFlux, Void> beginInitiateScanAsync( resourceGroupName, managedInstanceName, databaseName, vulnerabilityAssessmentName, scanId); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ManagedDatabasesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ManagedDatabasesClientImpl.java index 3f03952da440f..16f5bbb014b0e 100644 --- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ManagedDatabasesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ManagedDatabasesClientImpl.java @@ -694,7 +694,7 @@ public PollerFlux, ManagedDatabaseInner> beginC this.client.getHttpPipeline(), ManagedDatabaseInner.class, ManagedDatabaseInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -987,7 +987,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, managedInstanceName, databaseName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1273,7 +1273,7 @@ public PollerFlux, ManagedDatabaseInner> beginU this.client.getHttpPipeline(), ManagedDatabaseInner.class, ManagedDatabaseInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1772,7 +1772,7 @@ public PollerFlux, Void> beginCompleteRestoreAsync( completeRestoreWithResponseAsync(resourceGroupName, managedInstanceName, databaseName, lastBackupName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ManagedInstanceAdministratorsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ManagedInstanceAdministratorsClientImpl.java index 674f7f764869f..5362598a6d88a 100644 --- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ManagedInstanceAdministratorsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ManagedInstanceAdministratorsClientImpl.java @@ -628,7 +628,7 @@ private Mono>> createOrUpdateWithResponseAsync( this.client.getHttpPipeline(), ManagedInstanceAdministratorInner.class, ManagedInstanceAdministratorInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -906,7 +906,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, managedInstanceName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ManagedInstanceEncryptionProtectorsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ManagedInstanceEncryptionProtectorsClientImpl.java index f96360348a0c7..f91bed3f5905e 100644 --- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ManagedInstanceEncryptionProtectorsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ManagedInstanceEncryptionProtectorsClientImpl.java @@ -273,7 +273,7 @@ public PollerFlux, Void> beginRevalidateAsync( revalidateWithResponseAsync(resourceGroupName, managedInstanceName, encryptionProtectorName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -954,7 +954,7 @@ private Mono>> createOrUpdateWithResponseAsync( this.client.getHttpPipeline(), ManagedInstanceEncryptionProtectorInner.class, ManagedInstanceEncryptionProtectorInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ManagedInstanceKeysClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ManagedInstanceKeysClientImpl.java index d4333d1262990..fa881fcd85092 100644 --- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ManagedInstanceKeysClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ManagedInstanceKeysClientImpl.java @@ -667,7 +667,7 @@ public PollerFlux, ManagedInstanceKeyInner> this.client.getHttpPipeline(), ManagedInstanceKeyInner.class, ManagedInstanceKeyInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -963,7 +963,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, managedInstanceName, keyName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ManagedInstanceLongTermRetentionPoliciesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ManagedInstanceLongTermRetentionPoliciesClientImpl.java index 304d890f3eef4..d21da11b06f36 100644 --- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ManagedInstanceLongTermRetentionPoliciesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ManagedInstanceLongTermRetentionPoliciesClientImpl.java @@ -503,7 +503,7 @@ private Mono>> createOrUpdateWithResponseAsync( this.client.getHttpPipeline(), ManagedInstanceLongTermRetentionPolicyInner.class, ManagedInstanceLongTermRetentionPolicyInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ManagedInstanceTdeCertificatesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ManagedInstanceTdeCertificatesClientImpl.java index e6c31e8f7f183..f39ecc13e31ab 100644 --- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ManagedInstanceTdeCertificatesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ManagedInstanceTdeCertificatesClientImpl.java @@ -208,7 +208,7 @@ public PollerFlux, Void> beginCreateAsync( createWithResponseAsync(resourceGroupName, managedInstanceName, parameters); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ManagedInstancesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ManagedInstancesClientImpl.java index b79bf6cf82cee..0420e6f1da54e 100644 --- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ManagedInstancesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ManagedInstancesClientImpl.java @@ -829,7 +829,7 @@ public PollerFlux, ManagedInstanceInner> beginC this.client.getHttpPipeline(), ManagedInstanceInner.class, ManagedInstanceInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -1084,7 +1084,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, managedInstanceName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1346,7 +1346,7 @@ public PollerFlux, ManagedInstanceInner> beginU this.client.getHttpPipeline(), ManagedInstanceInner.class, ManagedInstanceInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClientImpl.java index 38de5b6cf0d51..068ec530b541e 100644 --- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClientImpl.java @@ -536,7 +536,7 @@ private Mono>> createOrUpdateWithResponseAsync( this.client.getHttpPipeline(), ManagedBackupShortTermRetentionPolicyInner.class, ManagedBackupShortTermRetentionPolicyInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -984,7 +984,7 @@ private Mono>> updateWithResponseAsync( this.client.getHttpPipeline(), ManagedBackupShortTermRetentionPolicyInner.class, ManagedBackupShortTermRetentionPolicyInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ManagedServerSecurityAlertPoliciesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ManagedServerSecurityAlertPoliciesClientImpl.java index b35db81b103fd..da3b7f793ee4a 100644 --- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ManagedServerSecurityAlertPoliciesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ManagedServerSecurityAlertPoliciesClientImpl.java @@ -471,7 +471,7 @@ private Mono>> createOrUpdateWithResponseAsync( this.client.getHttpPipeline(), ManagedServerSecurityAlertPolicyInner.class, ManagedServerSecurityAlertPolicyInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/PrivateEndpointConnectionsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/PrivateEndpointConnectionsClientImpl.java index 48483a0b0c8e1..fb5de297bae98 100644 --- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/PrivateEndpointConnectionsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/PrivateEndpointConnectionsClientImpl.java @@ -469,7 +469,7 @@ private Mono>> createOrUpdateWithResponseAsync( this.client.getHttpPipeline(), PrivateEndpointConnectionInner.class, PrivateEndpointConnectionInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -784,7 +784,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, serverName, privateEndpointConnectionName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ReplicationLinksClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ReplicationLinksClientImpl.java index 900a98f4f0d7b..24fd2e5352e5a 100644 --- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ReplicationLinksClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ReplicationLinksClientImpl.java @@ -647,7 +647,7 @@ public PollerFlux, Void> beginFailoverAsync( failoverWithResponseAsync(resourceGroupName, serverName, databaseName, linkId); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -929,7 +929,7 @@ public PollerFlux, Void> beginFailoverAllowDataLossAsync( failoverAllowDataLossWithResponseAsync(resourceGroupName, serverName, databaseName, linkId); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1231,7 +1231,7 @@ public PollerFlux, Void> beginUnlinkAsync( unlinkWithResponseAsync(resourceGroupName, serverName, databaseName, linkId, forcedTermination); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/RestorePointsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/RestorePointsClientImpl.java index 26bd18f80c916..e239cf92b9bcc 100644 --- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/RestorePointsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/RestorePointsClientImpl.java @@ -459,7 +459,7 @@ public PollerFlux, RestorePointInner> beginCreateA return this .client .getLroResult( - mono, this.client.getHttpPipeline(), RestorePointInner.class, RestorePointInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), RestorePointInner.class, RestorePointInner.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ServerAzureADAdministratorsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ServerAzureADAdministratorsClientImpl.java index 8f47982f50820..8856264c03eff 100644 --- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ServerAzureADAdministratorsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ServerAzureADAdministratorsClientImpl.java @@ -477,7 +477,7 @@ private Mono>> createOrUpdateWithResponseAsync( this.client.getHttpPipeline(), ServerAzureADAdministratorInner.class, ServerAzureADAdministratorInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -783,7 +783,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, serverName, administratorName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1222,7 +1222,7 @@ private Mono>> disableAzureADOnlyAuthenticationWithRes this.client.getHttpPipeline(), ServerAzureADAdministratorInner.class, ServerAzureADAdministratorInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ServerBlobAuditingPoliciesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ServerBlobAuditingPoliciesClientImpl.java index 7fa3c83a521ee..0423eec5aedd9 100644 --- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ServerBlobAuditingPoliciesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ServerBlobAuditingPoliciesClientImpl.java @@ -413,7 +413,7 @@ private Mono>> createOrUpdateWithResponseAsync( this.client.getHttpPipeline(), ServerBlobAuditingPolicyInner.class, ServerBlobAuditingPolicyInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ServerCommunicationLinksClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ServerCommunicationLinksClientImpl.java index c5681df9fd9a5..1344f24eb1f62 100644 --- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ServerCommunicationLinksClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ServerCommunicationLinksClientImpl.java @@ -598,7 +598,7 @@ public PollerFlux, ServerCommunicationL this.client.getHttpPipeline(), ServerCommunicationLinkInner.class, ServerCommunicationLinkInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ServerDnsAliasesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ServerDnsAliasesClientImpl.java index 5bca1bafbabde..2b76d2648af60 100644 --- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ServerDnsAliasesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ServerDnsAliasesClientImpl.java @@ -444,7 +444,7 @@ public PollerFlux, ServerDnsAliasInner> beginCre this.client.getHttpPipeline(), ServerDnsAliasInner.class, ServerDnsAliasInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -708,7 +708,7 @@ public PollerFlux, Void> beginDeleteAsync( Mono>> mono = deleteWithResponseAsync(resourceGroupName, serverName, dnsAliasName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1160,7 +1160,7 @@ public PollerFlux, Void> beginAcquireAsync( acquireWithResponseAsync(resourceGroupName, serverName, dnsAliasName, oldServerDnsAliasId); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ServerKeysClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ServerKeysClientImpl.java index 285aee8623032..f43bcdbb986b5 100644 --- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ServerKeysClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ServerKeysClientImpl.java @@ -629,7 +629,7 @@ public PollerFlux, ServerKeyInner> beginCreateOrUpdat return this .client .getLroResult( - mono, this.client.getHttpPipeline(), ServerKeyInner.class, ServerKeyInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), ServerKeyInner.class, ServerKeyInner.class, this.client.getContext()); } /** @@ -922,7 +922,7 @@ public PollerFlux, Void> beginDeleteAsync( Mono>> mono = deleteWithResponseAsync(resourceGroupName, serverName, keyName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ServerSecurityAlertPoliciesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ServerSecurityAlertPoliciesClientImpl.java index 3d9d94c2db8b7..be57c592c4ecb 100644 --- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ServerSecurityAlertPoliciesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ServerSecurityAlertPoliciesClientImpl.java @@ -456,7 +456,7 @@ private Mono>> createOrUpdateWithResponseAsync( this.client.getHttpPipeline(), ServerSecurityAlertPolicyInner.class, ServerSecurityAlertPolicyInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ServersClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ServersClientImpl.java index 0036b6392cf86..c4a40df6d8352 100644 --- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ServersClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/ServersClientImpl.java @@ -625,7 +625,7 @@ public PollerFlux, ServerInner> beginCreateOrUpdateAsync return this .client .getLroResult( - mono, this.client.getHttpPipeline(), ServerInner.class, ServerInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), ServerInner.class, ServerInner.class, this.client.getContext()); } /** @@ -875,7 +875,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, serverName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1127,7 +1127,7 @@ public PollerFlux, ServerInner> beginUpdateAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), ServerInner.class, ServerInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), ServerInner.class, ServerInner.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/SyncAgentsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/SyncAgentsClientImpl.java index bb4195f50967d..ee4691a31a19d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/SyncAgentsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/SyncAgentsClientImpl.java @@ -473,7 +473,7 @@ public PollerFlux, SyncAgentInner> beginCreateOrUpdat return this .client .getLroResult( - mono, this.client.getHttpPipeline(), SyncAgentInner.class, SyncAgentInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), SyncAgentInner.class, SyncAgentInner.class, this.client.getContext()); } /** @@ -784,7 +784,7 @@ public PollerFlux, Void> beginDeleteAsync( Mono>> mono = deleteWithResponseAsync(resourceGroupName, serverName, syncAgentName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/SyncGroupsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/SyncGroupsClientImpl.java index 6ac0112f973db..76acf38a0d818 100644 --- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/SyncGroupsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/SyncGroupsClientImpl.java @@ -569,7 +569,7 @@ public PollerFlux, Void> beginRefreshHubSchemaAsync( refreshHubSchemaWithResponseAsync(resourceGroupName, serverName, databaseName, syncGroupName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -2003,7 +2003,7 @@ public PollerFlux, SyncGroupInner> beginCreateOrUpdat return this .client .getLroResult( - mono, this.client.getHttpPipeline(), SyncGroupInner.class, SyncGroupInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), SyncGroupInner.class, SyncGroupInner.class, this.client.getContext()); } /** @@ -2330,7 +2330,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, serverName, databaseName, syncGroupName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -2639,7 +2639,7 @@ public PollerFlux, SyncGroupInner> beginUpdateAsync( return this .client .getLroResult( - mono, this.client.getHttpPipeline(), SyncGroupInner.class, SyncGroupInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), SyncGroupInner.class, SyncGroupInner.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/SyncMembersClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/SyncMembersClientImpl.java index f7f70e09cefc6..6ecfd8acc7fab 100644 --- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/SyncMembersClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/SyncMembersClientImpl.java @@ -589,7 +589,7 @@ public PollerFlux, SyncMemberInner> beginCreateOrUpd return this .client .getLroResult( - mono, this.client.getHttpPipeline(), SyncMemberInner.class, SyncMemberInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), SyncMemberInner.class, SyncMemberInner.class, this.client.getContext()); } /** @@ -953,7 +953,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, serverName, databaseName, syncGroupName, syncMemberName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -1308,7 +1308,7 @@ public PollerFlux, SyncMemberInner> beginUpdateAsync return this .client .getLroResult( - mono, this.client.getHttpPipeline(), SyncMemberInner.class, SyncMemberInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), SyncMemberInner.class, SyncMemberInner.class, this.client.getContext()); } /** @@ -2135,7 +2135,7 @@ public PollerFlux, Void> beginRefreshMemberSchemaAsync( resourceGroupName, serverName, databaseName, syncGroupName, syncMemberName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/TdeCertificatesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/TdeCertificatesClientImpl.java index 06371e01a43bc..2544312df9e8e 100644 --- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/TdeCertificatesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/TdeCertificatesClientImpl.java @@ -201,7 +201,7 @@ public PollerFlux, Void> beginCreateAsync( Mono>> mono = createWithResponseAsync(resourceGroupName, serverName, parameters); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/VirtualClustersClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/VirtualClustersClientImpl.java index 414c95926b8e5..05212a83a155d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/VirtualClustersClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/VirtualClustersClientImpl.java @@ -713,7 +713,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN Mono>> mono = deleteWithResponseAsync(resourceGroupName, virtualClusterName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -974,7 +974,7 @@ public PollerFlux, VirtualClusterInner> beginUpd this.client.getHttpPipeline(), VirtualClusterInner.class, VirtualClusterInner.class, - Context.NONE); + this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/VirtualNetworkRulesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/VirtualNetworkRulesClientImpl.java index a9d17459fc41a..a528239b74be9 100644 --- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/VirtualNetworkRulesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/VirtualNetworkRulesClientImpl.java @@ -461,7 +461,7 @@ public PollerFlux, VirtualNetworkRuleInner> this.client.getHttpPipeline(), VirtualNetworkRuleInner.class, VirtualNetworkRuleInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -769,7 +769,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, serverName, virtualNetworkRuleName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/WorkloadClassifiersClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/WorkloadClassifiersClientImpl.java index 9eea77a7ce679..5624afb06d489 100644 --- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/WorkloadClassifiersClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/WorkloadClassifiersClientImpl.java @@ -557,7 +557,7 @@ public PollerFlux, WorkloadClassifierInner> this.client.getHttpPipeline(), WorkloadClassifierInner.class, WorkloadClassifierInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -964,7 +964,7 @@ public PollerFlux, Void> beginDeleteAsync( resourceGroupName, serverName, databaseName, workloadGroupName, workloadClassifierName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/WorkloadGroupsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/WorkloadGroupsClientImpl.java index 0af02f7aeaeb7..86449d438bd05 100644 --- a/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/WorkloadGroupsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/WorkloadGroupsClientImpl.java @@ -485,7 +485,7 @@ public PollerFlux, WorkloadGroupInner> beginCreat return this .client .getLroResult( - mono, this.client.getHttpPipeline(), WorkloadGroupInner.class, WorkloadGroupInner.class, Context.NONE); + mono, this.client.getHttpPipeline(), WorkloadGroupInner.class, WorkloadGroupInner.class, this.client.getContext()); } /** @@ -816,7 +816,7 @@ public PollerFlux, Void> beginDeleteAsync( deleteWithResponseAsync(resourceGroupName, serverName, databaseName, workloadGroupName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/BlobContainersClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/BlobContainersClientImpl.java index e359333a4de30..e58e38fd51847 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/BlobContainersClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/BlobContainersClientImpl.java @@ -3408,7 +3408,7 @@ public PollerFlux, Void> beginObjectLevelWormAsync( objectLevelWormWithResponseAsync(resourceGroupName, accountName, containerName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/StorageAccountsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/StorageAccountsClientImpl.java index 5aa7cd087467b..652f323791408 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/StorageAccountsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/StorageAccountsClientImpl.java @@ -608,7 +608,7 @@ public PollerFlux, StorageAccountInner> beginCre this.client.getHttpPipeline(), StorageAccountInner.class, StorageAccountInner.class, - Context.NONE); + this.client.getContext()); } /** @@ -2499,7 +2499,7 @@ public PollerFlux, Void> beginFailoverAsync(String resourceGrou Mono>> mono = failoverWithResponseAsync(resourceGroupName, accountName); return this .client - .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE); + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** @@ -2782,7 +2782,7 @@ public PollerFlux, BlobRestoreStatusInner> be this.client.getHttpPipeline(), BlobRestoreStatusInner.class, BlobRestoreStatusInner.class, - Context.NONE); + this.client.getContext()); } /**