diff --git a/sdk/network/arm-network/README.md b/sdk/network/arm-network/README.md index bc1dae18b485..af87d40e7168 100644 --- a/sdk/network/arm-network/README.md +++ b/sdk/network/arm-network/README.md @@ -5,7 +5,7 @@ This package contains an isomorphic SDK (runs both in node.js and in browsers) f ### Currently supported environments - [LTS versions of Node.js](https://nodejs.org/about/releases/) -- Latest versions of Safari, Chrome, Edge, and Firefox. +- Latest versions of Safari, Chrome, Edge and Firefox. ### Prerequisites @@ -14,18 +14,15 @@ You must have an [Azure subscription](https://azure.microsoft.com/free/). ### How to install To use this SDK in your project, you will need to install two packages. - - `@azure/arm-network` that contains the client. - `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. Install both packages using the below command: - ```bash npm install --save @azure/arm-network @azure/identity ``` - > **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. -> If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. ### How to use @@ -39,7 +36,6 @@ npm install --save @azure/arm-network @azure/identity In the below samples, we pass the credential and the Azure subscription id to instantiate the client. Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. - #### nodejs - Authentication, client creation, and get applicationGateways as an example written in JavaScript. ##### Sample code @@ -55,24 +51,20 @@ const creds = new DefaultAzureCredential(); const client = new NetworkManagementClient(creds, subscriptionId); const resourceGroupName = "testresourceGroupName"; const applicationGatewayName = "testapplicationGatewayName"; -client.applicationGateways - .get(resourceGroupName, applicationGatewayName) - .then((result) => { - console.log("The result is:"); - console.log(result); - }) - .catch((err) => { - console.log("An error occurred:"); - console.error(err); - }); +client.applicationGateways.get(resourceGroupName, applicationGatewayName).then((result) => { + console.log("The result is:"); + console.log(result); +}).catch((err) => { + console.log("An error occurred:"); + console.error(err); +}); ``` #### browser - Authentication, client creation, and get applicationGateways as an example written in JavaScript. In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. - -- See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. -- Note down the client Id from the previous step and use it in the browser sample below. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code @@ -90,23 +82,21 @@ In browser applications, we recommend using the `InteractiveBrowserCredential` t const subscriptionId = ""; // Create credentials using the `@azure/identity` package. // Please note that you can also use credentials from the `@azure/ms-rest-browserauth` package instead. - const credential = new InteractiveBrowserCredential({ + const credential = new InteractiveBrowserCredential( + { clientId: "", tenant: "" }); const client = new Azure.ArmNetwork.NetworkManagementClient(creds, subscriptionId); const resourceGroupName = "testresourceGroupName"; const applicationGatewayName = "testapplicationGatewayName"; - client.applicationGateways - .get(resourceGroupName, applicationGatewayName) - .then((result) => { - console.log("The result is:"); - console.log(result); - }) - .catch((err) => { - console.log("An error occurred:"); - console.error(err); - }); + client.applicationGateways.get(resourceGroupName, applicationGatewayName).then((result) => { + console.log("The result is:"); + console.log(result); + }).catch((err) => { + console.log("An error occurred:"); + console.error(err); + }); diff --git a/sdk/network/arm-network/package.json b/sdk/network/arm-network/package.json index 27144ec92901..2a511174e820 100644 --- a/sdk/network/arm-network/package.json +++ b/sdk/network/arm-network/package.json @@ -2,7 +2,7 @@ "name": "@azure/arm-network", "author": "Microsoft Corporation", "description": "NetworkManagementClient Library with typescript type definitions for node.js and browser.", - "version": "25.0.0", + "version": "25.1.0", "dependencies": { "@azure/ms-rest-azure-js": "^2.1.0", "@azure/ms-rest-js": "^2.2.0", @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/network/arm-network", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/feature/v4/sdk/network/arm-network", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/network/arm-network/src/models/applicationGatewayPrivateEndpointConnectionsMappers.ts b/sdk/network/arm-network/src/models/applicationGatewayPrivateEndpointConnectionsMappers.ts index 07d952e84660..7801704420c0 100644 --- a/sdk/network/arm-network/src/models/applicationGatewayPrivateEndpointConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/applicationGatewayPrivateEndpointConnectionsMappers.ts @@ -162,6 +162,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -260,6 +261,7 @@ export { ServiceEndpointPolicy, ServiceEndpointPolicyDefinition, ServiceEndpointPropertiesFormat, + Sku, StaticRoute, Subnet, SubResource, @@ -283,6 +285,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/applicationGatewayPrivateLinkResourcesMappers.ts b/sdk/network/arm-network/src/models/applicationGatewayPrivateLinkResourcesMappers.ts index 85a0b5406645..4fd0f8ef5f08 100644 --- a/sdk/network/arm-network/src/models/applicationGatewayPrivateLinkResourcesMappers.ts +++ b/sdk/network/arm-network/src/models/applicationGatewayPrivateLinkResourcesMappers.ts @@ -162,6 +162,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -260,6 +261,7 @@ export { ServiceEndpointPolicy, ServiceEndpointPolicyDefinition, ServiceEndpointPropertiesFormat, + Sku, StaticRoute, Subnet, SubResource, @@ -283,6 +285,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/applicationGatewaysMappers.ts b/sdk/network/arm-network/src/models/applicationGatewaysMappers.ts index 05ed4ef3f9c0..161c914adf75 100644 --- a/sdk/network/arm-network/src/models/applicationGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/applicationGatewaysMappers.ts @@ -172,6 +172,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -270,6 +271,7 @@ export { ServiceEndpointPolicy, ServiceEndpointPolicyDefinition, ServiceEndpointPropertiesFormat, + Sku, StaticRoute, Subnet, SubResource, @@ -294,6 +296,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/applicationSecurityGroupsMappers.ts b/sdk/network/arm-network/src/models/applicationSecurityGroupsMappers.ts index cf9faf34301e..be1ba2459aca 100644 --- a/sdk/network/arm-network/src/models/applicationSecurityGroupsMappers.ts +++ b/sdk/network/arm-network/src/models/applicationSecurityGroupsMappers.ts @@ -162,6 +162,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -260,6 +261,7 @@ export { ServiceEndpointPolicy, ServiceEndpointPolicyDefinition, ServiceEndpointPropertiesFormat, + Sku, StaticRoute, Subnet, SubResource, @@ -284,6 +286,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/availableEndpointServicesMappers.ts b/sdk/network/arm-network/src/models/availableEndpointServicesMappers.ts index 23fbbce0a3ba..7d627e8243d8 100644 --- a/sdk/network/arm-network/src/models/availableEndpointServicesMappers.ts +++ b/sdk/network/arm-network/src/models/availableEndpointServicesMappers.ts @@ -162,6 +162,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -260,6 +261,7 @@ export { ServiceEndpointPolicy, ServiceEndpointPolicyDefinition, ServiceEndpointPropertiesFormat, + Sku, StaticRoute, Subnet, SubResource, @@ -283,6 +285,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/azureFirewallFqdnTagsMappers.ts b/sdk/network/arm-network/src/models/azureFirewallFqdnTagsMappers.ts index 873fed349cb3..3d714df8f0f7 100644 --- a/sdk/network/arm-network/src/models/azureFirewallFqdnTagsMappers.ts +++ b/sdk/network/arm-network/src/models/azureFirewallFqdnTagsMappers.ts @@ -162,6 +162,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -260,6 +261,7 @@ export { ServiceEndpointPolicy, ServiceEndpointPolicyDefinition, ServiceEndpointPropertiesFormat, + Sku, StaticRoute, Subnet, SubResource, @@ -283,6 +285,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/azureFirewallsMappers.ts b/sdk/network/arm-network/src/models/azureFirewallsMappers.ts index 1a023588521c..523e4001a0b7 100644 --- a/sdk/network/arm-network/src/models/azureFirewallsMappers.ts +++ b/sdk/network/arm-network/src/models/azureFirewallsMappers.ts @@ -162,6 +162,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -260,6 +261,7 @@ export { ServiceEndpointPolicy, ServiceEndpointPolicyDefinition, ServiceEndpointPropertiesFormat, + Sku, StaticRoute, Subnet, SubResource, @@ -284,6 +286,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/bastionHostsMappers.ts b/sdk/network/arm-network/src/models/bastionHostsMappers.ts index 961c33268b6d..245e1db8eb80 100644 --- a/sdk/network/arm-network/src/models/bastionHostsMappers.ts +++ b/sdk/network/arm-network/src/models/bastionHostsMappers.ts @@ -162,6 +162,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -260,6 +261,7 @@ export { ServiceEndpointPolicy, ServiceEndpointPolicyDefinition, ServiceEndpointPropertiesFormat, + Sku, StaticRoute, Subnet, SubResource, @@ -283,6 +285,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/bgpServiceCommunitiesMappers.ts b/sdk/network/arm-network/src/models/bgpServiceCommunitiesMappers.ts index 1f71a8773237..534608a588f0 100644 --- a/sdk/network/arm-network/src/models/bgpServiceCommunitiesMappers.ts +++ b/sdk/network/arm-network/src/models/bgpServiceCommunitiesMappers.ts @@ -162,6 +162,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -260,6 +261,7 @@ export { ServiceEndpointPolicy, ServiceEndpointPolicyDefinition, ServiceEndpointPropertiesFormat, + Sku, StaticRoute, Subnet, SubResource, @@ -283,6 +285,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/connectionMonitorsMappers.ts b/sdk/network/arm-network/src/models/connectionMonitorsMappers.ts index 270f748fbb5b..06d2e5ce91bb 100644 --- a/sdk/network/arm-network/src/models/connectionMonitorsMappers.ts +++ b/sdk/network/arm-network/src/models/connectionMonitorsMappers.ts @@ -168,6 +168,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HopLink, HTTPHeader, HubIPAddresses, @@ -267,6 +268,7 @@ export { ServiceEndpointPolicy, ServiceEndpointPolicyDefinition, ServiceEndpointPropertiesFormat, + Sku, StaticRoute, Subnet, SubResource, @@ -291,6 +293,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/customIPPrefixesMappers.ts b/sdk/network/arm-network/src/models/customIPPrefixesMappers.ts index 706df93cbeb3..c203755c037f 100644 --- a/sdk/network/arm-network/src/models/customIPPrefixesMappers.ts +++ b/sdk/network/arm-network/src/models/customIPPrefixesMappers.ts @@ -162,6 +162,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -260,6 +261,7 @@ export { ServiceEndpointPolicy, ServiceEndpointPolicyDefinition, ServiceEndpointPropertiesFormat, + Sku, StaticRoute, Subnet, SubResource, @@ -284,6 +286,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/ddosCustomPoliciesMappers.ts b/sdk/network/arm-network/src/models/ddosCustomPoliciesMappers.ts index 9ff446249074..9a0f4c65b2c6 100644 --- a/sdk/network/arm-network/src/models/ddosCustomPoliciesMappers.ts +++ b/sdk/network/arm-network/src/models/ddosCustomPoliciesMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -259,6 +260,7 @@ export { ServiceEndpointPolicy, ServiceEndpointPolicyDefinition, ServiceEndpointPropertiesFormat, + Sku, StaticRoute, Subnet, SubResource, @@ -283,6 +285,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/ddosProtectionPlansMappers.ts b/sdk/network/arm-network/src/models/ddosProtectionPlansMappers.ts index 36e39d14e1cc..813c80c12b5e 100644 --- a/sdk/network/arm-network/src/models/ddosProtectionPlansMappers.ts +++ b/sdk/network/arm-network/src/models/ddosProtectionPlansMappers.ts @@ -162,6 +162,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -260,6 +261,7 @@ export { ServiceEndpointPolicy, ServiceEndpointPolicyDefinition, ServiceEndpointPropertiesFormat, + Sku, StaticRoute, Subnet, SubResource, @@ -284,6 +286,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/defaultSecurityRulesMappers.ts b/sdk/network/arm-network/src/models/defaultSecurityRulesMappers.ts index c1e6c1a3fbc7..6f340b4650bf 100644 --- a/sdk/network/arm-network/src/models/defaultSecurityRulesMappers.ts +++ b/sdk/network/arm-network/src/models/defaultSecurityRulesMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -260,6 +261,7 @@ export { ServiceEndpointPolicy, ServiceEndpointPolicyDefinition, ServiceEndpointPropertiesFormat, + Sku, StaticRoute, Subnet, SubResource, @@ -283,6 +285,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/dscpConfigurationOperationsMappers.ts b/sdk/network/arm-network/src/models/dscpConfigurationOperationsMappers.ts index c2ce73499728..28e701ec662f 100644 --- a/sdk/network/arm-network/src/models/dscpConfigurationOperationsMappers.ts +++ b/sdk/network/arm-network/src/models/dscpConfigurationOperationsMappers.ts @@ -162,6 +162,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -260,6 +261,7 @@ export { ServiceEndpointPolicy, ServiceEndpointPolicyDefinition, ServiceEndpointPropertiesFormat, + Sku, StaticRoute, Subnet, SubResource, @@ -283,6 +285,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/expressRouteCircuitAuthorizationsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCircuitAuthorizationsMappers.ts index 6b6fac907122..9bff42abac38 100644 --- a/sdk/network/arm-network/src/models/expressRouteCircuitAuthorizationsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCircuitAuthorizationsMappers.ts @@ -162,6 +162,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -260,6 +261,7 @@ export { ServiceEndpointPolicy, ServiceEndpointPolicyDefinition, ServiceEndpointPropertiesFormat, + Sku, StaticRoute, Subnet, SubResource, @@ -283,6 +285,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/expressRouteCircuitConnectionsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCircuitConnectionsMappers.ts index 7a9a52132ecc..bfd4bb07f0a4 100644 --- a/sdk/network/arm-network/src/models/expressRouteCircuitConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCircuitConnectionsMappers.ts @@ -162,6 +162,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -260,6 +261,7 @@ export { ServiceEndpointPolicy, ServiceEndpointPolicyDefinition, ServiceEndpointPropertiesFormat, + Sku, StaticRoute, Subnet, SubResource, @@ -283,6 +285,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/expressRouteCircuitPeeringsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCircuitPeeringsMappers.ts index e666b7d213db..f1c02618b6bc 100644 --- a/sdk/network/arm-network/src/models/expressRouteCircuitPeeringsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCircuitPeeringsMappers.ts @@ -162,6 +162,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -260,6 +261,7 @@ export { ServiceEndpointPolicy, ServiceEndpointPolicyDefinition, ServiceEndpointPropertiesFormat, + Sku, StaticRoute, Subnet, SubResource, @@ -283,6 +285,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/expressRouteCircuitsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCircuitsMappers.ts index 32f61b0d9250..dbd41ae1ea24 100644 --- a/sdk/network/arm-network/src/models/expressRouteCircuitsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCircuitsMappers.ts @@ -168,6 +168,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -266,6 +267,7 @@ export { ServiceEndpointPolicy, ServiceEndpointPolicyDefinition, ServiceEndpointPropertiesFormat, + Sku, StaticRoute, Subnet, SubResource, @@ -290,6 +292,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/expressRouteConnectionsMappers.ts b/sdk/network/arm-network/src/models/expressRouteConnectionsMappers.ts index c4ccce04a14d..07a84673bd86 100644 --- a/sdk/network/arm-network/src/models/expressRouteConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteConnectionsMappers.ts @@ -162,6 +162,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -260,6 +261,7 @@ export { ServiceEndpointPolicy, ServiceEndpointPolicyDefinition, ServiceEndpointPropertiesFormat, + Sku, StaticRoute, Subnet, SubResource, @@ -283,6 +285,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/expressRouteCrossConnectionPeeringsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCrossConnectionPeeringsMappers.ts index 4d4f15cbe244..120122c3ee34 100644 --- a/sdk/network/arm-network/src/models/expressRouteCrossConnectionPeeringsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCrossConnectionPeeringsMappers.ts @@ -162,6 +162,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -260,6 +261,7 @@ export { ServiceEndpointPolicy, ServiceEndpointPolicyDefinition, ServiceEndpointPropertiesFormat, + Sku, StaticRoute, Subnet, SubResource, @@ -283,6 +285,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/expressRouteCrossConnectionsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCrossConnectionsMappers.ts index d699059ad6b6..9c508ad76b62 100644 --- a/sdk/network/arm-network/src/models/expressRouteCrossConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCrossConnectionsMappers.ts @@ -168,6 +168,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -266,6 +267,7 @@ export { ServiceEndpointPolicy, ServiceEndpointPolicyDefinition, ServiceEndpointPropertiesFormat, + Sku, StaticRoute, Subnet, SubResource, @@ -290,6 +292,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/expressRouteGatewaysMappers.ts b/sdk/network/arm-network/src/models/expressRouteGatewaysMappers.ts index e67aa1ae3cb8..4f8bc0c4c219 100644 --- a/sdk/network/arm-network/src/models/expressRouteGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteGatewaysMappers.ts @@ -162,6 +162,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -260,6 +261,7 @@ export { ServiceEndpointPolicy, ServiceEndpointPolicyDefinition, ServiceEndpointPropertiesFormat, + Sku, StaticRoute, Subnet, SubResource, @@ -284,6 +286,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/expressRouteLinksMappers.ts b/sdk/network/arm-network/src/models/expressRouteLinksMappers.ts index e125c350c049..9f9d66233786 100644 --- a/sdk/network/arm-network/src/models/expressRouteLinksMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteLinksMappers.ts @@ -162,6 +162,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -260,6 +261,7 @@ export { ServiceEndpointPolicy, ServiceEndpointPolicyDefinition, ServiceEndpointPropertiesFormat, + Sku, StaticRoute, Subnet, SubResource, @@ -283,6 +285,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/expressRoutePortsLocationsMappers.ts b/sdk/network/arm-network/src/models/expressRoutePortsLocationsMappers.ts index e3a4d25caee9..e48aefcf831b 100644 --- a/sdk/network/arm-network/src/models/expressRoutePortsLocationsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRoutePortsLocationsMappers.ts @@ -162,6 +162,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -260,6 +261,7 @@ export { ServiceEndpointPolicy, ServiceEndpointPolicyDefinition, ServiceEndpointPropertiesFormat, + Sku, StaticRoute, Subnet, SubResource, @@ -283,6 +285,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/expressRoutePortsMappers.ts b/sdk/network/arm-network/src/models/expressRoutePortsMappers.ts index 6b666a1d7706..cdd760ec4116 100644 --- a/sdk/network/arm-network/src/models/expressRoutePortsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRoutePortsMappers.ts @@ -162,6 +162,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, GenerateExpressRoutePortsLOARequest, GenerateExpressRoutePortsLOAResult, HTTPHeader, @@ -262,6 +263,7 @@ export { ServiceEndpointPolicy, ServiceEndpointPolicyDefinition, ServiceEndpointPropertiesFormat, + Sku, StaticRoute, Subnet, SubResource, @@ -286,6 +288,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/expressRouteServiceProvidersMappers.ts b/sdk/network/arm-network/src/models/expressRouteServiceProvidersMappers.ts index 416ce26822a3..d59d580e7272 100644 --- a/sdk/network/arm-network/src/models/expressRouteServiceProvidersMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteServiceProvidersMappers.ts @@ -162,6 +162,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -260,6 +261,7 @@ export { ServiceEndpointPolicy, ServiceEndpointPolicyDefinition, ServiceEndpointPropertiesFormat, + Sku, StaticRoute, Subnet, SubResource, @@ -283,6 +285,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/firewallPoliciesMappers.ts b/sdk/network/arm-network/src/models/firewallPoliciesMappers.ts index dd6537cf4a71..d6206758056a 100644 --- a/sdk/network/arm-network/src/models/firewallPoliciesMappers.ts +++ b/sdk/network/arm-network/src/models/firewallPoliciesMappers.ts @@ -162,6 +162,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -260,6 +261,7 @@ export { ServiceEndpointPolicy, ServiceEndpointPolicyDefinition, ServiceEndpointPropertiesFormat, + Sku, StaticRoute, Subnet, SubResource, @@ -283,6 +285,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/firewallPolicyRuleCollectionGroupsMappers.ts b/sdk/network/arm-network/src/models/firewallPolicyRuleCollectionGroupsMappers.ts index f13f838eb1d4..b96dba05afda 100644 --- a/sdk/network/arm-network/src/models/firewallPolicyRuleCollectionGroupsMappers.ts +++ b/sdk/network/arm-network/src/models/firewallPolicyRuleCollectionGroupsMappers.ts @@ -162,6 +162,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -260,6 +261,7 @@ export { ServiceEndpointPolicy, ServiceEndpointPolicyDefinition, ServiceEndpointPropertiesFormat, + Sku, StaticRoute, Subnet, SubResource, @@ -283,6 +285,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/flowLogsMappers.ts b/sdk/network/arm-network/src/models/flowLogsMappers.ts index 56b6a349c879..d1040407fdf8 100644 --- a/sdk/network/arm-network/src/models/flowLogsMappers.ts +++ b/sdk/network/arm-network/src/models/flowLogsMappers.ts @@ -163,6 +163,7 @@ export { FlowLogFormatParameters, FlowLogListResult, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -261,6 +262,7 @@ export { ServiceEndpointPolicy, ServiceEndpointPolicyDefinition, ServiceEndpointPropertiesFormat, + Sku, StaticRoute, Subnet, SubResource, @@ -285,6 +287,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/hubRouteTablesMappers.ts b/sdk/network/arm-network/src/models/hubRouteTablesMappers.ts index bd6eee0a2c02..fc8694ae21c2 100644 --- a/sdk/network/arm-network/src/models/hubRouteTablesMappers.ts +++ b/sdk/network/arm-network/src/models/hubRouteTablesMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -260,6 +261,7 @@ export { ServiceEndpointPolicy, ServiceEndpointPolicyDefinition, ServiceEndpointPropertiesFormat, + Sku, StaticRoute, Subnet, SubResource, @@ -283,6 +285,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/hubVirtualNetworkConnectionsMappers.ts b/sdk/network/arm-network/src/models/hubVirtualNetworkConnectionsMappers.ts index cae0d433eb86..db120d457956 100644 --- a/sdk/network/arm-network/src/models/hubVirtualNetworkConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/hubVirtualNetworkConnectionsMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -260,6 +261,7 @@ export { ServiceEndpointPolicy, ServiceEndpointPolicyDefinition, ServiceEndpointPropertiesFormat, + Sku, StaticRoute, Subnet, SubResource, @@ -283,6 +285,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/inboundNatRulesMappers.ts b/sdk/network/arm-network/src/models/inboundNatRulesMappers.ts index b8c62f32b878..97ed4511996e 100644 --- a/sdk/network/arm-network/src/models/inboundNatRulesMappers.ts +++ b/sdk/network/arm-network/src/models/inboundNatRulesMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -260,6 +261,7 @@ export { ServiceEndpointPolicy, ServiceEndpointPolicyDefinition, ServiceEndpointPropertiesFormat, + Sku, StaticRoute, Subnet, SubResource, @@ -283,6 +285,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/inboundSecurityRuleOperationsMappers.ts b/sdk/network/arm-network/src/models/inboundSecurityRuleOperationsMappers.ts index fc1036897ffc..ba49649edf23 100644 --- a/sdk/network/arm-network/src/models/inboundSecurityRuleOperationsMappers.ts +++ b/sdk/network/arm-network/src/models/inboundSecurityRuleOperationsMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -259,6 +260,7 @@ export { ServiceEndpointPolicy, ServiceEndpointPolicyDefinition, ServiceEndpointPropertiesFormat, + Sku, StaticRoute, Subnet, SubResource, @@ -282,6 +284,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/index.ts b/sdk/network/arm-network/src/models/index.ts index 01e0cc2974eb..20e7723de7f5 100644 --- a/sdk/network/arm-network/src/models/index.ts +++ b/sdk/network/arm-network/src/models/index.ts @@ -262,7 +262,11 @@ export interface ExtendedLocation { /** * The name of the extended location. */ - name: string; + name?: string; + /** + * The type of the extended location. Possible values include: 'EdgeZone' + */ + type?: ExtendedLocationTypes; } /** @@ -527,12 +531,14 @@ export interface ResourceSet { /** * The visibility list of the private link service. */ -export interface PrivateLinkServicePropertiesVisibility extends ResourceSet {} +export interface PrivateLinkServicePropertiesVisibility extends ResourceSet { +} /** * The auto-approval list of the private link service. */ -export interface PrivateLinkServicePropertiesAutoApproval extends ResourceSet {} +export interface PrivateLinkServicePropertiesAutoApproval extends ResourceSet { +} /** * Private link service resource. @@ -668,6 +674,10 @@ export interface NetworkInterface extends Resource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: ProvisioningState; + /** + * WorkloadType of the NetworkInterface for BareMetal resources + */ + workloadType?: string; /** * Type of Network Interface resource. Possible values include: 'Standard', 'Elastic' */ @@ -1218,6 +1228,11 @@ export interface PublicIPAddress extends Resource { * The linked public IP address of the public IP address resource. */ linkedPublicIPAddress?: PublicIPAddress; + /** + * Specify what happens to the public IP address when the VM using it is deleted. Possible values + * include: 'Delete', 'Detach' + */ + deleteOption?: DeleteOptions; /** * A unique read-only string that changes whenever the resource is updated. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -1598,6 +1613,10 @@ export interface FrontendIPConfiguration extends SubResource { * The reference to the Public IP Prefix resource. */ publicIPPrefix?: SubResource; + /** + * The reference to gateway load balancer frontend IP. + */ + gatewayLoadBalancer?: SubResource; /** * The provisioning state of the frontend IP configuration resource. Possible values include: * 'Succeeded', 'Updating', 'Deleting', 'Failed' @@ -1666,6 +1685,30 @@ export interface VirtualNetworkTap extends Resource { readonly etag?: string; } +/** + * Gateway load balancer tunnel interface of a load balancer backend address pool. + */ +export interface GatewayLoadBalancerTunnelInterface { + /** + * Port of gateway load balancer tunnel interface. + */ + port?: number; + /** + * Identifier of gateway load balancer tunnel interface. + */ + identifier?: number; + /** + * Protocol of gateway load balancer tunnel interface. Possible values include: 'None', 'Native', + * 'VXLAN' + */ + protocol?: GatewayLoadBalancerTunnelProtocol; + /** + * Traffic type of gateway load balancer tunnel interface. Possible values include: 'None', + * 'Internal', 'External' + */ + type?: GatewayLoadBalancerTunnelInterfaceType; +} + /** * Load balancer backend addresses. */ @@ -1705,6 +1748,10 @@ export interface BackendAddressPool extends SubResource { * The location of the backend address pool. */ location?: string; + /** + * An array of gateway load balancer tunnel interfaces. + */ + tunnelInterfaces?: GatewayLoadBalancerTunnelInterface[]; /** * An array of backend addresses. */ @@ -1845,6 +1892,10 @@ export interface NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties * IPConfiguration in a network interface. */ export interface NetworkInterfaceIPConfiguration extends SubResource { + /** + * The reference to gateway load balancer frontend IP. + */ + gatewayLoadBalancer?: SubResource; /** * The reference to Virtual Network Taps. */ @@ -2269,6 +2320,16 @@ export interface ApplicationGatewayTrustedClientCertificate extends SubResource * Certificate public data. */ data?: string; + /** + * Validated certificate data. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly validatedCertData?: string; + /** + * Distinguished name of client certificate issuer. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly clientCertIssuerDN?: string; /** * The provisioning state of the trusted client certificate resource. Possible values include: * 'Succeeded', 'Updating', 'Deleting', 'Failed' @@ -3222,9 +3283,7 @@ export interface ManagedServiceIdentity { * references will be ARM resource ids in the form: * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ - userAssignedIdentities?: { - [propertyName: string]: ManagedServiceIdentityUserAssignedIdentitiesValue; - }; + userAssignedIdentities?: { [propertyName: string]: ManagedServiceIdentityUserAssignedIdentitiesValue }; } /** @@ -4096,6 +4155,17 @@ export interface AzureWebCategory { readonly etag?: string; } +/** + * The sku of this Bastion Host. + */ +export interface Sku { + /** + * The name of this Bastion Host. Possible values include: 'Basic', 'Standard'. Default value: + * 'Standard'. + */ + name?: BastionHostSkuName; +} + /** * IP configuration of an Bastion Host. */ @@ -4158,12 +4228,17 @@ export interface BastionHost extends Resource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly etag?: string; + /** + * The sku of this Bastion Host. + */ + sku?: Sku; } /** * Describes a Virtual Machine. */ -export interface VM extends Resource {} +export interface VM extends Resource { +} /** * Bastion Shareable Link. @@ -4315,6 +4390,23 @@ export interface CustomIpPrefix extends Resource { * The prefix range in CIDR notation. Should include the start address and the prefix length. */ cidr?: string; + /** + * Signed message for WAN validation. + */ + signedMessage?: string; + /** + * Authorization message for WAN validation. + */ + authorizationMessage?: string; + /** + * The Parent CustomIpPrefix for IPv6 /64 CustomIpPrefix. + */ + customIpPrefixParent?: CustomIpPrefix; + /** + * The list of all Children for IPv6 /48 CustomIpPrefix. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly childCustomIpPrefixes?: CustomIpPrefix[]; /** * The commissioned state of the Custom IP Prefix. Possible values include: 'Provisioning', * 'Provisioned', 'Commissioning', 'Commissioned', 'Decommissioning', 'Deprovisioning' @@ -4330,6 +4422,11 @@ export interface CustomIpPrefix extends Resource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly resourceGuid?: string; + /** + * The reason why resource is in failed state. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly failedReason?: string; /** * The provisioning state of the custom IP prefix resource. Possible values include: 'Succeeded', * 'Updating', 'Deleting', 'Failed' @@ -5859,10 +5956,7 @@ export interface FirewallPolicy extends Resource { /** * Contains the possible cases for FirewallPolicyRuleCollection. */ -export type FirewallPolicyRuleCollectionUnion = - | FirewallPolicyRuleCollection - | FirewallPolicyNatRuleCollection - | FirewallPolicyFilterRuleCollection; +export type FirewallPolicyRuleCollectionUnion = FirewallPolicyRuleCollection | FirewallPolicyNatRuleCollection | FirewallPolicyFilterRuleCollection; /** * Properties of the rule collection. @@ -6257,7 +6351,7 @@ export interface IpGroup extends Resource { */ export interface LoadBalancerSku { /** - * Name of a load balancer SKU. Possible values include: 'Basic', 'Standard' + * Name of a load balancer SKU. Possible values include: 'Basic', 'Standard', 'Gateway' */ name?: LoadBalancerSkuName; /** @@ -6279,6 +6373,10 @@ export interface LoadBalancingRule extends SubResource { * backend IPs. */ backendAddressPool?: SubResource; + /** + * An array of references to pool of DIPs. + */ + backendAddressPools?: SubResource[]; /** * The reference to the load balancer probe used by the load balancing rule. */ @@ -6598,6 +6696,30 @@ export interface LoadBalancer extends Resource { readonly etag?: string; } +/** + * VIP swap request's frontend IP configuration object. + */ +export interface LoadBalancerVipSwapRequestFrontendIPConfiguration { + /** + * The ID of frontend IP configuration resource. + */ + id?: string; + /** + * A reference to public IP address resource. + */ + publicIPAddress?: SubResource; +} + +/** + * The request for a VIP swap. + */ +export interface LoadBalancerVipSwapRequest { + /** + * A list of frontend IP configuration resources that should swap VIPs. + */ + frontendIPConfigurations?: LoadBalancerVipSwapRequestFrontendIPConfiguration[]; +} + /** * The response body contains the status of the specified asynchronous operation, indicating * whether it has succeeded, is in progress, or has failed. Note that this status is distinct from @@ -6622,6 +6744,10 @@ export interface AzureAsyncOperationResult { * The effective network security group association. */ export interface EffectiveNetworkSecurityGroupAssociation { + /** + * The ID of the Azure network manager if assigned. + */ + networkManager?: SubResource; /** * The ID of the subnet if assigned. */ @@ -6828,7 +6954,8 @@ export interface ContainerNetworkInterfaceConfiguration extends SubResource { /** * Reference to container resource in remote resource provider. */ -export interface Container extends SubResource {} +export interface Container extends SubResource { +} /** * The ip configuration for a container network interface. @@ -9759,9 +9886,13 @@ export interface VirtualNetworkPeering extends SubResource { */ remoteVirtualNetwork?: SubResource; /** - * The reference to the remote virtual network address space. + * The reference to the address space peered with the remote virtual network. */ remoteAddressSpace?: AddressSpace; + /** + * The reference to the current address space of the remote virtual network. + */ + remoteVirtualNetworkAddressSpace?: AddressSpace; /** * The reference to the remote virtual network's Bgp Communities. */ @@ -9771,6 +9902,11 @@ export interface VirtualNetworkPeering extends SubResource { * 'Disconnected' */ peeringState?: VirtualNetworkPeeringState; + /** + * The peering sync status of the virtual network peering. Possible values include: + * 'FullyInSync', 'RemoteNotInSync', 'LocalNotInSync', 'LocalAndRemoteNotInSync' + */ + peeringSyncLevel?: VirtualNetworkPeeringLevel; /** * The provisioning state of the virtual network peering resource. Possible values include: * 'Succeeded', 'Updating', 'Deleting', 'Failed' @@ -9860,6 +9996,10 @@ export interface VirtualNetwork extends Resource { * network. */ dhcpOptions?: DhcpOptions; + /** + * The FlowTimeout value (in minutes) for the Virtual Network + */ + flowTimeoutInMinutes?: number; /** * A list of subnets in a Virtual Network. */ @@ -10062,6 +10202,63 @@ export interface VirtualNetworkGatewayIPConfiguration extends SubResource { readonly etag?: string; } +/** + * Vpn NatRule mapping. + */ +export interface VpnNatRuleMapping { + /** + * Address space for Vpn NatRule mapping. + */ + addressSpace?: string; +} + +/** + * VirtualNetworkGatewayNatRule Resource. + */ +export interface VirtualNetworkGatewayNatRule extends SubResource { + /** + * The provisioning state of the NAT Rule resource. Possible values include: 'Succeeded', + * 'Updating', 'Deleting', 'Failed' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: ProvisioningState; + /** + * The type of NAT rule for VPN NAT. Possible values include: 'Static', 'Dynamic' + */ + virtualNetworkGatewayNatRulePropertiesType?: VpnNatRuleType; + /** + * The Source NAT direction of a VPN NAT. Possible values include: 'EgressSnat', 'IngressSnat' + */ + mode?: VpnNatRuleMode; + /** + * The private IP address internal mapping for NAT. + */ + internalMappings?: VpnNatRuleMapping[]; + /** + * The private IP address external mapping for NAT. + */ + externalMappings?: VpnNatRuleMapping[]; + /** + * The IP Configuration ID this NAT rule applies to. + */ + ipConfigurationId?: string; + /** + * The name of the resource that is unique within a resource group. This name can be used to + * access the resource. + */ + name?: string; + /** + * A unique read-only string that changes whenever the resource is updated. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly etag?: string; + /** + * Resource type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; +} + /** * VirtualNetworkGatewaySku details. */ @@ -10397,10 +10594,6 @@ export interface GatewayRoute { * A common class for general resource information. */ export interface VirtualNetworkGateway extends Resource { - /** - * The extended location of type local virtual network gateway. - */ - extendedLocation?: ExtendedLocation; /** * IP configurations for virtual network gateway. */ @@ -10480,6 +10673,18 @@ export interface VirtualNetworkGateway extends Resource { * customer vnet. */ vNetExtendedLocationResourceId?: string; + /** + * NatRules for virtual network gateway. + */ + natRules?: VirtualNetworkGatewayNatRule[]; + /** + * EnableBgpRouteTranslationForNat flag. + */ + enableBgpRouteTranslationForNat?: boolean; + /** + * The extended location of type local virtual network gateway. + */ + extendedLocation?: ExtendedLocation; /** * A unique read-only string that changes whenever the resource is updated. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -10636,6 +10841,14 @@ export interface VirtualNetworkGatewayConnection extends Resource { * The reference to local network gateway resource. */ localNetworkGateway2?: LocalNetworkGateway; + /** + * List of ingress NatRules. + */ + ingressNatRules?: SubResource[]; + /** + * List of egress NatRules. + */ + egressNatRules?: SubResource[]; /** * Gateway connection type. Possible values include: 'IPsec', 'Vnet2Vnet', 'ExpressRoute', * 'VPNClient' @@ -11627,6 +11840,11 @@ export interface VirtualHub extends Resource { * Flag to control transit for VirtualRouter hub. */ allowBranchToBranchTraffic?: boolean; + /** + * The preferred gateway to route on-prem traffic. Possible values include: 'ExpressRoute', + * 'VpnGateway', 'None' + */ + preferredRoutingGateway?: PreferredRoutingGateway; /** * A unique read-only string that changes whenever the resource is updated. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -11904,16 +12122,6 @@ export interface VpnGatewayIpConfiguration { privateIpAddress?: string; } -/** - * Vpn NatRule mapping. - */ -export interface VpnNatRuleMapping { - /** - * Address space for Vpn NatRule mapping. - */ - addressSpace?: string; -} - /** * VpnGatewayNatRule Resource. */ @@ -12981,8 +13189,7 @@ export interface ApplicationGatewaysBackendHealthOptionalParams extends msRest.R /** * Optional Parameters. */ -export interface ApplicationGatewaysBackendHealthOnDemandOptionalParams - extends msRest.RequestOptionsBase { +export interface ApplicationGatewaysBackendHealthOnDemandOptionalParams extends msRest.RequestOptionsBase { /** * Expands BackendAddressPool and BackendHttpSettings referenced in backend health. */ @@ -12992,8 +13199,7 @@ export interface ApplicationGatewaysBackendHealthOnDemandOptionalParams /** * Optional Parameters. */ -export interface ApplicationGatewaysBeginBackendHealthOptionalParams - extends msRest.RequestOptionsBase { +export interface ApplicationGatewaysBeginBackendHealthOptionalParams extends msRest.RequestOptionsBase { /** * Expands BackendAddressPool and BackendHttpSettings referenced in backend health. */ @@ -13003,8 +13209,7 @@ export interface ApplicationGatewaysBeginBackendHealthOptionalParams /** * Optional Parameters. */ -export interface ApplicationGatewaysBeginBackendHealthOnDemandOptionalParams - extends msRest.RequestOptionsBase { +export interface ApplicationGatewaysBeginBackendHealthOnDemandOptionalParams extends msRest.RequestOptionsBase { /** * Expands BackendAddressPool and BackendHttpSettings referenced in backend health. */ @@ -13024,8 +13229,7 @@ export interface WebCategoriesGetOptionalParams extends msRest.RequestOptionsBas /** * Optional Parameters. */ -export interface NetworkInterfacesGetCloudServiceNetworkInterfaceOptionalParams - extends msRest.RequestOptionsBase { +export interface NetworkInterfacesGetCloudServiceNetworkInterfaceOptionalParams extends msRest.RequestOptionsBase { /** * Expands referenced resources. */ @@ -13045,8 +13249,7 @@ export interface NetworkInterfacesGetOptionalParams extends msRest.RequestOption /** * Optional Parameters. */ -export interface NetworkInterfacesGetVirtualMachineScaleSetNetworkInterfaceOptionalParams - extends msRest.RequestOptionsBase { +export interface NetworkInterfacesGetVirtualMachineScaleSetNetworkInterfaceOptionalParams extends msRest.RequestOptionsBase { /** * Expands referenced resources. */ @@ -13056,8 +13259,7 @@ export interface NetworkInterfacesGetVirtualMachineScaleSetNetworkInterfaceOptio /** * Optional Parameters. */ -export interface NetworkInterfacesListVirtualMachineScaleSetIpConfigurationsOptionalParams - extends msRest.RequestOptionsBase { +export interface NetworkInterfacesListVirtualMachineScaleSetIpConfigurationsOptionalParams extends msRest.RequestOptionsBase { /** * Expands referenced resources. */ @@ -13067,8 +13269,7 @@ export interface NetworkInterfacesListVirtualMachineScaleSetIpConfigurationsOpti /** * Optional Parameters. */ -export interface NetworkInterfacesGetVirtualMachineScaleSetIpConfigurationOptionalParams - extends msRest.RequestOptionsBase { +export interface NetworkInterfacesGetVirtualMachineScaleSetIpConfigurationOptionalParams extends msRest.RequestOptionsBase { /** * Expands referenced resources. */ @@ -13078,8 +13279,7 @@ export interface NetworkInterfacesGetVirtualMachineScaleSetIpConfigurationOption /** * Optional Parameters. */ -export interface NetworkInterfacesListVirtualMachineScaleSetIpConfigurationsNextOptionalParams - extends msRest.RequestOptionsBase { +export interface NetworkInterfacesListVirtualMachineScaleSetIpConfigurationsNextOptionalParams extends msRest.RequestOptionsBase { /** * Expands referenced resources. */ @@ -13089,8 +13289,7 @@ export interface NetworkInterfacesListVirtualMachineScaleSetIpConfigurationsNext /** * Optional Parameters. */ -export interface PublicIPAddressesGetCloudServicePublicIPAddressOptionalParams - extends msRest.RequestOptionsBase { +export interface PublicIPAddressesGetCloudServicePublicIPAddressOptionalParams extends msRest.RequestOptionsBase { /** * Expands referenced resources. */ @@ -13110,8 +13309,7 @@ export interface PublicIPAddressesGetOptionalParams extends msRest.RequestOption /** * Optional Parameters. */ -export interface PublicIPAddressesGetVirtualMachineScaleSetPublicIPAddressOptionalParams - extends msRest.RequestOptionsBase { +export interface PublicIPAddressesGetVirtualMachineScaleSetPublicIPAddressOptionalParams extends msRest.RequestOptionsBase { /** * Expands referenced resources. */ @@ -13232,8 +13430,7 @@ export interface ConnectionMonitorsCreateOrUpdateOptionalParams extends msRest.R /** * Optional Parameters. */ -export interface ConnectionMonitorsBeginCreateOrUpdateOptionalParams - extends msRest.RequestOptionsBase { +export interface ConnectionMonitorsBeginCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** * Value indicating whether connection monitor V1 should be migrated to V2 format. */ @@ -13263,8 +13460,7 @@ export interface PrivateLinkServicesGetOptionalParams extends msRest.RequestOpti /** * Optional Parameters. */ -export interface PrivateLinkServicesGetPrivateEndpointConnectionOptionalParams - extends msRest.RequestOptionsBase { +export interface PrivateLinkServicesGetPrivateEndpointConnectionOptionalParams extends msRest.RequestOptionsBase { /** * Expands referenced resources. */ @@ -13331,6 +13527,28 @@ export interface SubnetsGetOptionalParams extends msRest.RequestOptionsBase { expand?: string; } +/** + * Optional Parameters. + */ +export interface VirtualNetworkPeeringsCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { + /** + * Parameter indicates the intention to sync the peering with the current address space on the + * remote vNet after it's updated. Possible values include: 'true' + */ + syncRemoteAddressSpace?: SyncRemoteAddressSpace; +} + +/** + * Optional Parameters. + */ +export interface VirtualNetworkPeeringsBeginCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { + /** + * Parameter indicates the intention to sync the peering with the current address space on the + * remote vNet after it's updated. Possible values include: 'true' + */ + syncRemoteAddressSpace?: SyncRemoteAddressSpace; +} + /** * Optional Parameters. */ @@ -13345,8 +13563,7 @@ export interface VirtualNetworkGatewaysResetOptionalParams extends msRest.Reques /** * Optional Parameters. */ -export interface VirtualNetworkGatewaysGetBgpPeerStatusOptionalParams - extends msRest.RequestOptionsBase { +export interface VirtualNetworkGatewaysGetBgpPeerStatusOptionalParams extends msRest.RequestOptionsBase { /** * The IP address of the peer to retrieve the status of. */ @@ -13356,8 +13573,7 @@ export interface VirtualNetworkGatewaysGetBgpPeerStatusOptionalParams /** * Optional Parameters. */ -export interface VirtualNetworkGatewaysStartPacketCaptureOptionalParams - extends msRest.RequestOptionsBase { +export interface VirtualNetworkGatewaysStartPacketCaptureOptionalParams extends msRest.RequestOptionsBase { /** * Virtual network gateway packet capture parameters supplied to start packet capture on gateway. */ @@ -13378,8 +13594,7 @@ export interface VirtualNetworkGatewaysBeginResetOptionalParams extends msRest.R /** * Optional Parameters. */ -export interface VirtualNetworkGatewaysBeginGetBgpPeerStatusOptionalParams - extends msRest.RequestOptionsBase { +export interface VirtualNetworkGatewaysBeginGetBgpPeerStatusOptionalParams extends msRest.RequestOptionsBase { /** * The IP address of the peer to retrieve the status of. */ @@ -13389,8 +13604,7 @@ export interface VirtualNetworkGatewaysBeginGetBgpPeerStatusOptionalParams /** * Optional Parameters. */ -export interface VirtualNetworkGatewaysBeginStartPacketCaptureOptionalParams - extends msRest.RequestOptionsBase { +export interface VirtualNetworkGatewaysBeginStartPacketCaptureOptionalParams extends msRest.RequestOptionsBase { /** * Virtual network gateway packet capture parameters supplied to start packet capture on gateway. */ @@ -13400,8 +13614,7 @@ export interface VirtualNetworkGatewaysBeginStartPacketCaptureOptionalParams /** * Optional Parameters. */ -export interface VirtualNetworkGatewayConnectionsStartPacketCaptureOptionalParams - extends msRest.RequestOptionsBase { +export interface VirtualNetworkGatewayConnectionsStartPacketCaptureOptionalParams extends msRest.RequestOptionsBase { /** * Virtual network gateway packet capture parameters supplied to start packet capture on gateway * connection. @@ -13412,8 +13625,7 @@ export interface VirtualNetworkGatewayConnectionsStartPacketCaptureOptionalParam /** * Optional Parameters. */ -export interface VirtualNetworkGatewayConnectionsBeginStartPacketCaptureOptionalParams - extends msRest.RequestOptionsBase { +export interface VirtualNetworkGatewayConnectionsBeginStartPacketCaptureOptionalParams extends msRest.RequestOptionsBase { /** * Virtual network gateway packet capture parameters supplied to start packet capture on gateway * connection. @@ -13434,8 +13646,7 @@ export interface VirtualRoutersGetOptionalParams extends msRest.RequestOptionsBa /** * Optional Parameters. */ -export interface VirtualHubsGetEffectiveVirtualHubRoutesOptionalParams - extends msRest.RequestOptionsBase { +export interface VirtualHubsGetEffectiveVirtualHubRoutesOptionalParams extends msRest.RequestOptionsBase { /** * Parameters supplied to get the effective routes for a specific resource. */ @@ -13445,8 +13656,7 @@ export interface VirtualHubsGetEffectiveVirtualHubRoutesOptionalParams /** * Optional Parameters. */ -export interface VirtualHubsBeginGetEffectiveVirtualHubRoutesOptionalParams - extends msRest.RequestOptionsBase { +export interface VirtualHubsBeginGetEffectiveVirtualHubRoutesOptionalParams extends msRest.RequestOptionsBase { /** * Parameters supplied to get the effective routes for a specific resource. */ @@ -13476,8 +13686,7 @@ export interface VpnGatewaysStopPacketCaptureOptionalParams extends msRest.Reque /** * Optional Parameters. */ -export interface VpnGatewaysBeginStartPacketCaptureOptionalParams - extends msRest.RequestOptionsBase { +export interface VpnGatewaysBeginStartPacketCaptureOptionalParams extends msRest.RequestOptionsBase { /** * Vpn gateway packet capture parameters supplied to start packet capture on vpn gateway. */ @@ -13519,8 +13728,7 @@ export interface VpnConnectionsStopPacketCaptureOptionalParams extends msRest.Re /** * Optional Parameters. */ -export interface VpnConnectionsBeginStartPacketCaptureOptionalParams - extends msRest.RequestOptionsBase { +export interface VpnConnectionsBeginStartPacketCaptureOptionalParams extends msRest.RequestOptionsBase { /** * Vpn Connection packet capture parameters supplied to start packet capture on gateway * connection. @@ -13531,8 +13739,7 @@ export interface VpnConnectionsBeginStartPacketCaptureOptionalParams /** * Optional Parameters. */ -export interface VpnConnectionsBeginStopPacketCaptureOptionalParams - extends msRest.RequestOptionsBase { +export interface VpnConnectionsBeginStopPacketCaptureOptionalParams extends msRest.RequestOptionsBase { /** * Vpn Connection packet capture parameters supplied to stop packet capture on gateway * connection. @@ -13564,8 +13771,7 @@ export interface ApplicationGatewayListResult extends Array * Response for ApplicationGatewayAvailableSslOptions API service call. * @extends Array */ -export interface ApplicationGatewayAvailableSslPredefinedPolicies - extends Array { +export interface ApplicationGatewayAvailableSslPredefinedPolicies extends Array { /** * URL to get the next set of results. */ @@ -13578,8 +13784,7 @@ export interface ApplicationGatewayAvailableSslPredefinedPolicies * resources for an application gateway. * @extends Array */ -export interface ApplicationGatewayPrivateLinkResourceListResult - extends Array { +export interface ApplicationGatewayPrivateLinkResourceListResult extends Array { /** * URL to get the next set of results. */ @@ -13592,8 +13797,7 @@ export interface ApplicationGatewayPrivateLinkResourceListResult * endpoint connections for an application gateway. * @extends Array */ -export interface ApplicationGatewayPrivateEndpointConnectionListResult - extends Array { +export interface ApplicationGatewayPrivateEndpointConnectionListResult extends Array { /** * URL to get the next set of results. */ @@ -13741,8 +13945,7 @@ export interface NetworkInterfaceListResult extends Array { * Response for list ip configurations API service call. * @extends Array */ -export interface NetworkInterfaceIPConfigurationListResult - extends Array { +export interface NetworkInterfaceIPConfigurationListResult extends Array { /** * The URL to get the next set of results. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -13844,8 +14047,7 @@ export interface ExpressRouteCircuitPeeringListResult extends Array */ -export interface ExpressRouteCircuitConnectionListResult - extends Array { +export interface ExpressRouteCircuitConnectionListResult extends Array { /** * The URL to get the next set of results. */ @@ -13858,8 +14060,7 @@ export interface ExpressRouteCircuitConnectionListResult * connections that belongs to a Private Peering for an ExpressRouteCircuit. * @extends Array */ -export interface PeerExpressRouteCircuitConnectionListResult - extends Array { +export interface PeerExpressRouteCircuitConnectionListResult extends Array { /** * The URL to get the next set of results. */ @@ -13909,8 +14110,7 @@ export interface ExpressRouteCrossConnectionListResult extends Array */ -export interface ExpressRouteCrossConnectionPeeringList - extends Array { +export interface ExpressRouteCrossConnectionPeeringList extends Array { /** * The URL to get the next set of results. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -13974,8 +14174,7 @@ export interface FirewallPolicyListResult extends Array { * Response for ListFirewallPolicyRuleCollectionGroups API service call. * @extends Array */ -export interface FirewallPolicyRuleCollectionGroupListResult - extends Array { +export interface FirewallPolicyRuleCollectionGroupListResult extends Array { /** * URL to get the next set of results. */ @@ -14037,8 +14236,7 @@ export interface LoadBalancerBackendAddressPoolListResult extends Array */ -export interface LoadBalancerFrontendIPConfigurationListResult - extends Array { +export interface LoadBalancerFrontendIPConfigurationListResult extends Array { /** * The URL to get the next set of results. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -14128,8 +14326,7 @@ export interface NetworkInterfaceLoadBalancerListResult extends Array */ -export interface NetworkInterfaceTapConfigurationListResult - extends Array { +export interface NetworkInterfaceTapConfigurationListResult extends Array { /** * The URL to get the next set of results. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -14215,21 +14412,24 @@ export interface NetworkVirtualApplianceSkuListResult extends Array */ -export interface NetworkWatcherListResult extends Array {} +export interface NetworkWatcherListResult extends Array { +} /** * @interface * List of packet capture sessions. * @extends Array */ -export interface PacketCaptureListResult extends Array {} +export interface PacketCaptureListResult extends Array { +} /** * @interface * List of connection monitors. * @extends Array */ -export interface ConnectionMonitorListResult extends Array {} +export interface ConnectionMonitorListResult extends Array { +} /** * @interface @@ -14328,8 +14528,7 @@ export interface PrivateEndpointConnectionListResult extends Array */ -export interface AutoApprovedPrivateLinkServicesResult - extends Array { +export interface AutoApprovedPrivateLinkServicesResult extends Array { /** * The URL to get the next set of results. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -14440,8 +14639,7 @@ export interface ServiceEndpointPolicyListResult extends Array */ -export interface ServiceEndpointPolicyDefinitionListResult - extends Array { +export interface ServiceEndpointPolicyDefinitionListResult extends Array { /** * The URL to get the next set of results. */ @@ -14527,8 +14725,7 @@ export interface VirtualNetworkGatewayListResult extends Array */ -export interface VirtualNetworkGatewayListConnectionsResult - extends Array { +export interface VirtualNetworkGatewayListConnectionsResult extends Array { /** * The URL to get the next set of results. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -14541,8 +14738,7 @@ export interface VirtualNetworkGatewayListConnectionsResult * Response for the ListVirtualNetworkGatewayConnections API service call. * @extends Array */ -export interface VirtualNetworkGatewayConnectionListResult - extends Array { +export interface VirtualNetworkGatewayConnectionListResult extends Array { /** * The URL to get the next set of results. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -14563,6 +14759,19 @@ export interface LocalNetworkGatewayListResult extends Array + */ +export interface ListVirtualNetworkGatewayNatRulesResult extends Array { + /** + * URL to get the next set of operation list results if there are any. + */ + nextLink?: string; +} + /** * @interface * Response for ListVirtualNetworkTap API service call. @@ -14795,8 +15004,7 @@ export interface ListHubRouteTablesResult extends Array { * WebApplicationFirewallPolicy objects and a URL link to get the next set of results. * @extends Array */ -export interface WebApplicationFirewallPolicyListResult - extends Array { +export interface WebApplicationFirewallPolicyListResult extends Array { /** * URL to get the next set of WebApplicationFirewallPolicy objects if there are any. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -14810,7 +15018,7 @@ export interface WebApplicationFirewallPolicyListResult * @readonly * @enum {string} */ -export type ApplicationGatewayProtocol = "Http" | "Https"; +export type ApplicationGatewayProtocol = 'Http' | 'Https'; /** * Defines values for ProvisioningState. @@ -14818,7 +15026,7 @@ export type ApplicationGatewayProtocol = "Http" | "Https"; * @readonly * @enum {string} */ -export type ProvisioningState = "Succeeded" | "Updating" | "Deleting" | "Failed"; +export type ProvisioningState = 'Succeeded' | 'Updating' | 'Deleting' | 'Failed'; /** * Defines values for IPAllocationMethod. @@ -14826,7 +15034,7 @@ export type ProvisioningState = "Succeeded" | "Updating" | "Deleting" | "Failed" * @readonly * @enum {string} */ -export type IPAllocationMethod = "Static" | "Dynamic"; +export type IPAllocationMethod = 'Static' | 'Dynamic'; /** * Defines values for IPVersion. @@ -14834,7 +15042,7 @@ export type IPAllocationMethod = "Static" | "Dynamic"; * @readonly * @enum {string} */ -export type IPVersion = "IPv4" | "IPv6"; +export type IPVersion = 'IPv4' | 'IPv6'; /** * Defines values for SecurityRuleProtocol. @@ -14842,7 +15050,7 @@ export type IPVersion = "IPv4" | "IPv6"; * @readonly * @enum {string} */ -export type SecurityRuleProtocol = "Tcp" | "Udp" | "Icmp" | "Esp" | "*" | "Ah"; +export type SecurityRuleProtocol = 'Tcp' | 'Udp' | 'Icmp' | 'Esp' | '*' | 'Ah'; /** * Defines values for SecurityRuleAccess. @@ -14850,7 +15058,7 @@ export type SecurityRuleProtocol = "Tcp" | "Udp" | "Icmp" | "Esp" | "*" | "Ah"; * @readonly * @enum {string} */ -export type SecurityRuleAccess = "Allow" | "Deny"; +export type SecurityRuleAccess = 'Allow' | 'Deny'; /** * Defines values for SecurityRuleDirection. @@ -14858,7 +15066,15 @@ export type SecurityRuleAccess = "Allow" | "Deny"; * @readonly * @enum {string} */ -export type SecurityRuleDirection = "Inbound" | "Outbound"; +export type SecurityRuleDirection = 'Inbound' | 'Outbound'; + +/** + * Defines values for ExtendedLocationTypes. + * Possible values include: 'EdgeZone' + * @readonly + * @enum {string} + */ +export type ExtendedLocationTypes = 'EdgeZone'; /** * Defines values for NetworkInterfaceNicType. @@ -14866,7 +15082,7 @@ export type SecurityRuleDirection = "Inbound" | "Outbound"; * @readonly * @enum {string} */ -export type NetworkInterfaceNicType = "Standard" | "Elastic"; +export type NetworkInterfaceNicType = 'Standard' | 'Elastic'; /** * Defines values for NetworkInterfaceMigrationPhase. @@ -14874,7 +15090,7 @@ export type NetworkInterfaceNicType = "Standard" | "Elastic"; * @readonly * @enum {string} */ -export type NetworkInterfaceMigrationPhase = "None" | "Prepare" | "Commit" | "Abort" | "Committed"; +export type NetworkInterfaceMigrationPhase = 'None' | 'Prepare' | 'Commit' | 'Abort' | 'Committed'; /** * Defines values for FlowLogFormatType. @@ -14882,7 +15098,7 @@ export type NetworkInterfaceMigrationPhase = "None" | "Prepare" | "Commit" | "Ab * @readonly * @enum {string} */ -export type FlowLogFormatType = "JSON"; +export type FlowLogFormatType = 'JSON'; /** * Defines values for RouteNextHopType. @@ -14891,12 +15107,7 @@ export type FlowLogFormatType = "JSON"; * @readonly * @enum {string} */ -export type RouteNextHopType = - | "VirtualNetworkGateway" - | "VnetLocal" - | "Internet" - | "VirtualAppliance" - | "None"; +export type RouteNextHopType = 'VirtualNetworkGateway' | 'VnetLocal' | 'Internet' | 'VirtualAppliance' | 'None'; /** * Defines values for PublicIPAddressSkuName. @@ -14904,7 +15115,7 @@ export type RouteNextHopType = * @readonly * @enum {string} */ -export type PublicIPAddressSkuName = "Basic" | "Standard"; +export type PublicIPAddressSkuName = 'Basic' | 'Standard'; /** * Defines values for PublicIPAddressSkuTier. @@ -14912,7 +15123,7 @@ export type PublicIPAddressSkuName = "Basic" | "Standard"; * @readonly * @enum {string} */ -export type PublicIPAddressSkuTier = "Regional" | "Global"; +export type PublicIPAddressSkuTier = 'Regional' | 'Global'; /** * Defines values for DdosSettingsProtectionCoverage. @@ -14920,7 +15131,7 @@ export type PublicIPAddressSkuTier = "Regional" | "Global"; * @readonly * @enum {string} */ -export type DdosSettingsProtectionCoverage = "Basic" | "Standard"; +export type DdosSettingsProtectionCoverage = 'Basic' | 'Standard'; /** * Defines values for NatGatewaySkuName. @@ -14928,7 +15139,7 @@ export type DdosSettingsProtectionCoverage = "Basic" | "Standard"; * @readonly * @enum {string} */ -export type NatGatewaySkuName = "Standard"; +export type NatGatewaySkuName = 'Standard'; /** * Defines values for PublicIPAddressMigrationPhase. @@ -14936,7 +15147,15 @@ export type NatGatewaySkuName = "Standard"; * @readonly * @enum {string} */ -export type PublicIPAddressMigrationPhase = "None" | "Prepare" | "Commit" | "Abort" | "Committed"; +export type PublicIPAddressMigrationPhase = 'None' | 'Prepare' | 'Commit' | 'Abort' | 'Committed'; + +/** + * Defines values for DeleteOptions. + * Possible values include: 'Delete', 'Detach' + * @readonly + * @enum {string} + */ +export type DeleteOptions = 'Delete' | 'Detach'; /** * Defines values for VirtualNetworkPrivateEndpointNetworkPolicies. @@ -14944,7 +15163,7 @@ export type PublicIPAddressMigrationPhase = "None" | "Prepare" | "Commit" | "Abo * @readonly * @enum {string} */ -export type VirtualNetworkPrivateEndpointNetworkPolicies = "Enabled" | "Disabled"; +export type VirtualNetworkPrivateEndpointNetworkPolicies = 'Enabled' | 'Disabled'; /** * Defines values for VirtualNetworkPrivateLinkServiceNetworkPolicies. @@ -14952,7 +15171,23 @@ export type VirtualNetworkPrivateEndpointNetworkPolicies = "Enabled" | "Disabled * @readonly * @enum {string} */ -export type VirtualNetworkPrivateLinkServiceNetworkPolicies = "Enabled" | "Disabled"; +export type VirtualNetworkPrivateLinkServiceNetworkPolicies = 'Enabled' | 'Disabled'; + +/** + * Defines values for GatewayLoadBalancerTunnelProtocol. + * Possible values include: 'None', 'Native', 'VXLAN' + * @readonly + * @enum {string} + */ +export type GatewayLoadBalancerTunnelProtocol = 'None' | 'Native' | 'VXLAN'; + +/** + * Defines values for GatewayLoadBalancerTunnelInterfaceType. + * Possible values include: 'None', 'Internal', 'External' + * @readonly + * @enum {string} + */ +export type GatewayLoadBalancerTunnelInterfaceType = 'None' | 'Internal' | 'External'; /** * Defines values for TransportProtocol. @@ -14960,7 +15195,7 @@ export type VirtualNetworkPrivateLinkServiceNetworkPolicies = "Enabled" | "Disab * @readonly * @enum {string} */ -export type TransportProtocol = "Udp" | "Tcp" | "All"; +export type TransportProtocol = 'Udp' | 'Tcp' | 'All'; /** * Defines values for ApplicationGatewayCookieBasedAffinity. @@ -14968,7 +15203,7 @@ export type TransportProtocol = "Udp" | "Tcp" | "All"; * @readonly * @enum {string} */ -export type ApplicationGatewayCookieBasedAffinity = "Enabled" | "Disabled"; +export type ApplicationGatewayCookieBasedAffinity = 'Enabled' | 'Disabled'; /** * Defines values for ApplicationGatewayBackendHealthServerHealth. @@ -14976,12 +15211,7 @@ export type ApplicationGatewayCookieBasedAffinity = "Enabled" | "Disabled"; * @readonly * @enum {string} */ -export type ApplicationGatewayBackendHealthServerHealth = - | "Unknown" - | "Up" - | "Down" - | "Partial" - | "Draining"; +export type ApplicationGatewayBackendHealthServerHealth = 'Unknown' | 'Up' | 'Down' | 'Partial' | 'Draining'; /** * Defines values for ApplicationGatewaySkuName. @@ -14990,14 +15220,7 @@ export type ApplicationGatewayBackendHealthServerHealth = * @readonly * @enum {string} */ -export type ApplicationGatewaySkuName = - | "Standard_Small" - | "Standard_Medium" - | "Standard_Large" - | "WAF_Medium" - | "WAF_Large" - | "Standard_v2" - | "WAF_v2"; +export type ApplicationGatewaySkuName = 'Standard_Small' | 'Standard_Medium' | 'Standard_Large' | 'WAF_Medium' | 'WAF_Large' | 'Standard_v2' | 'WAF_v2'; /** * Defines values for ApplicationGatewayTier. @@ -15005,7 +15228,7 @@ export type ApplicationGatewaySkuName = * @readonly * @enum {string} */ -export type ApplicationGatewayTier = "Standard" | "WAF" | "Standard_v2" | "WAF_v2"; +export type ApplicationGatewayTier = 'Standard' | 'WAF' | 'Standard_v2' | 'WAF_v2'; /** * Defines values for ApplicationGatewaySslProtocol. @@ -15013,7 +15236,7 @@ export type ApplicationGatewayTier = "Standard" | "WAF" | "Standard_v2" | "WAF_v * @readonly * @enum {string} */ -export type ApplicationGatewaySslProtocol = "TLSv1_0" | "TLSv1_1" | "TLSv1_2"; +export type ApplicationGatewaySslProtocol = 'TLSv1_0' | 'TLSv1_1' | 'TLSv1_2'; /** * Defines values for ApplicationGatewaySslPolicyType. @@ -15021,7 +15244,7 @@ export type ApplicationGatewaySslProtocol = "TLSv1_0" | "TLSv1_1" | "TLSv1_2"; * @readonly * @enum {string} */ -export type ApplicationGatewaySslPolicyType = "Predefined" | "Custom"; +export type ApplicationGatewaySslPolicyType = 'Predefined' | 'Custom'; /** * Defines values for ApplicationGatewaySslPolicyName. @@ -15030,10 +15253,7 @@ export type ApplicationGatewaySslPolicyType = "Predefined" | "Custom"; * @readonly * @enum {string} */ -export type ApplicationGatewaySslPolicyName = - | "AppGwSslPolicy20150501" - | "AppGwSslPolicy20170401" - | "AppGwSslPolicy20170401S"; +export type ApplicationGatewaySslPolicyName = 'AppGwSslPolicy20150501' | 'AppGwSslPolicy20170401' | 'AppGwSslPolicy20170401S'; /** * Defines values for ApplicationGatewaySslCipherSuite. @@ -15055,35 +15275,7 @@ export type ApplicationGatewaySslPolicyName = * @readonly * @enum {string} */ -export type ApplicationGatewaySslCipherSuite = - | "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384" - | "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" - | "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA" - | "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA" - | "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384" - | "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256" - | "TLS_DHE_RSA_WITH_AES_256_CBC_SHA" - | "TLS_DHE_RSA_WITH_AES_128_CBC_SHA" - | "TLS_RSA_WITH_AES_256_GCM_SHA384" - | "TLS_RSA_WITH_AES_128_GCM_SHA256" - | "TLS_RSA_WITH_AES_256_CBC_SHA256" - | "TLS_RSA_WITH_AES_128_CBC_SHA256" - | "TLS_RSA_WITH_AES_256_CBC_SHA" - | "TLS_RSA_WITH_AES_128_CBC_SHA" - | "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384" - | "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256" - | "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384" - | "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256" - | "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA" - | "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA" - | "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256" - | "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256" - | "TLS_DHE_DSS_WITH_AES_256_CBC_SHA" - | "TLS_DHE_DSS_WITH_AES_128_CBC_SHA" - | "TLS_RSA_WITH_3DES_EDE_CBC_SHA" - | "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA" - | "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256" - | "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384"; +export type ApplicationGatewaySslCipherSuite = 'TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384' | 'TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256' | 'TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA' | 'TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA' | 'TLS_DHE_RSA_WITH_AES_256_GCM_SHA384' | 'TLS_DHE_RSA_WITH_AES_128_GCM_SHA256' | 'TLS_DHE_RSA_WITH_AES_256_CBC_SHA' | 'TLS_DHE_RSA_WITH_AES_128_CBC_SHA' | 'TLS_RSA_WITH_AES_256_GCM_SHA384' | 'TLS_RSA_WITH_AES_128_GCM_SHA256' | 'TLS_RSA_WITH_AES_256_CBC_SHA256' | 'TLS_RSA_WITH_AES_128_CBC_SHA256' | 'TLS_RSA_WITH_AES_256_CBC_SHA' | 'TLS_RSA_WITH_AES_128_CBC_SHA' | 'TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384' | 'TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256' | 'TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384' | 'TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256' | 'TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA' | 'TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA' | 'TLS_DHE_DSS_WITH_AES_256_CBC_SHA256' | 'TLS_DHE_DSS_WITH_AES_128_CBC_SHA256' | 'TLS_DHE_DSS_WITH_AES_256_CBC_SHA' | 'TLS_DHE_DSS_WITH_AES_128_CBC_SHA' | 'TLS_RSA_WITH_3DES_EDE_CBC_SHA' | 'TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA' | 'TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256' | 'TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384'; /** * Defines values for ApplicationGatewayCustomErrorStatusCode. @@ -15091,7 +15283,7 @@ export type ApplicationGatewaySslCipherSuite = * @readonly * @enum {string} */ -export type ApplicationGatewayCustomErrorStatusCode = "HttpStatus403" | "HttpStatus502"; +export type ApplicationGatewayCustomErrorStatusCode = 'HttpStatus403' | 'HttpStatus502'; /** * Defines values for ApplicationGatewayRequestRoutingRuleType. @@ -15099,7 +15291,7 @@ export type ApplicationGatewayCustomErrorStatusCode = "HttpStatus403" | "HttpSta * @readonly * @enum {string} */ -export type ApplicationGatewayRequestRoutingRuleType = "Basic" | "PathBasedRouting"; +export type ApplicationGatewayRequestRoutingRuleType = 'Basic' | 'PathBasedRouting'; /** * Defines values for ApplicationGatewayRedirectType. @@ -15107,7 +15299,7 @@ export type ApplicationGatewayRequestRoutingRuleType = "Basic" | "PathBasedRouti * @readonly * @enum {string} */ -export type ApplicationGatewayRedirectType = "Permanent" | "Found" | "SeeOther" | "Temporary"; +export type ApplicationGatewayRedirectType = 'Permanent' | 'Found' | 'SeeOther' | 'Temporary'; /** * Defines values for ApplicationGatewayOperationalState. @@ -15115,7 +15307,7 @@ export type ApplicationGatewayRedirectType = "Permanent" | "Found" | "SeeOther" * @readonly * @enum {string} */ -export type ApplicationGatewayOperationalState = "Stopped" | "Starting" | "Running" | "Stopping"; +export type ApplicationGatewayOperationalState = 'Stopped' | 'Starting' | 'Running' | 'Stopping'; /** * Defines values for ApplicationGatewayFirewallMode. @@ -15123,7 +15315,7 @@ export type ApplicationGatewayOperationalState = "Stopped" | "Starting" | "Runni * @readonly * @enum {string} */ -export type ApplicationGatewayFirewallMode = "Detection" | "Prevention"; +export type ApplicationGatewayFirewallMode = 'Detection' | 'Prevention'; /** * Defines values for ResourceIdentityType. @@ -15132,19 +15324,7 @@ export type ApplicationGatewayFirewallMode = "Detection" | "Prevention"; * @readonly * @enum {string} */ -export type ResourceIdentityType = - | "SystemAssigned" - | "UserAssigned" - | "SystemAssigned, UserAssigned" - | "None"; - -/** - * Defines values for ExtendedLocationTypes. - * Possible values include: 'EdgeZone' - * @readonly - * @enum {string} - */ -export type ExtendedLocationTypes = "EdgeZone"; +export type ResourceIdentityType = 'SystemAssigned' | 'UserAssigned' | 'SystemAssigned, UserAssigned' | 'None'; /** * Defines values for AzureFirewallRCActionType. @@ -15152,7 +15332,7 @@ export type ExtendedLocationTypes = "EdgeZone"; * @readonly * @enum {string} */ -export type AzureFirewallRCActionType = "Allow" | "Deny"; +export type AzureFirewallRCActionType = 'Allow' | 'Deny'; /** * Defines values for AzureFirewallApplicationRuleProtocolType. @@ -15160,7 +15340,7 @@ export type AzureFirewallRCActionType = "Allow" | "Deny"; * @readonly * @enum {string} */ -export type AzureFirewallApplicationRuleProtocolType = "Http" | "Https" | "Mssql"; +export type AzureFirewallApplicationRuleProtocolType = 'Http' | 'Https' | 'Mssql'; /** * Defines values for AzureFirewallNatRCActionType. @@ -15168,7 +15348,7 @@ export type AzureFirewallApplicationRuleProtocolType = "Http" | "Https" | "Mssql * @readonly * @enum {string} */ -export type AzureFirewallNatRCActionType = "Snat" | "Dnat"; +export type AzureFirewallNatRCActionType = 'Snat' | 'Dnat'; /** * Defines values for AzureFirewallNetworkRuleProtocol. @@ -15176,7 +15356,7 @@ export type AzureFirewallNatRCActionType = "Snat" | "Dnat"; * @readonly * @enum {string} */ -export type AzureFirewallNetworkRuleProtocol = "TCP" | "UDP" | "Any" | "ICMP"; +export type AzureFirewallNetworkRuleProtocol = 'TCP' | 'UDP' | 'Any' | 'ICMP'; /** * Defines values for AzureFirewallThreatIntelMode. @@ -15184,7 +15364,7 @@ export type AzureFirewallNetworkRuleProtocol = "TCP" | "UDP" | "Any" | "ICMP"; * @readonly * @enum {string} */ -export type AzureFirewallThreatIntelMode = "Alert" | "Deny" | "Off"; +export type AzureFirewallThreatIntelMode = 'Alert' | 'Deny' | 'Off'; /** * Defines values for AzureFirewallSkuName. @@ -15192,7 +15372,7 @@ export type AzureFirewallThreatIntelMode = "Alert" | "Deny" | "Off"; * @readonly * @enum {string} */ -export type AzureFirewallSkuName = "AZFW_VNet" | "AZFW_Hub"; +export type AzureFirewallSkuName = 'AZFW_VNet' | 'AZFW_Hub'; /** * Defines values for AzureFirewallSkuTier. @@ -15200,7 +15380,15 @@ export type AzureFirewallSkuName = "AZFW_VNet" | "AZFW_Hub"; * @readonly * @enum {string} */ -export type AzureFirewallSkuTier = "Standard" | "Premium"; +export type AzureFirewallSkuTier = 'Standard' | 'Premium'; + +/** + * Defines values for BastionHostSkuName. + * Possible values include: 'Basic', 'Standard' + * @readonly + * @enum {string} + */ +export type BastionHostSkuName = 'Basic' | 'Standard'; /** * Defines values for BastionConnectProtocol. @@ -15208,7 +15396,7 @@ export type AzureFirewallSkuTier = "Standard" | "Premium"; * @readonly * @enum {string} */ -export type BastionConnectProtocol = "SSH" | "RDP"; +export type BastionConnectProtocol = 'SSH' | 'RDP'; /** * Defines values for CommissionedState. @@ -15217,13 +15405,7 @@ export type BastionConnectProtocol = "SSH" | "RDP"; * @readonly * @enum {string} */ -export type CommissionedState = - | "Provisioning" - | "Provisioned" - | "Commissioning" - | "Commissioned" - | "Decommissioning" - | "Deprovisioning"; +export type CommissionedState = 'Provisioning' | 'Provisioned' | 'Commissioning' | 'Commissioned' | 'Decommissioning' | 'Deprovisioning'; /** * Defines values for DdosCustomPolicyProtocol. @@ -15231,7 +15413,7 @@ export type CommissionedState = * @readonly * @enum {string} */ -export type DdosCustomPolicyProtocol = "Tcp" | "Udp" | "Syn"; +export type DdosCustomPolicyProtocol = 'Tcp' | 'Udp' | 'Syn'; /** * Defines values for DdosCustomPolicyTriggerSensitivityOverride. @@ -15239,7 +15421,7 @@ export type DdosCustomPolicyProtocol = "Tcp" | "Udp" | "Syn"; * @readonly * @enum {string} */ -export type DdosCustomPolicyTriggerSensitivityOverride = "Relaxed" | "Low" | "Default" | "High"; +export type DdosCustomPolicyTriggerSensitivityOverride = 'Relaxed' | 'Low' | 'Default' | 'High'; /** * Defines values for ProtocolType. @@ -15247,16 +15429,7 @@ export type DdosCustomPolicyTriggerSensitivityOverride = "Relaxed" | "Low" | "De * @readonly * @enum {string} */ -export type ProtocolType = - | "DoNotUse" - | "Icmp" - | "Tcp" - | "Udp" - | "Gre" - | "Esp" - | "Ah" - | "Vxlan" - | "All"; +export type ProtocolType = 'DoNotUse' | 'Icmp' | 'Tcp' | 'Udp' | 'Gre' | 'Esp' | 'Ah' | 'Vxlan' | 'All'; /** * Defines values for AuthorizationUseStatus. @@ -15264,7 +15437,7 @@ export type ProtocolType = * @readonly * @enum {string} */ -export type AuthorizationUseStatus = "Available" | "InUse"; +export type AuthorizationUseStatus = 'Available' | 'InUse'; /** * Defines values for ExpressRouteCircuitPeeringAdvertisedPublicPrefixState. @@ -15272,11 +15445,7 @@ export type AuthorizationUseStatus = "Available" | "InUse"; * @readonly * @enum {string} */ -export type ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = - | "NotConfigured" - | "Configuring" - | "Configured" - | "ValidationNeeded"; +export type ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = 'NotConfigured' | 'Configuring' | 'Configured' | 'ValidationNeeded'; /** * Defines values for ExpressRouteCircuitPeeringState. @@ -15284,7 +15453,7 @@ export type ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = * @readonly * @enum {string} */ -export type ExpressRouteCircuitPeeringState = "Disabled" | "Enabled"; +export type ExpressRouteCircuitPeeringState = 'Disabled' | 'Enabled'; /** * Defines values for ExpressRoutePeeringType. @@ -15292,10 +15461,7 @@ export type ExpressRouteCircuitPeeringState = "Disabled" | "Enabled"; * @readonly * @enum {string} */ -export type ExpressRoutePeeringType = - | "AzurePublicPeering" - | "AzurePrivatePeering" - | "MicrosoftPeering"; +export type ExpressRoutePeeringType = 'AzurePublicPeering' | 'AzurePrivatePeering' | 'MicrosoftPeering'; /** * Defines values for ExpressRoutePeeringState. @@ -15303,7 +15469,7 @@ export type ExpressRoutePeeringType = * @readonly * @enum {string} */ -export type ExpressRoutePeeringState = "Disabled" | "Enabled"; +export type ExpressRoutePeeringState = 'Disabled' | 'Enabled'; /** * Defines values for CircuitConnectionStatus. @@ -15311,7 +15477,7 @@ export type ExpressRoutePeeringState = "Disabled" | "Enabled"; * @readonly * @enum {string} */ -export type CircuitConnectionStatus = "Connected" | "Connecting" | "Disconnected"; +export type CircuitConnectionStatus = 'Connected' | 'Connecting' | 'Disconnected'; /** * Defines values for ExpressRouteCircuitSkuTier. @@ -15319,7 +15485,7 @@ export type CircuitConnectionStatus = "Connected" | "Connecting" | "Disconnected * @readonly * @enum {string} */ -export type ExpressRouteCircuitSkuTier = "Standard" | "Premium" | "Basic" | "Local"; +export type ExpressRouteCircuitSkuTier = 'Standard' | 'Premium' | 'Basic' | 'Local'; /** * Defines values for ExpressRouteCircuitSkuFamily. @@ -15327,7 +15493,7 @@ export type ExpressRouteCircuitSkuTier = "Standard" | "Premium" | "Basic" | "Loc * @readonly * @enum {string} */ -export type ExpressRouteCircuitSkuFamily = "UnlimitedData" | "MeteredData"; +export type ExpressRouteCircuitSkuFamily = 'UnlimitedData' | 'MeteredData'; /** * Defines values for ServiceProviderProvisioningState. @@ -15335,11 +15501,7 @@ export type ExpressRouteCircuitSkuFamily = "UnlimitedData" | "MeteredData"; * @readonly * @enum {string} */ -export type ServiceProviderProvisioningState = - | "NotProvisioned" - | "Provisioning" - | "Provisioned" - | "Deprovisioning"; +export type ServiceProviderProvisioningState = 'NotProvisioned' | 'Provisioning' | 'Provisioned' | 'Deprovisioning'; /** * Defines values for ExpressRouteLinkMacSecCipher. @@ -15347,11 +15509,7 @@ export type ServiceProviderProvisioningState = * @readonly * @enum {string} */ -export type ExpressRouteLinkMacSecCipher = - | "GcmAes256" - | "GcmAes128" - | "GcmAesXpn128" - | "GcmAesXpn256"; +export type ExpressRouteLinkMacSecCipher = 'GcmAes256' | 'GcmAes128' | 'GcmAesXpn128' | 'GcmAesXpn256'; /** * Defines values for ExpressRouteLinkMacSecSciState. @@ -15359,7 +15517,7 @@ export type ExpressRouteLinkMacSecCipher = * @readonly * @enum {string} */ -export type ExpressRouteLinkMacSecSciState = "Disabled" | "Enabled"; +export type ExpressRouteLinkMacSecSciState = 'Disabled' | 'Enabled'; /** * Defines values for ExpressRouteLinkConnectorType. @@ -15367,7 +15525,7 @@ export type ExpressRouteLinkMacSecSciState = "Disabled" | "Enabled"; * @readonly * @enum {string} */ -export type ExpressRouteLinkConnectorType = "LC" | "SC"; +export type ExpressRouteLinkConnectorType = 'LC' | 'SC'; /** * Defines values for ExpressRouteLinkAdminState. @@ -15375,7 +15533,7 @@ export type ExpressRouteLinkConnectorType = "LC" | "SC"; * @readonly * @enum {string} */ -export type ExpressRouteLinkAdminState = "Enabled" | "Disabled"; +export type ExpressRouteLinkAdminState = 'Enabled' | 'Disabled'; /** * Defines values for ExpressRoutePortsEncapsulation. @@ -15383,7 +15541,7 @@ export type ExpressRouteLinkAdminState = "Enabled" | "Disabled"; * @readonly * @enum {string} */ -export type ExpressRoutePortsEncapsulation = "Dot1Q" | "QinQ"; +export type ExpressRoutePortsEncapsulation = 'Dot1Q' | 'QinQ'; /** * Defines values for FirewallPolicyIntrusionDetectionStateType. @@ -15391,7 +15549,7 @@ export type ExpressRoutePortsEncapsulation = "Dot1Q" | "QinQ"; * @readonly * @enum {string} */ -export type FirewallPolicyIntrusionDetectionStateType = "Off" | "Alert" | "Deny"; +export type FirewallPolicyIntrusionDetectionStateType = 'Off' | 'Alert' | 'Deny'; /** * Defines values for FirewallPolicyIntrusionDetectionProtocol. @@ -15399,7 +15557,7 @@ export type FirewallPolicyIntrusionDetectionStateType = "Off" | "Alert" | "Deny" * @readonly * @enum {string} */ -export type FirewallPolicyIntrusionDetectionProtocol = "TCP" | "UDP" | "ICMP" | "ANY"; +export type FirewallPolicyIntrusionDetectionProtocol = 'TCP' | 'UDP' | 'ICMP' | 'ANY'; /** * Defines values for FirewallPolicySkuTier. @@ -15407,7 +15565,7 @@ export type FirewallPolicyIntrusionDetectionProtocol = "TCP" | "UDP" | "ICMP" | * @readonly * @enum {string} */ -export type FirewallPolicySkuTier = "Standard" | "Premium"; +export type FirewallPolicySkuTier = 'Standard' | 'Premium'; /** * Defines values for FirewallPolicyNatRuleCollectionActionType. @@ -15415,7 +15573,7 @@ export type FirewallPolicySkuTier = "Standard" | "Premium"; * @readonly * @enum {string} */ -export type FirewallPolicyNatRuleCollectionActionType = "DNAT"; +export type FirewallPolicyNatRuleCollectionActionType = 'DNAT'; /** * Defines values for FirewallPolicyFilterRuleCollectionActionType. @@ -15423,7 +15581,7 @@ export type FirewallPolicyNatRuleCollectionActionType = "DNAT"; * @readonly * @enum {string} */ -export type FirewallPolicyFilterRuleCollectionActionType = "Allow" | "Deny"; +export type FirewallPolicyFilterRuleCollectionActionType = 'Allow' | 'Deny'; /** * Defines values for FirewallPolicyRuleApplicationProtocolType. @@ -15431,7 +15589,7 @@ export type FirewallPolicyFilterRuleCollectionActionType = "Allow" | "Deny"; * @readonly * @enum {string} */ -export type FirewallPolicyRuleApplicationProtocolType = "Http" | "Https"; +export type FirewallPolicyRuleApplicationProtocolType = 'Http' | 'Https'; /** * Defines values for FirewallPolicyRuleNetworkProtocol. @@ -15439,7 +15597,7 @@ export type FirewallPolicyRuleApplicationProtocolType = "Http" | "Https"; * @readonly * @enum {string} */ -export type FirewallPolicyRuleNetworkProtocol = "TCP" | "UDP" | "Any" | "ICMP"; +export type FirewallPolicyRuleNetworkProtocol = 'TCP' | 'UDP' | 'Any' | 'ICMP'; /** * Defines values for IpAllocationType. @@ -15447,15 +15605,15 @@ export type FirewallPolicyRuleNetworkProtocol = "TCP" | "UDP" | "Any" | "ICMP"; * @readonly * @enum {string} */ -export type IpAllocationType = "Undefined" | "Hypernet"; +export type IpAllocationType = 'Undefined' | 'Hypernet'; /** * Defines values for LoadBalancerSkuName. - * Possible values include: 'Basic', 'Standard' + * Possible values include: 'Basic', 'Standard', 'Gateway' * @readonly * @enum {string} */ -export type LoadBalancerSkuName = "Basic" | "Standard"; +export type LoadBalancerSkuName = 'Basic' | 'Standard' | 'Gateway'; /** * Defines values for LoadBalancerSkuTier. @@ -15463,7 +15621,7 @@ export type LoadBalancerSkuName = "Basic" | "Standard"; * @readonly * @enum {string} */ -export type LoadBalancerSkuTier = "Regional" | "Global"; +export type LoadBalancerSkuTier = 'Regional' | 'Global'; /** * Defines values for LoadDistribution. @@ -15471,7 +15629,7 @@ export type LoadBalancerSkuTier = "Regional" | "Global"; * @readonly * @enum {string} */ -export type LoadDistribution = "Default" | "SourceIP" | "SourceIPProtocol"; +export type LoadDistribution = 'Default' | 'SourceIP' | 'SourceIPProtocol'; /** * Defines values for ProbeProtocol. @@ -15479,7 +15637,7 @@ export type LoadDistribution = "Default" | "SourceIP" | "SourceIPProtocol"; * @readonly * @enum {string} */ -export type ProbeProtocol = "Http" | "Tcp" | "Https"; +export type ProbeProtocol = 'Http' | 'Tcp' | 'Https'; /** * Defines values for LoadBalancerOutboundRuleProtocol. @@ -15487,7 +15645,7 @@ export type ProbeProtocol = "Http" | "Tcp" | "Https"; * @readonly * @enum {string} */ -export type LoadBalancerOutboundRuleProtocol = "Tcp" | "Udp" | "All"; +export type LoadBalancerOutboundRuleProtocol = 'Tcp' | 'Udp' | 'All'; /** * Defines values for NetworkOperationStatus. @@ -15495,7 +15653,7 @@ export type LoadBalancerOutboundRuleProtocol = "Tcp" | "Udp" | "All"; * @readonly * @enum {string} */ -export type NetworkOperationStatus = "InProgress" | "Succeeded" | "Failed"; +export type NetworkOperationStatus = 'InProgress' | 'Succeeded' | 'Failed'; /** * Defines values for Access. @@ -15503,7 +15661,7 @@ export type NetworkOperationStatus = "InProgress" | "Succeeded" | "Failed"; * @readonly * @enum {string} */ -export type Access = "Allow" | "Deny"; +export type Access = 'Allow' | 'Deny'; /** * Defines values for AuthenticationMethod. @@ -15511,7 +15669,7 @@ export type Access = "Allow" | "Deny"; * @readonly * @enum {string} */ -export type AuthenticationMethod = "EAPTLS" | "EAPMSCHAPv2"; +export type AuthenticationMethod = 'EAPTLS' | 'EAPMSCHAPv2'; /** * Defines values for EffectiveSecurityRuleProtocol. @@ -15519,7 +15677,7 @@ export type AuthenticationMethod = "EAPTLS" | "EAPMSCHAPv2"; * @readonly * @enum {string} */ -export type EffectiveSecurityRuleProtocol = "Tcp" | "Udp" | "All"; +export type EffectiveSecurityRuleProtocol = 'Tcp' | 'Udp' | 'All'; /** * Defines values for EffectiveRouteSource. @@ -15527,7 +15685,7 @@ export type EffectiveSecurityRuleProtocol = "Tcp" | "Udp" | "All"; * @readonly * @enum {string} */ -export type EffectiveRouteSource = "Unknown" | "User" | "VirtualNetworkGateway" | "Default"; +export type EffectiveRouteSource = 'Unknown' | 'User' | 'VirtualNetworkGateway' | 'Default'; /** * Defines values for EffectiveRouteState. @@ -15535,7 +15693,7 @@ export type EffectiveRouteSource = "Unknown" | "User" | "VirtualNetworkGateway" * @readonly * @enum {string} */ -export type EffectiveRouteState = "Active" | "Invalid"; +export type EffectiveRouteState = 'Active' | 'Invalid'; /** * Defines values for InboundSecurityRulesProtocol. @@ -15543,7 +15701,7 @@ export type EffectiveRouteState = "Active" | "Invalid"; * @readonly * @enum {string} */ -export type InboundSecurityRulesProtocol = "TCP" | "UDP"; +export type InboundSecurityRulesProtocol = 'TCP' | 'UDP'; /** * Defines values for AssociationType. @@ -15551,7 +15709,7 @@ export type InboundSecurityRulesProtocol = "TCP" | "UDP"; * @readonly * @enum {string} */ -export type AssociationType = "Associated" | "Contains"; +export type AssociationType = 'Associated' | 'Contains'; /** * Defines values for Direction. @@ -15559,7 +15717,7 @@ export type AssociationType = "Associated" | "Contains"; * @readonly * @enum {string} */ -export type Direction = "Inbound" | "Outbound"; +export type Direction = 'Inbound' | 'Outbound'; /** * Defines values for IpFlowProtocol. @@ -15567,7 +15725,7 @@ export type Direction = "Inbound" | "Outbound"; * @readonly * @enum {string} */ -export type IpFlowProtocol = "TCP" | "UDP"; +export type IpFlowProtocol = 'TCP' | 'UDP'; /** * Defines values for NextHopType. @@ -15576,13 +15734,7 @@ export type IpFlowProtocol = "TCP" | "UDP"; * @readonly * @enum {string} */ -export type NextHopType = - | "Internet" - | "VirtualAppliance" - | "VirtualNetworkGateway" - | "VnetLocal" - | "HyperNetGateway" - | "None"; +export type NextHopType = 'Internet' | 'VirtualAppliance' | 'VirtualNetworkGateway' | 'VnetLocal' | 'HyperNetGateway' | 'None'; /** * Defines values for PcProtocol. @@ -15590,7 +15742,7 @@ export type NextHopType = * @readonly * @enum {string} */ -export type PcProtocol = "TCP" | "UDP" | "Any"; +export type PcProtocol = 'TCP' | 'UDP' | 'Any'; /** * Defines values for PcStatus. @@ -15598,7 +15750,7 @@ export type PcProtocol = "TCP" | "UDP" | "Any"; * @readonly * @enum {string} */ -export type PcStatus = "NotStarted" | "Running" | "Stopped" | "Error" | "Unknown"; +export type PcStatus = 'NotStarted' | 'Running' | 'Stopped' | 'Error' | 'Unknown'; /** * Defines values for PcError. @@ -15607,12 +15759,7 @@ export type PcStatus = "NotStarted" | "Running" | "Stopped" | "Error" | "Unknown * @readonly * @enum {string} */ -export type PcError = - | "InternalError" - | "AgentStopped" - | "CaptureFailed" - | "LocalFileFailed" - | "StorageFailed"; +export type PcError = 'InternalError' | 'AgentStopped' | 'CaptureFailed' | 'LocalFileFailed' | 'StorageFailed'; /** * Defines values for Protocol. @@ -15620,7 +15767,7 @@ export type PcError = * @readonly * @enum {string} */ -export type Protocol = "Tcp" | "Http" | "Https" | "Icmp"; +export type Protocol = 'Tcp' | 'Http' | 'Https' | 'Icmp'; /** * Defines values for HTTPMethod. @@ -15628,7 +15775,7 @@ export type Protocol = "Tcp" | "Http" | "Https" | "Icmp"; * @readonly * @enum {string} */ -export type HTTPMethod = "Get"; +export type HTTPMethod = 'Get'; /** * Defines values for Origin. @@ -15636,7 +15783,7 @@ export type HTTPMethod = "Get"; * @readonly * @enum {string} */ -export type Origin = "Local" | "Inbound" | "Outbound"; +export type Origin = 'Local' | 'Inbound' | 'Outbound'; /** * Defines values for Severity. @@ -15644,7 +15791,7 @@ export type Origin = "Local" | "Inbound" | "Outbound"; * @readonly * @enum {string} */ -export type Severity = "Error" | "Warning"; +export type Severity = 'Error' | 'Warning'; /** * Defines values for IssueType. @@ -15653,16 +15800,7 @@ export type Severity = "Error" | "Warning"; * @readonly * @enum {string} */ -export type IssueType = - | "Unknown" - | "AgentStopped" - | "GuestFirewall" - | "DnsResolution" - | "SocketBind" - | "NetworkSecurityRule" - | "UserDefinedRoute" - | "PortThrottled" - | "Platform"; +export type IssueType = 'Unknown' | 'AgentStopped' | 'GuestFirewall' | 'DnsResolution' | 'SocketBind' | 'NetworkSecurityRule' | 'UserDefinedRoute' | 'PortThrottled' | 'Platform'; /** * Defines values for ConnectionStatus. @@ -15670,7 +15808,7 @@ export type IssueType = * @readonly * @enum {string} */ -export type ConnectionStatus = "Unknown" | "Connected" | "Disconnected" | "Degraded"; +export type ConnectionStatus = 'Unknown' | 'Connected' | 'Disconnected' | 'Degraded'; /** * Defines values for VerbosityLevel. @@ -15678,7 +15816,7 @@ export type ConnectionStatus = "Unknown" | "Connected" | "Disconnected" | "Degra * @readonly * @enum {string} */ -export type VerbosityLevel = "Normal" | "Minimum" | "Full"; +export type VerbosityLevel = 'Normal' | 'Minimum' | 'Full'; /** * Defines values for EndpointType. @@ -15687,13 +15825,7 @@ export type VerbosityLevel = "Normal" | "Minimum" | "Full"; * @readonly * @enum {string} */ -export type EndpointType = - | "AzureVM" - | "AzureVNet" - | "AzureSubnet" - | "ExternalAddress" - | "MMAWorkspaceMachine" - | "MMAWorkspaceNetwork"; +export type EndpointType = 'AzureVM' | 'AzureVNet' | 'AzureSubnet' | 'ExternalAddress' | 'MMAWorkspaceMachine' | 'MMAWorkspaceNetwork'; /** * Defines values for ConnectionMonitorEndpointFilterType. @@ -15701,7 +15833,7 @@ export type EndpointType = * @readonly * @enum {string} */ -export type ConnectionMonitorEndpointFilterType = "Include"; +export type ConnectionMonitorEndpointFilterType = 'Include'; /** * Defines values for ConnectionMonitorEndpointFilterItemType. @@ -15709,7 +15841,7 @@ export type ConnectionMonitorEndpointFilterType = "Include"; * @readonly * @enum {string} */ -export type ConnectionMonitorEndpointFilterItemType = "AgentAddress"; +export type ConnectionMonitorEndpointFilterItemType = 'AgentAddress'; /** * Defines values for CoverageLevel. @@ -15717,13 +15849,7 @@ export type ConnectionMonitorEndpointFilterItemType = "AgentAddress"; * @readonly * @enum {string} */ -export type CoverageLevel = - | "Default" - | "Low" - | "BelowAverage" - | "Average" - | "AboveAverage" - | "Full"; +export type CoverageLevel = 'Default' | 'Low' | 'BelowAverage' | 'Average' | 'AboveAverage' | 'Full'; /** * Defines values for ConnectionMonitorTestConfigurationProtocol. @@ -15731,7 +15857,7 @@ export type CoverageLevel = * @readonly * @enum {string} */ -export type ConnectionMonitorTestConfigurationProtocol = "Tcp" | "Http" | "Icmp"; +export type ConnectionMonitorTestConfigurationProtocol = 'Tcp' | 'Http' | 'Icmp'; /** * Defines values for PreferredIPVersion. @@ -15739,7 +15865,7 @@ export type ConnectionMonitorTestConfigurationProtocol = "Tcp" | "Http" | "Icmp" * @readonly * @enum {string} */ -export type PreferredIPVersion = "IPv4" | "IPv6"; +export type PreferredIPVersion = 'IPv4' | 'IPv6'; /** * Defines values for HTTPConfigurationMethod. @@ -15747,7 +15873,7 @@ export type PreferredIPVersion = "IPv4" | "IPv6"; * @readonly * @enum {string} */ -export type HTTPConfigurationMethod = "Get" | "Post"; +export type HTTPConfigurationMethod = 'Get' | 'Post'; /** * Defines values for DestinationPortBehavior. @@ -15755,7 +15881,7 @@ export type HTTPConfigurationMethod = "Get" | "Post"; * @readonly * @enum {string} */ -export type DestinationPortBehavior = "None" | "ListenIfAvailable"; +export type DestinationPortBehavior = 'None' | 'ListenIfAvailable'; /** * Defines values for OutputType. @@ -15763,7 +15889,7 @@ export type DestinationPortBehavior = "None" | "ListenIfAvailable"; * @readonly * @enum {string} */ -export type OutputType = "Workspace"; +export type OutputType = 'Workspace'; /** * Defines values for ConnectionState. @@ -15771,7 +15897,7 @@ export type OutputType = "Workspace"; * @readonly * @enum {string} */ -export type ConnectionState = "Reachable" | "Unreachable" | "Unknown"; +export type ConnectionState = 'Reachable' | 'Unreachable' | 'Unknown'; /** * Defines values for EvaluationState. @@ -15779,7 +15905,7 @@ export type ConnectionState = "Reachable" | "Unreachable" | "Unknown"; * @readonly * @enum {string} */ -export type EvaluationState = "NotStarted" | "InProgress" | "Completed"; +export type EvaluationState = 'NotStarted' | 'InProgress' | 'Completed'; /** * Defines values for ConnectionMonitorType. @@ -15787,7 +15913,7 @@ export type EvaluationState = "NotStarted" | "InProgress" | "Completed"; * @readonly * @enum {string} */ -export type ConnectionMonitorType = "MultiEndpoint" | "SingleSourceDestination"; +export type ConnectionMonitorType = 'MultiEndpoint' | 'SingleSourceDestination'; /** * Defines values for ConnectionMonitorSourceStatus. @@ -15795,7 +15921,7 @@ export type ConnectionMonitorType = "MultiEndpoint" | "SingleSourceDestination"; * @readonly * @enum {string} */ -export type ConnectionMonitorSourceStatus = "Unknown" | "Active" | "Inactive"; +export type ConnectionMonitorSourceStatus = 'Unknown' | 'Active' | 'Inactive'; /** * Defines values for PublicIPPrefixSkuName. @@ -15803,7 +15929,7 @@ export type ConnectionMonitorSourceStatus = "Unknown" | "Active" | "Inactive"; * @readonly * @enum {string} */ -export type PublicIPPrefixSkuName = "Standard"; +export type PublicIPPrefixSkuName = 'Standard'; /** * Defines values for PublicIPPrefixSkuTier. @@ -15811,7 +15937,7 @@ export type PublicIPPrefixSkuName = "Standard"; * @readonly * @enum {string} */ -export type PublicIPPrefixSkuTier = "Regional" | "Global"; +export type PublicIPPrefixSkuTier = 'Regional' | 'Global'; /** * Defines values for SecurityProviderName. @@ -15819,7 +15945,7 @@ export type PublicIPPrefixSkuTier = "Regional" | "Global"; * @readonly * @enum {string} */ -export type SecurityProviderName = "ZScaler" | "IBoss" | "Checkpoint"; +export type SecurityProviderName = 'ZScaler' | 'IBoss' | 'Checkpoint'; /** * Defines values for SecurityPartnerProviderConnectionStatus. @@ -15827,11 +15953,7 @@ export type SecurityProviderName = "ZScaler" | "IBoss" | "Checkpoint"; * @readonly * @enum {string} */ -export type SecurityPartnerProviderConnectionStatus = - | "Unknown" - | "PartiallyConnected" - | "Connected" - | "NotConnected"; +export type SecurityPartnerProviderConnectionStatus = 'Unknown' | 'PartiallyConnected' | 'Connected' | 'NotConnected'; /** * Defines values for VirtualNetworkPeeringState. @@ -15839,7 +15961,32 @@ export type SecurityPartnerProviderConnectionStatus = * @readonly * @enum {string} */ -export type VirtualNetworkPeeringState = "Initiated" | "Connected" | "Disconnected"; +export type VirtualNetworkPeeringState = 'Initiated' | 'Connected' | 'Disconnected'; + +/** + * Defines values for VirtualNetworkPeeringLevel. + * Possible values include: 'FullyInSync', 'RemoteNotInSync', 'LocalNotInSync', + * 'LocalAndRemoteNotInSync' + * @readonly + * @enum {string} + */ +export type VirtualNetworkPeeringLevel = 'FullyInSync' | 'RemoteNotInSync' | 'LocalNotInSync' | 'LocalAndRemoteNotInSync'; + +/** + * Defines values for VpnNatRuleType. + * Possible values include: 'Static', 'Dynamic' + * @readonly + * @enum {string} + */ +export type VpnNatRuleType = 'Static' | 'Dynamic'; + +/** + * Defines values for VpnNatRuleMode. + * Possible values include: 'EgressSnat', 'IngressSnat' + * @readonly + * @enum {string} + */ +export type VpnNatRuleMode = 'EgressSnat' | 'IngressSnat'; /** * Defines values for VirtualNetworkGatewayType. @@ -15847,7 +15994,7 @@ export type VirtualNetworkPeeringState = "Initiated" | "Connected" | "Disconnect * @readonly * @enum {string} */ -export type VirtualNetworkGatewayType = "Vpn" | "ExpressRoute" | "LocalGateway"; +export type VirtualNetworkGatewayType = 'Vpn' | 'ExpressRoute' | 'LocalGateway'; /** * Defines values for VpnType. @@ -15855,7 +16002,7 @@ export type VirtualNetworkGatewayType = "Vpn" | "ExpressRoute" | "LocalGateway"; * @readonly * @enum {string} */ -export type VpnType = "PolicyBased" | "RouteBased"; +export type VpnType = 'PolicyBased' | 'RouteBased'; /** * Defines values for VpnGatewayGeneration. @@ -15863,7 +16010,7 @@ export type VpnType = "PolicyBased" | "RouteBased"; * @readonly * @enum {string} */ -export type VpnGatewayGeneration = "None" | "Generation1" | "Generation2"; +export type VpnGatewayGeneration = 'None' | 'Generation1' | 'Generation2'; /** * Defines values for VirtualNetworkGatewaySkuName. @@ -15873,24 +16020,7 @@ export type VpnGatewayGeneration = "None" | "Generation1" | "Generation2"; * @readonly * @enum {string} */ -export type VirtualNetworkGatewaySkuName = - | "Basic" - | "HighPerformance" - | "Standard" - | "UltraPerformance" - | "VpnGw1" - | "VpnGw2" - | "VpnGw3" - | "VpnGw4" - | "VpnGw5" - | "VpnGw1AZ" - | "VpnGw2AZ" - | "VpnGw3AZ" - | "VpnGw4AZ" - | "VpnGw5AZ" - | "ErGw1AZ" - | "ErGw2AZ" - | "ErGw3AZ"; +export type VirtualNetworkGatewaySkuName = 'Basic' | 'HighPerformance' | 'Standard' | 'UltraPerformance' | 'VpnGw1' | 'VpnGw2' | 'VpnGw3' | 'VpnGw4' | 'VpnGw5' | 'VpnGw1AZ' | 'VpnGw2AZ' | 'VpnGw3AZ' | 'VpnGw4AZ' | 'VpnGw5AZ' | 'ErGw1AZ' | 'ErGw2AZ' | 'ErGw3AZ'; /** * Defines values for VirtualNetworkGatewaySkuTier. @@ -15900,24 +16030,7 @@ export type VirtualNetworkGatewaySkuName = * @readonly * @enum {string} */ -export type VirtualNetworkGatewaySkuTier = - | "Basic" - | "HighPerformance" - | "Standard" - | "UltraPerformance" - | "VpnGw1" - | "VpnGw2" - | "VpnGw3" - | "VpnGw4" - | "VpnGw5" - | "VpnGw1AZ" - | "VpnGw2AZ" - | "VpnGw3AZ" - | "VpnGw4AZ" - | "VpnGw5AZ" - | "ErGw1AZ" - | "ErGw2AZ" - | "ErGw3AZ"; +export type VirtualNetworkGatewaySkuTier = 'Basic' | 'HighPerformance' | 'Standard' | 'UltraPerformance' | 'VpnGw1' | 'VpnGw2' | 'VpnGw3' | 'VpnGw4' | 'VpnGw5' | 'VpnGw1AZ' | 'VpnGw2AZ' | 'VpnGw3AZ' | 'VpnGw4AZ' | 'VpnGw5AZ' | 'ErGw1AZ' | 'ErGw2AZ' | 'ErGw3AZ'; /** * Defines values for VpnClientProtocol. @@ -15925,7 +16038,7 @@ export type VirtualNetworkGatewaySkuTier = * @readonly * @enum {string} */ -export type VpnClientProtocol = "IkeV2" | "SSTP" | "OpenVPN"; +export type VpnClientProtocol = 'IkeV2' | 'SSTP' | 'OpenVPN'; /** * Defines values for VpnAuthenticationType. @@ -15933,7 +16046,7 @@ export type VpnClientProtocol = "IkeV2" | "SSTP" | "OpenVPN"; * @readonly * @enum {string} */ -export type VpnAuthenticationType = "Certificate" | "Radius" | "AAD"; +export type VpnAuthenticationType = 'Certificate' | 'Radius' | 'AAD'; /** * Defines values for IpsecEncryption. @@ -15942,16 +16055,7 @@ export type VpnAuthenticationType = "Certificate" | "Radius" | "AAD"; * @readonly * @enum {string} */ -export type IpsecEncryption = - | "None" - | "DES" - | "DES3" - | "AES128" - | "AES192" - | "AES256" - | "GCMAES128" - | "GCMAES192" - | "GCMAES256"; +export type IpsecEncryption = 'None' | 'DES' | 'DES3' | 'AES128' | 'AES192' | 'AES256' | 'GCMAES128' | 'GCMAES192' | 'GCMAES256'; /** * Defines values for IpsecIntegrity. @@ -15959,7 +16063,7 @@ export type IpsecEncryption = * @readonly * @enum {string} */ -export type IpsecIntegrity = "MD5" | "SHA1" | "SHA256" | "GCMAES128" | "GCMAES192" | "GCMAES256"; +export type IpsecIntegrity = 'MD5' | 'SHA1' | 'SHA256' | 'GCMAES128' | 'GCMAES192' | 'GCMAES256'; /** * Defines values for IkeEncryption. @@ -15967,14 +16071,7 @@ export type IpsecIntegrity = "MD5" | "SHA1" | "SHA256" | "GCMAES128" | "GCMAES19 * @readonly * @enum {string} */ -export type IkeEncryption = - | "DES" - | "DES3" - | "AES128" - | "AES192" - | "AES256" - | "GCMAES256" - | "GCMAES128"; +export type IkeEncryption = 'DES' | 'DES3' | 'AES128' | 'AES192' | 'AES256' | 'GCMAES256' | 'GCMAES128'; /** * Defines values for IkeIntegrity. @@ -15982,7 +16079,7 @@ export type IkeEncryption = * @readonly * @enum {string} */ -export type IkeIntegrity = "MD5" | "SHA1" | "SHA256" | "SHA384" | "GCMAES256" | "GCMAES128"; +export type IkeIntegrity = 'MD5' | 'SHA1' | 'SHA256' | 'SHA384' | 'GCMAES256' | 'GCMAES128'; /** * Defines values for DhGroup. @@ -15991,15 +16088,7 @@ export type IkeIntegrity = "MD5" | "SHA1" | "SHA256" | "SHA384" | "GCMAES256" | * @readonly * @enum {string} */ -export type DhGroup = - | "None" - | "DHGroup1" - | "DHGroup2" - | "DHGroup14" - | "DHGroup2048" - | "ECP256" - | "ECP384" - | "DHGroup24"; +export type DhGroup = 'None' | 'DHGroup1' | 'DHGroup2' | 'DHGroup14' | 'DHGroup2048' | 'ECP256' | 'ECP384' | 'DHGroup24'; /** * Defines values for PfsGroup. @@ -16008,16 +16097,7 @@ export type DhGroup = * @readonly * @enum {string} */ -export type PfsGroup = - | "None" - | "PFS1" - | "PFS2" - | "PFS2048" - | "ECP256" - | "ECP384" - | "PFS24" - | "PFS14" - | "PFSMM"; +export type PfsGroup = 'None' | 'PFS1' | 'PFS2' | 'PFS2048' | 'ECP256' | 'ECP384' | 'PFS24' | 'PFS14' | 'PFSMM'; /** * Defines values for BgpPeerState. @@ -16025,7 +16105,7 @@ export type PfsGroup = * @readonly * @enum {string} */ -export type BgpPeerState = "Unknown" | "Stopped" | "Idle" | "Connecting" | "Connected"; +export type BgpPeerState = 'Unknown' | 'Stopped' | 'Idle' | 'Connecting' | 'Connected'; /** * Defines values for ProcessorArchitecture. @@ -16033,7 +16113,7 @@ export type BgpPeerState = "Unknown" | "Stopped" | "Idle" | "Connecting" | "Conn * @readonly * @enum {string} */ -export type ProcessorArchitecture = "Amd64" | "X86"; +export type ProcessorArchitecture = 'Amd64' | 'X86'; /** * Defines values for VirtualNetworkGatewayConnectionStatus. @@ -16041,11 +16121,7 @@ export type ProcessorArchitecture = "Amd64" | "X86"; * @readonly * @enum {string} */ -export type VirtualNetworkGatewayConnectionStatus = - | "Unknown" - | "Connecting" - | "Connected" - | "NotConnected"; +export type VirtualNetworkGatewayConnectionStatus = 'Unknown' | 'Connecting' | 'Connected' | 'NotConnected'; /** * Defines values for VirtualNetworkGatewayConnectionType. @@ -16053,11 +16129,7 @@ export type VirtualNetworkGatewayConnectionStatus = * @readonly * @enum {string} */ -export type VirtualNetworkGatewayConnectionType = - | "IPsec" - | "Vnet2Vnet" - | "ExpressRoute" - | "VPNClient"; +export type VirtualNetworkGatewayConnectionType = 'IPsec' | 'Vnet2Vnet' | 'ExpressRoute' | 'VPNClient'; /** * Defines values for VirtualNetworkGatewayConnectionProtocol. @@ -16065,7 +16137,7 @@ export type VirtualNetworkGatewayConnectionType = * @readonly * @enum {string} */ -export type VirtualNetworkGatewayConnectionProtocol = "IKEv2" | "IKEv1"; +export type VirtualNetworkGatewayConnectionProtocol = 'IKEv2' | 'IKEv1'; /** * Defines values for VirtualNetworkGatewayConnectionMode. @@ -16073,7 +16145,7 @@ export type VirtualNetworkGatewayConnectionProtocol = "IKEv2" | "IKEv1"; * @readonly * @enum {string} */ -export type VirtualNetworkGatewayConnectionMode = "Default" | "ResponderOnly" | "InitiatorOnly"; +export type VirtualNetworkGatewayConnectionMode = 'Default' | 'ResponderOnly' | 'InitiatorOnly'; /** * Defines values for OfficeTrafficCategory. @@ -16081,7 +16153,7 @@ export type VirtualNetworkGatewayConnectionMode = "Default" | "ResponderOnly" | * @readonly * @enum {string} */ -export type OfficeTrafficCategory = "Optimize" | "OptimizeAndAllow" | "All" | "None"; +export type OfficeTrafficCategory = 'Optimize' | 'OptimizeAndAllow' | 'All' | 'None'; /** * Defines values for RoutingState. @@ -16089,47 +16161,39 @@ export type OfficeTrafficCategory = "Optimize" | "OptimizeAndAllow" | "All" | "N * @readonly * @enum {string} */ -export type RoutingState = "None" | "Provisioned" | "Provisioning" | "Failed"; +export type RoutingState = 'None' | 'Provisioned' | 'Provisioning' | 'Failed'; /** - * Defines values for HubBgpConnectionStatus. - * Possible values include: 'Unknown', 'Connecting', 'Connected', 'NotConnected' + * Defines values for PreferredRoutingGateway. + * Possible values include: 'ExpressRoute', 'VpnGateway', 'None' * @readonly * @enum {string} */ -export type HubBgpConnectionStatus = "Unknown" | "Connecting" | "Connected" | "NotConnected"; +export type PreferredRoutingGateway = 'ExpressRoute' | 'VpnGateway' | 'None'; /** - * Defines values for VpnConnectionStatus. + * Defines values for HubBgpConnectionStatus. * Possible values include: 'Unknown', 'Connecting', 'Connected', 'NotConnected' * @readonly * @enum {string} */ -export type VpnConnectionStatus = "Unknown" | "Connecting" | "Connected" | "NotConnected"; - -/** - * Defines values for VpnLinkConnectionMode. - * Possible values include: 'Default', 'ResponderOnly', 'InitiatorOnly' - * @readonly - * @enum {string} - */ -export type VpnLinkConnectionMode = "Default" | "ResponderOnly" | "InitiatorOnly"; +export type HubBgpConnectionStatus = 'Unknown' | 'Connecting' | 'Connected' | 'NotConnected'; /** - * Defines values for VpnNatRuleType. - * Possible values include: 'Static', 'Dynamic' + * Defines values for VpnConnectionStatus. + * Possible values include: 'Unknown', 'Connecting', 'Connected', 'NotConnected' * @readonly * @enum {string} */ -export type VpnNatRuleType = "Static" | "Dynamic"; +export type VpnConnectionStatus = 'Unknown' | 'Connecting' | 'Connected' | 'NotConnected'; /** - * Defines values for VpnNatRuleMode. - * Possible values include: 'EgressSnat', 'IngressSnat' + * Defines values for VpnLinkConnectionMode. + * Possible values include: 'Default', 'ResponderOnly', 'InitiatorOnly' * @readonly * @enum {string} */ -export type VpnNatRuleMode = "EgressSnat" | "IngressSnat"; +export type VpnLinkConnectionMode = 'Default' | 'ResponderOnly' | 'InitiatorOnly'; /** * Defines values for VirtualWanSecurityProviderType. @@ -16137,7 +16201,7 @@ export type VpnNatRuleMode = "EgressSnat" | "IngressSnat"; * @readonly * @enum {string} */ -export type VirtualWanSecurityProviderType = "External" | "Native"; +export type VirtualWanSecurityProviderType = 'External' | 'Native'; /** * Defines values for TunnelConnectionStatus. @@ -16145,7 +16209,7 @@ export type VirtualWanSecurityProviderType = "External" | "Native"; * @readonly * @enum {string} */ -export type TunnelConnectionStatus = "Unknown" | "Connecting" | "Connected" | "NotConnected"; +export type TunnelConnectionStatus = 'Unknown' | 'Connecting' | 'Connected' | 'NotConnected'; /** * Defines values for HubVirtualNetworkConnectionStatus. @@ -16153,11 +16217,7 @@ export type TunnelConnectionStatus = "Unknown" | "Connecting" | "Connected" | "N * @readonly * @enum {string} */ -export type HubVirtualNetworkConnectionStatus = - | "Unknown" - | "Connecting" - | "Connected" - | "NotConnected"; +export type HubVirtualNetworkConnectionStatus = 'Unknown' | 'Connecting' | 'Connected' | 'NotConnected'; /** * Defines values for VpnGatewayTunnelingProtocol. @@ -16165,7 +16225,7 @@ export type HubVirtualNetworkConnectionStatus = * @readonly * @enum {string} */ -export type VpnGatewayTunnelingProtocol = "IkeV2" | "OpenVPN"; +export type VpnGatewayTunnelingProtocol = 'IkeV2' | 'OpenVPN'; /** * Defines values for WebApplicationFirewallEnabledState. @@ -16173,7 +16233,7 @@ export type VpnGatewayTunnelingProtocol = "IkeV2" | "OpenVPN"; * @readonly * @enum {string} */ -export type WebApplicationFirewallEnabledState = "Disabled" | "Enabled"; +export type WebApplicationFirewallEnabledState = 'Disabled' | 'Enabled'; /** * Defines values for WebApplicationFirewallMode. @@ -16181,7 +16241,7 @@ export type WebApplicationFirewallEnabledState = "Disabled" | "Enabled"; * @readonly * @enum {string} */ -export type WebApplicationFirewallMode = "Prevention" | "Detection"; +export type WebApplicationFirewallMode = 'Prevention' | 'Detection'; /** * Defines values for WebApplicationFirewallRuleType. @@ -16189,7 +16249,7 @@ export type WebApplicationFirewallMode = "Prevention" | "Detection"; * @readonly * @enum {string} */ -export type WebApplicationFirewallRuleType = "MatchRule" | "Invalid"; +export type WebApplicationFirewallRuleType = 'MatchRule' | 'Invalid'; /** * Defines values for WebApplicationFirewallMatchVariable. @@ -16198,15 +16258,7 @@ export type WebApplicationFirewallRuleType = "MatchRule" | "Invalid"; * @readonly * @enum {string} */ -export type WebApplicationFirewallMatchVariable = - | "RemoteAddr" - | "RequestMethod" - | "QueryString" - | "PostArgs" - | "RequestUri" - | "RequestHeaders" - | "RequestBody" - | "RequestCookies"; +export type WebApplicationFirewallMatchVariable = 'RemoteAddr' | 'RequestMethod' | 'QueryString' | 'PostArgs' | 'RequestUri' | 'RequestHeaders' | 'RequestBody' | 'RequestCookies'; /** * Defines values for WebApplicationFirewallOperator. @@ -16215,18 +16267,7 @@ export type WebApplicationFirewallMatchVariable = * @readonly * @enum {string} */ -export type WebApplicationFirewallOperator = - | "IPMatch" - | "Equal" - | "Contains" - | "LessThan" - | "GreaterThan" - | "LessThanOrEqual" - | "GreaterThanOrEqual" - | "BeginsWith" - | "EndsWith" - | "Regex" - | "GeoMatch"; +export type WebApplicationFirewallOperator = 'IPMatch' | 'Equal' | 'Contains' | 'LessThan' | 'GreaterThan' | 'LessThanOrEqual' | 'GreaterThanOrEqual' | 'BeginsWith' | 'EndsWith' | 'Regex' | 'GeoMatch'; /** * Defines values for WebApplicationFirewallTransform. @@ -16235,13 +16276,7 @@ export type WebApplicationFirewallOperator = * @readonly * @enum {string} */ -export type WebApplicationFirewallTransform = - | "Lowercase" - | "Trim" - | "UrlDecode" - | "UrlEncode" - | "RemoveNulls" - | "HtmlEntityDecode"; +export type WebApplicationFirewallTransform = 'Lowercase' | 'Trim' | 'UrlDecode' | 'UrlEncode' | 'RemoveNulls' | 'HtmlEntityDecode'; /** * Defines values for WebApplicationFirewallAction. @@ -16249,7 +16284,7 @@ export type WebApplicationFirewallTransform = * @readonly * @enum {string} */ -export type WebApplicationFirewallAction = "Allow" | "Block" | "Log"; +export type WebApplicationFirewallAction = 'Allow' | 'Block' | 'Log'; /** * Defines values for WebApplicationFirewallPolicyResourceState. @@ -16257,13 +16292,7 @@ export type WebApplicationFirewallAction = "Allow" | "Block" | "Log"; * @readonly * @enum {string} */ -export type WebApplicationFirewallPolicyResourceState = - | "Creating" - | "Enabling" - | "Enabled" - | "Disabling" - | "Disabled" - | "Deleting"; +export type WebApplicationFirewallPolicyResourceState = 'Creating' | 'Enabling' | 'Enabled' | 'Disabling' | 'Disabled' | 'Deleting'; /** * Defines values for OwaspCrsExclusionEntryMatchVariable. @@ -16271,10 +16300,7 @@ export type WebApplicationFirewallPolicyResourceState = * @readonly * @enum {string} */ -export type OwaspCrsExclusionEntryMatchVariable = - | "RequestHeaderNames" - | "RequestCookieNames" - | "RequestArgNames"; +export type OwaspCrsExclusionEntryMatchVariable = 'RequestHeaderNames' | 'RequestCookieNames' | 'RequestArgNames'; /** * Defines values for OwaspCrsExclusionEntrySelectorMatchOperator. @@ -16282,12 +16308,7 @@ export type OwaspCrsExclusionEntryMatchVariable = * @readonly * @enum {string} */ -export type OwaspCrsExclusionEntrySelectorMatchOperator = - | "Equals" - | "Contains" - | "StartsWith" - | "EndsWith" - | "EqualsAny"; +export type OwaspCrsExclusionEntrySelectorMatchOperator = 'Equals' | 'Contains' | 'StartsWith' | 'EndsWith' | 'EqualsAny'; /** * Defines values for ManagedRuleEnabledState. @@ -16295,7 +16316,15 @@ export type OwaspCrsExclusionEntrySelectorMatchOperator = * @readonly * @enum {string} */ -export type ManagedRuleEnabledState = "Disabled"; +export type ManagedRuleEnabledState = 'Disabled'; + +/** + * Defines values for SyncRemoteAddressSpace. + * Possible values include: 'true' + * @readonly + * @enum {string} + */ +export type SyncRemoteAddressSpace = 'true'; /** * Contains response data for the get operation. @@ -16305,16 +16334,16 @@ export type ApplicationGatewaysGetResponse = ApplicationGateway & { * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: ApplicationGateway; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ApplicationGateway; + }; }; /** @@ -16325,16 +16354,16 @@ export type ApplicationGatewaysCreateOrUpdateResponse = ApplicationGateway & { * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: ApplicationGateway; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ApplicationGateway; + }; }; /** @@ -16345,16 +16374,16 @@ export type ApplicationGatewaysUpdateTagsResponse = ApplicationGateway & { * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: ApplicationGateway; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ApplicationGateway; + }; }; /** @@ -16365,16 +16394,16 @@ export type ApplicationGatewaysListResponse = ApplicationGatewayListResult & { * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: ApplicationGatewayListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ApplicationGatewayListResult; + }; }; /** @@ -16385,16 +16414,16 @@ export type ApplicationGatewaysListAllResponse = ApplicationGatewayListResult & * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: ApplicationGatewayListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ApplicationGatewayListResult; + }; }; /** @@ -16405,16 +16434,16 @@ export type ApplicationGatewaysBackendHealthResponse = ApplicationGatewayBackend * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: ApplicationGatewayBackendHealth; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ApplicationGatewayBackendHealth; + }; }; /** @@ -16425,16 +16454,16 @@ export type ApplicationGatewaysBackendHealthOnDemandResponse = ApplicationGatewa * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: ApplicationGatewayBackendHealthOnDemand; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ApplicationGatewayBackendHealthOnDemand; + }; }; /** @@ -16445,16 +16474,16 @@ export type ApplicationGatewaysListAvailableServerVariablesResponse = Array */ - putBastionShareableLink( - resourceGroupName: string, - bastionHostName: string, - bslRequest: Models.BastionShareableLinkListRequest, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginPutBastionShareableLink( - resourceGroupName, - bastionHostName, - bslRequest, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()) as Promise< - Models.PutBastionShareableLinkResponse - >; + putBastionShareableLink(resourceGroupName: string, bastionHostName: string, bslRequest: Models.BastionShareableLinkListRequest, options?: msRest.RequestOptionsBase): Promise { + return this.beginPutBastionShareableLink(resourceGroupName,bastionHostName,bslRequest,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -297,18 +271,9 @@ class NetworkManagementClient extends NetworkManagementClientContext { * @param [options] The optional parameters * @returns Promise */ - deleteBastionShareableLink( - resourceGroupName: string, - bastionHostName: string, - bslRequest: Models.BastionShareableLinkListRequest, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginDeleteBastionShareableLink( - resourceGroupName, - bastionHostName, - bslRequest, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()); + deleteBastionShareableLink(resourceGroupName: string, bastionHostName: string, bslRequest: Models.BastionShareableLinkListRequest, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteBastionShareableLink(resourceGroupName,bastionHostName,bslRequest,options) + .then(lroPoller => lroPoller.pollUntilFinished()); } /** @@ -319,24 +284,14 @@ class NetworkManagementClient extends NetworkManagementClientContext { * @param [options] The optional parameters * @returns Promise */ - getBastionShareableLink( - resourceGroupName: string, - bastionHostName: string, - bslRequest: Models.BastionShareableLinkListRequest, - options?: msRest.RequestOptionsBase - ): Promise; + getBastionShareableLink(resourceGroupName: string, bastionHostName: string, bslRequest: Models.BastionShareableLinkListRequest, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param bastionHostName The name of the Bastion Host. * @param bslRequest Post request for all the Bastion Shareable Link endpoints. * @param callback The callback */ - getBastionShareableLink( - resourceGroupName: string, - bastionHostName: string, - bslRequest: Models.BastionShareableLinkListRequest, - callback: msRest.ServiceCallback - ): void; + getBastionShareableLink(resourceGroupName: string, bastionHostName: string, bslRequest: Models.BastionShareableLinkListRequest, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param bastionHostName The name of the Bastion Host. @@ -344,22 +299,8 @@ class NetworkManagementClient extends NetworkManagementClientContext { * @param options The optional parameters * @param callback The callback */ - getBastionShareableLink( - resourceGroupName: string, - bastionHostName: string, - bslRequest: Models.BastionShareableLinkListRequest, - options: msRest.RequestOptionsBase, - callback: msRest.ServiceCallback - ): void; - getBastionShareableLink( - resourceGroupName: string, - bastionHostName: string, - bslRequest: Models.BastionShareableLinkListRequest, - options?: - | msRest.RequestOptionsBase - | msRest.ServiceCallback, - callback?: msRest.ServiceCallback - ): Promise { + getBastionShareableLink(resourceGroupName: string, bastionHostName: string, bslRequest: Models.BastionShareableLinkListRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getBastionShareableLink(resourceGroupName: string, bastionHostName: string, bslRequest: Models.BastionShareableLinkListRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { resourceGroupName, @@ -368,8 +309,7 @@ class NetworkManagementClient extends NetworkManagementClientContext { options }, getBastionShareableLinkOperationSpec, - callback - ) as Promise; + callback) as Promise; } /** @@ -379,18 +319,9 @@ class NetworkManagementClient extends NetworkManagementClientContext { * @param [options] The optional parameters * @returns Promise */ - getActiveSessions( - resourceGroupName: string, - bastionHostName: string, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginGetActiveSessions( - resourceGroupName, - bastionHostName, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()) as Promise< - Models.GetActiveSessionsResponse - >; + getActiveSessions(resourceGroupName: string, bastionHostName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginGetActiveSessions(resourceGroupName,bastionHostName,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -401,24 +332,14 @@ class NetworkManagementClient extends NetworkManagementClientContext { * @param [options] The optional parameters * @returns Promise */ - disconnectActiveSessions( - resourceGroupName: string, - bastionHostName: string, - sessionIds: Models.SessionIds, - options?: msRest.RequestOptionsBase - ): Promise; + disconnectActiveSessions(resourceGroupName: string, bastionHostName: string, sessionIds: Models.SessionIds, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param bastionHostName The name of the Bastion Host. * @param sessionIds The list of sessionids to disconnect. * @param callback The callback */ - disconnectActiveSessions( - resourceGroupName: string, - bastionHostName: string, - sessionIds: Models.SessionIds, - callback: msRest.ServiceCallback - ): void; + disconnectActiveSessions(resourceGroupName: string, bastionHostName: string, sessionIds: Models.SessionIds, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param bastionHostName The name of the Bastion Host. @@ -426,20 +347,8 @@ class NetworkManagementClient extends NetworkManagementClientContext { * @param options The optional parameters * @param callback The callback */ - disconnectActiveSessions( - resourceGroupName: string, - bastionHostName: string, - sessionIds: Models.SessionIds, - options: msRest.RequestOptionsBase, - callback: msRest.ServiceCallback - ): void; - disconnectActiveSessions( - resourceGroupName: string, - bastionHostName: string, - sessionIds: Models.SessionIds, - options?: msRest.RequestOptionsBase | msRest.ServiceCallback, - callback?: msRest.ServiceCallback - ): Promise { + disconnectActiveSessions(resourceGroupName: string, bastionHostName: string, sessionIds: Models.SessionIds, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + disconnectActiveSessions(resourceGroupName: string, bastionHostName: string, sessionIds: Models.SessionIds, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { resourceGroupName, @@ -448,8 +357,7 @@ class NetworkManagementClient extends NetworkManagementClientContext { options }, disconnectActiveSessionsOperationSpec, - callback - ) as Promise; + callback) as Promise; } /** @@ -460,22 +368,14 @@ class NetworkManagementClient extends NetworkManagementClientContext { * @param [options] The optional parameters * @returns Promise */ - checkDnsNameAvailability( - location: string, - domainNameLabel: string, - options?: msRest.RequestOptionsBase - ): Promise; + checkDnsNameAvailability(location: string, domainNameLabel: string, options?: msRest.RequestOptionsBase): Promise; /** * @param location The location of the domain name. * @param domainNameLabel The domain name to be verified. It must conform to the following regular * expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. * @param callback The callback */ - checkDnsNameAvailability( - location: string, - domainNameLabel: string, - callback: msRest.ServiceCallback - ): void; + checkDnsNameAvailability(location: string, domainNameLabel: string, callback: msRest.ServiceCallback): void; /** * @param location The location of the domain name. * @param domainNameLabel The domain name to be verified. It must conform to the following regular @@ -483,18 +383,8 @@ class NetworkManagementClient extends NetworkManagementClientContext { * @param options The optional parameters * @param callback The callback */ - checkDnsNameAvailability( - location: string, - domainNameLabel: string, - options: msRest.RequestOptionsBase, - callback: msRest.ServiceCallback - ): void; - checkDnsNameAvailability( - location: string, - domainNameLabel: string, - options?: msRest.RequestOptionsBase | msRest.ServiceCallback, - callback?: msRest.ServiceCallback - ): Promise { + checkDnsNameAvailability(location: string, domainNameLabel: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + checkDnsNameAvailability(location: string, domainNameLabel: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { location, @@ -502,8 +392,7 @@ class NetworkManagementClient extends NetworkManagementClientContext { options }, checkDnsNameAvailabilityOperationSpec, - callback - ) as Promise; + callback) as Promise; } /** @@ -514,22 +403,14 @@ class NetworkManagementClient extends NetworkManagementClientContext { * @param [options] The optional parameters * @returns Promise */ - supportedSecurityProviders( - resourceGroupName: string, - virtualWANName: string, - options?: msRest.RequestOptionsBase - ): Promise; + supportedSecurityProviders(resourceGroupName: string, virtualWANName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The resource group name. * @param virtualWANName The name of the VirtualWAN for which supported security providers are * needed. * @param callback The callback */ - supportedSecurityProviders( - resourceGroupName: string, - virtualWANName: string, - callback: msRest.ServiceCallback - ): void; + supportedSecurityProviders(resourceGroupName: string, virtualWANName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The resource group name. * @param virtualWANName The name of the VirtualWAN for which supported security providers are @@ -537,20 +418,8 @@ class NetworkManagementClient extends NetworkManagementClientContext { * @param options The optional parameters * @param callback The callback */ - supportedSecurityProviders( - resourceGroupName: string, - virtualWANName: string, - options: msRest.RequestOptionsBase, - callback: msRest.ServiceCallback - ): void; - supportedSecurityProviders( - resourceGroupName: string, - virtualWANName: string, - options?: - | msRest.RequestOptionsBase - | msRest.ServiceCallback, - callback?: msRest.ServiceCallback - ): Promise { + supportedSecurityProviders(resourceGroupName: string, virtualWANName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + supportedSecurityProviders(resourceGroupName: string, virtualWANName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { resourceGroupName, @@ -558,8 +427,7 @@ class NetworkManagementClient extends NetworkManagementClientContext { options }, supportedSecurityProvidersOperationSpec, - callback - ) as Promise; + callback) as Promise; } /** @@ -573,20 +441,9 @@ class NetworkManagementClient extends NetworkManagementClientContext { * @param [options] The optional parameters * @returns Promise */ - generatevirtualwanvpnserverconfigurationvpnprofile( - resourceGroupName: string, - virtualWANName: string, - vpnClientParams: Models.VirtualWanVpnProfileParameters, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginGeneratevirtualwanvpnserverconfigurationvpnprofile( - resourceGroupName, - virtualWANName, - vpnClientParams, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()) as Promise< - Models.GeneratevirtualwanvpnserverconfigurationvpnprofileResponse - >; + generatevirtualwanvpnserverconfigurationvpnprofile(resourceGroupName: string, virtualWANName: string, vpnClientParams: Models.VirtualWanVpnProfileParameters, options?: msRest.RequestOptionsBase): Promise { + return this.beginGeneratevirtualwanvpnserverconfigurationvpnprofile(resourceGroupName,virtualWANName,vpnClientParams,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -597,12 +454,7 @@ class NetworkManagementClient extends NetworkManagementClientContext { * @param [options] The optional parameters * @returns Promise */ - beginPutBastionShareableLink( - resourceGroupName: string, - bastionHostName: string, - bslRequest: Models.BastionShareableLinkListRequest, - options?: msRest.RequestOptionsBase - ): Promise { + beginPutBastionShareableLink(resourceGroupName: string, bastionHostName: string, bslRequest: Models.BastionShareableLinkListRequest, options?: msRest.RequestOptionsBase): Promise { return this.sendLRORequest( { resourceGroupName, @@ -611,8 +463,7 @@ class NetworkManagementClient extends NetworkManagementClientContext { options }, beginPutBastionShareableLinkOperationSpec, - options - ); + options); } /** @@ -623,12 +474,7 @@ class NetworkManagementClient extends NetworkManagementClientContext { * @param [options] The optional parameters * @returns Promise */ - beginDeleteBastionShareableLink( - resourceGroupName: string, - bastionHostName: string, - bslRequest: Models.BastionShareableLinkListRequest, - options?: msRest.RequestOptionsBase - ): Promise { + beginDeleteBastionShareableLink(resourceGroupName: string, bastionHostName: string, bslRequest: Models.BastionShareableLinkListRequest, options?: msRest.RequestOptionsBase): Promise { return this.sendLRORequest( { resourceGroupName, @@ -637,8 +483,7 @@ class NetworkManagementClient extends NetworkManagementClientContext { options }, beginDeleteBastionShareableLinkOperationSpec, - options - ); + options); } /** @@ -648,11 +493,7 @@ class NetworkManagementClient extends NetworkManagementClientContext { * @param [options] The optional parameters * @returns Promise */ - beginGetActiveSessions( - resourceGroupName: string, - bastionHostName: string, - options?: msRest.RequestOptionsBase - ): Promise { + beginGetActiveSessions(resourceGroupName: string, bastionHostName: string, options?: msRest.RequestOptionsBase): Promise { return this.sendLRORequest( { resourceGroupName, @@ -660,8 +501,7 @@ class NetworkManagementClient extends NetworkManagementClientContext { options }, beginGetActiveSessionsOperationSpec, - options - ); + options); } /** @@ -675,12 +515,7 @@ class NetworkManagementClient extends NetworkManagementClientContext { * @param [options] The optional parameters * @returns Promise */ - beginGeneratevirtualwanvpnserverconfigurationvpnprofile( - resourceGroupName: string, - virtualWANName: string, - vpnClientParams: Models.VirtualWanVpnProfileParameters, - options?: msRest.RequestOptionsBase - ): Promise { + beginGeneratevirtualwanvpnserverconfigurationvpnprofile(resourceGroupName: string, virtualWANName: string, vpnClientParams: Models.VirtualWanVpnProfileParameters, options?: msRest.RequestOptionsBase): Promise { return this.sendLRORequest( { resourceGroupName, @@ -689,8 +524,7 @@ class NetworkManagementClient extends NetworkManagementClientContext { options }, beginGeneratevirtualwanvpnserverconfigurationvpnprofileOperationSpec, - options - ); + options); } /** @@ -699,13 +533,9 @@ class NetworkManagementClient extends NetworkManagementClientContext { * @param [options] The optional parameters * @returns Promise */ - putBastionShareableLinkNext( - nextPageLink: string, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginPutBastionShareableLinkNext(nextPageLink, options).then((lroPoller) => - lroPoller.pollUntilFinished() - ) as Promise; + putBastionShareableLinkNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginPutBastionShareableLinkNext(nextPageLink,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -714,43 +544,26 @@ class NetworkManagementClient extends NetworkManagementClientContext { * @param [options] The optional parameters * @returns Promise */ - getBastionShareableLinkNext( - nextPageLink: string, - options?: msRest.RequestOptionsBase - ): Promise; + getBastionShareableLinkNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback */ - getBastionShareableLinkNext( - nextPageLink: string, - callback: msRest.ServiceCallback - ): void; + getBastionShareableLinkNext(nextPageLink: string, callback: msRest.ServiceCallback): void; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param options The optional parameters * @param callback The callback */ - getBastionShareableLinkNext( - nextPageLink: string, - options: msRest.RequestOptionsBase, - callback: msRest.ServiceCallback - ): void; - getBastionShareableLinkNext( - nextPageLink: string, - options?: - | msRest.RequestOptionsBase - | msRest.ServiceCallback, - callback?: msRest.ServiceCallback - ): Promise { + getBastionShareableLinkNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getBastionShareableLinkNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nextPageLink, options }, getBastionShareableLinkNextOperationSpec, - callback - ) as Promise; + callback) as Promise; } /** @@ -759,13 +572,9 @@ class NetworkManagementClient extends NetworkManagementClientContext { * @param [options] The optional parameters * @returns Promise */ - getActiveSessionsNext( - nextPageLink: string, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginGetActiveSessionsNext(nextPageLink, options).then((lroPoller) => - lroPoller.pollUntilFinished() - ) as Promise; + getActiveSessionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginGetActiveSessionsNext(nextPageLink,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -774,41 +583,26 @@ class NetworkManagementClient extends NetworkManagementClientContext { * @param [options] The optional parameters * @returns Promise */ - disconnectActiveSessionsNext( - nextPageLink: string, - options?: msRest.RequestOptionsBase - ): Promise; + disconnectActiveSessionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback */ - disconnectActiveSessionsNext( - nextPageLink: string, - callback: msRest.ServiceCallback - ): void; + disconnectActiveSessionsNext(nextPageLink: string, callback: msRest.ServiceCallback): void; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param options The optional parameters * @param callback The callback */ - disconnectActiveSessionsNext( - nextPageLink: string, - options: msRest.RequestOptionsBase, - callback: msRest.ServiceCallback - ): void; - disconnectActiveSessionsNext( - nextPageLink: string, - options?: msRest.RequestOptionsBase | msRest.ServiceCallback, - callback?: msRest.ServiceCallback - ): Promise { + disconnectActiveSessionsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + disconnectActiveSessionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.sendOperationRequest( { nextPageLink, options }, disconnectActiveSessionsNextOperationSpec, - callback - ) as Promise; + callback) as Promise; } /** @@ -817,18 +611,14 @@ class NetworkManagementClient extends NetworkManagementClientContext { * @param [options] The optional parameters * @returns Promise */ - beginPutBastionShareableLinkNext( - nextPageLink: string, - options?: msRest.RequestOptionsBase - ): Promise { + beginPutBastionShareableLinkNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise { return this.sendLRORequest( { nextPageLink, options }, beginPutBastionShareableLinkNextOperationSpec, - options - ); + options); } /** @@ -837,18 +627,14 @@ class NetworkManagementClient extends NetworkManagementClientContext { * @param [options] The optional parameters * @returns Promise */ - beginGetActiveSessionsNext( - nextPageLink: string, - options?: msRest.RequestOptionsBase - ): Promise { + beginGetActiveSessionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise { return this.sendLRORequest( { nextPageLink, options }, beginGetActiveSessionsNextOperationSpec, - options - ); + options); } } @@ -856,15 +642,18 @@ class NetworkManagementClient extends NetworkManagementClientContext { const serializer = new msRest.Serializer(Mappers); const getBastionShareableLinkOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/getShareableLinks", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/getShareableLinks", urlParameters: [ Parameters.resourceGroupName, Parameters.bastionHostName, Parameters.subscriptionId ], - queryParameters: [Parameters.apiVersion0], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], requestBody: { parameterPath: "bslRequest", mapper: { @@ -885,15 +674,18 @@ const getBastionShareableLinkOperationSpec: msRest.OperationSpec = { const disconnectActiveSessionsOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/disconnectActiveSessions", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/disconnectActiveSessions", urlParameters: [ Parameters.resourceGroupName, Parameters.bastionHostName, Parameters.subscriptionId ], - queryParameters: [Parameters.apiVersion0], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], requestBody: { parameterPath: "sessionIds", mapper: { @@ -914,11 +706,18 @@ const disconnectActiveSessionsOperationSpec: msRest.OperationSpec = { const checkDnsNameAvailabilityOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: - "subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability", - urlParameters: [Parameters.location0, Parameters.subscriptionId], - queryParameters: [Parameters.domainNameLabel, Parameters.apiVersion0], - headerParameters: [Parameters.acceptLanguage], + path: "subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability", + urlParameters: [ + Parameters.location0, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.domainNameLabel, + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.DnsNameAvailabilityResult @@ -932,15 +731,18 @@ const checkDnsNameAvailabilityOperationSpec: msRest.OperationSpec = { const supportedSecurityProvidersOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/supportedSecurityProviders", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/supportedSecurityProviders", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.virtualWANName0 ], - queryParameters: [Parameters.apiVersion0], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.VirtualWanSecurityProviders @@ -954,15 +756,18 @@ const supportedSecurityProvidersOperationSpec: msRest.OperationSpec = { const beginPutBastionShareableLinkOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/createShareableLinks", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/createShareableLinks", urlParameters: [ Parameters.resourceGroupName, Parameters.bastionHostName, Parameters.subscriptionId ], - queryParameters: [Parameters.apiVersion0], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], requestBody: { parameterPath: "bslRequest", mapper: { @@ -984,15 +789,18 @@ const beginPutBastionShareableLinkOperationSpec: msRest.OperationSpec = { const beginDeleteBastionShareableLinkOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/deleteShareableLinks", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/deleteShareableLinks", urlParameters: [ Parameters.resourceGroupName, Parameters.bastionHostName, Parameters.subscriptionId ], - queryParameters: [Parameters.apiVersion0], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], requestBody: { parameterPath: "bslRequest", mapper: { @@ -1012,15 +820,18 @@ const beginDeleteBastionShareableLinkOperationSpec: msRest.OperationSpec = { const beginGetActiveSessionsOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/getActiveSessions", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/getActiveSessions", urlParameters: [ Parameters.resourceGroupName, Parameters.bastionHostName, Parameters.subscriptionId ], - queryParameters: [Parameters.apiVersion0], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.BastionActiveSessionListResult @@ -1035,15 +846,18 @@ const beginGetActiveSessionsOperationSpec: msRest.OperationSpec = { const beginGeneratevirtualwanvpnserverconfigurationvpnprofileOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/GenerateVpnProfile", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/GenerateVpnProfile", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.virtualWANName0 ], - queryParameters: [Parameters.apiVersion0], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], requestBody: { parameterPath: "vpnClientParams", mapper: { @@ -1067,9 +881,15 @@ const getBastionShareableLinkNextOperationSpec: msRest.OperationSpec = { httpMethod: "POST", baseUrl: "https://management.azure.com", path: "{nextLink}", - urlParameters: [Parameters.nextPageLink], - queryParameters: [Parameters.apiVersion0], - headerParameters: [Parameters.acceptLanguage], + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.BastionShareableLinkListResult @@ -1085,9 +905,15 @@ const disconnectActiveSessionsNextOperationSpec: msRest.OperationSpec = { httpMethod: "POST", baseUrl: "https://management.azure.com", path: "{nextLink}", - urlParameters: [Parameters.nextPageLink], - queryParameters: [Parameters.apiVersion0], - headerParameters: [Parameters.acceptLanguage], + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.BastionSessionDeleteResult @@ -1103,9 +929,15 @@ const beginPutBastionShareableLinkNextOperationSpec: msRest.OperationSpec = { httpMethod: "POST", baseUrl: "https://management.azure.com", path: "{nextLink}", - urlParameters: [Parameters.nextPageLink], - queryParameters: [Parameters.apiVersion0], - headerParameters: [Parameters.acceptLanguage], + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.BastionShareableLinkListResult @@ -1122,9 +954,15 @@ const beginGetActiveSessionsNextOperationSpec: msRest.OperationSpec = { httpMethod: "POST", baseUrl: "https://management.azure.com", path: "{nextLink}", - urlParameters: [Parameters.nextPageLink], - queryParameters: [Parameters.apiVersion0], - headerParameters: [Parameters.acceptLanguage], + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.BastionActiveSessionListResult diff --git a/sdk/network/arm-network/src/networkManagementClientContext.ts b/sdk/network/arm-network/src/networkManagementClientContext.ts index 370fd268986e..86791276aefb 100644 --- a/sdk/network/arm-network/src/networkManagementClientContext.ts +++ b/sdk/network/arm-network/src/networkManagementClientContext.ts @@ -13,7 +13,7 @@ import * as msRestAzure from "@azure/ms-rest-azure-js"; import { TokenCredential } from "@azure/core-auth"; const packageName = "@azure/arm-network"; -const packageVersion = "25.0.0"; +const packageVersion = "25.1.0"; export class NetworkManagementClientContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials | TokenCredential; @@ -32,16 +32,12 @@ export class NetworkManagementClientContext extends msRestAzure.AzureServiceClie * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor( - credentials: msRest.ServiceClientCredentials | TokenCredential, - subscriptionId: string, - options?: Models.NetworkManagementClientOptions - ) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.NetworkManagementClientOptions) { if (credentials == undefined) { - throw new Error("'credentials' cannot be null."); + throw new Error('\'credentials\' cannot be null.'); } if (subscriptionId == undefined) { - throw new Error("'subscriptionId' cannot be null."); + throw new Error('\'subscriptionId\' cannot be null.'); } if (!options) { @@ -54,7 +50,7 @@ export class NetworkManagementClientContext extends msRestAzure.AzureServiceClie super(credentials, options); - this.acceptLanguage = "en-US"; + this.acceptLanguage = 'en-US'; this.longRunningOperationRetryTimeout = 30; this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com"; this.requestContentType = "application/json; charset=utf-8"; @@ -64,10 +60,7 @@ export class NetworkManagementClientContext extends msRestAzure.AzureServiceClie if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } - if ( - options.longRunningOperationRetryTimeout !== null && - options.longRunningOperationRetryTimeout !== undefined - ) { + if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) { this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout; } } diff --git a/sdk/network/arm-network/src/operations/index.ts b/sdk/network/arm-network/src/operations/index.ts index 5e23f4aa5643..99d7960fd45f 100644 --- a/sdk/network/arm-network/src/operations/index.ts +++ b/sdk/network/arm-network/src/operations/index.ts @@ -88,6 +88,7 @@ export * from "./virtualNetworkPeerings"; export * from "./virtualNetworkGateways"; export * from "./virtualNetworkGatewayConnections"; export * from "./localNetworkGateways"; +export * from "./virtualNetworkGatewayNatRules"; export * from "./virtualNetworkTaps"; export * from "./virtualRouters"; export * from "./virtualRouterPeerings"; diff --git a/sdk/network/arm-network/src/operations/loadBalancers.ts b/sdk/network/arm-network/src/operations/loadBalancers.ts index 144a1af196be..dbcf29300e60 100644 --- a/sdk/network/arm-network/src/operations/loadBalancers.ts +++ b/sdk/network/arm-network/src/operations/loadBalancers.ts @@ -171,6 +171,18 @@ export class LoadBalancers { callback) as Promise; } + /** + * Swaps VIPs between two load balancers. + * @param location The region where load balancers are located at. + * @param parameters Parameters that define which VIPs should be swapped. + * @param [options] The optional parameters + * @returns Promise + */ + swapPublicIpAddresses(location: string, parameters: Models.LoadBalancerVipSwapRequest, options?: msRest.RequestOptionsBase): Promise { + return this.beginSwapPublicIpAddresses(location,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + /** * Deletes the specified load balancer. * @param resourceGroupName The name of the resource group. @@ -209,6 +221,24 @@ export class LoadBalancers { options); } + /** + * Swaps VIPs between two load balancers. + * @param location The region where load balancers are located at. + * @param parameters Parameters that define which VIPs should be swapped. + * @param [options] The optional parameters + * @returns Promise + */ + beginSwapPublicIpAddresses(location: string, parameters: Models.LoadBalancerVipSwapRequest, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + location, + parameters, + options + }, + beginSwapPublicIpAddressesOperationSpec, + options); + } + /** * Gets all the load balancers in a subscription. * @param nextPageLink The NextLink from the previous successful call to List operation. @@ -433,6 +463,36 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { serializer }; +const beginSwapPublicIpAddressesOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/setLoadBalancerFrontendPublicIpAddresses", + urlParameters: [ + Parameters.location0, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.LoadBalancerVipSwapRequest, + required: true + } + }, + responses: { + 200: {}, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const listAllNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", diff --git a/sdk/network/arm-network/src/operations/virtualNetworkGatewayNatRules.ts b/sdk/network/arm-network/src/operations/virtualNetworkGatewayNatRules.ts new file mode 100644 index 000000000000..2c581039ce79 --- /dev/null +++ b/sdk/network/arm-network/src/operations/virtualNetworkGatewayNatRules.ts @@ -0,0 +1,334 @@ +/* + * 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 * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as Models from "../models"; +import * as Mappers from "../models/virtualNetworkGatewayNatRulesMappers"; +import * as Parameters from "../models/parameters"; +import { NetworkManagementClientContext } from "../networkManagementClientContext"; + +/** Class representing a VirtualNetworkGatewayNatRules. */ +export class VirtualNetworkGatewayNatRules { + private readonly client: NetworkManagementClientContext; + + /** + * Create a VirtualNetworkGatewayNatRules. + * @param {NetworkManagementClientContext} client Reference to the service client. + */ + constructor(client: NetworkManagementClientContext) { + this.client = client; + } + + /** + * Retrieves the details of a nat rule. + * @param resourceGroupName The resource group name of the Virtual Network Gateway. + * @param virtualNetworkGatewayName The name of the gateway. + * @param natRuleName The name of the nat rule. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, virtualNetworkGatewayName: string, natRuleName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name of the Virtual Network Gateway. + * @param virtualNetworkGatewayName The name of the gateway. + * @param natRuleName The name of the nat rule. + * @param callback The callback + */ + get(resourceGroupName: string, virtualNetworkGatewayName: string, natRuleName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name of the Virtual Network Gateway. + * @param virtualNetworkGatewayName The name of the gateway. + * @param natRuleName The name of the nat rule. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, virtualNetworkGatewayName: string, natRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, virtualNetworkGatewayName: string, natRuleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + virtualNetworkGatewayName, + natRuleName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Creates a nat rule to a scalable virtual network gateway if it doesn't exist else updates the + * existing nat rules. + * @param resourceGroupName The resource group name of the Virtual Network Gateway. + * @param virtualNetworkGatewayName The name of the gateway. + * @param natRuleName The name of the nat rule. + * @param natRuleParameters Parameters supplied to create or Update a Nat Rule. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, virtualNetworkGatewayName: string, natRuleName: string, natRuleParameters: Models.VirtualNetworkGatewayNatRule, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,virtualNetworkGatewayName,natRuleName,natRuleParameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Deletes a nat rule. + * @param resourceGroupName The resource group name of the Virtual Network Gateway. + * @param virtualNetworkGatewayName The name of the gateway. + * @param natRuleName The name of the nat rule. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, virtualNetworkGatewayName: string, natRuleName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(resourceGroupName,virtualNetworkGatewayName,natRuleName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Retrieves all nat rules for a particular virtual network gateway. + * @param resourceGroupName The resource group name of the virtual network gateway. + * @param virtualNetworkGatewayName The name of the gateway. + * @param [options] The optional parameters + * @returns Promise + */ + listByVirtualNetworkGateway(resourceGroupName: string, virtualNetworkGatewayName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name of the virtual network gateway. + * @param virtualNetworkGatewayName The name of the gateway. + * @param callback The callback + */ + listByVirtualNetworkGateway(resourceGroupName: string, virtualNetworkGatewayName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name of the virtual network gateway. + * @param virtualNetworkGatewayName The name of the gateway. + * @param options The optional parameters + * @param callback The callback + */ + listByVirtualNetworkGateway(resourceGroupName: string, virtualNetworkGatewayName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByVirtualNetworkGateway(resourceGroupName: string, virtualNetworkGatewayName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + virtualNetworkGatewayName, + options + }, + listByVirtualNetworkGatewayOperationSpec, + callback) as Promise; + } + + /** + * Creates a nat rule to a scalable virtual network gateway if it doesn't exist else updates the + * existing nat rules. + * @param resourceGroupName The resource group name of the Virtual Network Gateway. + * @param virtualNetworkGatewayName The name of the gateway. + * @param natRuleName The name of the nat rule. + * @param natRuleParameters Parameters supplied to create or Update a Nat Rule. + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(resourceGroupName: string, virtualNetworkGatewayName: string, natRuleName: string, natRuleParameters: Models.VirtualNetworkGatewayNatRule, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + virtualNetworkGatewayName, + natRuleName, + natRuleParameters, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * Deletes a nat rule. + * @param resourceGroupName The resource group name of the Virtual Network Gateway. + * @param virtualNetworkGatewayName The name of the gateway. + * @param natRuleName The name of the nat rule. + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(resourceGroupName: string, virtualNetworkGatewayName: string, natRuleName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + virtualNetworkGatewayName, + natRuleName, + options + }, + beginDeleteMethodOperationSpec, + options); + } + + /** + * Retrieves all nat rules for a particular virtual network gateway. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByVirtualNetworkGatewayNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByVirtualNetworkGatewayNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByVirtualNetworkGatewayNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByVirtualNetworkGatewayNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByVirtualNetworkGatewayNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/natRules/{natRuleName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.virtualNetworkGatewayName, + Parameters.natRuleName + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.VirtualNetworkGatewayNatRule + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByVirtualNetworkGatewayOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/natRules", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.virtualNetworkGatewayName + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ListVirtualNetworkGatewayNatRulesResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/natRules/{natRuleName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.virtualNetworkGatewayName, + Parameters.natRuleName + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "natRuleParameters", + mapper: { + ...Mappers.VirtualNetworkGatewayNatRule, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.VirtualNetworkGatewayNatRule + }, + 201: { + bodyMapper: Mappers.VirtualNetworkGatewayNatRule + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/natRules/{natRuleName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.virtualNetworkGatewayName, + Parameters.natRuleName + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByVirtualNetworkGatewayNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ListVirtualNetworkGatewayNatRulesResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/network/arm-network/src/operations/virtualNetworkPeerings.ts b/sdk/network/arm-network/src/operations/virtualNetworkPeerings.ts index badd47438967..d367ad03fcf3 100644 --- a/sdk/network/arm-network/src/operations/virtualNetworkPeerings.ts +++ b/sdk/network/arm-network/src/operations/virtualNetworkPeerings.ts @@ -85,7 +85,7 @@ export class VirtualNetworkPeerings { * @param [options] The optional parameters * @returns Promise */ - createOrUpdate(resourceGroupName: string, virtualNetworkName: string, virtualNetworkPeeringName: string, virtualNetworkPeeringParameters: Models.VirtualNetworkPeering, options?: msRest.RequestOptionsBase): Promise { + createOrUpdate(resourceGroupName: string, virtualNetworkName: string, virtualNetworkPeeringName: string, virtualNetworkPeeringParameters: Models.VirtualNetworkPeering, options?: Models.VirtualNetworkPeeringsCreateOrUpdateOptionalParams): Promise { return this.beginCreateOrUpdate(resourceGroupName,virtualNetworkName,virtualNetworkPeeringName,virtualNetworkPeeringParameters,options) .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } @@ -152,7 +152,7 @@ export class VirtualNetworkPeerings { * @param [options] The optional parameters * @returns Promise */ - beginCreateOrUpdate(resourceGroupName: string, virtualNetworkName: string, virtualNetworkPeeringName: string, virtualNetworkPeeringParameters: Models.VirtualNetworkPeering, options?: msRest.RequestOptionsBase): Promise { + beginCreateOrUpdate(resourceGroupName: string, virtualNetworkName: string, virtualNetworkPeeringName: string, virtualNetworkPeeringParameters: Models.VirtualNetworkPeering, options?: Models.VirtualNetworkPeeringsBeginCreateOrUpdateOptionalParams): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -283,6 +283,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ + Parameters.syncRemoteAddressSpace, Parameters.apiVersion0 ], headerParameters: [