From 24cc7cc48d5422887b3ad0121d61f211bfff9c49 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Fri, 20 Jan 2023 09:56:56 +0000 Subject: [PATCH] CodeGen from PR 22259 in Azure/azure-rest-api-specs Merge 20c3d1ecf30022f7cdf8d402d7ade808fe7763c5 into 2d9846d81852452cf10270b18329ac382a881bf7 --- sdk/network/arm-network/CHANGELOG.md | 44 ++++++-- sdk/network/arm-network/LICENSE | 2 +- sdk/network/arm-network/_meta.json | 8 +- sdk/network/arm-network/package.json | 14 +-- .../arm-network/review/arm-network.api.md | 29 +---- sdk/network/arm-network/src/models/index.ts | 106 ++++-------------- .../src/networkManagementClient.ts | 6 +- .../src/operations/adminRuleCollections.ts | 5 - .../arm-network/src/operations/adminRules.ts | 5 - ...cationGatewayPrivateEndpointConnections.ts | 1 - .../applicationGatewayPrivateLinkResources.ts | 1 - .../applicationGatewayWafDynamicManifests.ts | 1 - .../src/operations/applicationGateways.ts | 3 - .../operations/applicationSecurityGroups.ts | 2 - .../src/operations/availableDelegations.ts | 1 - .../operations/availableEndpointServices.ts | 1 - .../availablePrivateEndpointTypes.ts | 2 - .../availableResourceGroupDelegations.ts | 1 - .../src/operations/availableServiceAliases.ts | 2 - .../src/operations/azureFirewallFqdnTags.ts | 1 - .../src/operations/azureFirewalls.ts | 2 - .../src/operations/bastionHosts.ts | 2 - .../src/operations/bgpServiceCommunities.ts | 1 - .../operations/configurationPolicyGroups.ts | 1 - .../operations/connectivityConfigurations.ts | 5 - .../src/operations/customIPPrefixes.ts | 2 - .../src/operations/ddosProtectionPlans.ts | 2 - .../src/operations/defaultSecurityRules.ts | 1 - .../operations/dscpConfigurationOperations.ts | 2 - .../expressRouteCircuitAuthorizations.ts | 1 - .../expressRouteCircuitConnections.ts | 1 - .../operations/expressRouteCircuitPeerings.ts | 1 - .../src/operations/expressRouteCircuits.ts | 2 - .../expressRouteCrossConnectionPeerings.ts | 1 - .../expressRouteCrossConnections.ts | 2 - .../src/operations/expressRouteLinks.ts | 1 - .../expressRoutePortAuthorizations.ts | 1 - .../src/operations/expressRoutePorts.ts | 2 - .../operations/expressRoutePortsLocations.ts | 1 - .../expressRouteServiceProviders.ts | 1 - .../src/operations/firewallPolicies.ts | 2 - .../firewallPolicyRuleCollectionGroups.ts | 1 - .../arm-network/src/operations/flowLogs.ts | 1 - .../src/operations/hubRouteTables.ts | 1 - .../hubVirtualNetworkConnections.ts | 1 - .../src/operations/inboundNatRules.ts | 1 - .../src/operations/ipAllocations.ts | 2 - .../arm-network/src/operations/ipGroups.ts | 2 - .../loadBalancerBackendAddressPools.ts | 1 - .../loadBalancerFrontendIPConfigurations.ts | 1 - .../loadBalancerLoadBalancingRules.ts | 1 - .../loadBalancerNetworkInterfaces.ts | 1 - .../operations/loadBalancerOutboundRules.ts | 1 - .../src/operations/loadBalancerProbes.ts | 1 - .../src/operations/loadBalancers.ts | 2 - .../src/operations/localNetworkGateways.ts | 1 - ...anagementGroupNetworkManagerConnections.ts | 5 - .../arm-network/src/operations/natGateways.ts | 2 - .../arm-network/src/operations/natRules.ts | 1 - .../src/operations/networkGroups.ts | 5 - .../networkInterfaceIPConfigurations.ts | 1 - .../networkInterfaceLoadBalancers.ts | 1 - .../networkInterfaceTapConfigurations.ts | 1 - .../src/operations/networkInterfaces.ts | 7 -- .../src/operations/networkManagers.ts | 10 -- .../src/operations/networkProfiles.ts | 2 - .../src/operations/networkSecurityGroups.ts | 2 - .../operations/networkVirtualAppliances.ts | 2 - .../arm-network/src/operations/operations.ts | 1 - .../src/operations/p2SVpnGateways.ts | 2 - .../peerExpressRouteCircuitConnections.ts | 1 - .../src/operations/privateDnsZoneGroups.ts | 1 - .../src/operations/privateEndpoints.ts | 2 - .../src/operations/privateLinkServices.ts | 5 - .../src/operations/publicIPAddresses.ts | 6 - .../src/operations/publicIPPrefixes.ts | 2 - .../src/operations/routeFilterRules.ts | 1 - .../src/operations/routeFilters.ts | 2 - .../arm-network/src/operations/routeMaps.ts | 1 - .../arm-network/src/operations/routeTables.ts | 2 - .../arm-network/src/operations/routes.ts | 1 - .../src/operations/routingIntentOperations.ts | 1 - .../src/operations/scopeConnections.ts | 5 - .../operations/securityAdminConfigurations.ts | 5 - .../operations/securityPartnerProviders.ts | 2 - .../src/operations/securityRules.ts | 1 - .../src/operations/serviceEndpointPolicies.ts | 2 - .../serviceEndpointPolicyDefinitions.ts | 1 - .../serviceTagInformationOperations.ts | 5 - .../src/operations/staticMembers.ts | 5 - .../arm-network/src/operations/subnets.ts | 1 - .../subscriptionNetworkManagerConnections.ts | 5 - .../arm-network/src/operations/usages.ts | 1 - .../src/operations/virtualApplianceSites.ts | 1 - .../src/operations/virtualApplianceSkus.ts | 1 - .../operations/virtualHubBgpConnections.ts | 1 - .../operations/virtualHubIpConfiguration.ts | 1 - .../src/operations/virtualHubRouteTableV2S.ts | 1 - .../arm-network/src/operations/virtualHubs.ts | 2 - .../virtualNetworkGatewayConnections.ts | 1 - .../virtualNetworkGatewayNatRules.ts | 1 - .../src/operations/virtualNetworkGateways.ts | 2 - .../src/operations/virtualNetworkPeerings.ts | 1 - .../src/operations/virtualNetworkTaps.ts | 2 - .../src/operations/virtualNetworks.ts | 8 -- .../src/operations/virtualRouterPeerings.ts | 1 - .../src/operations/virtualRouters.ts | 2 - .../arm-network/src/operations/virtualWans.ts | 2 - .../src/operations/vpnConnections.ts | 1 - .../arm-network/src/operations/vpnGateways.ts | 2 - .../src/operations/vpnLinkConnections.ts | 1 - .../src/operations/vpnServerConfigurations.ts | 2 - .../src/operations/vpnSiteLinks.ts | 1 - .../arm-network/src/operations/vpnSites.ts | 2 - .../webApplicationFirewallPolicies.ts | 2 - .../src/operations/webCategories.ts | 1 - sdk/network/arm-network/src/pagingHelper.ts | 8 +- sdk/network/arm-network/test/sampleTest.ts | 43 +++++++ sdk/network/arm-network/tsconfig.json | 10 +- 119 files changed, 118 insertions(+), 369 deletions(-) create mode 100644 sdk/network/arm-network/test/sampleTest.ts diff --git a/sdk/network/arm-network/CHANGELOG.md b/sdk/network/arm-network/CHANGELOG.md index ba3f8c357b81..c5f9329a09bc 100644 --- a/sdk/network/arm-network/CHANGELOG.md +++ b/sdk/network/arm-network/CHANGELOG.md @@ -1,15 +1,43 @@ # Release History + +## 31.0.0 (2023-01-20) + +**Features** -## 30.1.1 (Unreleased) - -### Features Added - -### Breaking Changes - -### Bugs Fixed + - Enum KnownApplicationGatewaySkuName has a new value StandardBasic + - Enum KnownApplicationGatewayTier has a new value StandardBasic -### Other Changes +**Breaking Changes** + - Interface AdminRuleCollectionsListNextOptionalParams no longer has parameter skipToken + - Interface AdminRuleCollectionsListNextOptionalParams no longer has parameter top + - Interface AdminRulesListNextOptionalParams no longer has parameter skipToken + - Interface AdminRulesListNextOptionalParams no longer has parameter top + - Interface ConnectivityConfigurationsListNextOptionalParams no longer has parameter skipToken + - Interface ConnectivityConfigurationsListNextOptionalParams no longer has parameter top + - Interface ManagementGroupNetworkManagerConnectionsListNextOptionalParams no longer has parameter skipToken + - Interface ManagementGroupNetworkManagerConnectionsListNextOptionalParams no longer has parameter top + - Interface NetworkGroupsListNextOptionalParams no longer has parameter skipToken + - Interface NetworkGroupsListNextOptionalParams no longer has parameter top + - Interface NetworkInterfacesListVirtualMachineScaleSetIpConfigurationsNextOptionalParams no longer has parameter expand + - Interface NetworkManagersListBySubscriptionNextOptionalParams no longer has parameter skipToken + - Interface NetworkManagersListBySubscriptionNextOptionalParams no longer has parameter top + - Interface NetworkManagersListNextOptionalParams no longer has parameter skipToken + - Interface NetworkManagersListNextOptionalParams no longer has parameter top + - Interface ScopeConnectionsListNextOptionalParams no longer has parameter skipToken + - Interface ScopeConnectionsListNextOptionalParams no longer has parameter top + - Interface SecurityAdminConfigurationsListNextOptionalParams no longer has parameter skipToken + - Interface SecurityAdminConfigurationsListNextOptionalParams no longer has parameter top + - Interface ServiceTagInformationListNextOptionalParams no longer has parameter noAddressPrefixes + - Interface ServiceTagInformationListNextOptionalParams no longer has parameter tagName + - Interface StaticMembersListNextOptionalParams no longer has parameter skipToken + - Interface StaticMembersListNextOptionalParams no longer has parameter top + - Interface SubscriptionNetworkManagerConnectionsListNextOptionalParams no longer has parameter skipToken + - Interface SubscriptionNetworkManagerConnectionsListNextOptionalParams no longer has parameter top + - Interface VirtualNetworksListDdosProtectionStatusNextOptionalParams no longer has parameter skipToken + - Interface VirtualNetworksListDdosProtectionStatusNextOptionalParams no longer has parameter top + + ## 30.1.0 (2022-12-13) **Features** diff --git a/sdk/network/arm-network/LICENSE b/sdk/network/arm-network/LICENSE index 5d1d36e0af80..3a1d9b6f24f7 100644 --- a/sdk/network/arm-network/LICENSE +++ b/sdk/network/arm-network/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2022 Microsoft +Copyright (c) 2023 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/sdk/network/arm-network/_meta.json b/sdk/network/arm-network/_meta.json index d7f4b40e30a0..1ffbfc541648 100644 --- a/sdk/network/arm-network/_meta.json +++ b/sdk/network/arm-network/_meta.json @@ -1,8 +1,8 @@ { - "commit": "7245d0f5cc01bf95df9d7ae893f252d4001b4ad7", + "commit": "06234a6c50d7a9b71e412c01058374b782bdc30a", "readme": "specification/network/resource-manager/readme.md", - "autorest_command": "autorest --version=3.9.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\network\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-rc.3.20221108.1 --generate-sample=true", + "autorest_command": "autorest --version=3.9.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/network/resource-manager/readme.md --use=@autorest/typescript@6.0.0-rc.5", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", - "release_tool": "@azure-tools/js-sdk-release-tools@2.5.3", - "use": "@autorest/typescript@6.0.0-rc.3.20221108.1" + "release_tool": "@azure-tools/js-sdk-release-tools@2.6.0", + "use": "@autorest/typescript@6.0.0-rc.5" } \ No newline at end of file diff --git a/sdk/network/arm-network/package.json b/sdk/network/arm-network/package.json index bacb356a169b..2f121a96db8a 100644 --- a/sdk/network/arm-network/package.json +++ b/sdk/network/arm-network/package.json @@ -3,7 +3,7 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for NetworkManagementClient.", - "version": "30.1.1", + "version": "31.0.0", "engines": { "node": ">=14.0.0" }, @@ -110,13 +110,5 @@ } ] }, - "autoPublish": true, - "//sampleConfiguration": { - "productName": "", - "productSlugs": [ - "azure" - ], - "disableDocsMs": true, - "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-network?view=azure-node-preview" - } -} + "autoPublish": true +} \ No newline at end of file diff --git a/sdk/network/arm-network/review/arm-network.api.md b/sdk/network/arm-network/review/arm-network.api.md index ea799d0ef103..f9e3b5027902 100644 --- a/sdk/network/arm-network/review/arm-network.api.md +++ b/sdk/network/arm-network/review/arm-network.api.md @@ -179,8 +179,6 @@ export type AdminRuleCollectionsGetResponse = AdminRuleCollection; // @public export interface AdminRuleCollectionsListNextOptionalParams extends coreClient.OperationOptions { - skipToken?: string; - top?: number; } // @public @@ -241,8 +239,6 @@ export type AdminRulesGetResponse = BaseAdminRuleUnion; // @public export interface AdminRulesListNextOptionalParams extends coreClient.OperationOptions { - skipToken?: string; - top?: number; } // @public @@ -2620,8 +2616,6 @@ export type ConnectivityConfigurationsGetResponse = ConnectivityConfiguration; // @public export interface ConnectivityConfigurationsListNextOptionalParams extends coreClient.OperationOptions { - skipToken?: string; - top?: number; } // @public @@ -5962,6 +5956,7 @@ export enum KnownApplicationGatewayRuleSetStatusOptions { // @public export enum KnownApplicationGatewaySkuName { + StandardBasic = "Standard_Basic", StandardLarge = "Standard_Large", StandardMedium = "Standard_Medium", StandardSmall = "Standard_Small", @@ -6030,6 +6025,7 @@ export enum KnownApplicationGatewaySslProtocol { // @public export enum KnownApplicationGatewayTier { Standard = "Standard", + StandardBasic = "Standard_Basic", StandardV2 = "Standard_v2", WAF = "WAF", WAFV2 = "WAF_v2" @@ -8035,8 +8031,6 @@ export type ManagementGroupNetworkManagerConnectionsGetResponse = NetworkManager // @public export interface ManagementGroupNetworkManagerConnectionsListNextOptionalParams extends coreClient.OperationOptions { - skipToken?: string; - top?: number; } // @public @@ -8336,8 +8330,6 @@ export type NetworkGroupsGetResponse = NetworkGroup; // @public export interface NetworkGroupsListNextOptionalParams extends coreClient.OperationOptions { - skipToken?: string; - top?: number; } // @public @@ -8656,7 +8648,6 @@ export type NetworkInterfacesListResponse = NetworkInterfaceListResult; // @public export interface NetworkInterfacesListVirtualMachineScaleSetIpConfigurationsNextOptionalParams extends coreClient.OperationOptions { - expand?: string; } // @public @@ -9215,8 +9206,6 @@ export type NetworkManagersGetResponse = NetworkManager; // @public export interface NetworkManagersListBySubscriptionNextOptionalParams extends coreClient.OperationOptions { - skipToken?: string; - top?: number; } // @public @@ -9233,8 +9222,6 @@ export type NetworkManagersListBySubscriptionResponse = NetworkManagerListResult // @public export interface NetworkManagersListNextOptionalParams extends coreClient.OperationOptions { - skipToken?: string; - top?: number; } // @public @@ -11758,8 +11745,6 @@ export type ScopeConnectionsGetResponse = ScopeConnection; // @public export interface ScopeConnectionsListNextOptionalParams extends coreClient.OperationOptions { - skipToken?: string; - top?: number; } // @public @@ -11828,8 +11813,6 @@ export type SecurityAdminConfigurationsGetResponse = SecurityAdminConfiguration; // @public export interface SecurityAdminConfigurationsListNextOptionalParams extends coreClient.OperationOptions { - skipToken?: string; - top?: number; } // @public @@ -12252,8 +12235,6 @@ export interface ServiceTagInformation { // @public export interface ServiceTagInformationListNextOptionalParams extends coreClient.OperationOptions { - noAddressPrefixes?: boolean; - tagName?: string; } // @public @@ -12414,8 +12395,6 @@ export type StaticMembersGetResponse = StaticMember; // @public export interface StaticMembersListNextOptionalParams extends coreClient.OperationOptions { - skipToken?: string; - top?: number; } // @public @@ -12577,8 +12556,6 @@ export type SubscriptionNetworkManagerConnectionsGetResponse = NetworkManagerCon // @public export interface SubscriptionNetworkManagerConnectionsListNextOptionalParams extends coreClient.OperationOptions { - skipToken?: string; - top?: number; } // @public @@ -14081,8 +14058,6 @@ export type VirtualNetworksListAllResponse = VirtualNetworkListResult; // @public export interface VirtualNetworksListDdosProtectionStatusNextOptionalParams extends coreClient.OperationOptions { - skipToken?: string; - top?: number; } // @public diff --git a/sdk/network/arm-network/src/models/index.ts b/sdk/network/arm-network/src/models/index.ts index d54a9c13b9fa..ba4c7374973a 100644 --- a/sdk/network/arm-network/src/models/index.ts +++ b/sdk/network/arm-network/src/models/index.ts @@ -11393,6 +11393,8 @@ export enum KnownApplicationGatewaySkuName { WAFLarge = "WAF_Large", /** StandardV2 */ StandardV2 = "Standard_v2", + /** StandardBasic */ + StandardBasic = "Standard_Basic", /** WAFV2 */ WAFV2 = "WAF_v2" } @@ -11408,6 +11410,7 @@ export enum KnownApplicationGatewaySkuName { * **WAF_Medium** \ * **WAF_Large** \ * **Standard_v2** \ + * **Standard_Basic** \ * **WAF_v2** */ export type ApplicationGatewaySkuName = string; @@ -11421,7 +11424,9 @@ export enum KnownApplicationGatewayTier { /** StandardV2 */ StandardV2 = "Standard_v2", /** WAFV2 */ - WAFV2 = "WAF_v2" + WAFV2 = "WAF_v2", + /** StandardBasic */ + StandardBasic = "Standard_Basic" } /** @@ -11432,7 +11437,8 @@ export enum KnownApplicationGatewayTier { * **Standard** \ * **WAF** \ * **Standard_v2** \ - * **WAF_v2** + * **WAF_v2** \ + * **Standard_Basic** */ export type ApplicationGatewayTier = string; @@ -16817,10 +16823,7 @@ export type NetworkInterfacesListVirtualMachineScaleSetNetworkInterfacesNextResp /** Optional parameters. */ export interface NetworkInterfacesListVirtualMachineScaleSetIpConfigurationsNextOptionalParams - extends coreClient.OperationOptions { - /** Expands referenced resources. */ - expand?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listVirtualMachineScaleSetIpConfigurationsNext operation. */ export type NetworkInterfacesListVirtualMachineScaleSetIpConfigurationsNextResponse = NetworkInterfaceIPConfigurationListResult; @@ -18559,24 +18562,14 @@ export type NetworkManagersListResponse = NetworkManagerListResult; /** Optional parameters. */ export interface NetworkManagersListBySubscriptionNextOptionalParams - extends coreClient.OperationOptions { - /** An optional query parameter which specifies the maximum number of records to be returned by the server. */ - top?: number; - /** SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */ - skipToken?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listBySubscriptionNext operation. */ export type NetworkManagersListBySubscriptionNextResponse = NetworkManagerListResult; /** Optional parameters. */ export interface NetworkManagersListNextOptionalParams - extends coreClient.OperationOptions { - /** An optional query parameter which specifies the maximum number of records to be returned by the server. */ - top?: number; - /** SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */ - skipToken?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ export type NetworkManagersListNextResponse = NetworkManagerListResult; @@ -18635,12 +18628,7 @@ export type SubscriptionNetworkManagerConnectionsListResponse = NetworkManagerCo /** Optional parameters. */ export interface SubscriptionNetworkManagerConnectionsListNextOptionalParams - extends coreClient.OperationOptions { - /** An optional query parameter which specifies the maximum number of records to be returned by the server. */ - top?: number; - /** SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */ - skipToken?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ export type SubscriptionNetworkManagerConnectionsListNextResponse = NetworkManagerConnectionListResult; @@ -18677,12 +18665,7 @@ export type ManagementGroupNetworkManagerConnectionsListResponse = NetworkManage /** Optional parameters. */ export interface ManagementGroupNetworkManagerConnectionsListNextOptionalParams - extends coreClient.OperationOptions { - /** An optional query parameter which specifies the maximum number of records to be returned by the server. */ - top?: number; - /** SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */ - skipToken?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ export type ManagementGroupNetworkManagerConnectionsListNextResponse = NetworkManagerConnectionListResult; @@ -18726,12 +18709,7 @@ export type ConnectivityConfigurationsListResponse = ConnectivityConfigurationLi /** Optional parameters. */ export interface ConnectivityConfigurationsListNextOptionalParams - extends coreClient.OperationOptions { - /** An optional query parameter which specifies the maximum number of records to be returned by the server. */ - top?: number; - /** SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */ - skipToken?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ export type ConnectivityConfigurationsListNextResponse = ConnectivityConfigurationListResult; @@ -18779,12 +18757,7 @@ export type NetworkGroupsListResponse = NetworkGroupListResult; /** Optional parameters. */ export interface NetworkGroupsListNextOptionalParams - extends coreClient.OperationOptions { - /** An optional query parameter which specifies the maximum number of records to be returned by the server. */ - top?: number; - /** SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */ - skipToken?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ export type NetworkGroupsListNextResponse = NetworkGroupListResult; @@ -18821,12 +18794,7 @@ export type StaticMembersListResponse = StaticMemberListResult; /** Optional parameters. */ export interface StaticMembersListNextOptionalParams - extends coreClient.OperationOptions { - /** An optional query parameter which specifies the maximum number of records to be returned by the server. */ - top?: number; - /** SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */ - skipToken?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ export type StaticMembersListNextResponse = StaticMemberListResult; @@ -18863,12 +18831,7 @@ export type ScopeConnectionsListResponse = ScopeConnectionListResult; /** Optional parameters. */ export interface ScopeConnectionsListNextOptionalParams - extends coreClient.OperationOptions { - /** An optional query parameter which specifies the maximum number of records to be returned by the server. */ - top?: number; - /** SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */ - skipToken?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ export type ScopeConnectionsListNextResponse = ScopeConnectionListResult; @@ -18912,12 +18875,7 @@ export interface SecurityAdminConfigurationsDeleteOptionalParams /** Optional parameters. */ export interface SecurityAdminConfigurationsListNextOptionalParams - extends coreClient.OperationOptions { - /** An optional query parameter which specifies the maximum number of records to be returned by the server. */ - top?: number; - /** SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */ - skipToken?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ export type SecurityAdminConfigurationsListNextResponse = SecurityAdminConfigurationListResult; @@ -18961,12 +18919,7 @@ export interface AdminRuleCollectionsDeleteOptionalParams /** Optional parameters. */ export interface AdminRuleCollectionsListNextOptionalParams - extends coreClient.OperationOptions { - /** An optional query parameter which specifies the maximum number of records to be returned by the server. */ - top?: number; - /** SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */ - skipToken?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ export type AdminRuleCollectionsListNextResponse = AdminRuleCollectionListResult; @@ -19010,12 +18963,7 @@ export interface AdminRulesDeleteOptionalParams /** Optional parameters. */ export interface AdminRulesListNextOptionalParams - extends coreClient.OperationOptions { - /** An optional query parameter which specifies the maximum number of records to be returned by the server. */ - top?: number; - /** SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */ - skipToken?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ export type AdminRulesListNextResponse = AdminRuleListResult; @@ -20493,12 +20441,7 @@ export type ServiceTagInformationListResponse = ServiceTagInformationListResult; /** Optional parameters. */ export interface ServiceTagInformationListNextOptionalParams - extends coreClient.OperationOptions { - /** Do not return address prefixes for the tag(s). */ - noAddressPrefixes?: boolean; - /** Return tag information for a particular tag. */ - tagName?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ export type ServiceTagInformationListNextResponse = ServiceTagInformationListResult; @@ -20621,12 +20564,7 @@ export type VirtualNetworksListUsageNextResponse = VirtualNetworkListUsageResult /** Optional parameters. */ export interface VirtualNetworksListDdosProtectionStatusNextOptionalParams - extends coreClient.OperationOptions { - /** The max number of ip addresses to return. */ - top?: number; - /** The skipToken that is given with nextLink. */ - skipToken?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listDdosProtectionStatusNext operation. */ export type VirtualNetworksListDdosProtectionStatusNextResponse = VirtualNetworkDdosProtectionStatusResult; diff --git a/sdk/network/arm-network/src/networkManagementClient.ts b/sdk/network/arm-network/src/networkManagementClient.ts index 4482b922dacf..b3d27d9b849a 100644 --- a/sdk/network/arm-network/src/networkManagementClient.ts +++ b/sdk/network/arm-network/src/networkManagementClient.ts @@ -359,7 +359,7 @@ export class NetworkManagementClient extends coreClient.ServiceClient { credential: credentials }; - const packageDetails = `azsdk-js-arm-network/30.1.1`; + const packageDetails = `azsdk-js-arm-network/31.0.0`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` @@ -2042,7 +2042,6 @@ const putBastionShareableLinkNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -2065,7 +2064,6 @@ const getBastionShareableLinkNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -2089,7 +2087,6 @@ const getActiveSessionsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -2111,7 +2108,6 @@ const disconnectActiveSessionsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/adminRuleCollections.ts b/sdk/network/arm-network/src/operations/adminRuleCollections.ts index aed06645fdb1..fe4beaeb4174 100644 --- a/sdk/network/arm-network/src/operations/adminRuleCollections.ts +++ b/sdk/network/arm-network/src/operations/adminRuleCollections.ts @@ -455,11 +455,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [ - Parameters.apiVersion, - Parameters.top, - Parameters.skipToken - ], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/adminRules.ts b/sdk/network/arm-network/src/operations/adminRules.ts index afc53c566d27..d01c015f1d88 100644 --- a/sdk/network/arm-network/src/operations/adminRules.ts +++ b/sdk/network/arm-network/src/operations/adminRules.ts @@ -491,11 +491,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [ - Parameters.apiVersion, - Parameters.top, - Parameters.skipToken - ], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/applicationGatewayPrivateEndpointConnections.ts b/sdk/network/arm-network/src/operations/applicationGatewayPrivateEndpointConnections.ts index ab49ef37d9aa..aa923547bd22 100644 --- a/sdk/network/arm-network/src/operations/applicationGatewayPrivateEndpointConnections.ts +++ b/sdk/network/arm-network/src/operations/applicationGatewayPrivateEndpointConnections.ts @@ -494,7 +494,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/applicationGatewayPrivateLinkResources.ts b/sdk/network/arm-network/src/operations/applicationGatewayPrivateLinkResources.ts index 65d9ba6b7176..4d51f4dc92c8 100644 --- a/sdk/network/arm-network/src/operations/applicationGatewayPrivateLinkResources.ts +++ b/sdk/network/arm-network/src/operations/applicationGatewayPrivateLinkResources.ts @@ -191,7 +191,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/applicationGatewayWafDynamicManifests.ts b/sdk/network/arm-network/src/operations/applicationGatewayWafDynamicManifests.ts index 378b332f6c10..007a0683c5c4 100644 --- a/sdk/network/arm-network/src/operations/applicationGatewayWafDynamicManifests.ts +++ b/sdk/network/arm-network/src/operations/applicationGatewayWafDynamicManifests.ts @@ -160,7 +160,6 @@ const getNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/network/arm-network/src/operations/applicationGateways.ts b/sdk/network/arm-network/src/operations/applicationGateways.ts index c808f688a5f5..c7e394e8d2b8 100644 --- a/sdk/network/arm-network/src/operations/applicationGateways.ts +++ b/sdk/network/arm-network/src/operations/applicationGateways.ts @@ -1372,7 +1372,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -1393,7 +1392,6 @@ const listAllNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -1413,7 +1411,6 @@ const listAvailableSslPredefinedPoliciesNextOperationSpec: coreClient.OperationS bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/network/arm-network/src/operations/applicationSecurityGroups.ts b/sdk/network/arm-network/src/operations/applicationSecurityGroups.ts index 33ad454b59b2..8fc734e45e22 100644 --- a/sdk/network/arm-network/src/operations/applicationSecurityGroups.ts +++ b/sdk/network/arm-network/src/operations/applicationSecurityGroups.ts @@ -588,7 +588,6 @@ const listAllNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -608,7 +607,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/availableDelegations.ts b/sdk/network/arm-network/src/operations/availableDelegations.ts index 9e1bb3b83072..ec62a36d2cfa 100644 --- a/sdk/network/arm-network/src/operations/availableDelegations.ts +++ b/sdk/network/arm-network/src/operations/availableDelegations.ts @@ -159,7 +159,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/network/arm-network/src/operations/availableEndpointServices.ts b/sdk/network/arm-network/src/operations/availableEndpointServices.ts index 0c112a580588..a691f78c082d 100644 --- a/sdk/network/arm-network/src/operations/availableEndpointServices.ts +++ b/sdk/network/arm-network/src/operations/availableEndpointServices.ts @@ -160,7 +160,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/network/arm-network/src/operations/availablePrivateEndpointTypes.ts b/sdk/network/arm-network/src/operations/availablePrivateEndpointTypes.ts index 6feda3789889..6f2cd8446540 100644 --- a/sdk/network/arm-network/src/operations/availablePrivateEndpointTypes.ts +++ b/sdk/network/arm-network/src/operations/availablePrivateEndpointTypes.ts @@ -310,7 +310,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -331,7 +330,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/availableResourceGroupDelegations.ts b/sdk/network/arm-network/src/operations/availableResourceGroupDelegations.ts index 0cdd341b98b4..53e44327af85 100644 --- a/sdk/network/arm-network/src/operations/availableResourceGroupDelegations.ts +++ b/sdk/network/arm-network/src/operations/availableResourceGroupDelegations.ts @@ -183,7 +183,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/availableServiceAliases.ts b/sdk/network/arm-network/src/operations/availableServiceAliases.ts index a415dd414e14..b53c28943383 100644 --- a/sdk/network/arm-network/src/operations/availableServiceAliases.ts +++ b/sdk/network/arm-network/src/operations/availableServiceAliases.ts @@ -305,7 +305,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -326,7 +325,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/azureFirewallFqdnTags.ts b/sdk/network/arm-network/src/operations/azureFirewallFqdnTags.ts index 00966b1dab00..fe41ad58f734 100644 --- a/sdk/network/arm-network/src/operations/azureFirewallFqdnTags.ts +++ b/sdk/network/arm-network/src/operations/azureFirewallFqdnTags.ts @@ -144,7 +144,6 @@ const listAllNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/network/arm-network/src/operations/azureFirewalls.ts b/sdk/network/arm-network/src/operations/azureFirewalls.ts index 2ce998568240..a98c426dea9b 100644 --- a/sdk/network/arm-network/src/operations/azureFirewalls.ts +++ b/sdk/network/arm-network/src/operations/azureFirewalls.ts @@ -791,7 +791,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -812,7 +811,6 @@ const listAllNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/network/arm-network/src/operations/bastionHosts.ts b/sdk/network/arm-network/src/operations/bastionHosts.ts index f7a3d14b0f9f..dd9da95e6aab 100644 --- a/sdk/network/arm-network/src/operations/bastionHosts.ts +++ b/sdk/network/arm-network/src/operations/bastionHosts.ts @@ -677,7 +677,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -697,7 +696,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/bgpServiceCommunities.ts b/sdk/network/arm-network/src/operations/bgpServiceCommunities.ts index 043cdbbbdfda..2ecc32e1a4ba 100644 --- a/sdk/network/arm-network/src/operations/bgpServiceCommunities.ts +++ b/sdk/network/arm-network/src/operations/bgpServiceCommunities.ts @@ -144,7 +144,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/network/arm-network/src/operations/configurationPolicyGroups.ts b/sdk/network/arm-network/src/operations/configurationPolicyGroups.ts index ecc9091abe88..88f438afafdb 100644 --- a/sdk/network/arm-network/src/operations/configurationPolicyGroups.ts +++ b/sdk/network/arm-network/src/operations/configurationPolicyGroups.ts @@ -505,7 +505,6 @@ const listByVpnServerConfigurationNextOperationSpec: coreClient.OperationSpec = bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/connectivityConfigurations.ts b/sdk/network/arm-network/src/operations/connectivityConfigurations.ts index f916ec62d020..b9f1c93c21a3 100644 --- a/sdk/network/arm-network/src/operations/connectivityConfigurations.ts +++ b/sdk/network/arm-network/src/operations/connectivityConfigurations.ts @@ -411,11 +411,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [ - Parameters.apiVersion, - Parameters.top, - Parameters.skipToken - ], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/customIPPrefixes.ts b/sdk/network/arm-network/src/operations/customIPPrefixes.ts index 446884c4a786..dc596668c7ad 100644 --- a/sdk/network/arm-network/src/operations/customIPPrefixes.ts +++ b/sdk/network/arm-network/src/operations/customIPPrefixes.ts @@ -587,7 +587,6 @@ const listAllNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -607,7 +606,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/ddosProtectionPlans.ts b/sdk/network/arm-network/src/operations/ddosProtectionPlans.ts index 63c46f43be70..1c20192d3384 100644 --- a/sdk/network/arm-network/src/operations/ddosProtectionPlans.ts +++ b/sdk/network/arm-network/src/operations/ddosProtectionPlans.ts @@ -594,7 +594,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -614,7 +613,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/defaultSecurityRules.ts b/sdk/network/arm-network/src/operations/defaultSecurityRules.ts index 7e55b4844bcc..282343953adb 100644 --- a/sdk/network/arm-network/src/operations/defaultSecurityRules.ts +++ b/sdk/network/arm-network/src/operations/defaultSecurityRules.ts @@ -239,7 +239,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/dscpConfigurationOperations.ts b/sdk/network/arm-network/src/operations/dscpConfigurationOperations.ts index bd4b4e23c99b..b7a08b119059 100644 --- a/sdk/network/arm-network/src/operations/dscpConfigurationOperations.ts +++ b/sdk/network/arm-network/src/operations/dscpConfigurationOperations.ts @@ -542,7 +542,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -563,7 +562,6 @@ const listAllNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/network/arm-network/src/operations/expressRouteCircuitAuthorizations.ts b/sdk/network/arm-network/src/operations/expressRouteCircuitAuthorizations.ts index 6d623ae3022d..3a0ff7b000f5 100644 --- a/sdk/network/arm-network/src/operations/expressRouteCircuitAuthorizations.ts +++ b/sdk/network/arm-network/src/operations/expressRouteCircuitAuthorizations.ts @@ -486,7 +486,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/expressRouteCircuitConnections.ts b/sdk/network/arm-network/src/operations/expressRouteCircuitConnections.ts index 1b296d518cfe..b527f1115de4 100644 --- a/sdk/network/arm-network/src/operations/expressRouteCircuitConnections.ts +++ b/sdk/network/arm-network/src/operations/expressRouteCircuitConnections.ts @@ -522,7 +522,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/expressRouteCircuitPeerings.ts b/sdk/network/arm-network/src/operations/expressRouteCircuitPeerings.ts index e44a8c9f4e8d..f53b6ec6f7bb 100644 --- a/sdk/network/arm-network/src/operations/expressRouteCircuitPeerings.ts +++ b/sdk/network/arm-network/src/operations/expressRouteCircuitPeerings.ts @@ -484,7 +484,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/expressRouteCircuits.ts b/sdk/network/arm-network/src/operations/expressRouteCircuits.ts index cc344aab55f3..7a605418c70a 100644 --- a/sdk/network/arm-network/src/operations/expressRouteCircuits.ts +++ b/sdk/network/arm-network/src/operations/expressRouteCircuits.ts @@ -1077,7 +1077,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -1098,7 +1097,6 @@ const listAllNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/network/arm-network/src/operations/expressRouteCrossConnectionPeerings.ts b/sdk/network/arm-network/src/operations/expressRouteCrossConnectionPeerings.ts index 46027b5c1f8f..60b1fa6341e3 100644 --- a/sdk/network/arm-network/src/operations/expressRouteCrossConnectionPeerings.ts +++ b/sdk/network/arm-network/src/operations/expressRouteCrossConnectionPeerings.ts @@ -494,7 +494,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/expressRouteCrossConnections.ts b/sdk/network/arm-network/src/operations/expressRouteCrossConnections.ts index 336584802a85..7ec8ce4c158d 100644 --- a/sdk/network/arm-network/src/operations/expressRouteCrossConnections.ts +++ b/sdk/network/arm-network/src/operations/expressRouteCrossConnections.ts @@ -920,7 +920,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -940,7 +939,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/expressRouteLinks.ts b/sdk/network/arm-network/src/operations/expressRouteLinks.ts index c493913603b7..94f0c1a3ac05 100644 --- a/sdk/network/arm-network/src/operations/expressRouteLinks.ts +++ b/sdk/network/arm-network/src/operations/expressRouteLinks.ts @@ -234,7 +234,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/expressRoutePortAuthorizations.ts b/sdk/network/arm-network/src/operations/expressRoutePortAuthorizations.ts index 82cdfea5f01e..20aa6321c268 100644 --- a/sdk/network/arm-network/src/operations/expressRoutePortAuthorizations.ts +++ b/sdk/network/arm-network/src/operations/expressRoutePortAuthorizations.ts @@ -492,7 +492,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/expressRoutePorts.ts b/sdk/network/arm-network/src/operations/expressRoutePorts.ts index a5707ace6d32..e704ca967209 100644 --- a/sdk/network/arm-network/src/operations/expressRoutePorts.ts +++ b/sdk/network/arm-network/src/operations/expressRoutePorts.ts @@ -640,7 +640,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -661,7 +660,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/network/arm-network/src/operations/expressRoutePortsLocations.ts b/sdk/network/arm-network/src/operations/expressRoutePortsLocations.ts index 666b4af48a21..19c7e503c24e 100644 --- a/sdk/network/arm-network/src/operations/expressRoutePortsLocations.ts +++ b/sdk/network/arm-network/src/operations/expressRoutePortsLocations.ts @@ -186,7 +186,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/network/arm-network/src/operations/expressRouteServiceProviders.ts b/sdk/network/arm-network/src/operations/expressRouteServiceProviders.ts index 305d2cbafd05..534bfbed75ec 100644 --- a/sdk/network/arm-network/src/operations/expressRouteServiceProviders.ts +++ b/sdk/network/arm-network/src/operations/expressRouteServiceProviders.ts @@ -145,7 +145,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/network/arm-network/src/operations/firewallPolicies.ts b/sdk/network/arm-network/src/operations/firewallPolicies.ts index 9e31f887e93d..b65885a81c6d 100644 --- a/sdk/network/arm-network/src/operations/firewallPolicies.ts +++ b/sdk/network/arm-network/src/operations/firewallPolicies.ts @@ -587,7 +587,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -608,7 +607,6 @@ const listAllNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/network/arm-network/src/operations/firewallPolicyRuleCollectionGroups.ts b/sdk/network/arm-network/src/operations/firewallPolicyRuleCollectionGroups.ts index 00f35ad89586..fb8a5d36a2e3 100644 --- a/sdk/network/arm-network/src/operations/firewallPolicyRuleCollectionGroups.ts +++ b/sdk/network/arm-network/src/operations/firewallPolicyRuleCollectionGroups.ts @@ -500,7 +500,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/flowLogs.ts b/sdk/network/arm-network/src/operations/flowLogs.ts index 661476ece91e..35088a5f43c9 100644 --- a/sdk/network/arm-network/src/operations/flowLogs.ts +++ b/sdk/network/arm-network/src/operations/flowLogs.ts @@ -540,7 +540,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/hubRouteTables.ts b/sdk/network/arm-network/src/operations/hubRouteTables.ts index 948eb30e23bd..2032926f2ba0 100644 --- a/sdk/network/arm-network/src/operations/hubRouteTables.ts +++ b/sdk/network/arm-network/src/operations/hubRouteTables.ts @@ -481,7 +481,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/hubVirtualNetworkConnections.ts b/sdk/network/arm-network/src/operations/hubVirtualNetworkConnections.ts index 61e0f39c0c55..f4361d1b425e 100644 --- a/sdk/network/arm-network/src/operations/hubVirtualNetworkConnections.ts +++ b/sdk/network/arm-network/src/operations/hubVirtualNetworkConnections.ts @@ -484,7 +484,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/inboundNatRules.ts b/sdk/network/arm-network/src/operations/inboundNatRules.ts index e599d92f4e49..755d5dad0435 100644 --- a/sdk/network/arm-network/src/operations/inboundNatRules.ts +++ b/sdk/network/arm-network/src/operations/inboundNatRules.ts @@ -487,7 +487,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/ipAllocations.ts b/sdk/network/arm-network/src/operations/ipAllocations.ts index 94edbee9f566..a93dcf9c3505 100644 --- a/sdk/network/arm-network/src/operations/ipAllocations.ts +++ b/sdk/network/arm-network/src/operations/ipAllocations.ts @@ -594,7 +594,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -614,7 +613,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/ipGroups.ts b/sdk/network/arm-network/src/operations/ipGroups.ts index a9dfffda79ea..eb29984180af 100644 --- a/sdk/network/arm-network/src/operations/ipGroups.ts +++ b/sdk/network/arm-network/src/operations/ipGroups.ts @@ -593,7 +593,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorModel } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -614,7 +613,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorModel } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/network/arm-network/src/operations/loadBalancerBackendAddressPools.ts b/sdk/network/arm-network/src/operations/loadBalancerBackendAddressPools.ts index 1df65b17676f..7446f9320098 100644 --- a/sdk/network/arm-network/src/operations/loadBalancerBackendAddressPools.ts +++ b/sdk/network/arm-network/src/operations/loadBalancerBackendAddressPools.ts @@ -488,7 +488,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/loadBalancerFrontendIPConfigurations.ts b/sdk/network/arm-network/src/operations/loadBalancerFrontendIPConfigurations.ts index 2c83d42fe97b..aee1ddd70c30 100644 --- a/sdk/network/arm-network/src/operations/loadBalancerFrontendIPConfigurations.ts +++ b/sdk/network/arm-network/src/operations/loadBalancerFrontendIPConfigurations.ts @@ -236,7 +236,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/loadBalancerLoadBalancingRules.ts b/sdk/network/arm-network/src/operations/loadBalancerLoadBalancingRules.ts index d1e836692c7f..d2826cf2423f 100644 --- a/sdk/network/arm-network/src/operations/loadBalancerLoadBalancingRules.ts +++ b/sdk/network/arm-network/src/operations/loadBalancerLoadBalancingRules.ts @@ -231,7 +231,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/loadBalancerNetworkInterfaces.ts b/sdk/network/arm-network/src/operations/loadBalancerNetworkInterfaces.ts index a1b8cba55d2c..1935560a9c0a 100644 --- a/sdk/network/arm-network/src/operations/loadBalancerNetworkInterfaces.ts +++ b/sdk/network/arm-network/src/operations/loadBalancerNetworkInterfaces.ts @@ -187,7 +187,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/loadBalancerOutboundRules.ts b/sdk/network/arm-network/src/operations/loadBalancerOutboundRules.ts index a0e886b904a7..4ce4e922d626 100644 --- a/sdk/network/arm-network/src/operations/loadBalancerOutboundRules.ts +++ b/sdk/network/arm-network/src/operations/loadBalancerOutboundRules.ts @@ -231,7 +231,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/loadBalancerProbes.ts b/sdk/network/arm-network/src/operations/loadBalancerProbes.ts index 8013a1c3e82d..6c7ae35030d1 100644 --- a/sdk/network/arm-network/src/operations/loadBalancerProbes.ts +++ b/sdk/network/arm-network/src/operations/loadBalancerProbes.ts @@ -230,7 +230,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/loadBalancers.ts b/sdk/network/arm-network/src/operations/loadBalancers.ts index 36d6cb830257..dc3ef2dd342a 100644 --- a/sdk/network/arm-network/src/operations/loadBalancers.ts +++ b/sdk/network/arm-network/src/operations/loadBalancers.ts @@ -831,7 +831,6 @@ const listAllNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -851,7 +850,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/localNetworkGateways.ts b/sdk/network/arm-network/src/operations/localNetworkGateways.ts index f4ffb56d1554..fb0d3a56c886 100644 --- a/sdk/network/arm-network/src/operations/localNetworkGateways.ts +++ b/sdk/network/arm-network/src/operations/localNetworkGateways.ts @@ -487,7 +487,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/managementGroupNetworkManagerConnections.ts b/sdk/network/arm-network/src/operations/managementGroupNetworkManagerConnections.ts index 8ee7371b5490..5e7d95f3f825 100644 --- a/sdk/network/arm-network/src/operations/managementGroupNetworkManagerConnections.ts +++ b/sdk/network/arm-network/src/operations/managementGroupNetworkManagerConnections.ts @@ -295,11 +295,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [ - Parameters.apiVersion, - Parameters.top, - Parameters.skipToken - ], urlParameters: [ Parameters.$host, Parameters.nextLink, diff --git a/sdk/network/arm-network/src/operations/natGateways.ts b/sdk/network/arm-network/src/operations/natGateways.ts index 8f9c02f8912a..a5bfd522194e 100644 --- a/sdk/network/arm-network/src/operations/natGateways.ts +++ b/sdk/network/arm-network/src/operations/natGateways.ts @@ -587,7 +587,6 @@ const listAllNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -607,7 +606,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/natRules.ts b/sdk/network/arm-network/src/operations/natRules.ts index cc5dae5ab56f..3ddb601d4c8c 100644 --- a/sdk/network/arm-network/src/operations/natRules.ts +++ b/sdk/network/arm-network/src/operations/natRules.ts @@ -491,7 +491,6 @@ const listByVpnGatewayNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/networkGroups.ts b/sdk/network/arm-network/src/operations/networkGroups.ts index a265149cee90..c0ed61c4d0f7 100644 --- a/sdk/network/arm-network/src/operations/networkGroups.ts +++ b/sdk/network/arm-network/src/operations/networkGroups.ts @@ -412,11 +412,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [ - Parameters.apiVersion, - Parameters.top, - Parameters.skipToken - ], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/networkInterfaceIPConfigurations.ts b/sdk/network/arm-network/src/operations/networkInterfaceIPConfigurations.ts index a310dfc399af..49d9488fc105 100644 --- a/sdk/network/arm-network/src/operations/networkInterfaceIPConfigurations.ts +++ b/sdk/network/arm-network/src/operations/networkInterfaceIPConfigurations.ts @@ -235,7 +235,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/networkInterfaceLoadBalancers.ts b/sdk/network/arm-network/src/operations/networkInterfaceLoadBalancers.ts index 648f4ad67f57..c03bf884f69a 100644 --- a/sdk/network/arm-network/src/operations/networkInterfaceLoadBalancers.ts +++ b/sdk/network/arm-network/src/operations/networkInterfaceLoadBalancers.ts @@ -191,7 +191,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/networkInterfaceTapConfigurations.ts b/sdk/network/arm-network/src/operations/networkInterfaceTapConfigurations.ts index b1b088f8cf71..76f59ba5501b 100644 --- a/sdk/network/arm-network/src/operations/networkInterfaceTapConfigurations.ts +++ b/sdk/network/arm-network/src/operations/networkInterfaceTapConfigurations.ts @@ -504,7 +504,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/networkInterfaces.ts b/sdk/network/arm-network/src/operations/networkInterfaces.ts index 147f88c7c127..928feab5fae5 100644 --- a/sdk/network/arm-network/src/operations/networkInterfaces.ts +++ b/sdk/network/arm-network/src/operations/networkInterfaces.ts @@ -1836,7 +1836,6 @@ const listCloudServiceRoleInstanceNetworkInterfacesNextOperationSpec: coreClient bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -1859,7 +1858,6 @@ const listCloudServiceNetworkInterfacesNextOperationSpec: coreClient.OperationSp bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -1881,7 +1879,6 @@ const listAllNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -1901,7 +1898,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -1922,7 +1918,6 @@ const listVirtualMachineScaleSetVMNetworkInterfacesNextOperationSpec: coreClient bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion1], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -1945,7 +1940,6 @@ const listVirtualMachineScaleSetNetworkInterfacesNextOperationSpec: coreClient.O bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion1], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -1967,7 +1961,6 @@ const listVirtualMachineScaleSetIpConfigurationsNextOperationSpec: coreClient.Op bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.expand, Parameters.apiVersion1], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/networkManagers.ts b/sdk/network/arm-network/src/operations/networkManagers.ts index 614cd8742201..23687a0537d4 100644 --- a/sdk/network/arm-network/src/operations/networkManagers.ts +++ b/sdk/network/arm-network/src/operations/networkManagers.ts @@ -518,11 +518,6 @@ const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [ - Parameters.apiVersion, - Parameters.top, - Parameters.skipToken - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -542,11 +537,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [ - Parameters.apiVersion, - Parameters.top, - Parameters.skipToken - ], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/networkProfiles.ts b/sdk/network/arm-network/src/operations/networkProfiles.ts index b277ccda7f80..5c31ee3e9dc7 100644 --- a/sdk/network/arm-network/src/operations/networkProfiles.ts +++ b/sdk/network/arm-network/src/operations/networkProfiles.ts @@ -507,7 +507,6 @@ const listAllNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -527,7 +526,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/networkSecurityGroups.ts b/sdk/network/arm-network/src/operations/networkSecurityGroups.ts index ad82806af752..b1ed036010e2 100644 --- a/sdk/network/arm-network/src/operations/networkSecurityGroups.ts +++ b/sdk/network/arm-network/src/operations/networkSecurityGroups.ts @@ -587,7 +587,6 @@ const listAllNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -607,7 +606,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/networkVirtualAppliances.ts b/sdk/network/arm-network/src/operations/networkVirtualAppliances.ts index e6f25716849f..efbaa12a8957 100644 --- a/sdk/network/arm-network/src/operations/networkVirtualAppliances.ts +++ b/sdk/network/arm-network/src/operations/networkVirtualAppliances.ts @@ -594,7 +594,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -615,7 +614,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/network/arm-network/src/operations/operations.ts b/sdk/network/arm-network/src/operations/operations.ts index aa601ff23832..f1f494c4b76d 100644 --- a/sdk/network/arm-network/src/operations/operations.ts +++ b/sdk/network/arm-network/src/operations/operations.ts @@ -143,7 +143,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.nextLink], headerParameters: [Parameters.accept], serializer diff --git a/sdk/network/arm-network/src/operations/p2SVpnGateways.ts b/sdk/network/arm-network/src/operations/p2SVpnGateways.ts index 290cb0cdc104..7415b61697f5 100644 --- a/sdk/network/arm-network/src/operations/p2SVpnGateways.ts +++ b/sdk/network/arm-network/src/operations/p2SVpnGateways.ts @@ -1300,7 +1300,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -1321,7 +1320,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/network/arm-network/src/operations/peerExpressRouteCircuitConnections.ts b/sdk/network/arm-network/src/operations/peerExpressRouteCircuitConnections.ts index 85d1edc8bb80..8e02201280cd 100644 --- a/sdk/network/arm-network/src/operations/peerExpressRouteCircuitConnections.ts +++ b/sdk/network/arm-network/src/operations/peerExpressRouteCircuitConnections.ts @@ -254,7 +254,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/privateDnsZoneGroups.ts b/sdk/network/arm-network/src/operations/privateDnsZoneGroups.ts index 3a6409c6b0ef..45f1dfdd4afe 100644 --- a/sdk/network/arm-network/src/operations/privateDnsZoneGroups.ts +++ b/sdk/network/arm-network/src/operations/privateDnsZoneGroups.ts @@ -499,7 +499,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorModel } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/privateEndpoints.ts b/sdk/network/arm-network/src/operations/privateEndpoints.ts index 748916e64f01..9638f658620f 100644 --- a/sdk/network/arm-network/src/operations/privateEndpoints.ts +++ b/sdk/network/arm-network/src/operations/privateEndpoints.ts @@ -544,7 +544,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorModel } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -565,7 +564,6 @@ const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorModel } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/network/arm-network/src/operations/privateLinkServices.ts b/sdk/network/arm-network/src/operations/privateLinkServices.ts index bfbf5bf995e5..d24c34e2b056 100644 --- a/sdk/network/arm-network/src/operations/privateLinkServices.ts +++ b/sdk/network/arm-network/src/operations/privateLinkServices.ts @@ -1446,7 +1446,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorModel } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -1467,7 +1466,6 @@ const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorModel } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -1487,7 +1485,6 @@ const listPrivateEndpointConnectionsNextOperationSpec: coreClient.OperationSpec bodyMapper: Mappers.ErrorModel } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -1509,7 +1506,6 @@ const listAutoApprovedPrivateLinkServicesNextOperationSpec: coreClient.Operation bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -1530,7 +1526,6 @@ const listAutoApprovedPrivateLinkServicesByResourceGroupNextOperationSpec: coreC bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/publicIPAddresses.ts b/sdk/network/arm-network/src/operations/publicIPAddresses.ts index a1b2c8a4df97..8a8b625af4ee 100644 --- a/sdk/network/arm-network/src/operations/publicIPAddresses.ts +++ b/sdk/network/arm-network/src/operations/publicIPAddresses.ts @@ -1550,7 +1550,6 @@ const listCloudServicePublicIPAddressesNextOperationSpec: coreClient.OperationSp bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -1572,7 +1571,6 @@ const listCloudServiceRoleInstancePublicIPAddressesNextOperationSpec: coreClient bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -1597,7 +1595,6 @@ const listAllNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -1617,7 +1614,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -1638,7 +1634,6 @@ const listVirtualMachineScaleSetPublicIPAddressesNextOperationSpec: coreClient.O bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion1], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -1660,7 +1655,6 @@ const listVirtualMachineScaleSetVMPublicIPAddressesNextOperationSpec: coreClient bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion1], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/publicIPPrefixes.ts b/sdk/network/arm-network/src/operations/publicIPPrefixes.ts index 624aaec90e28..1099e7af0fcb 100644 --- a/sdk/network/arm-network/src/operations/publicIPPrefixes.ts +++ b/sdk/network/arm-network/src/operations/publicIPPrefixes.ts @@ -587,7 +587,6 @@ const listAllNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -607,7 +606,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/routeFilterRules.ts b/sdk/network/arm-network/src/operations/routeFilterRules.ts index 0c9c3b5bd929..b841837ddcbd 100644 --- a/sdk/network/arm-network/src/operations/routeFilterRules.ts +++ b/sdk/network/arm-network/src/operations/routeFilterRules.ts @@ -491,7 +491,6 @@ const listByRouteFilterNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/routeFilters.ts b/sdk/network/arm-network/src/operations/routeFilters.ts index 97403f64b31a..4f9740601071 100644 --- a/sdk/network/arm-network/src/operations/routeFilters.ts +++ b/sdk/network/arm-network/src/operations/routeFilters.ts @@ -594,7 +594,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -615,7 +614,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/network/arm-network/src/operations/routeMaps.ts b/sdk/network/arm-network/src/operations/routeMaps.ts index fd5e75579231..2e84a7826b48 100644 --- a/sdk/network/arm-network/src/operations/routeMaps.ts +++ b/sdk/network/arm-network/src/operations/routeMaps.ts @@ -481,7 +481,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/routeTables.ts b/sdk/network/arm-network/src/operations/routeTables.ts index 6fa5aa423217..d36b33bc4685 100644 --- a/sdk/network/arm-network/src/operations/routeTables.ts +++ b/sdk/network/arm-network/src/operations/routeTables.ts @@ -587,7 +587,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -608,7 +607,6 @@ const listAllNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/network/arm-network/src/operations/routes.ts b/sdk/network/arm-network/src/operations/routes.ts index ed568da3986b..4ae8ae147b1c 100644 --- a/sdk/network/arm-network/src/operations/routes.ts +++ b/sdk/network/arm-network/src/operations/routes.ts @@ -481,7 +481,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/routingIntentOperations.ts b/sdk/network/arm-network/src/operations/routingIntentOperations.ts index 854ce0528bd8..eea3e90b0826 100644 --- a/sdk/network/arm-network/src/operations/routingIntentOperations.ts +++ b/sdk/network/arm-network/src/operations/routingIntentOperations.ts @@ -481,7 +481,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/scopeConnections.ts b/sdk/network/arm-network/src/operations/scopeConnections.ts index e65ada5b81cb..e0e5fba8c394 100644 --- a/sdk/network/arm-network/src/operations/scopeConnections.ts +++ b/sdk/network/arm-network/src/operations/scopeConnections.ts @@ -333,11 +333,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [ - Parameters.apiVersion, - Parameters.top, - Parameters.skipToken - ], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/securityAdminConfigurations.ts b/sdk/network/arm-network/src/operations/securityAdminConfigurations.ts index bc941ef83451..4ebcaeef72db 100644 --- a/sdk/network/arm-network/src/operations/securityAdminConfigurations.ts +++ b/sdk/network/arm-network/src/operations/securityAdminConfigurations.ts @@ -409,11 +409,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [ - Parameters.apiVersion, - Parameters.top, - Parameters.skipToken - ], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/securityPartnerProviders.ts b/sdk/network/arm-network/src/operations/securityPartnerProviders.ts index cc3ab3b4edcc..34da5280d8b0 100644 --- a/sdk/network/arm-network/src/operations/securityPartnerProviders.ts +++ b/sdk/network/arm-network/src/operations/securityPartnerProviders.ts @@ -594,7 +594,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -615,7 +614,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/network/arm-network/src/operations/securityRules.ts b/sdk/network/arm-network/src/operations/securityRules.ts index c45b8dc97e92..f4bc172a1a48 100644 --- a/sdk/network/arm-network/src/operations/securityRules.ts +++ b/sdk/network/arm-network/src/operations/securityRules.ts @@ -501,7 +501,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/serviceEndpointPolicies.ts b/sdk/network/arm-network/src/operations/serviceEndpointPolicies.ts index 03dc7bc76311..d719c52093b0 100644 --- a/sdk/network/arm-network/src/operations/serviceEndpointPolicies.ts +++ b/sdk/network/arm-network/src/operations/serviceEndpointPolicies.ts @@ -594,7 +594,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -614,7 +613,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/serviceEndpointPolicyDefinitions.ts b/sdk/network/arm-network/src/operations/serviceEndpointPolicyDefinitions.ts index a73a0fa2db26..7ed78994b6f0 100644 --- a/sdk/network/arm-network/src/operations/serviceEndpointPolicyDefinitions.ts +++ b/sdk/network/arm-network/src/operations/serviceEndpointPolicyDefinitions.ts @@ -504,7 +504,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/serviceTagInformationOperations.ts b/sdk/network/arm-network/src/operations/serviceTagInformationOperations.ts index 5079312cedb3..d7c3e7edab80 100644 --- a/sdk/network/arm-network/src/operations/serviceTagInformationOperations.ts +++ b/sdk/network/arm-network/src/operations/serviceTagInformationOperations.ts @@ -170,11 +170,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [ - Parameters.apiVersion, - Parameters.noAddressPrefixes, - Parameters.tagName - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/network/arm-network/src/operations/staticMembers.ts b/sdk/network/arm-network/src/operations/staticMembers.ts index 226346dfdaf0..447573f99169 100644 --- a/sdk/network/arm-network/src/operations/staticMembers.ts +++ b/sdk/network/arm-network/src/operations/staticMembers.ts @@ -379,11 +379,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [ - Parameters.apiVersion, - Parameters.top, - Parameters.skipToken - ], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/subnets.ts b/sdk/network/arm-network/src/operations/subnets.ts index 6422c4b3d95a..c5e7faa1f65b 100644 --- a/sdk/network/arm-network/src/operations/subnets.ts +++ b/sdk/network/arm-network/src/operations/subnets.ts @@ -743,7 +743,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/subscriptionNetworkManagerConnections.ts b/sdk/network/arm-network/src/operations/subscriptionNetworkManagerConnections.ts index 95284793e567..5a756b5e897d 100644 --- a/sdk/network/arm-network/src/operations/subscriptionNetworkManagerConnections.ts +++ b/sdk/network/arm-network/src/operations/subscriptionNetworkManagerConnections.ts @@ -268,11 +268,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [ - Parameters.apiVersion, - Parameters.top, - Parameters.skipToken - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/network/arm-network/src/operations/usages.ts b/sdk/network/arm-network/src/operations/usages.ts index aefb0226f996..c754049db937 100644 --- a/sdk/network/arm-network/src/operations/usages.ts +++ b/sdk/network/arm-network/src/operations/usages.ts @@ -159,7 +159,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/network/arm-network/src/operations/virtualApplianceSites.ts b/sdk/network/arm-network/src/operations/virtualApplianceSites.ts index d04601134fad..57553ba25f02 100644 --- a/sdk/network/arm-network/src/operations/virtualApplianceSites.ts +++ b/sdk/network/arm-network/src/operations/virtualApplianceSites.ts @@ -491,7 +491,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/virtualApplianceSkus.ts b/sdk/network/arm-network/src/operations/virtualApplianceSkus.ts index ef87640de724..61ea64825233 100644 --- a/sdk/network/arm-network/src/operations/virtualApplianceSkus.ts +++ b/sdk/network/arm-network/src/operations/virtualApplianceSkus.ts @@ -182,7 +182,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/network/arm-network/src/operations/virtualHubBgpConnections.ts b/sdk/network/arm-network/src/operations/virtualHubBgpConnections.ts index dafd7742d4c2..55fd285db5a4 100644 --- a/sdk/network/arm-network/src/operations/virtualHubBgpConnections.ts +++ b/sdk/network/arm-network/src/operations/virtualHubBgpConnections.ts @@ -438,7 +438,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/virtualHubIpConfiguration.ts b/sdk/network/arm-network/src/operations/virtualHubIpConfiguration.ts index 4ec9d4fb1f26..914e819f149c 100644 --- a/sdk/network/arm-network/src/operations/virtualHubIpConfiguration.ts +++ b/sdk/network/arm-network/src/operations/virtualHubIpConfiguration.ts @@ -478,7 +478,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/virtualHubRouteTableV2S.ts b/sdk/network/arm-network/src/operations/virtualHubRouteTableV2S.ts index 74d3852d7b02..ba3b013075b4 100644 --- a/sdk/network/arm-network/src/operations/virtualHubRouteTableV2S.ts +++ b/sdk/network/arm-network/src/operations/virtualHubRouteTableV2S.ts @@ -485,7 +485,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/virtualHubs.ts b/sdk/network/arm-network/src/operations/virtualHubs.ts index 084c3574989b..894db01c5ab4 100644 --- a/sdk/network/arm-network/src/operations/virtualHubs.ts +++ b/sdk/network/arm-network/src/operations/virtualHubs.ts @@ -947,7 +947,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -968,7 +967,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/network/arm-network/src/operations/virtualNetworkGatewayConnections.ts b/sdk/network/arm-network/src/operations/virtualNetworkGatewayConnections.ts index a534b3ad905c..e6cc11cb94ea 100644 --- a/sdk/network/arm-network/src/operations/virtualNetworkGatewayConnections.ts +++ b/sdk/network/arm-network/src/operations/virtualNetworkGatewayConnections.ts @@ -1406,7 +1406,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/virtualNetworkGatewayNatRules.ts b/sdk/network/arm-network/src/operations/virtualNetworkGatewayNatRules.ts index 3fe0df86c256..de954407103c 100644 --- a/sdk/network/arm-network/src/operations/virtualNetworkGatewayNatRules.ts +++ b/sdk/network/arm-network/src/operations/virtualNetworkGatewayNatRules.ts @@ -495,7 +495,6 @@ const listByVirtualNetworkGatewayNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/virtualNetworkGateways.ts b/sdk/network/arm-network/src/operations/virtualNetworkGateways.ts index 87f3e1b1f8cb..6a24af1bdaf1 100644 --- a/sdk/network/arm-network/src/operations/virtualNetworkGateways.ts +++ b/sdk/network/arm-network/src/operations/virtualNetworkGateways.ts @@ -2561,7 +2561,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -2582,7 +2581,6 @@ const listConnectionsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/virtualNetworkPeerings.ts b/sdk/network/arm-network/src/operations/virtualNetworkPeerings.ts index abf40676ffdf..00da50e8ed5a 100644 --- a/sdk/network/arm-network/src/operations/virtualNetworkPeerings.ts +++ b/sdk/network/arm-network/src/operations/virtualNetworkPeerings.ts @@ -497,7 +497,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/virtualNetworkTaps.ts b/sdk/network/arm-network/src/operations/virtualNetworkTaps.ts index ba07eb4064ac..e63f7dc41335 100644 --- a/sdk/network/arm-network/src/operations/virtualNetworkTaps.ts +++ b/sdk/network/arm-network/src/operations/virtualNetworkTaps.ts @@ -590,7 +590,6 @@ const listAllNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -610,7 +609,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/virtualNetworks.ts b/sdk/network/arm-network/src/operations/virtualNetworks.ts index c6cea93155a9..46c06a37241a 100644 --- a/sdk/network/arm-network/src/operations/virtualNetworks.ts +++ b/sdk/network/arm-network/src/operations/virtualNetworks.ts @@ -991,7 +991,6 @@ const listAllNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -1011,7 +1010,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -1032,7 +1030,6 @@ const listUsageNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -1055,11 +1052,6 @@ const listDdosProtectionStatusNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [ - Parameters.apiVersion, - Parameters.top1, - Parameters.skipToken1 - ], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/virtualRouterPeerings.ts b/sdk/network/arm-network/src/operations/virtualRouterPeerings.ts index c606f269cb04..2eea661f28bc 100644 --- a/sdk/network/arm-network/src/operations/virtualRouterPeerings.ts +++ b/sdk/network/arm-network/src/operations/virtualRouterPeerings.ts @@ -485,7 +485,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorModel } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/virtualRouters.ts b/sdk/network/arm-network/src/operations/virtualRouters.ts index 9720145ca146..7833898d1a3f 100644 --- a/sdk/network/arm-network/src/operations/virtualRouters.ts +++ b/sdk/network/arm-network/src/operations/virtualRouters.ts @@ -548,7 +548,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorModel } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -569,7 +568,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorModel } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/network/arm-network/src/operations/virtualWans.ts b/sdk/network/arm-network/src/operations/virtualWans.ts index cf04476ef023..11ded60730b9 100644 --- a/sdk/network/arm-network/src/operations/virtualWans.ts +++ b/sdk/network/arm-network/src/operations/virtualWans.ts @@ -594,7 +594,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -615,7 +614,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/network/arm-network/src/operations/vpnConnections.ts b/sdk/network/arm-network/src/operations/vpnConnections.ts index 1583c5a0cb30..2588d99ffb79 100644 --- a/sdk/network/arm-network/src/operations/vpnConnections.ts +++ b/sdk/network/arm-network/src/operations/vpnConnections.ts @@ -749,7 +749,6 @@ const listByVpnGatewayNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/vpnGateways.ts b/sdk/network/arm-network/src/operations/vpnGateways.ts index 3b23387f8257..f09714fdf9e5 100644 --- a/sdk/network/arm-network/src/operations/vpnGateways.ts +++ b/sdk/network/arm-network/src/operations/vpnGateways.ts @@ -1044,7 +1044,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -1065,7 +1064,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/network/arm-network/src/operations/vpnLinkConnections.ts b/sdk/network/arm-network/src/operations/vpnLinkConnections.ts index e6992ed19526..4849ec4dafa7 100644 --- a/sdk/network/arm-network/src/operations/vpnLinkConnections.ts +++ b/sdk/network/arm-network/src/operations/vpnLinkConnections.ts @@ -470,7 +470,6 @@ const listByVpnConnectionNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/vpnServerConfigurations.ts b/sdk/network/arm-network/src/operations/vpnServerConfigurations.ts index bc2fdced35b9..5d68b67473b5 100644 --- a/sdk/network/arm-network/src/operations/vpnServerConfigurations.ts +++ b/sdk/network/arm-network/src/operations/vpnServerConfigurations.ts @@ -608,7 +608,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -629,7 +628,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/network/arm-network/src/operations/vpnSiteLinks.ts b/sdk/network/arm-network/src/operations/vpnSiteLinks.ts index 14e4cf93fa1c..24f85830938b 100644 --- a/sdk/network/arm-network/src/operations/vpnSiteLinks.ts +++ b/sdk/network/arm-network/src/operations/vpnSiteLinks.ts @@ -234,7 +234,6 @@ const listByVpnSiteNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/vpnSites.ts b/sdk/network/arm-network/src/operations/vpnSites.ts index 4638ff91ca5e..10be6d332a08 100644 --- a/sdk/network/arm-network/src/operations/vpnSites.ts +++ b/sdk/network/arm-network/src/operations/vpnSites.ts @@ -593,7 +593,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -614,7 +613,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/network/arm-network/src/operations/webApplicationFirewallPolicies.ts b/sdk/network/arm-network/src/operations/webApplicationFirewallPolicies.ts index 3fdd370416eb..729552d3be24 100644 --- a/sdk/network/arm-network/src/operations/webApplicationFirewallPolicies.ts +++ b/sdk/network/arm-network/src/operations/webApplicationFirewallPolicies.ts @@ -462,7 +462,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -483,7 +482,6 @@ const listAllNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/network/arm-network/src/operations/webCategories.ts b/sdk/network/arm-network/src/operations/webCategories.ts index 3f67ef3bd2a3..c3b1d53cec76 100644 --- a/sdk/network/arm-network/src/operations/webCategories.ts +++ b/sdk/network/arm-network/src/operations/webCategories.ts @@ -181,7 +181,6 @@ const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/network/arm-network/src/pagingHelper.ts b/sdk/network/arm-network/src/pagingHelper.ts index d85fc13bce1e..269a2b9814b5 100644 --- a/sdk/network/arm-network/src/pagingHelper.ts +++ b/sdk/network/arm-network/src/pagingHelper.ts @@ -13,11 +13,11 @@ export interface PageInfo { const pageMap = new WeakMap(); /** - * Given a result page from a pageable operation, returns a - * continuation token that can be used to begin paging from + * Given the last `.value` produced by the `byPage` iterator, + * returns a continuation token that can be used to begin paging from * that point later. - * @param page A result object from calling .byPage() on a paged operation. - * @returns The continuation token that can be passed into byPage(). + * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator. + * @returns The continuation token that can be passed into byPage() during future calls. */ export function getContinuationToken(page: unknown): string | undefined { if (typeof page !== "object" || page === null) { diff --git a/sdk/network/arm-network/test/sampleTest.ts b/sdk/network/arm-network/test/sampleTest.ts new file mode 100644 index 000000000000..25aeb3ebcc36 --- /dev/null +++ b/sdk/network/arm-network/test/sampleTest.ts @@ -0,0 +1,43 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { + Recorder, + RecorderStartOptions, + env +} from "@azure-tools/test-recorder"; +import { assert } from "chai"; +import { Context } from "mocha"; + +const replaceableVariables: Record = { + AZURE_CLIENT_ID: "azure_client_id", + AZURE_CLIENT_SECRET: "azure_client_secret", + AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888", + SUBSCRIPTION_ID: "azure_subscription_id" +}; + +const recorderOptions: RecorderStartOptions = { + envSetupForPlayback: replaceableVariables +}; + +describe("My test", () => { + let recorder: Recorder; + + beforeEach(async function(this: Context) { + recorder = new Recorder(this.currentTest); + await recorder.start(recorderOptions); + }); + + afterEach(async function() { + await recorder.stop(); + }); + + it("sample test", async function() { + console.log("Hi, I'm a test!"); + }); +}); diff --git a/sdk/network/arm-network/tsconfig.json b/sdk/network/arm-network/tsconfig.json index 094dfbf3dbe3..3e6ae96443f3 100644 --- a/sdk/network/arm-network/tsconfig.json +++ b/sdk/network/arm-network/tsconfig.json @@ -15,17 +15,11 @@ ], "declaration": true, "outDir": "./dist-esm", - "importHelpers": true, - "paths": { - "@azure/arm-network": [ - "./src/index" - ] - } + "importHelpers": true }, "include": [ "./src/**/*.ts", - "./test/**/*.ts", - "samples-dev/**/*.ts" + "./test/**/*.ts" ], "exclude": [ "node_modules"