From 19e477824d6738cf3fe37910a006002e5c80b1b3 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Tue, 28 Jun 2022 20:29:27 +0000 Subject: [PATCH] CodeGen from PR 19627 in Azure/azure-rest-api-specs Merge a7a28d893461f7b4818a0604cf0285c00e1d29c5 into ac155b972d0619a6e5bf665a863fb05ee7eeb30f --- sdk/network/arm-network/CHANGELOG.md | 280 +- sdk/network/arm-network/_meta.json | 8 +- sdk/network/arm-network/package.json | 22 +- .../arm-network/review/arm-network.api.md | 1369 +- sdk/network/arm-network/src/models/index.ts | 2266 +- sdk/network/arm-network/src/models/mappers.ts | 17821 +++++++++------- .../arm-network/src/models/parameters.ts | 450 +- .../src/networkManagementClient.ts | 291 +- .../src/operations/adminRuleCollections.ts | 459 + .../arm-network/src/operations/adminRules.ts | 496 + .../src/operations/azureFirewalls.ts | 121 + .../src/operations/connectionMonitors.ts | 2 +- .../operations/connectivityConfigurations.ts | 418 + .../src/operations/customIPPrefixes.ts | 2 +- .../src/operations/ddosCustomPolicies.ts | 2 +- .../src/operations/ddosProtectionPlans.ts | 2 +- .../operations/dscpConfigurationOperations.ts | 2 +- .../src/operations/expressRouteCircuits.ts | 2 +- .../expressRouteCrossConnections.ts | 2 +- .../src/operations/expressRoutePorts.ts | 2 +- .../expressRouteProviderPortsLocation.ts | 61 + .../src/operations/firewallPolicies.ts | 2 +- .../firewallPolicyIdpsSignatures.ts | 2 +- ...irewallPolicyIdpsSignaturesFilterValues.ts | 2 +- .../firewallPolicyIdpsSignaturesOverrides.ts | 4 +- .../firewallPolicyRuleCollectionGroups.ts | 2 +- .../arm-network/src/operations/flowLogs.ts | 2 +- .../inboundSecurityRuleOperations.ts | 6 +- .../arm-network/src/operations/index.ts | 13 + .../src/operations/ipAllocations.ts | 2 +- .../arm-network/src/operations/ipGroups.ts | 2 +- .../loadBalancerBackendAddressPools.ts | 2 +- .../src/operations/loadBalancers.ts | 6 +- .../src/operations/localNetworkGateways.ts | 2 +- ...anagementGroupNetworkManagerConnections.ts | 297 + .../arm-network/src/operations/natGateways.ts | 2 +- .../src/operations/networkGroups.ts | 419 + .../src/operations/networkInterfaces.ts | 18 +- .../src/operations/networkManagerCommits.ts | 162 + ...etworkManagerDeploymentStatusOperations.ts | 78 + .../src/operations/networkManagers.ts | 533 + .../src/operations/networkProfiles.ts | 2 +- .../src/operations/networkSecurityGroups.ts | 2 +- .../operations/networkVirtualAppliances.ts | 2 +- .../src/operations/networkWatchers.ts | 26 +- .../src/operations/p2SVpnGateways.ts | 2 +- .../src/operations/packetCaptures.ts | 2 +- .../src/operations/privateDnsZoneGroups.ts | 2 +- .../src/operations/privateEndpoints.ts | 2 +- .../src/operations/privateLinkServices.ts | 8 +- .../src/operations/publicIPAddresses.ts | 12 +- .../src/operations/publicIPPrefixes.ts | 2 +- .../src/operations/routeFilterRules.ts | 12 +- .../arm-network/src/operations/routeTables.ts | 2 +- .../src/operations/scopeConnections.ts | 340 + .../operations/securityAdminConfigurations.ts | 416 + .../operations/securityPartnerProviders.ts | 2 +- .../src/operations/serviceEndpointPolicies.ts | 2 +- .../src/operations/staticMembers.ts | 383 + .../subscriptionNetworkManagerConnections.ts | 270 + .../src/operations/virtualApplianceSites.ts | 2 +- .../src/operations/virtualHubBgpConnection.ts | 2 +- .../operations/virtualHubIpConfiguration.ts | 2 +- .../virtualNetworkGatewayConnections.ts | 10 +- .../src/operations/virtualNetworkGateways.ts | 12 +- .../src/operations/virtualNetworkTaps.ts | 2 +- .../src/operations/virtualNetworks.ts | 2 +- .../src/operations/virtualRouterPeerings.ts | 2 +- .../src/operations/virtualRouters.ts | 2 +- .../src/operations/vpnConnections.ts | 4 +- .../arm-network/src/operations/vpnGateways.ts | 4 +- .../webApplicationFirewallPolicies.ts | 2 +- .../adminRuleCollections.ts | 99 + .../src/operationsInterfaces/adminRules.ts | 109 + .../operationsInterfaces/azureFirewalls.ts | 31 +- .../connectivityConfigurations.ts | 93 + .../expressRouteProviderPortsLocation.ts | 23 + .../src/operationsInterfaces/index.ts | 13 + ...anagementGroupNetworkManagerConnections.ts | 71 + .../src/operationsInterfaces/networkGroups.ts | 89 + .../networkManagerCommits.ts | 49 + ...etworkManagerDeploymentStatusOperations.ts | 30 + .../operationsInterfaces/networkManagers.ts | 103 + .../operationsInterfaces/scopeConnections.ts | 75 + .../securityAdminConfigurations.ts | 90 + .../src/operationsInterfaces/staticMembers.ts | 83 + .../subscriptionNetworkManagerConnections.ts | 59 + sdk/network/arm-network/test/sampleTest.ts | 43 + sdk/network/arm-network/tsconfig.json | 10 +- 89 files changed, 20092 insertions(+), 8147 deletions(-) create mode 100644 sdk/network/arm-network/src/operations/adminRuleCollections.ts create mode 100644 sdk/network/arm-network/src/operations/adminRules.ts create mode 100644 sdk/network/arm-network/src/operations/connectivityConfigurations.ts create mode 100644 sdk/network/arm-network/src/operations/expressRouteProviderPortsLocation.ts create mode 100644 sdk/network/arm-network/src/operations/managementGroupNetworkManagerConnections.ts create mode 100644 sdk/network/arm-network/src/operations/networkGroups.ts create mode 100644 sdk/network/arm-network/src/operations/networkManagerCommits.ts create mode 100644 sdk/network/arm-network/src/operations/networkManagerDeploymentStatusOperations.ts create mode 100644 sdk/network/arm-network/src/operations/networkManagers.ts create mode 100644 sdk/network/arm-network/src/operations/scopeConnections.ts create mode 100644 sdk/network/arm-network/src/operations/securityAdminConfigurations.ts create mode 100644 sdk/network/arm-network/src/operations/staticMembers.ts create mode 100644 sdk/network/arm-network/src/operations/subscriptionNetworkManagerConnections.ts create mode 100644 sdk/network/arm-network/src/operationsInterfaces/adminRuleCollections.ts create mode 100644 sdk/network/arm-network/src/operationsInterfaces/adminRules.ts create mode 100644 sdk/network/arm-network/src/operationsInterfaces/connectivityConfigurations.ts create mode 100644 sdk/network/arm-network/src/operationsInterfaces/expressRouteProviderPortsLocation.ts create mode 100644 sdk/network/arm-network/src/operationsInterfaces/managementGroupNetworkManagerConnections.ts create mode 100644 sdk/network/arm-network/src/operationsInterfaces/networkGroups.ts create mode 100644 sdk/network/arm-network/src/operationsInterfaces/networkManagerCommits.ts create mode 100644 sdk/network/arm-network/src/operationsInterfaces/networkManagerDeploymentStatusOperations.ts create mode 100644 sdk/network/arm-network/src/operationsInterfaces/networkManagers.ts create mode 100644 sdk/network/arm-network/src/operationsInterfaces/scopeConnections.ts create mode 100644 sdk/network/arm-network/src/operationsInterfaces/securityAdminConfigurations.ts create mode 100644 sdk/network/arm-network/src/operationsInterfaces/staticMembers.ts create mode 100644 sdk/network/arm-network/src/operationsInterfaces/subscriptionNetworkManagerConnections.ts create mode 100644 sdk/network/arm-network/test/sampleTest.ts diff --git a/sdk/network/arm-network/CHANGELOG.md b/sdk/network/arm-network/CHANGELOG.md index e83e3361c8c4..da10b2c957be 100644 --- a/sdk/network/arm-network/CHANGELOG.md +++ b/sdk/network/arm-network/CHANGELOG.md @@ -1,15 +1,279 @@ # Release History + +## 29.0.0 (2022-06-28) + +**Features** -## 28.0.1 (Unreleased) - -### Features Added - -### Breaking Changes - -### Bugs Fixed + - Added operation group AdminRuleCollections + - Added operation group AdminRules + - Added operation group ConnectivityConfigurations + - Added operation group ExpressRouteProviderPortsLocation + - Added operation group ManagementGroupNetworkManagerConnections + - Added operation group NetworkGroups + - Added operation group NetworkManagerCommits + - Added operation group NetworkManagerDeploymentStatusOperations + - Added operation group NetworkManagers + - Added operation group ScopeConnections + - Added operation group SecurityAdminConfigurations + - Added operation group StaticMembers + - Added operation group SubscriptionNetworkManagerConnections + - Added operation AzureFirewalls.beginListLearnedPrefixes + - Added operation AzureFirewalls.beginListLearnedPrefixesAndWait + - Added Interface ActiveBaseSecurityAdminRule + - Added Interface ActiveConfigurationParameter + - Added Interface ActiveConnectivityConfigurationsListResult + - Added Interface ActiveSecurityAdminRulesListResult + - Added Interface AddressPrefixItem + - Added Interface AdminRuleCollectionListResult + - Added Interface AdminRuleCollectionsCreateOrUpdateOptionalParams + - Added Interface AdminRuleCollectionsDeleteHeaders + - Added Interface AdminRuleCollectionsDeleteOptionalParams + - Added Interface AdminRuleCollectionsGetOptionalParams + - Added Interface AdminRuleCollectionsListNextOptionalParams + - Added Interface AdminRuleCollectionsListOptionalParams + - Added Interface AdminRuleListResult + - Added Interface AdminRulesCreateOrUpdateOptionalParams + - Added Interface AdminRulesDeleteHeaders + - Added Interface AdminRulesDeleteOptionalParams + - Added Interface AdminRulesGetOptionalParams + - Added Interface AdminRulesListNextOptionalParams + - Added Interface AdminRulesListOptionalParams + - Added Interface AzureFirewallsListLearnedPrefixesOptionalParams + - Added Interface ChildResource + - Added Interface ConfigurationGroup + - Added Interface ConnectivityConfigurationListResult + - Added Interface ConnectivityConfigurationsCreateOrUpdateOptionalParams + - Added Interface ConnectivityConfigurationsDeleteHeaders + - Added Interface ConnectivityConfigurationsDeleteOptionalParams + - Added Interface ConnectivityConfigurationsGetOptionalParams + - Added Interface ConnectivityConfigurationsListNextOptionalParams + - Added Interface ConnectivityConfigurationsListOptionalParams + - Added Interface ConnectivityGroupItem + - Added Interface CrossTenantScopes + - Added Interface EffectiveBaseSecurityAdminRule + - Added Interface EffectiveConnectivityConfiguration + - Added Interface ExplicitProxy + - Added Interface ExpressRouteProviderPortListResult + - Added Interface ExpressRouteProviderPortOptionalParams + - Added Interface ExpressRouteProviderPortsLocationListOptionalParams + - Added Interface Hub + - Added Interface IPPrefixesList + - Added Interface ListActiveConnectivityConfigurationsOptionalParams + - Added Interface ListActiveSecurityAdminRulesOptionalParams + - Added Interface ListNetworkManagerEffectiveConnectivityConfigurationsOptionalParams + - Added Interface ListNetworkManagerEffectiveSecurityAdminRulesOptionalParams + - Added Interface ManagementGroupNetworkManagerConnectionsCreateOrUpdateOptionalParams + - Added Interface ManagementGroupNetworkManagerConnectionsDeleteOptionalParams + - Added Interface ManagementGroupNetworkManagerConnectionsGetOptionalParams + - Added Interface ManagementGroupNetworkManagerConnectionsListNextOptionalParams + - Added Interface ManagementGroupNetworkManagerConnectionsListOptionalParams + - Added Interface NetworkGroupListResult + - Added Interface NetworkGroupsCreateOrUpdateHeaders + - Added Interface NetworkGroupsCreateOrUpdateOptionalParams + - Added Interface NetworkGroupsDeleteHeaders + - Added Interface NetworkGroupsDeleteOptionalParams + - Added Interface NetworkGroupsGetOptionalParams + - Added Interface NetworkGroupsListNextOptionalParams + - Added Interface NetworkGroupsListOptionalParams + - Added Interface NetworkManagerCommit + - Added Interface NetworkManagerCommitsPostHeaders + - Added Interface NetworkManagerCommitsPostOptionalParams + - Added Interface NetworkManagerConnectionListResult + - Added Interface NetworkManagerDeploymentStatus + - Added Interface NetworkManagerDeploymentStatusListOptionalParams + - Added Interface NetworkManagerDeploymentStatusListResult + - Added Interface NetworkManagerDeploymentStatusParameter + - Added Interface NetworkManagerEffectiveConnectivityConfigurationListResult + - Added Interface NetworkManagerEffectiveSecurityAdminRulesListResult + - Added Interface NetworkManagerListResult + - Added Interface NetworkManagerPropertiesNetworkManagerScopes + - Added Interface NetworkManagersCreateOrUpdateOptionalParams + - Added Interface NetworkManagersDeleteHeaders + - Added Interface NetworkManagersDeleteOptionalParams + - Added Interface NetworkManagerSecurityGroupItem + - Added Interface NetworkManagersGetOptionalParams + - Added Interface NetworkManagersListBySubscriptionNextOptionalParams + - Added Interface NetworkManagersListBySubscriptionOptionalParams + - Added Interface NetworkManagersListNextOptionalParams + - Added Interface NetworkManagersListOptionalParams + - Added Interface NetworkManagersPatchOptionalParams + - Added Interface PacketCaptureMachineScope + - Added Interface PatchObject + - Added Interface QueryRequestOptions + - Added Interface ScopeConnectionListResult + - Added Interface ScopeConnectionsCreateOrUpdateOptionalParams + - Added Interface ScopeConnectionsDeleteOptionalParams + - Added Interface ScopeConnectionsGetOptionalParams + - Added Interface ScopeConnectionsListNextOptionalParams + - Added Interface ScopeConnectionsListOptionalParams + - Added Interface SecurityAdminConfigurationListResult + - Added Interface SecurityAdminConfigurationsCreateOrUpdateOptionalParams + - Added Interface SecurityAdminConfigurationsDeleteHeaders + - Added Interface SecurityAdminConfigurationsDeleteOptionalParams + - Added Interface SecurityAdminConfigurationsGetOptionalParams + - Added Interface SecurityAdminConfigurationsListNextOptionalParams + - Added Interface SecurityAdminConfigurationsListOptionalParams + - Added Interface StaticMemberListResult + - Added Interface StaticMembersCreateOrUpdateOptionalParams + - Added Interface StaticMembersDeleteOptionalParams + - Added Interface StaticMembersGetOptionalParams + - Added Interface StaticMembersListNextOptionalParams + - Added Interface StaticMembersListOptionalParams + - Added Interface SubscriptionNetworkManagerConnectionsCreateOrUpdateOptionalParams + - Added Interface SubscriptionNetworkManagerConnectionsDeleteOptionalParams + - Added Interface SubscriptionNetworkManagerConnectionsGetOptionalParams + - Added Interface SubscriptionNetworkManagerConnectionsListNextOptionalParams + - Added Interface SubscriptionNetworkManagerConnectionsListOptionalParams + - Added Interface SystemData + - Added Interface VirtualRouterAutoScaleConfiguration + - Added Type Alias ActiveBaseSecurityAdminRuleUnion + - Added Type Alias ActiveConnectivityConfiguration + - Added Type Alias ActiveDefaultSecurityAdminRule + - Added Type Alias ActiveSecurityAdminRule + - Added Type Alias AddressPrefixType + - Added Type Alias AdminRule + - Added Type Alias AdminRuleCollection + - Added Type Alias AdminRuleCollectionsCreateOrUpdateResponse + - Added Type Alias AdminRuleCollectionsGetResponse + - Added Type Alias AdminRuleCollectionsListNextResponse + - Added Type Alias AdminRuleCollectionsListResponse + - Added Type Alias AdminRuleKind + - Added Type Alias AdminRulesCreateOrUpdateResponse + - Added Type Alias AdminRulesGetResponse + - Added Type Alias AdminRulesListNextResponse + - Added Type Alias AdminRulesListResponse + - Added Type Alias AutoLearnPrivateRangesMode + - Added Type Alias AzureFirewallsListLearnedPrefixesResponse + - Added Type Alias BaseAdminRule + - Added Type Alias BaseAdminRuleUnion + - Added Type Alias ConfigurationType + - Added Type Alias ConnectivityConfiguration + - Added Type Alias ConnectivityConfigurationsCreateOrUpdateResponse + - Added Type Alias ConnectivityConfigurationsGetResponse + - Added Type Alias ConnectivityConfigurationsListNextResponse + - Added Type Alias ConnectivityConfigurationsListResponse + - Added Type Alias ConnectivityTopology + - Added Type Alias CreatedByType + - Added Type Alias DefaultAdminRule + - Added Type Alias DeleteExistingPeering + - Added Type Alias DeploymentStatus + - Added Type Alias EffectiveAdminRuleKind + - Added Type Alias EffectiveBaseSecurityAdminRuleUnion + - Added Type Alias EffectiveDefaultSecurityAdminRule + - Added Type Alias EffectiveSecurityAdminRule + - Added Type Alias ExpressRouteProviderPort + - Added Type Alias ExpressRouteProviderPortResponse + - Added Type Alias ExpressRouteProviderPortsLocationListResponse + - Added Type Alias GroupConnectivity + - Added Type Alias IsGlobal + - Added Type Alias ListActiveConnectivityConfigurationsResponse + - Added Type Alias ListActiveSecurityAdminRulesResponse + - Added Type Alias ListNetworkManagerEffectiveConnectivityConfigurationsResponse + - Added Type Alias ListNetworkManagerEffectiveSecurityAdminRulesResponse + - Added Type Alias ManagementGroupNetworkManagerConnectionsCreateOrUpdateResponse + - Added Type Alias ManagementGroupNetworkManagerConnectionsGetResponse + - Added Type Alias ManagementGroupNetworkManagerConnectionsListNextResponse + - Added Type Alias ManagementGroupNetworkManagerConnectionsListResponse + - Added Type Alias NetworkGroup + - Added Type Alias NetworkGroupsCreateOrUpdateResponse + - Added Type Alias NetworkGroupsGetResponse + - Added Type Alias NetworkGroupsListNextResponse + - Added Type Alias NetworkGroupsListResponse + - Added Type Alias NetworkIntentPolicyBasedService + - Added Type Alias NetworkManager + - Added Type Alias NetworkManagerCommitsPostResponse + - Added Type Alias NetworkManagerConnection + - Added Type Alias NetworkManagerDeploymentStatusListResponse + - Added Type Alias NetworkManagersCreateOrUpdateResponse + - Added Type Alias NetworkManagersGetResponse + - Added Type Alias NetworkManagersListBySubscriptionNextResponse + - Added Type Alias NetworkManagersListBySubscriptionResponse + - Added Type Alias NetworkManagersListNextResponse + - Added Type Alias NetworkManagersListResponse + - Added Type Alias NetworkManagersPatchResponse + - Added Type Alias PacketCaptureTargetType + - Added Type Alias ScopeConnection + - Added Type Alias ScopeConnectionsCreateOrUpdateResponse + - Added Type Alias ScopeConnectionsGetResponse + - Added Type Alias ScopeConnectionsListNextResponse + - Added Type Alias ScopeConnectionsListResponse + - Added Type Alias ScopeConnectionState + - Added Type Alias SecurityAdminConfiguration + - Added Type Alias SecurityAdminConfigurationsCreateOrUpdateResponse + - Added Type Alias SecurityAdminConfigurationsGetResponse + - Added Type Alias SecurityAdminConfigurationsListNextResponse + - Added Type Alias SecurityAdminConfigurationsListResponse + - Added Type Alias SecurityConfigurationRuleAccess + - Added Type Alias SecurityConfigurationRuleDirection + - Added Type Alias SecurityConfigurationRuleProtocol + - Added Type Alias StaticMember + - Added Type Alias StaticMembersCreateOrUpdateResponse + - Added Type Alias StaticMembersGetResponse + - Added Type Alias StaticMembersListNextResponse + - Added Type Alias StaticMembersListResponse + - Added Type Alias SubscriptionNetworkManagerConnectionsCreateOrUpdateResponse + - Added Type Alias SubscriptionNetworkManagerConnectionsGetResponse + - Added Type Alias SubscriptionNetworkManagerConnectionsListNextResponse + - Added Type Alias SubscriptionNetworkManagerConnectionsListResponse + - Added Type Alias UseHubGateway + - Interface FirewallPolicySnat has a new optional parameter autoLearnPrivateRanges + - Interface PacketCapture has a new optional parameter scope + - Interface PacketCapture has a new optional parameter targetType + - Interface PacketCaptureParameters has a new optional parameter scope + - Interface PacketCaptureParameters has a new optional parameter targetType + - Interface PacketCaptureResult has a new optional parameter scope + - Interface PacketCaptureResult has a new optional parameter targetType + - Class NetworkManagementClient has a new parameter adminRuleCollections + - Class NetworkManagementClient has a new parameter adminRules + - Class NetworkManagementClient has a new parameter connectivityConfigurations + - Class NetworkManagementClient has a new parameter expressRouteProviderPortsLocation + - Class NetworkManagementClient has a new parameter managementGroupNetworkManagerConnections + - Class NetworkManagementClient has a new parameter networkGroups + - Class NetworkManagementClient has a new parameter networkManagerCommits + - Class NetworkManagementClient has a new parameter networkManagerDeploymentStatusOperations + - Class NetworkManagementClient has a new parameter networkManagers + - Class NetworkManagementClient has a new parameter scopeConnections + - Class NetworkManagementClient has a new parameter securityAdminConfigurations + - Class NetworkManagementClient has a new parameter staticMembers + - Class NetworkManagementClient has a new parameter subscriptionNetworkManagerConnections + - Type Alias ApplicationGatewayRoutingRule has a new parameter priority + - Type Alias CustomIpPrefix has a new parameter noInternetAdvertise + - Type Alias FirewallPolicy has a new parameter explicitProxy + - Type Alias NetworkSecurityGroup has a new parameter flushConnection + - Type Alias VirtualHub has a new parameter virtualRouterAutoScaleConfiguration + - Added Enum KnownAddressPrefixType + - Added Enum KnownAdminRuleKind + - Added Enum KnownAutoLearnPrivateRangesMode + - Added Enum KnownConfigurationType + - Added Enum KnownConnectivityTopology + - Added Enum KnownCreatedByType + - Added Enum KnownDeleteExistingPeering + - Added Enum KnownDeploymentStatus + - Added Enum KnownEffectiveAdminRuleKind + - Added Enum KnownGroupConnectivity + - Added Enum KnownIsGlobal + - Added Enum KnownNetworkIntentPolicyBasedService + - Added Enum KnownScopeConnectionState + - Added Enum KnownSecurityConfigurationRuleAccess + - Added Enum KnownSecurityConfigurationRuleDirection + - Added Enum KnownSecurityConfigurationRuleProtocol + - Added Enum KnownUseHubGateway + - Enum KnownApplicationGatewaySslPolicyName has a new value AppGwSslPolicy20220101 + - Enum KnownApplicationGatewaySslPolicyName has a new value AppGwSslPolicy20220101S + - Enum KnownApplicationGatewaySslPolicyType has a new value CustomV2 + - Enum KnownApplicationGatewaySslProtocol has a new value TLSv13 + - Enum KnownCommissionedState has a new value CommissionedNoInternetAdvertise + - Enum KnownEndpointType has a new value AzureArcVM + - Enum KnownEndpointType has a new value AzureVmss + - Enum KnownWebApplicationFirewallOperator has a new value Any -### Other Changes +**Breaking Changes** + - Interface NetworkManagementClientOptionalParams no longer has parameter apiVersion + - Class NetworkManagementClient no longer has parameter apiVersion + - Type Alias FirewallPolicy no longer has parameter explicitProxySettings + + ## 28.0.0 (2022-05-18) **Features** diff --git a/sdk/network/arm-network/_meta.json b/sdk/network/arm-network/_meta.json index 32255842f293..f41c7b66379f 100644 --- a/sdk/network/arm-network/_meta.json +++ b/sdk/network/arm-network/_meta.json @@ -1,8 +1,8 @@ { - "commit": "ab66050afa716937d8bdefe3164380a4028700f8", + "commit": "e2c0a3a7cb1118b5da3ab2d7886c96f5c8c10870", "readme": "specification/network/resource-manager/readme.md", - "autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\work\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\network\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-alpha.19.20220408.1 --generate-sample=true", + "autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/network/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.19.20220425.1", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", - "release_tool": "@azure-tools/js-sdk-release-tools@2.3.0", - "use": "@autorest/typescript@6.0.0-alpha.19.20220408.1" + "release_tool": "@azure-tools/js-sdk-release-tools@2.3.2", + "use": "@autorest/typescript@6.0.0-alpha.19.20220425.1" } \ No newline at end of file diff --git a/sdk/network/arm-network/package.json b/sdk/network/arm-network/package.json index 5f5ca362f54c..b36b81195eca 100644 --- a/sdk/network/arm-network/package.json +++ b/sdk/network/arm-network/package.json @@ -3,7 +3,7 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for NetworkManagementClient.", - "version": "28.0.1", + "version": "29.0.0", "engines": { "node": ">=12.0.0" }, @@ -40,9 +40,11 @@ "uglify-js": "^3.4.9", "rimraf": "^3.0.0", "@azure/identity": "^2.0.1", - "@azure-tools/test-recorder": "^1.0.0", + "@azure-tools/test-recorder": "^2.0.0", + "@azure-tools/test-credential": "^1.0.0", "mocha": "^7.1.1", - "cross-env": "^7.0.2" + "cross-env": "^7.0.2", + "@azure/dev-tool": "^1.0.0" }, "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/network/arm-network", "repository": { @@ -93,7 +95,7 @@ "unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node", "unit-test:browser": "echo skipped", "integration-test": "npm run integration-test:node && npm run integration-test:browser", - "integration-test:node": "mocha -r esm --require ts-node/register --timeout 1200000 --full-trace test/*.ts --reporter ../../../common/tools/mocha-multi-reporter.js", + "integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'", "integration-test:browser": "echo skipped", "docs": "echo skipped" }, @@ -106,13 +108,5 @@ } ] }, - "autoPublish": true, - "//sampleConfiguration": { - "productName": "", - "productSlugs": [ - "azure" - ], - "disableDocsMs": true, - "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-network?view=azure-node-preview" - } -} + "autoPublish": true +} \ No newline at end of file diff --git a/sdk/network/arm-network/review/arm-network.api.md b/sdk/network/arm-network/review/arm-network.api.md index be02212d83a4..40ec66735885 100644 --- a/sdk/network/arm-network/review/arm-network.api.md +++ b/sdk/network/arm-network/review/arm-network.api.md @@ -20,11 +20,233 @@ export interface AadAuthenticationParameters { // @public export type Access = string; +// @public +export interface ActiveBaseSecurityAdminRule { + commitTime?: Date; + configurationDescription?: string; + id?: string; + kind: "Custom" | "Default"; + region?: string; + ruleCollectionAppliesToGroups?: NetworkManagerSecurityGroupItem[]; + ruleCollectionDescription?: string; + ruleGroups?: ConfigurationGroup[]; +} + +// @public (undocumented) +export type ActiveBaseSecurityAdminRuleUnion = ActiveBaseSecurityAdminRule | ActiveSecurityAdminRule | ActiveDefaultSecurityAdminRule; + +// @public +export interface ActiveConfigurationParameter { + regions?: string[]; + skipToken?: string; +} + +// @public +export type ActiveConnectivityConfiguration = EffectiveConnectivityConfiguration & { + commitTime?: Date; + region?: string; +}; + +// @public +export interface ActiveConnectivityConfigurationsListResult { + skipToken?: string; + value?: ActiveConnectivityConfiguration[]; +} + +// @public +export type ActiveDefaultSecurityAdminRule = ActiveBaseSecurityAdminRule & { + kind: "Default"; + readonly description?: string; + flag?: string; + readonly protocol?: SecurityConfigurationRuleProtocol; + readonly sources?: AddressPrefixItem[]; + readonly destinations?: AddressPrefixItem[]; + readonly sourcePortRanges?: string[]; + readonly destinationPortRanges?: string[]; + readonly access?: SecurityConfigurationRuleAccess; + readonly priority?: number; + readonly direction?: SecurityConfigurationRuleDirection; + readonly provisioningState?: ProvisioningState; +}; + +// @public +export type ActiveSecurityAdminRule = ActiveBaseSecurityAdminRule & { + kind: "Custom"; + description?: string; + protocol?: SecurityConfigurationRuleProtocol; + sources?: AddressPrefixItem[]; + destinations?: AddressPrefixItem[]; + sourcePortRanges?: string[]; + destinationPortRanges?: string[]; + access?: SecurityConfigurationRuleAccess; + priority?: number; + direction?: SecurityConfigurationRuleDirection; + readonly provisioningState?: ProvisioningState; +}; + +// @public +export interface ActiveSecurityAdminRulesListResult { + skipToken?: string; + value?: ActiveBaseSecurityAdminRuleUnion[]; +} + +// @public +export interface AddressPrefixItem { + addressPrefix?: string; + addressPrefixType?: AddressPrefixType; +} + +// @public +export type AddressPrefixType = string; + // @public export interface AddressSpace { addressPrefixes?: string[]; } +// @public +export type AdminRule = BaseAdminRule & { + description?: string; + protocol?: SecurityConfigurationRuleProtocol; + sources?: AddressPrefixItem[]; + destinations?: AddressPrefixItem[]; + sourcePortRanges?: string[]; + destinationPortRanges?: string[]; + access?: SecurityConfigurationRuleAccess; + priority?: number; + direction?: SecurityConfigurationRuleDirection; + readonly provisioningState?: ProvisioningState; +}; + +// @public +export type AdminRuleCollection = ChildResource & { + readonly systemData?: SystemData; + description?: string; + appliesToGroups?: NetworkManagerSecurityGroupItem[]; + readonly provisioningState?: ProvisioningState; +}; + +// @public +export interface AdminRuleCollectionListResult { + nextLink?: string; + value?: AdminRuleCollection[]; +} + +// @public +export interface AdminRuleCollections { + beginDelete(resourceGroupName: string, networkManagerName: string, configurationName: string, ruleCollectionName: string, options?: AdminRuleCollectionsDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, networkManagerName: string, configurationName: string, ruleCollectionName: string, options?: AdminRuleCollectionsDeleteOptionalParams): Promise; + createOrUpdate(resourceGroupName: string, networkManagerName: string, configurationName: string, ruleCollectionName: string, ruleCollection: AdminRuleCollection, options?: AdminRuleCollectionsCreateOrUpdateOptionalParams): Promise; + get(resourceGroupName: string, networkManagerName: string, configurationName: string, ruleCollectionName: string, options?: AdminRuleCollectionsGetOptionalParams): Promise; + list(resourceGroupName: string, networkManagerName: string, configurationName: string, options?: AdminRuleCollectionsListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface AdminRuleCollectionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type AdminRuleCollectionsCreateOrUpdateResponse = AdminRuleCollection; + +// @public +export interface AdminRuleCollectionsDeleteHeaders { + location?: string; +} + +// @public +export interface AdminRuleCollectionsDeleteOptionalParams extends coreClient.OperationOptions { + force?: boolean; + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export interface AdminRuleCollectionsGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type AdminRuleCollectionsGetResponse = AdminRuleCollection; + +// @public +export interface AdminRuleCollectionsListNextOptionalParams extends coreClient.OperationOptions { + skipToken?: string; + top?: number; +} + +// @public +export type AdminRuleCollectionsListNextResponse = AdminRuleCollectionListResult; + +// @public +export interface AdminRuleCollectionsListOptionalParams extends coreClient.OperationOptions { + skipToken?: string; + top?: number; +} + +// @public +export type AdminRuleCollectionsListResponse = AdminRuleCollectionListResult; + +// @public +export type AdminRuleKind = string; + +// @public +export interface AdminRuleListResult { + nextLink?: string; + value?: BaseAdminRuleUnion[]; +} + +// @public +export interface AdminRules { + beginDelete(resourceGroupName: string, networkManagerName: string, configurationName: string, ruleCollectionName: string, ruleName: string, options?: AdminRulesDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, networkManagerName: string, configurationName: string, ruleCollectionName: string, ruleName: string, options?: AdminRulesDeleteOptionalParams): Promise; + createOrUpdate(resourceGroupName: string, networkManagerName: string, configurationName: string, ruleCollectionName: string, ruleName: string, adminRule: BaseAdminRuleUnion, options?: AdminRulesCreateOrUpdateOptionalParams): Promise; + get(resourceGroupName: string, networkManagerName: string, configurationName: string, ruleCollectionName: string, ruleName: string, options?: AdminRulesGetOptionalParams): Promise; + list(resourceGroupName: string, networkManagerName: string, configurationName: string, ruleCollectionName: string, options?: AdminRulesListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface AdminRulesCreateOrUpdateOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type AdminRulesCreateOrUpdateResponse = BaseAdminRuleUnion; + +// @public +export interface AdminRulesDeleteHeaders { + location?: string; +} + +// @public +export interface AdminRulesDeleteOptionalParams extends coreClient.OperationOptions { + force?: boolean; + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export interface AdminRulesGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type AdminRulesGetResponse = BaseAdminRuleUnion; + +// @public +export interface AdminRulesListNextOptionalParams extends coreClient.OperationOptions { + skipToken?: string; + top?: number; +} + +// @public +export type AdminRulesListNextResponse = AdminRuleListResult; + +// @public +export interface AdminRulesListOptionalParams extends coreClient.OperationOptions { + skipToken?: string; + top?: number; +} + +// @public +export type AdminRulesListResponse = AdminRuleListResult; + // @public export type ApplicationGateway = Resource & { readonly etag?: string; @@ -601,6 +823,7 @@ export type ApplicationGatewayRoutingRule = SubResource & { readonly etag?: string; readonly type?: string; ruleType?: ApplicationGatewayRequestRoutingRuleType; + priority?: number; backendAddressPool?: SubResource; backendSettings?: SubResource; listener?: SubResource; @@ -1027,6 +1250,9 @@ export interface AutoApprovedPrivateLinkServicesResult { value?: AutoApprovedPrivateLinkService[]; } +// @public +export type AutoLearnPrivateRangesMode = string; + // @public export interface Availability { blobDuration?: string; @@ -1425,6 +1651,8 @@ export interface AzureFirewalls { beginCreateOrUpdateAndWait(resourceGroupName: string, azureFirewallName: string, parameters: AzureFirewall, options?: AzureFirewallsCreateOrUpdateOptionalParams): Promise; beginDelete(resourceGroupName: string, azureFirewallName: string, options?: AzureFirewallsDeleteOptionalParams): Promise, void>>; beginDeleteAndWait(resourceGroupName: string, azureFirewallName: string, options?: AzureFirewallsDeleteOptionalParams): Promise; + beginListLearnedPrefixes(resourceGroupName: string, azureFirewallName: string, options?: AzureFirewallsListLearnedPrefixesOptionalParams): Promise, AzureFirewallsListLearnedPrefixesResponse>>; + beginListLearnedPrefixesAndWait(resourceGroupName: string, azureFirewallName: string, options?: AzureFirewallsListLearnedPrefixesOptionalParams): Promise; beginUpdateTags(resourceGroupName: string, azureFirewallName: string, parameters: TagsObject, options?: AzureFirewallsUpdateTagsOptionalParams): Promise, AzureFirewallsUpdateTagsResponse>>; beginUpdateTagsAndWait(resourceGroupName: string, azureFirewallName: string, parameters: TagsObject, options?: AzureFirewallsUpdateTagsOptionalParams): Promise; get(resourceGroupName: string, azureFirewallName: string, options?: AzureFirewallsGetOptionalParams): Promise; @@ -1480,6 +1708,15 @@ export interface AzureFirewallsListAllOptionalParams extends coreClient.Operatio // @public export type AzureFirewallsListAllResponse = AzureFirewallListResult; +// @public +export interface AzureFirewallsListLearnedPrefixesOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type AzureFirewallsListLearnedPrefixesResponse = IPPrefixesList; + // @public export interface AzureFirewallsListNextOptionalParams extends coreClient.OperationOptions { } @@ -1579,6 +1816,15 @@ export type BackendAddressPool = SubResource & { drainPeriodInSeconds?: number; }; +// @public +export type BaseAdminRule = ChildResource & { + kind: AdminRuleKind; + readonly systemData?: SystemData; +}; + +// @public (undocumented) +export type BaseAdminRuleUnion = BaseAdminRule | AdminRule | DefaultAdminRule; + // @public export interface BastionActiveSession { readonly protocol?: BastionConnectProtocol; @@ -1842,6 +2088,14 @@ export interface CheckPrivateLinkServiceVisibilityRequest { privateLinkServiceAlias?: string; } +// @public +export interface ChildResource { + readonly etag?: string; + readonly id?: string; + readonly name?: string; + readonly type?: string; +} + // @public export type CircuitConnectionStatus = string; @@ -1867,6 +2121,13 @@ export interface Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserass readonly principalId?: string; } +// @public +export interface ConfigurationGroup { + description?: string; + id?: string; + readonly provisioningState?: ProvisioningState; +} + // @public export interface ConfigurationPolicyGroups { beginCreateOrUpdate(resourceGroupName: string, vpnServerConfigurationName: string, configurationPolicyGroupName: string, vpnServerConfigurationPolicyGroupParameters: VpnServerConfigurationPolicyGroup, options?: ConfigurationPolicyGroupsCreateOrUpdateOptionalParams): Promise, ConfigurationPolicyGroupsCreateOrUpdateResponse>>; @@ -1913,6 +2174,9 @@ export interface ConfigurationPolicyGroupsListByVpnServerConfigurationOptionalPa // @public export type ConfigurationPolicyGroupsListByVpnServerConfigurationResponse = ListVpnServerConfigurationPolicyGroupsResult; +// @public +export type ConfigurationType = string; + // @public export interface ConnectionMonitor { autoStart?: boolean; @@ -2214,6 +2478,77 @@ export interface ConnectionStateSnapshot { // @public export type ConnectionStatus = string; +// @public +export type ConnectivityConfiguration = ChildResource & { + readonly systemData?: SystemData; + description?: string; + connectivityTopology?: ConnectivityTopology; + hubs?: Hub[]; + isGlobal?: IsGlobal; + appliesToGroups?: ConnectivityGroupItem[]; + readonly provisioningState?: ProvisioningState; + deleteExistingPeering?: DeleteExistingPeering; +}; + +// @public +export interface ConnectivityConfigurationListResult { + nextLink?: string; + value?: ConnectivityConfiguration[]; +} + +// @public +export interface ConnectivityConfigurations { + beginDelete(resourceGroupName: string, networkManagerName: string, configurationName: string, options?: ConnectivityConfigurationsDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, networkManagerName: string, configurationName: string, options?: ConnectivityConfigurationsDeleteOptionalParams): Promise; + createOrUpdate(resourceGroupName: string, networkManagerName: string, configurationName: string, connectivityConfiguration: ConnectivityConfiguration, options?: ConnectivityConfigurationsCreateOrUpdateOptionalParams): Promise; + get(resourceGroupName: string, networkManagerName: string, configurationName: string, options?: ConnectivityConfigurationsGetOptionalParams): Promise; + list(resourceGroupName: string, networkManagerName: string, options?: ConnectivityConfigurationsListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface ConnectivityConfigurationsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ConnectivityConfigurationsCreateOrUpdateResponse = ConnectivityConfiguration; + +// @public +export interface ConnectivityConfigurationsDeleteHeaders { + location?: string; +} + +// @public +export interface ConnectivityConfigurationsDeleteOptionalParams extends coreClient.OperationOptions { + force?: boolean; + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export interface ConnectivityConfigurationsGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ConnectivityConfigurationsGetResponse = ConnectivityConfiguration; + +// @public +export interface ConnectivityConfigurationsListNextOptionalParams extends coreClient.OperationOptions { + skipToken?: string; + top?: number; +} + +// @public +export type ConnectivityConfigurationsListNextResponse = ConnectivityConfigurationListResult; + +// @public +export interface ConnectivityConfigurationsListOptionalParams extends coreClient.OperationOptions { + skipToken?: string; + top?: number; +} + +// @public +export type ConnectivityConfigurationsListResponse = ConnectivityConfigurationListResult; + // @public export interface ConnectivityDestination { address?: string; @@ -2221,6 +2556,14 @@ export interface ConnectivityDestination { resourceId?: string; } +// @public +export interface ConnectivityGroupItem { + groupConnectivity: GroupConnectivity; + isGlobal?: IsGlobal; + networkGroupId: string; + useHubGateway?: UseHubGateway; +} + // @public export interface ConnectivityHop { readonly address?: string; @@ -2270,6 +2613,9 @@ export interface ConnectivitySource { resourceId: string; } +// @public +export type ConnectivityTopology = string; + // @public export type Container = SubResource & {}; @@ -2305,6 +2651,16 @@ export interface ContainerNetworkInterfaceIpConfiguration { // @public export type CoverageLevel = string; +// @public +export type CreatedByType = string; + +// @public +export interface CrossTenantScopes { + readonly managementGroups?: string[]; + readonly subscriptions?: string[]; + readonly tenantId?: string; +} + // @public export interface CustomDnsConfigPropertiesFormat { fqdn?: string; @@ -2322,6 +2678,7 @@ export type CustomIpPrefix = Resource & { customIpPrefixParent?: SubResource; readonly childCustomIpPrefixes?: SubResource[]; commissionedState?: CommissionedState; + noInternetAdvertise?: boolean; readonly publicIpPrefixes?: SubResource[]; readonly resourceGuid?: string; readonly failedReason?: string; @@ -2558,6 +2915,21 @@ export interface DdosSettings { // @public export type DdosSettingsProtectionCoverage = string; +// @public +export type DefaultAdminRule = BaseAdminRule & { + readonly description?: string; + flag?: string; + readonly protocol?: SecurityConfigurationRuleProtocol; + readonly sources?: AddressPrefixItem[]; + readonly destinations?: AddressPrefixItem[]; + readonly sourcePortRanges?: string[]; + readonly destinationPortRanges?: string[]; + readonly access?: SecurityConfigurationRuleAccess; + readonly priority?: number; + readonly direction?: SecurityConfigurationRuleDirection; + readonly provisioningState?: ProvisioningState; +}; + // @public export interface DefaultSecurityRules { get(resourceGroupName: string, networkSecurityGroupName: string, defaultSecurityRuleName: string, options?: DefaultSecurityRulesGetOptionalParams): Promise; @@ -2601,9 +2973,15 @@ export interface DeleteBastionShareableLinkOptionalParams extends coreClient.Ope updateIntervalInMs?: number; } +// @public +export type DeleteExistingPeering = string; + // @public export type DeleteOptions = string; +// @public +export type DeploymentStatus = string; + // @public export type DestinationPortBehavior = string; @@ -2741,6 +3119,51 @@ export interface DscpConfigurationOperations { listAll(options?: DscpConfigurationListAllOptionalParams): PagedAsyncIterableIterator; } +// @public +export type EffectiveAdminRuleKind = string; + +// @public +export interface EffectiveBaseSecurityAdminRule { + configurationDescription?: string; + id?: string; + kind: "Custom" | "Default"; + ruleCollectionAppliesToGroups?: NetworkManagerSecurityGroupItem[]; + ruleCollectionDescription?: string; + ruleGroups?: ConfigurationGroup[]; +} + +// @public (undocumented) +export type EffectiveBaseSecurityAdminRuleUnion = EffectiveBaseSecurityAdminRule | EffectiveSecurityAdminRule | EffectiveDefaultSecurityAdminRule; + +// @public +export interface EffectiveConnectivityConfiguration { + appliesToGroups?: ConnectivityGroupItem[]; + configurationGroups?: ConfigurationGroup[]; + connectivityTopology?: ConnectivityTopology; + deleteExistingPeering?: DeleteExistingPeering; + description?: string; + hubs?: Hub[]; + id?: string; + isGlobal?: IsGlobal; + readonly provisioningState?: ProvisioningState; +} + +// @public +export type EffectiveDefaultSecurityAdminRule = EffectiveBaseSecurityAdminRule & { + kind: "Default"; + readonly description?: string; + flag?: string; + readonly protocol?: SecurityConfigurationRuleProtocol; + readonly sources?: AddressPrefixItem[]; + readonly destinations?: AddressPrefixItem[]; + readonly sourcePortRanges?: string[]; + readonly destinationPortRanges?: string[]; + readonly access?: SecurityConfigurationRuleAccess; + readonly priority?: number; + readonly direction?: SecurityConfigurationRuleDirection; + readonly provisioningState?: ProvisioningState; +}; + // @public export interface EffectiveNetworkSecurityGroup { association?: EffectiveNetworkSecurityGroupAssociation; @@ -2810,6 +3233,21 @@ export interface EffectiveRoutesParameters { // @public export type EffectiveRouteState = string; +// @public +export type EffectiveSecurityAdminRule = EffectiveBaseSecurityAdminRule & { + kind: "Custom"; + description?: string; + protocol?: SecurityConfigurationRuleProtocol; + sources?: AddressPrefixItem[]; + destinations?: AddressPrefixItem[]; + sourcePortRanges?: string[]; + destinationPortRanges?: string[]; + access?: SecurityConfigurationRuleAccess; + priority?: number; + direction?: SecurityConfigurationRuleDirection; + readonly provisioningState?: ProvisioningState; +}; + // @public export type EffectiveSecurityRuleProtocol = string; @@ -2879,8 +3317,9 @@ export interface ExclusionManagedRuleSet { } // @public -export interface ExplicitProxySettings { +export interface ExplicitProxy { enableExplicitProxy?: boolean; + enablePacFile?: boolean; httpPort?: number; httpsPort?: number; pacFile?: string; @@ -3967,22 +4406,61 @@ export interface ExpressRoutePortsUpdateTagsOptionalParams extends coreClient.Op export type ExpressRoutePortsUpdateTagsResponse = ExpressRoutePort; // @public -export type ExpressRouteServiceProvider = Resource & { - peeringLocations?: string[]; - bandwidthsOffered?: ExpressRouteServiceProviderBandwidthsOffered[]; - readonly provisioningState?: ProvisioningState; +export type ExpressRouteProviderPort = Resource & { + readonly etag?: string; + readonly portPairDescriptor?: string; + readonly primaryAzurePort?: string; + readonly secondaryAzurePort?: string; + peeringLocation?: string; + overprovisionFactor?: number; + portBandwidthInMbps?: number; + usedBandwidthInMbps?: number; + remainingBandwidthInMbps?: number; }; // @public -export interface ExpressRouteServiceProviderBandwidthsOffered { - offerName?: string; - valueInMbps?: number; +export interface ExpressRouteProviderPortListResult { + readonly nextLink?: string; + value?: ExpressRouteProviderPort[]; } // @public -export interface ExpressRouteServiceProviderListResult { - nextLink?: string; - value?: ExpressRouteServiceProvider[]; +export interface ExpressRouteProviderPortOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ExpressRouteProviderPortResponse = ExpressRouteProviderPort; + +// @public +export interface ExpressRouteProviderPortsLocation { + list(options?: ExpressRouteProviderPortsLocationListOptionalParams): Promise; +} + +// @public +export interface ExpressRouteProviderPortsLocationListOptionalParams extends coreClient.OperationOptions { + filter?: string; +} + +// @public +export type ExpressRouteProviderPortsLocationListResponse = ExpressRouteProviderPortListResult; + +// @public +export type ExpressRouteServiceProvider = Resource & { + peeringLocations?: string[]; + bandwidthsOffered?: ExpressRouteServiceProviderBandwidthsOffered[]; + readonly provisioningState?: ProvisioningState; +}; + +// @public +export interface ExpressRouteServiceProviderBandwidthsOffered { + offerName?: string; + valueInMbps?: number; +} + +// @public +export interface ExpressRouteServiceProviderListResult { + nextLink?: string; + value?: ExpressRouteServiceProvider[]; } // @public @@ -4104,7 +4582,7 @@ export type FirewallPolicy = Resource & { snat?: FirewallPolicySnat; sql?: FirewallPolicySQL; dnsSettings?: DnsSettings; - explicitProxySettings?: ExplicitProxySettings; + explicitProxy?: ExplicitProxy; intrusionDetection?: FirewallPolicyIntrusionDetection; transportSecurity?: FirewallPolicyTransportSecurity; sku?: FirewallPolicySku; @@ -4390,6 +4868,7 @@ export type FirewallPolicySkuTier = string; // @public export interface FirewallPolicySnat { + autoLearnPrivateRanges?: AutoLearnPrivateRangesMode; privateRanges?: string[]; } @@ -4617,6 +5096,9 @@ export interface GetVpnSitesConfigurationRequest { vpnSites?: string[]; } +// @public +export type GroupConnectivity = string; + // @public export interface HopLink { readonly context?: { @@ -4650,6 +5132,12 @@ export interface HttpHeader { // @public export type HttpMethod = string; +// @public +export interface Hub { + resourceId?: string; + resourceType?: string; +} + // @public export type HubBgpConnectionStatus = string; @@ -5173,6 +5661,11 @@ export interface IpGroupsUpdateGroupsOptionalParams extends coreClient.Operation // @public export type IpGroupsUpdateGroupsResponse = IpGroup; +// @public +export interface IPPrefixesList { + ipPrefixes?: string[]; +} + // @public export type IpsecEncryption = string; @@ -5215,6 +5708,9 @@ export interface Ipv6ExpressRouteCircuitPeeringConfig { // @public export type IPVersion = string; +// @public +export type IsGlobal = string; + // @public export type IssueType = string; @@ -5226,6 +5722,22 @@ export enum KnownAccess { Deny = "Deny" } +// @public +export enum KnownAddressPrefixType { + // (undocumented) + IPPrefix = "IPPrefix", + // (undocumented) + ServiceTag = "ServiceTag" +} + +// @public +export enum KnownAdminRuleKind { + // (undocumented) + Custom = "Custom", + // (undocumented) + Default = "Default" +} + // @public export enum KnownApplicationGatewayBackendHealthServerHealth { // (undocumented) @@ -5403,7 +5915,11 @@ export enum KnownApplicationGatewaySslPolicyName { // (undocumented) AppGwSslPolicy20170401 = "AppGwSslPolicy20170401", // (undocumented) - AppGwSslPolicy20170401S = "AppGwSslPolicy20170401S" + AppGwSslPolicy20170401S = "AppGwSslPolicy20170401S", + // (undocumented) + AppGwSslPolicy20220101 = "AppGwSslPolicy20220101", + // (undocumented) + AppGwSslPolicy20220101S = "AppGwSslPolicy20220101S" } // @public @@ -5411,6 +5927,8 @@ export enum KnownApplicationGatewaySslPolicyType { // (undocumented) Custom = "Custom", // (undocumented) + CustomV2 = "CustomV2", + // (undocumented) Predefined = "Predefined" } @@ -5421,7 +5939,9 @@ export enum KnownApplicationGatewaySslProtocol { // (undocumented) TLSv11 = "TLSv1_1", // (undocumented) - TLSv12 = "TLSv1_2" + TLSv12 = "TLSv1_2", + // (undocumented) + TLSv13 = "TLSv1_3" } // @public @@ -5460,6 +5980,14 @@ export enum KnownAuthorizationUseStatus { InUse = "InUse" } +// @public +export enum KnownAutoLearnPrivateRangesMode { + // (undocumented) + Disabled = "Disabled", + // (undocumented) + Enabled = "Enabled" +} + // @public export enum KnownAzureFirewallApplicationRuleProtocolType { // (undocumented) @@ -5571,6 +6099,8 @@ export enum KnownCommissionedState { // (undocumented) Commissioned = "Commissioned", // (undocumented) + CommissionedNoInternetAdvertise = "CommissionedNoInternetAdvertise", + // (undocumented) Commissioning = "Commissioning", // (undocumented) Decommissioning = "Decommissioning", @@ -5582,6 +6112,14 @@ export enum KnownCommissionedState { Provisioning = "Provisioning" } +// @public +export enum KnownConfigurationType { + // (undocumented) + Connectivity = "Connectivity", + // (undocumented) + SecurityAdmin = "SecurityAdmin" +} + // @public export enum KnownConnectionMonitorEndpointFilterItemType { // (undocumented) @@ -5644,6 +6182,14 @@ export enum KnownConnectionStatus { Unknown = "Unknown" } +// @public +export enum KnownConnectivityTopology { + // (undocumented) + HubAndSpoke = "HubAndSpoke", + // (undocumented) + Mesh = "Mesh" +} + // @public export enum KnownCoverageLevel { // (undocumented) @@ -5660,6 +6206,18 @@ export enum KnownCoverageLevel { Low = "Low" } +// @public +export enum KnownCreatedByType { + // (undocumented) + Application = "Application", + // (undocumented) + Key = "Key", + // (undocumented) + ManagedIdentity = "ManagedIdentity", + // (undocumented) + User = "User" +} + // @public export enum KnownDdosCustomPolicyProtocol { // (undocumented) @@ -5690,6 +6248,14 @@ export enum KnownDdosSettingsProtectionCoverage { Standard = "Standard" } +// @public +export enum KnownDeleteExistingPeering { + // (undocumented) + False = "False", + // (undocumented) + True = "True" +} + // @public export enum KnownDeleteOptions { // (undocumented) @@ -5698,6 +6264,18 @@ export enum KnownDeleteOptions { Detach = "Detach" } +// @public +export enum KnownDeploymentStatus { + // (undocumented) + Deployed = "Deployed", + // (undocumented) + Deploying = "Deploying", + // (undocumented) + Failed = "Failed", + // (undocumented) + NotStarted = "NotStarted" +} + // @public export enum KnownDestinationPortBehavior { // (undocumented) @@ -5734,6 +6312,14 @@ export enum KnownDirection { Outbound = "Outbound" } +// @public +export enum KnownEffectiveAdminRuleKind { + // (undocumented) + Custom = "Custom", + // (undocumented) + Default = "Default" +} + // @public export enum KnownEffectiveRouteSource { // (undocumented) @@ -5766,11 +6352,15 @@ export enum KnownEffectiveSecurityRuleProtocol { // @public export enum KnownEndpointType { + // (undocumented) + AzureArcVM = "AzureArcVM", // (undocumented) AzureSubnet = "AzureSubnet", // (undocumented) AzureVM = "AzureVM", // (undocumented) + AzureVmss = "AzureVMSS", + // (undocumented) AzureVNet = "AzureVNet", // (undocumented) ExternalAddress = "ExternalAddress", @@ -6024,6 +6614,14 @@ export enum KnownGatewayLoadBalancerTunnelProtocol { Vxlan = "VXLAN" } +// @public +export enum KnownGroupConnectivity { + // (undocumented) + DirectlyConnected = "DirectlyConnected", + // (undocumented) + None = "None" +} + // @public export enum KnownHttpConfigurationMethod { // (undocumented) @@ -6184,6 +6782,14 @@ export enum KnownIPVersion { IPv6 = "IPv6" } +// @public +export enum KnownIsGlobal { + // (undocumented) + False = "False", + // (undocumented) + True = "True" +} + // @public export enum KnownIssueType { // (undocumented) @@ -6268,6 +6874,14 @@ export enum KnownNatGatewaySkuName { Standard = "Standard" } +// @public +export enum KnownNetworkIntentPolicyBasedService { + // (undocumented) + All = "All", + // (undocumented) + None = "None" +} + // @public export enum KnownNetworkInterfaceAuxiliaryMode { // (undocumented) @@ -6608,6 +7222,54 @@ export enum KnownRoutingState { Provisioning = "Provisioning" } +// @public +export enum KnownScopeConnectionState { + // (undocumented) + Conflict = "Conflict", + // (undocumented) + Connected = "Connected", + // (undocumented) + Pending = "Pending", + // (undocumented) + Rejected = "Rejected", + // (undocumented) + Revoked = "Revoked" +} + +// @public +export enum KnownSecurityConfigurationRuleAccess { + // (undocumented) + Allow = "Allow", + // (undocumented) + AlwaysAllow = "AlwaysAllow", + // (undocumented) + Deny = "Deny" +} + +// @public +export enum KnownSecurityConfigurationRuleDirection { + // (undocumented) + Inbound = "Inbound", + // (undocumented) + Outbound = "Outbound" +} + +// @public +export enum KnownSecurityConfigurationRuleProtocol { + // (undocumented) + Ah = "Ah", + // (undocumented) + Any = "Any", + // (undocumented) + Esp = "Esp", + // (undocumented) + Icmp = "Icmp", + // (undocumented) + Tcp = "Tcp", + // (undocumented) + Udp = "Udp" +} + // @public export enum KnownSecurityPartnerProviderConnectionStatus { // (undocumented) @@ -6716,6 +7378,14 @@ export enum KnownUsageUnit { Count = "Count" } +// @public +export enum KnownUseHubGateway { + // (undocumented) + False = "False", + // (undocumented) + True = "True" +} + // @public export enum KnownVerbosityLevel { // (undocumented) @@ -7050,6 +7720,8 @@ export enum KnownWebApplicationFirewallMode { // @public export enum KnownWebApplicationFirewallOperator { + // (undocumented) + Any = "Any", // (undocumented) BeginsWith = "BeginsWith", // (undocumented) @@ -7114,6 +7786,20 @@ export enum KnownWebApplicationFirewallTransform { UrlEncode = "UrlEncode" } +// @public +export interface ListActiveConnectivityConfigurationsOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ListActiveConnectivityConfigurationsResponse = ActiveConnectivityConfigurationsListResult; + +// @public +export interface ListActiveSecurityAdminRulesOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ListActiveSecurityAdminRulesResponse = ActiveSecurityAdminRulesListResult; + // @public export interface ListHubRouteTablesResult { nextLink?: string; @@ -7126,6 +7812,20 @@ export interface ListHubVirtualNetworkConnectionsResult { value?: HubVirtualNetworkConnection[]; } +// @public +export interface ListNetworkManagerEffectiveConnectivityConfigurationsOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ListNetworkManagerEffectiveConnectivityConfigurationsResponse = NetworkManagerEffectiveConnectivityConfigurationListResult; + +// @public +export interface ListNetworkManagerEffectiveSecurityAdminRulesOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ListNetworkManagerEffectiveSecurityAdminRulesResponse = NetworkManagerEffectiveSecurityAdminRulesListResult; + // @public export interface ListP2SVpnGatewaysResult { nextLink?: string; @@ -7716,6 +8416,50 @@ export interface ManagedServiceIdentity { }; } +// @public +export interface ManagementGroupNetworkManagerConnections { + createOrUpdate(managementGroupId: string, networkManagerConnectionName: string, parameters: NetworkManagerConnection, options?: ManagementGroupNetworkManagerConnectionsCreateOrUpdateOptionalParams): Promise; + delete(managementGroupId: string, networkManagerConnectionName: string, options?: ManagementGroupNetworkManagerConnectionsDeleteOptionalParams): Promise; + get(managementGroupId: string, networkManagerConnectionName: string, options?: ManagementGroupNetworkManagerConnectionsGetOptionalParams): Promise; + list(managementGroupId: string, options?: ManagementGroupNetworkManagerConnectionsListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface ManagementGroupNetworkManagerConnectionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ManagementGroupNetworkManagerConnectionsCreateOrUpdateResponse = NetworkManagerConnection; + +// @public +export interface ManagementGroupNetworkManagerConnectionsDeleteOptionalParams extends coreClient.OperationOptions { +} + +// @public +export interface ManagementGroupNetworkManagerConnectionsGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ManagementGroupNetworkManagerConnectionsGetResponse = NetworkManagerConnection; + +// @public +export interface ManagementGroupNetworkManagerConnectionsListNextOptionalParams extends coreClient.OperationOptions { + skipToken?: string; + top?: number; +} + +// @public +export type ManagementGroupNetworkManagerConnectionsListNextResponse = NetworkManagerConnectionListResult; + +// @public +export interface ManagementGroupNetworkManagerConnectionsListOptionalParams extends coreClient.OperationOptions { + skipToken?: string; + top?: number; +} + +// @public +export type ManagementGroupNetworkManagerConnectionsListResponse = NetworkManagerConnectionListResult; + // @public export interface MatchCondition { matchValues: string[]; @@ -7945,11 +8689,86 @@ export interface NetworkConfigurationDiagnosticResult { profile?: NetworkConfigurationDiagnosticProfile; } +// @public +export type NetworkGroup = ChildResource & { + readonly systemData?: SystemData; + description?: string; + readonly provisioningState?: ProvisioningState; +}; + +// @public +export interface NetworkGroupListResult { + nextLink?: string; + value?: NetworkGroup[]; +} + +// @public +export interface NetworkGroups { + beginDelete(resourceGroupName: string, networkManagerName: string, networkGroupName: string, options?: NetworkGroupsDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, networkManagerName: string, networkGroupName: string, options?: NetworkGroupsDeleteOptionalParams): Promise; + createOrUpdate(resourceGroupName: string, networkManagerName: string, networkGroupName: string, parameters: NetworkGroup, options?: NetworkGroupsCreateOrUpdateOptionalParams): Promise; + get(resourceGroupName: string, networkManagerName: string, networkGroupName: string, options?: NetworkGroupsGetOptionalParams): Promise; + list(resourceGroupName: string, networkManagerName: string, options?: NetworkGroupsListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface NetworkGroupsCreateOrUpdateHeaders { + eTag?: string; +} + +// @public +export interface NetworkGroupsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + ifMatch?: string; +} + +// @public +export type NetworkGroupsCreateOrUpdateResponse = NetworkGroupsCreateOrUpdateHeaders & NetworkGroup; + +// @public +export interface NetworkGroupsDeleteHeaders { + location?: string; +} + +// @public +export interface NetworkGroupsDeleteOptionalParams extends coreClient.OperationOptions { + force?: boolean; + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export interface NetworkGroupsGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type NetworkGroupsGetResponse = NetworkGroup; + +// @public +export interface NetworkGroupsListNextOptionalParams extends coreClient.OperationOptions { + skipToken?: string; + top?: number; +} + +// @public +export type NetworkGroupsListNextResponse = NetworkGroupListResult; + +// @public +export interface NetworkGroupsListOptionalParams extends coreClient.OperationOptions { + skipToken?: string; + top?: number; +} + +// @public +export type NetworkGroupsListResponse = NetworkGroupListResult; + // @public export type NetworkIntentPolicy = Resource & { readonly etag?: string; }; +// @public +export type NetworkIntentPolicyBasedService = string; + // @public export interface NetworkIntentPolicyConfiguration { networkIntentPolicyName?: string; @@ -8361,7 +9180,9 @@ export class NetworkManagementClient extends coreClient.ServiceClient { $host: string; constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: NetworkManagementClientOptionalParams); // (undocumented) - apiVersion: string; + adminRuleCollections: AdminRuleCollections; + // (undocumented) + adminRules: AdminRules; // (undocumented) applicationGatewayPrivateEndpointConnections: ApplicationGatewayPrivateEndpointConnections; // (undocumented) @@ -8400,6 +9221,8 @@ export class NetworkManagementClient extends coreClient.ServiceClient { // (undocumented) connectionMonitors: ConnectionMonitors; // (undocumented) + connectivityConfigurations: ConnectivityConfigurations; + // (undocumented) customIPPrefixes: CustomIPPrefixes; // (undocumented) ddosCustomPolicies: DdosCustomPolicies; @@ -8433,6 +9256,9 @@ export class NetworkManagementClient extends coreClient.ServiceClient { expressRoutePorts: ExpressRoutePorts; // (undocumented) expressRoutePortsLocations: ExpressRoutePortsLocations; + expressRouteProviderPort(providerport: string, options?: ExpressRouteProviderPortOptionalParams): Promise; + // (undocumented) + expressRouteProviderPortsLocation: ExpressRouteProviderPortsLocation; // (undocumented) expressRouteServiceProviders: ExpressRouteServiceProviders; // (undocumented) @@ -8459,8 +9285,12 @@ export class NetworkManagementClient extends coreClient.ServiceClient { ipAllocations: IpAllocations; // (undocumented) ipGroups: IpGroups; + listActiveConnectivityConfigurations(resourceGroupName: string, networkManagerName: string, parameters: ActiveConfigurationParameter, options?: ListActiveConnectivityConfigurationsOptionalParams): Promise; + listActiveSecurityAdminRules(resourceGroupName: string, networkManagerName: string, parameters: ActiveConfigurationParameter, options?: ListActiveSecurityAdminRulesOptionalParams): Promise; listBastionShareableLink(resourceGroupName: string, bastionHostName: string, bslRequest: BastionShareableLinkListRequest, options?: GetBastionShareableLinkOptionalParams): PagedAsyncIterableIterator; listDisconnectActiveSessions(resourceGroupName: string, bastionHostName: string, sessionIds: SessionIds, options?: DisconnectActiveSessionsOptionalParams): PagedAsyncIterableIterator; + listNetworkManagerEffectiveConnectivityConfigurations(resourceGroupName: string, virtualNetworkName: string, parameters: QueryRequestOptions, options?: ListNetworkManagerEffectiveConnectivityConfigurationsOptionalParams): Promise; + listNetworkManagerEffectiveSecurityAdminRules(resourceGroupName: string, virtualNetworkName: string, parameters: QueryRequestOptions, options?: ListNetworkManagerEffectiveSecurityAdminRulesOptionalParams): Promise; // (undocumented) loadBalancerBackendAddressPools: LoadBalancerBackendAddressPools; // (undocumented) @@ -8478,10 +9308,14 @@ export class NetworkManagementClient extends coreClient.ServiceClient { // (undocumented) localNetworkGateways: LocalNetworkGateways; // (undocumented) + managementGroupNetworkManagerConnections: ManagementGroupNetworkManagerConnections; + // (undocumented) natGateways: NatGateways; // (undocumented) natRules: NatRules; // (undocumented) + networkGroups: NetworkGroups; + // (undocumented) networkInterfaceIPConfigurations: NetworkInterfaceIPConfigurations; // (undocumented) networkInterfaceLoadBalancers: NetworkInterfaceLoadBalancers; @@ -8490,6 +9324,12 @@ export class NetworkManagementClient extends coreClient.ServiceClient { // (undocumented) networkInterfaceTapConfigurations: NetworkInterfaceTapConfigurations; // (undocumented) + networkManagerCommits: NetworkManagerCommits; + // (undocumented) + networkManagerDeploymentStatusOperations: NetworkManagerDeploymentStatusOperations; + // (undocumented) + networkManagers: NetworkManagers; + // (undocumented) networkProfiles: NetworkProfiles; // (undocumented) networkSecurityGroups: NetworkSecurityGroups; @@ -8528,6 +9368,10 @@ export class NetworkManagementClient extends coreClient.ServiceClient { // (undocumented) routingIntentOperations: RoutingIntentOperations; // (undocumented) + scopeConnections: ScopeConnections; + // (undocumented) + securityAdminConfigurations: SecurityAdminConfigurations; + // (undocumented) securityPartnerProviders: SecurityPartnerProviders; // (undocumented) securityRules: SecurityRules; @@ -8542,9 +9386,13 @@ export class NetworkManagementClient extends coreClient.ServiceClient { // (undocumented) serviceTags: ServiceTags; // (undocumented) + staticMembers: StaticMembers; + // (undocumented) subnets: Subnets; // (undocumented) subscriptionId: string; + // (undocumented) + subscriptionNetworkManagerConnections: SubscriptionNetworkManagerConnections; supportedSecurityProviders(resourceGroupName: string, virtualWANName: string, options?: SupportedSecurityProvidersOptionalParams): Promise; // (undocumented) usages: Usages; @@ -8605,12 +9453,208 @@ export class NetworkManagementClient extends coreClient.ServiceClient { } // @public -export interface NetworkManagementClientOptionalParams extends coreClient.ServiceClientOptions { - $host?: string; - apiVersion?: string; - endpoint?: string; +export interface NetworkManagementClientOptionalParams extends coreClient.ServiceClientOptions { + $host?: string; + endpoint?: string; +} + +// @public +export type NetworkManager = Resource & { + readonly etag?: string; + readonly systemData?: SystemData; + description?: string; + networkManagerScopes?: NetworkManagerPropertiesNetworkManagerScopes; + networkManagerScopeAccesses?: ConfigurationType[]; + readonly provisioningState?: ProvisioningState; +}; + +// @public +export interface NetworkManagerCommit { + readonly commitId?: string; + commitType: ConfigurationType; + configurationIds?: string[]; + targetLocations: string[]; +} + +// @public +export interface NetworkManagerCommits { + beginPost(resourceGroupName: string, networkManagerName: string, parameters: NetworkManagerCommit, options?: NetworkManagerCommitsPostOptionalParams): Promise, NetworkManagerCommitsPostResponse>>; + beginPostAndWait(resourceGroupName: string, networkManagerName: string, parameters: NetworkManagerCommit, options?: NetworkManagerCommitsPostOptionalParams): Promise; +} + +// @public +export interface NetworkManagerCommitsPostHeaders { + location?: string; +} + +// @public +export interface NetworkManagerCommitsPostOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type NetworkManagerCommitsPostResponse = NetworkManagerCommit; + +// @public +export type NetworkManagerConnection = ChildResource & { + readonly systemData?: SystemData; + networkManagerId?: string; + readonly connectionState?: ScopeConnectionState; + description?: string; +}; + +// @public +export interface NetworkManagerConnectionListResult { + nextLink?: string; + value?: NetworkManagerConnection[]; +} + +// @public +export interface NetworkManagerDeploymentStatus { + commitTime?: Date; + configurationIds?: string[]; + deploymentStatus?: DeploymentStatus; + deploymentType?: ConfigurationType; + errorMessage?: string; + region?: string; +} + +// @public +export interface NetworkManagerDeploymentStatusListOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type NetworkManagerDeploymentStatusListResponse = NetworkManagerDeploymentStatusListResult; + +// @public +export interface NetworkManagerDeploymentStatusListResult { + skipToken?: string; + value?: NetworkManagerDeploymentStatus[]; +} + +// @public +export interface NetworkManagerDeploymentStatusOperations { + list(resourceGroupName: string, networkManagerName: string, parameters: NetworkManagerDeploymentStatusParameter, options?: NetworkManagerDeploymentStatusListOptionalParams): Promise; +} + +// @public +export interface NetworkManagerDeploymentStatusParameter { + deploymentTypes?: ConfigurationType[]; + regions?: string[]; + skipToken?: string; +} + +// @public +export interface NetworkManagerEffectiveConnectivityConfigurationListResult { + skipToken?: string; + value?: EffectiveConnectivityConfiguration[]; +} + +// @public +export interface NetworkManagerEffectiveSecurityAdminRulesListResult { + skipToken?: string; + value?: EffectiveBaseSecurityAdminRuleUnion[]; +} + +// @public +export interface NetworkManagerListResult { + nextLink?: string; + value?: NetworkManager[]; +} + +// @public +export interface NetworkManagerPropertiesNetworkManagerScopes { + readonly crossTenantScopes?: CrossTenantScopes[]; + managementGroups?: string[]; + subscriptions?: string[]; +} + +// @public +export interface NetworkManagers { + beginDelete(resourceGroupName: string, networkManagerName: string, options?: NetworkManagersDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, networkManagerName: string, options?: NetworkManagersDeleteOptionalParams): Promise; + createOrUpdate(resourceGroupName: string, networkManagerName: string, parameters: NetworkManager, options?: NetworkManagersCreateOrUpdateOptionalParams): Promise; + get(resourceGroupName: string, networkManagerName: string, options?: NetworkManagersGetOptionalParams): Promise; + list(resourceGroupName: string, options?: NetworkManagersListOptionalParams): PagedAsyncIterableIterator; + listBySubscription(options?: NetworkManagersListBySubscriptionOptionalParams): PagedAsyncIterableIterator; + patch(resourceGroupName: string, networkManagerName: string, parameters: PatchObject, options?: NetworkManagersPatchOptionalParams): Promise; +} + +// @public +export interface NetworkManagersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type NetworkManagersCreateOrUpdateResponse = NetworkManager; + +// @public +export interface NetworkManagersDeleteHeaders { + location?: string; +} + +// @public +export interface NetworkManagersDeleteOptionalParams extends coreClient.OperationOptions { + force?: boolean; + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export interface NetworkManagerSecurityGroupItem { + networkGroupId: string; +} + +// @public +export interface NetworkManagersGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type NetworkManagersGetResponse = NetworkManager; + +// @public +export interface NetworkManagersListBySubscriptionNextOptionalParams extends coreClient.OperationOptions { + skipToken?: string; + top?: number; +} + +// @public +export type NetworkManagersListBySubscriptionNextResponse = NetworkManagerListResult; + +// @public +export interface NetworkManagersListBySubscriptionOptionalParams extends coreClient.OperationOptions { + skipToken?: string; + top?: number; +} + +// @public +export type NetworkManagersListBySubscriptionResponse = NetworkManagerListResult; + +// @public +export interface NetworkManagersListNextOptionalParams extends coreClient.OperationOptions { + skipToken?: string; + top?: number; +} + +// @public +export type NetworkManagersListNextResponse = NetworkManagerListResult; + +// @public +export interface NetworkManagersListOptionalParams extends coreClient.OperationOptions { + skipToken?: string; + top?: number; +} + +// @public +export type NetworkManagersListResponse = NetworkManagerListResult; + +// @public +export interface NetworkManagersPatchOptionalParams extends coreClient.OperationOptions { } +// @public +export type NetworkManagersPatchResponse = NetworkManager; + // @public export type NetworkOperationStatus = string; @@ -8711,6 +9755,7 @@ export type NetworkRule = FirewallPolicyRule & { // @public export type NetworkSecurityGroup = Resource & { readonly etag?: string; + flushConnection?: boolean; securityRules?: SecurityRule[]; readonly defaultSecurityRules?: SecurityRule[]; readonly networkInterfaces?: NetworkInterface[]; @@ -9423,8 +10468,10 @@ export interface P2SVpnProfileParameters { export interface PacketCapture { bytesToCapturePerPacket?: number; filters?: PacketCaptureFilter[]; + scope?: PacketCaptureMachineScope; storageLocation: PacketCaptureStorageLocation; target: string; + targetType?: PacketCaptureTargetType; timeLimitInSeconds?: number; totalBytesPerSession?: number; } @@ -9443,12 +10490,20 @@ export interface PacketCaptureListResult { value?: PacketCaptureResult[]; } +// @public +export interface PacketCaptureMachineScope { + exclude?: string[]; + include?: string[]; +} + // @public export interface PacketCaptureParameters { bytesToCapturePerPacket?: number; filters?: PacketCaptureFilter[]; + scope?: PacketCaptureMachineScope; storageLocation: PacketCaptureStorageLocation; target: string; + targetType?: PacketCaptureTargetType; timeLimitInSeconds?: number; totalBytesPerSession?: number; } @@ -9471,8 +10526,10 @@ export interface PacketCaptureResult { readonly id?: string; readonly name?: string; readonly provisioningState?: ProvisioningState; + scope?: PacketCaptureMachineScope; storageLocation?: PacketCaptureStorageLocation; target?: string; + targetType?: PacketCaptureTargetType; timeLimitInSeconds?: number; totalBytesPerSession?: number; } @@ -9547,6 +10604,16 @@ export interface PacketCaptureStorageLocation { storagePath?: string; } +// @public +export type PacketCaptureTargetType = "AzureVM" | "AzureVMSS"; + +// @public +export interface PatchObject { + tags?: { + [propertyName: string]: string; + }; +} + // @public export type PatchRouteFilter = SubResource & { readonly name?: string; @@ -10461,6 +11528,11 @@ export interface QueryInboundNatRulePortMappingRequest { ipConfiguration?: SubResource; } +// @public +export interface QueryRequestOptions { + skipToken?: string; +} + // @public export interface QueryResults { matchingRecordsCount?: number; @@ -10923,6 +11995,144 @@ export interface RoutingPolicy { // @public export type RoutingState = string; +// @public +export type ScopeConnection = ChildResource & { + readonly systemData?: SystemData; + tenantId?: string; + resourceId?: string; + readonly connectionState?: ScopeConnectionState; + description?: string; +}; + +// @public +export interface ScopeConnectionListResult { + nextLink?: string; + value?: ScopeConnection[]; +} + +// @public +export interface ScopeConnections { + createOrUpdate(resourceGroupName: string, networkManagerName: string, scopeConnectionName: string, parameters: ScopeConnection, options?: ScopeConnectionsCreateOrUpdateOptionalParams): Promise; + delete(resourceGroupName: string, networkManagerName: string, scopeConnectionName: string, options?: ScopeConnectionsDeleteOptionalParams): Promise; + get(resourceGroupName: string, networkManagerName: string, scopeConnectionName: string, options?: ScopeConnectionsGetOptionalParams): Promise; + list(resourceGroupName: string, networkManagerName: string, options?: ScopeConnectionsListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface ScopeConnectionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ScopeConnectionsCreateOrUpdateResponse = ScopeConnection; + +// @public +export interface ScopeConnectionsDeleteOptionalParams extends coreClient.OperationOptions { +} + +// @public +export interface ScopeConnectionsGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ScopeConnectionsGetResponse = ScopeConnection; + +// @public +export interface ScopeConnectionsListNextOptionalParams extends coreClient.OperationOptions { + skipToken?: string; + top?: number; +} + +// @public +export type ScopeConnectionsListNextResponse = ScopeConnectionListResult; + +// @public +export interface ScopeConnectionsListOptionalParams extends coreClient.OperationOptions { + skipToken?: string; + top?: number; +} + +// @public +export type ScopeConnectionsListResponse = ScopeConnectionListResult; + +// @public +export type ScopeConnectionState = string; + +// @public +export type SecurityAdminConfiguration = ChildResource & { + readonly systemData?: SystemData; + description?: string; + applyOnNetworkIntentPolicyBasedServices?: NetworkIntentPolicyBasedService[]; + readonly provisioningState?: ProvisioningState; +}; + +// @public +export interface SecurityAdminConfigurationListResult { + nextLink?: string; + value?: SecurityAdminConfiguration[]; +} + +// @public +export interface SecurityAdminConfigurations { + beginDelete(resourceGroupName: string, networkManagerName: string, configurationName: string, options?: SecurityAdminConfigurationsDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, networkManagerName: string, configurationName: string, options?: SecurityAdminConfigurationsDeleteOptionalParams): Promise; + createOrUpdate(resourceGroupName: string, networkManagerName: string, configurationName: string, securityAdminConfiguration: SecurityAdminConfiguration, options?: SecurityAdminConfigurationsCreateOrUpdateOptionalParams): Promise; + get(resourceGroupName: string, networkManagerName: string, configurationName: string, options?: SecurityAdminConfigurationsGetOptionalParams): Promise; + list(resourceGroupName: string, networkManagerName: string, options?: SecurityAdminConfigurationsListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface SecurityAdminConfigurationsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type SecurityAdminConfigurationsCreateOrUpdateResponse = SecurityAdminConfiguration; + +// @public +export interface SecurityAdminConfigurationsDeleteHeaders { + location?: string; +} + +// @public +export interface SecurityAdminConfigurationsDeleteOptionalParams extends coreClient.OperationOptions { + force?: boolean; + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export interface SecurityAdminConfigurationsGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type SecurityAdminConfigurationsGetResponse = SecurityAdminConfiguration; + +// @public +export interface SecurityAdminConfigurationsListNextOptionalParams extends coreClient.OperationOptions { + skipToken?: string; + top?: number; +} + +// @public +export type SecurityAdminConfigurationsListNextResponse = SecurityAdminConfigurationListResult; + +// @public +export interface SecurityAdminConfigurationsListOptionalParams extends coreClient.OperationOptions { + skipToken?: string; + top?: number; +} + +// @public +export type SecurityAdminConfigurationsListResponse = SecurityAdminConfigurationListResult; + +// @public +export type SecurityConfigurationRuleAccess = string; + +// @public +export type SecurityConfigurationRuleDirection = string; + +// @public +export type SecurityConfigurationRuleProtocol = string; + // @public export interface SecurityGroupNetworkInterface { id?: string; @@ -11439,6 +12649,64 @@ export interface Sku { name?: BastionHostSkuName; } +// @public +export type StaticMember = ChildResource & { + readonly systemData?: SystemData; + resourceId?: string; + readonly region?: string; + readonly provisioningState?: ProvisioningState; +}; + +// @public +export interface StaticMemberListResult { + nextLink?: string; + value?: StaticMember[]; +} + +// @public +export interface StaticMembers { + createOrUpdate(resourceGroupName: string, networkManagerName: string, networkGroupName: string, staticMemberName: string, parameters: StaticMember, options?: StaticMembersCreateOrUpdateOptionalParams): Promise; + delete(resourceGroupName: string, networkManagerName: string, networkGroupName: string, staticMemberName: string, options?: StaticMembersDeleteOptionalParams): Promise; + get(resourceGroupName: string, networkManagerName: string, networkGroupName: string, staticMemberName: string, options?: StaticMembersGetOptionalParams): Promise; + list(resourceGroupName: string, networkManagerName: string, networkGroupName: string, options?: StaticMembersListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface StaticMembersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type StaticMembersCreateOrUpdateResponse = StaticMember; + +// @public +export interface StaticMembersDeleteOptionalParams extends coreClient.OperationOptions { +} + +// @public +export interface StaticMembersGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type StaticMembersGetResponse = StaticMember; + +// @public +export interface StaticMembersListNextOptionalParams extends coreClient.OperationOptions { + skipToken?: string; + top?: number; +} + +// @public +export type StaticMembersListNextResponse = StaticMemberListResult; + +// @public +export interface StaticMembersListOptionalParams extends coreClient.OperationOptions { + skipToken?: string; + top?: number; +} + +// @public +export type StaticMembersListResponse = StaticMemberListResult; + // @public export interface StaticRoute { addressPrefixes?: string[]; @@ -11552,6 +12820,50 @@ export interface SubResource { id?: string; } +// @public +export interface SubscriptionNetworkManagerConnections { + createOrUpdate(networkManagerConnectionName: string, parameters: NetworkManagerConnection, options?: SubscriptionNetworkManagerConnectionsCreateOrUpdateOptionalParams): Promise; + delete(networkManagerConnectionName: string, options?: SubscriptionNetworkManagerConnectionsDeleteOptionalParams): Promise; + get(networkManagerConnectionName: string, options?: SubscriptionNetworkManagerConnectionsGetOptionalParams): Promise; + list(options?: SubscriptionNetworkManagerConnectionsListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface SubscriptionNetworkManagerConnectionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type SubscriptionNetworkManagerConnectionsCreateOrUpdateResponse = NetworkManagerConnection; + +// @public +export interface SubscriptionNetworkManagerConnectionsDeleteOptionalParams extends coreClient.OperationOptions { +} + +// @public +export interface SubscriptionNetworkManagerConnectionsGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type SubscriptionNetworkManagerConnectionsGetResponse = NetworkManagerConnection; + +// @public +export interface SubscriptionNetworkManagerConnectionsListNextOptionalParams extends coreClient.OperationOptions { + skipToken?: string; + top?: number; +} + +// @public +export type SubscriptionNetworkManagerConnectionsListNextResponse = NetworkManagerConnectionListResult; + +// @public +export interface SubscriptionNetworkManagerConnectionsListOptionalParams extends coreClient.OperationOptions { + skipToken?: string; + top?: number; +} + +// @public +export type SubscriptionNetworkManagerConnectionsListResponse = NetworkManagerConnectionListResult; + // @public export interface SupportedSecurityProvidersOptionalParams extends coreClient.OperationOptions { } @@ -11562,6 +12874,16 @@ export type SupportedSecurityProvidersResponse = VirtualWanSecurityProviders; // @public export type SyncRemoteAddressSpace = string; +// @public +export interface SystemData { + createdAt?: Date; + createdBy?: string; + createdByType?: CreatedByType; + lastModifiedAt?: Date; + lastModifiedBy?: string; + lastModifiedByType?: CreatedByType; +} + // @public export interface TagsObject { tags?: { @@ -11714,6 +13036,9 @@ export interface UsagesListResult { // @public export type UsageUnit = string; +// @public +export type UseHubGateway = string; + // @public export type VerbosityLevel = string; @@ -11856,6 +13181,7 @@ export type VirtualHub = Resource & { allowBranchToBranchTraffic?: boolean; preferredRoutingGateway?: PreferredRoutingGateway; hubRoutingPreference?: HubRoutingPreference; + virtualRouterAutoScaleConfiguration?: VirtualRouterAutoScaleConfiguration; }; // @public @@ -13077,6 +14403,11 @@ export type VirtualRouter = Resource & { readonly provisioningState?: ProvisioningState; }; +// @public +export interface VirtualRouterAutoScaleConfiguration { + minCapacity?: number; +} + // @public export interface VirtualRouterListResult { nextLink?: string; diff --git a/sdk/network/arm-network/src/models/index.ts b/sdk/network/arm-network/src/models/index.ts index bda4e4888ccc..9ad51c0afe8c 100644 --- a/sdk/network/arm-network/src/models/index.ts +++ b/sdk/network/arm-network/src/models/index.ts @@ -12,11 +12,20 @@ export type FirewallPolicyRuleCollectionUnion = | FirewallPolicyRuleCollection | FirewallPolicyNatRuleCollection | FirewallPolicyFilterRuleCollection; +export type ActiveBaseSecurityAdminRuleUnion = + | ActiveBaseSecurityAdminRule + | ActiveSecurityAdminRule + | ActiveDefaultSecurityAdminRule; +export type EffectiveBaseSecurityAdminRuleUnion = + | EffectiveBaseSecurityAdminRule + | EffectiveSecurityAdminRule + | EffectiveDefaultSecurityAdminRule; export type FirewallPolicyRuleUnion = | FirewallPolicyRule | ApplicationRule | NatRule | NetworkRule; +export type BaseAdminRuleUnion = BaseAdminRule | AdminRule | DefaultAdminRule; /** An error response from the service. */ export interface CloudError { @@ -845,6 +854,12 @@ export interface AzureFirewallListResult { nextLink?: string; } +/** List of SNAT IP Prefixes learnt by firewall to not SNAT */ +export interface IPPrefixesList { + /** IP Prefix value. */ + ipPrefixes?: string[]; +} + /** Response for ListAzureFirewallFqdnTags API service call. */ export interface AzureFirewallFqdnTagListResult { /** List of Azure Firewall FQDN Tags in a resource group. */ @@ -1550,6 +1565,8 @@ export interface FirewallPolicyLogAnalyticsWorkspace { export interface FirewallPolicySnat { /** List of private IP addresses/IP address ranges to not be SNAT. */ privateRanges?: string[]; + /** The operation mode for automatically learning private ranges to not be SNAT */ + autoLearnPrivateRanges?: AutoLearnPrivateRangesMode; } /** SQL Settings in Firewall Policy. */ @@ -1569,13 +1586,15 @@ export interface DnsSettings { } /** Explicit Proxy Settings in Firewall Policy. */ -export interface ExplicitProxySettings { +export interface ExplicitProxy { /** When set to true, explicit proxy mode is enabled. */ enableExplicitProxy?: boolean; /** Port number for explicit proxy http protocol, cannot be greater than 64000. */ httpPort?: number; /** Port number for explicit proxy https protocol, cannot be greater than 64000. */ httpsPort?: number; + /** When set to true, pac file port and url needs to be provided. */ + enablePacFile?: boolean; /** Port number for firewall to serve PAC file. */ pacFilePort?: number; /** SAS URL for PAC file. */ @@ -2065,6 +2084,351 @@ export interface NetworkInterfaceTapConfigurationListResult { readonly nextLink?: string; } +/** Scope of Network Manager. */ +export interface NetworkManagerPropertiesNetworkManagerScopes { + /** List of management groups. */ + managementGroups?: string[]; + /** List of subscriptions. */ + subscriptions?: string[]; + /** + * List of cross tenant scopes. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly crossTenantScopes?: CrossTenantScopes[]; +} + +/** Cross tenant scopes. */ +export interface CrossTenantScopes { + /** + * Tenant ID. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly tenantId?: string; + /** + * List of management groups. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly managementGroups?: string[]; + /** + * List of subscriptions. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly subscriptions?: string[]; +} + +/** Metadata pertaining to creation and last modification of the resource. */ +export interface SystemData { + /** The identity that created the resource. */ + createdBy?: string; + /** The type of identity that created the resource. */ + createdByType?: CreatedByType; + /** The timestamp of resource creation (UTC). */ + createdAt?: Date; + /** The identity that last modified the resource. */ + lastModifiedBy?: string; + /** The type of identity that last modified the resource. */ + lastModifiedByType?: CreatedByType; + /** The type of identity that last modified the resource. */ + lastModifiedAt?: Date; +} + +/** Object for patch operations. */ +export interface PatchObject { + /** Resource tags. */ + tags?: { [propertyName: string]: string }; +} + +/** Network Manager Commit. */ +export interface NetworkManagerCommit { + /** + * Commit Id. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly commitId?: string; + /** List of target locations. */ + targetLocations: string[]; + /** List of configuration ids. */ + configurationIds?: string[]; + /** Commit Type. */ + commitType: ConfigurationType; +} + +/** Network Manager Deployment Status Parameter. */ +export interface NetworkManagerDeploymentStatusParameter { + /** List of locations. */ + regions?: string[]; + /** List of deployment types. */ + deploymentTypes?: ConfigurationType[]; + /** Continuation token for pagination, capturing the next page size and offset, as well as the context of the query. */ + skipToken?: string; +} + +/** A list of Network Manager Deployment Status */ +export interface NetworkManagerDeploymentStatusListResult { + /** Gets a page of Network Manager Deployment Status */ + value?: NetworkManagerDeploymentStatus[]; + /** When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current request) to retrieve the next page of data. */ + skipToken?: string; +} + +/** Network Manager Deployment Status. */ +export interface NetworkManagerDeploymentStatus { + /** Commit Time. */ + commitTime?: Date; + /** Region Name. */ + region?: string; + /** Deployment Status. */ + deploymentStatus?: DeploymentStatus; + /** List of configuration ids. */ + configurationIds?: string[]; + /** Configuration Deployment Type. */ + deploymentType?: ConfigurationType; + /** Error Message. */ + errorMessage?: string; +} + +/** Result of the request to list NetworkManager. It contains a list of network managers and a URL link to get the next set of results. */ +export interface NetworkManagerListResult { + /** Gets a page of NetworkManager */ + value?: NetworkManager[]; + /** Gets the URL to get the next page of results. */ + nextLink?: string; +} + +/** Effective Virtual Networks Parameter. */ +export interface ActiveConfigurationParameter { + /** List of regions. */ + regions?: string[]; + /** When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current request) to retrieve the next page of data. */ + skipToken?: string; +} + +/** Result of the request to list active connectivity configurations. It contains a list of active connectivity configurations and a skiptoken to get the next set of results. */ +export interface ActiveConnectivityConfigurationsListResult { + /** Gets a page of active connectivity configurations. */ + value?: ActiveConnectivityConfiguration[]; + /** When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current request) to retrieve the next page of data. */ + skipToken?: string; +} + +/** The network manager effective connectivity configuration */ +export interface EffectiveConnectivityConfiguration { + /** Connectivity configuration ID. */ + id?: string; + /** Effective configuration groups. */ + configurationGroups?: ConfigurationGroup[]; + /** A description of the connectivity configuration. */ + description?: string; + /** Connectivity topology type. */ + connectivityTopology?: ConnectivityTopology; + /** List of hubItems */ + hubs?: Hub[]; + /** Flag if global mesh is supported. */ + isGlobal?: IsGlobal; + /** Groups for configuration */ + appliesToGroups?: ConnectivityGroupItem[]; + /** + * The provisioning state of the connectivity configuration resource. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: ProvisioningState; + /** Flag if need to remove current existing peerings. */ + deleteExistingPeering?: DeleteExistingPeering; +} + +/** Hub Item. */ +export interface Hub { + /** Resource Id. */ + resourceId?: string; + /** Resource Type. */ + resourceType?: string; +} + +/** Connectivity group item. */ +export interface ConnectivityGroupItem { + /** Network group Id. */ + networkGroupId: string; + /** Flag if need to use hub gateway. */ + useHubGateway?: UseHubGateway; + /** Flag if global is supported. */ + isGlobal?: IsGlobal; + /** Group connectivity type. */ + groupConnectivity: GroupConnectivity; +} + +/** The network configuration group resource */ +export interface ConfigurationGroup { + /** Network group ID. */ + id?: string; + /** A description of the network group. */ + description?: string; + /** + * The provisioning state of the scope assignment resource. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: ProvisioningState; +} + +/** Result of the request to list active security admin rules. It contains a list of active security admin rules and a skiptoken to get the next set of results. */ +export interface ActiveSecurityAdminRulesListResult { + /** Gets a page of active security admin rules. */ + value?: ActiveBaseSecurityAdminRuleUnion[]; + /** When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current request) to retrieve the next page of data. */ + skipToken?: string; +} + +/** Network base admin rule. */ +export interface ActiveBaseSecurityAdminRule { + /** Polymorphic discriminator, which specifies the different types this object can be */ + kind: "Custom" | "Default"; + /** Resource ID. */ + id?: string; + /** Deployment time string. */ + commitTime?: Date; + /** Deployment region. */ + region?: string; + /** A description of the security admin configuration. */ + configurationDescription?: string; + /** A description of the rule collection. */ + ruleCollectionDescription?: string; + /** Groups for rule collection */ + ruleCollectionAppliesToGroups?: NetworkManagerSecurityGroupItem[]; + /** Effective configuration groups. */ + ruleGroups?: ConfigurationGroup[]; +} + +/** Network manager security group item. */ +export interface NetworkManagerSecurityGroupItem { + /** Network manager group Id. */ + networkGroupId: string; +} + +/** Proxy resource representation. */ +export interface ChildResource { + /** + * Resource ID. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly id?: string; + /** + * Resource name. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly name?: string; + /** + * Resource type. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly type?: 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; +} + +/** List of network manager connections. */ +export interface NetworkManagerConnectionListResult { + /** List of network manager connections. */ + value?: NetworkManagerConnection[]; + /** Gets the URL to get the next page of results. */ + nextLink?: string; +} + +/** Result of the request to list network manager connectivity configurations. It contains a list of configurations and a link to get the next set of results. */ +export interface ConnectivityConfigurationListResult { + /** Gets a page of Connectivity Configurations */ + value?: ConnectivityConfiguration[]; + /** Gets the URL to get the next page of results. */ + nextLink?: string; +} + +/** Query Request Options */ +export interface QueryRequestOptions { + /** When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current request) to retrieve the next page of data. */ + skipToken?: string; +} + +/** Result of the request to list networkManagerEffectiveConnectivityConfiguration. It contains a list of groups and a skiptoken to get the next set of results. */ +export interface NetworkManagerEffectiveConnectivityConfigurationListResult { + /** Gets a page of NetworkManagerEffectiveConnectivityConfiguration */ + value?: EffectiveConnectivityConfiguration[]; + /** When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current request) to retrieve the next page of data. */ + skipToken?: string; +} + +/** Result of the request to list networkManagerEffectiveSecurityAdminRules. It contains a list of groups and a skiptoken to get the next set of results. */ +export interface NetworkManagerEffectiveSecurityAdminRulesListResult { + /** Gets a page of NetworkManagerEffectiveSecurityAdminRules */ + value?: EffectiveBaseSecurityAdminRuleUnion[]; + /** When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current request) to retrieve the next page of data. */ + skipToken?: string; +} + +/** Network base admin rule. */ +export interface EffectiveBaseSecurityAdminRule { + /** Polymorphic discriminator, which specifies the different types this object can be */ + kind: "Custom" | "Default"; + /** Resource ID. */ + id?: string; + /** A description of the security admin configuration. */ + configurationDescription?: string; + /** A description of the rule collection. */ + ruleCollectionDescription?: string; + /** Groups for rule collection */ + ruleCollectionAppliesToGroups?: NetworkManagerSecurityGroupItem[]; + /** Effective configuration groups. */ + ruleGroups?: ConfigurationGroup[]; +} + +/** Result of the request to list NetworkGroup. It contains a list of groups and a URL link to get the next set of results. */ +export interface NetworkGroupListResult { + /** Gets a page of NetworkGroup */ + value?: NetworkGroup[]; + /** Gets the URL to get the next set of results. */ + nextLink?: string; +} + +/** Result of the request to list StaticMember. It contains a list of groups and a URL link to get the next set of results. */ +export interface StaticMemberListResult { + /** Gets a page of StaticMember */ + value?: StaticMember[]; + /** Gets the URL to get the next set of results. */ + nextLink?: string; +} + +/** List of scope connections. */ +export interface ScopeConnectionListResult { + /** List of scope connections. */ + value?: ScopeConnection[]; + /** Gets the URL to get the next page of results. */ + nextLink?: string; +} + +/** A list of network manager security admin configurations */ +export interface SecurityAdminConfigurationListResult { + /** Gets a page of security admin configurations */ + value?: SecurityAdminConfiguration[]; + /** Gets the URL to get the next page of results. */ + nextLink?: string; +} + +/** Security admin configuration rule collection list result. */ +export interface AdminRuleCollectionListResult { + /** A list of network manager security admin configuration rule collections */ + value?: AdminRuleCollection[]; + /** Gets the URL to get the next set of results. */ + nextLink?: string; +} + +/** security configuration admin rule list result. */ +export interface AdminRuleListResult { + /** A list of admin rules */ + value?: BaseAdminRuleUnion[]; + /** The URL to get the next set of results. */ + nextLink?: string; +} + /** The ip configuration for a container network interface. */ export interface ContainerNetworkInterfaceIpConfiguration { /** The name of the resource. This name can be used to access the resource. */ @@ -2374,8 +2738,12 @@ export interface SubnetAssociation { /** Parameters that define the create packet capture operation. */ export interface PacketCapture { - /** The ID of the targeted resource, only VM is currently supported. */ + /** The ID of the targeted resource, only AzureVM and AzureVMSS as target type are currently supported. */ target: string; + /** A list of AzureVMSS instances which can be included or excluded to run packet capture. If both included and excluded are empty, then the packet capture will run on all instances of AzureVMSS. */ + scope?: PacketCaptureMachineScope; + /** Target type of the resource provided. */ + targetType?: PacketCaptureTargetType; /** Number of bytes captured per packet, the remaining bytes are truncated. */ bytesToCapturePerPacket?: number; /** Maximum size of the capture output. */ @@ -2390,8 +2758,12 @@ export interface PacketCapture { /** Parameters that define the create packet capture operation. */ export interface PacketCaptureParameters { - /** The ID of the targeted resource, only VM is currently supported. */ + /** The ID of the targeted resource, only AzureVM and AzureVMSS as target type are currently supported. */ target: string; + /** A list of AzureVMSS instances which can be included or excluded to run packet capture. If both included and excluded are empty, then the packet capture will run on all instances of AzureVMSS. */ + scope?: PacketCaptureMachineScope; + /** Target type of the resource provided. */ + targetType?: PacketCaptureTargetType; /** Number of bytes captured per packet, the remaining bytes are truncated. */ bytesToCapturePerPacket?: number; /** Maximum size of the capture output. */ @@ -2404,6 +2776,14 @@ export interface PacketCaptureParameters { filters?: PacketCaptureFilter[]; } +/** A list of AzureVMSS instances which can be included or excluded to run packet capture. If both included and excluded are empty, then the packet capture will run on all instances of AzureVMSS. */ +export interface PacketCaptureMachineScope { + /** List of AzureVMSS instances to run packet capture on. */ + include?: string[]; + /** List of AzureVMSS instances which has to be excluded from the AzureVMSS from running packet capture. */ + exclude?: string[]; +} + /** The storage location for a packet capture session. */ export interface PacketCaptureStorageLocation { /** The ID of the storage account to save the packet capture session. Required if no local file path is provided. */ @@ -2445,8 +2825,12 @@ export interface PacketCaptureResult { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly etag?: string; - /** The ID of the targeted resource, only VM is currently supported. */ + /** The ID of the targeted resource, only AzureVM and AzureVMSS as target type are currently supported. */ target?: string; + /** A list of AzureVMSS instances which can be included or excluded to run packet capture. If both included and excluded are empty, then the packet capture will run on all instances of AzureVMSS. */ + scope?: PacketCaptureMachineScope; + /** Target type of the resource provided. */ + targetType?: PacketCaptureTargetType; /** Number of bytes captured per packet, the remaining bytes are truncated. */ bytesToCapturePerPacket?: number; /** Maximum size of the capture output. */ @@ -4630,6 +5014,12 @@ export interface VirtualHubRouteV2 { nextHops?: string[]; } +/** The VirtualHub Router autoscale configuration. */ +export interface VirtualRouterAutoScaleConfiguration { + /** The minimum number of scale units for VirtualHub Router. */ + minCapacity?: number; +} + /** Result of the request to list VirtualHubs. It contains a list of VirtualHubs and a URL nextLink to get the next set of results. */ export interface ListVirtualHubsResult { /** List of VirtualHubs. */ @@ -5058,6 +5448,17 @@ export interface ManagedRuleOverride { state?: ManagedRuleEnabledState; } +/** Response for ListExpressRouteProviderPort API service call. */ +export interface ExpressRouteProviderPortListResult { + /** A list of ExpressRouteProviderPort resources. */ + value?: ExpressRouteProviderPort[]; + /** + * The URL to get the next set of results. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextLink?: string; +} + /** Properties of the FirewallPolicyNatRuleCollectionAction. */ export interface FirewallPolicyNatRuleCollectionAction { /** The type of action. */ @@ -5096,6 +5497,14 @@ export interface AzureAsyncOperationResult { error?: ErrorModel; } +/** Address prefix item. */ +export interface AddressPrefixItem { + /** Address prefix. */ + addressPrefix?: string; + /** Address prefix type. */ + addressPrefixType?: AddressPrefixType; +} + /** VpnSite Resource. */ export interface VpnSiteId { /** @@ -6306,6 +6715,8 @@ export type ApplicationGatewayRoutingRule = SubResource & { readonly type?: string; /** Rule type. */ ruleType?: ApplicationGatewayRequestRoutingRuleType; + /** Priority of the routing rule. */ + priority?: number; /** Backend address pool resource of the application gateway. */ backendAddressPool?: SubResource; /** Backend settings resource of the application gateway. */ @@ -8127,7 +8538,7 @@ export type NetworkInterface = Resource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly vnetEncryptionSupported?: boolean; - /** If the network interface is accelerated networking enabled. */ + /** If the network interface is configured for accelerated networking. Not applicable to VM sizes which require accelerated networking. */ enableAcceleratedNetworking?: boolean; /** Indicates whether IP forwarding is enabled on this network interface. */ enableIPForwarding?: boolean; @@ -8201,6 +8612,8 @@ export type NetworkSecurityGroup = Resource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly etag?: string; + /** When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation. */ + flushConnection?: boolean; /** A collection of security rules of the network security group. */ securityRules?: SecurityRule[]; /** @@ -8663,6 +9076,8 @@ export type CustomIpPrefix = Resource & { readonly childCustomIpPrefixes?: SubResource[]; /** The commissioned state of the Custom IP Prefix. */ commissionedState?: CommissionedState; + /** Whether to Advertise the range to Internet. */ + noInternetAdvertise?: boolean; /** * The list of all referenced PublicIpPrefixes. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -8980,7 +9395,7 @@ export type FirewallPolicy = Resource & { /** DNS Proxy Settings definition. */ dnsSettings?: DnsSettings; /** Explicit Proxy Settings definition. */ - explicitProxySettings?: ExplicitProxySettings; + explicitProxy?: ExplicitProxy; /** The configuration for Intrusion detection. */ intrusionDetection?: FirewallPolicyIntrusionDetection; /** TLS Configuration definition. */ @@ -9083,6 +9498,31 @@ export type LoadBalancer = Resource & { readonly provisioningState?: ProvisioningState; }; +/** The Managed Network resource */ +export type NetworkManager = Resource & { + /** + * 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; + /** + * The system metadata related to this resource. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly systemData?: SystemData; + /** A description of the network manager. */ + description?: string; + /** Scope of Network Manager. */ + networkManagerScopes?: NetworkManagerPropertiesNetworkManagerScopes; + /** Scope Access. */ + networkManagerScopeAccesses?: ConfigurationType[]; + /** + * The provisioning state of the network manager resource. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: ProvisioningState; +}; + /** Network profile resource. */ export type NetworkProfile = Resource & { /** @@ -9831,6 +10271,8 @@ export type VirtualHub = Resource & { preferredRoutingGateway?: PreferredRoutingGateway; /** The hubRoutingPreference of this VirtualHub. */ hubRoutingPreference?: HubRoutingPreference; + /** The VirtualHub Router autoscale configuration. */ + virtualRouterAutoScaleConfiguration?: VirtualRouterAutoScaleConfiguration; }; /** VpnGateway Resource. */ @@ -9926,6 +10368,40 @@ export type WebApplicationFirewallPolicy = Resource & { readonly pathBasedRules?: SubResource[]; }; +/** ExpressRouteProviderPort resource. */ +export type ExpressRouteProviderPort = Resource & { + /** + * 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; + /** + * The name of the port pair. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly portPairDescriptor?: string; + /** + * The name of the primary port. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly primaryAzurePort?: string; + /** + * The name of the secondary port. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly secondaryAzurePort?: string; + /** The peering location of the port pair. */ + peeringLocation?: string; + /** Overprovisioning factor for the port pair. */ + overprovisionFactor?: number; + /** Bandwidth of the port in Mbps */ + portBandwidthInMbps?: number; + /** Used Bandwidth of the port in Mbps */ + usedBandwidthInMbps?: number; + /** Remaining Bandwidth of the port in Mbps */ + remainingBandwidthInMbps?: number; +}; + /** The visibility list of the private link service. */ export type PrivateLinkServicePropertiesVisibility = ResourceSet & {}; @@ -9952,48 +10428,378 @@ export type FirewallPolicyFilterRuleCollection = FirewallPolicyRuleCollection & rules?: FirewallPolicyRuleUnion[]; }; -/** The properties of a packet capture session. */ -export type PacketCaptureResultProperties = PacketCaptureParameters & { +/** Active connectivity configuration. */ +export type ActiveConnectivityConfiguration = EffectiveConnectivityConfiguration & { + /** Deployment time string. */ + commitTime?: Date; + /** Deployment region. */ + region?: string; +}; + +/** Network admin rule. */ +export type ActiveSecurityAdminRule = ActiveBaseSecurityAdminRule & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + kind: "Custom"; + /** A description for this rule. Restricted to 140 chars. */ + description?: string; + /** Network protocol this rule applies to. */ + protocol?: SecurityConfigurationRuleProtocol; + /** The CIDR or source IP ranges. */ + sources?: AddressPrefixItem[]; + /** The destination address prefixes. CIDR or destination IP ranges. */ + destinations?: AddressPrefixItem[]; + /** The source port ranges. */ + sourcePortRanges?: string[]; + /** The destination port ranges. */ + destinationPortRanges?: string[]; + /** Indicates the access allowed for this particular rule */ + access?: SecurityConfigurationRuleAccess; + /** The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule. */ + priority?: number; + /** Indicates if the traffic matched against the rule in inbound or outbound. */ + direction?: SecurityConfigurationRuleDirection; /** - * The provisioning state of the packet capture session. + * The provisioning state of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: ProvisioningState; }; -/** Describes the properties of a connection monitor. */ -export type ConnectionMonitorResultProperties = ConnectionMonitorParameters & { +/** Network default admin rule. */ +export type ActiveDefaultSecurityAdminRule = ActiveBaseSecurityAdminRule & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + kind: "Default"; /** - * The provisioning state of the connection monitor. + * A description for this rule. Restricted to 140 chars. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly description?: string; + /** Default rule flag. */ + flag?: string; + /** + * Network protocol this rule applies to. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly protocol?: SecurityConfigurationRuleProtocol; + /** + * The CIDR or source IP ranges. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly sources?: AddressPrefixItem[]; + /** + * The destination address prefixes. CIDR or destination IP ranges. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly destinations?: AddressPrefixItem[]; + /** + * The source port ranges. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly sourcePortRanges?: string[]; + /** + * The destination port ranges. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly destinationPortRanges?: string[]; + /** + * Indicates the access allowed for this particular rule + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly access?: SecurityConfigurationRuleAccess; + /** + * The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly priority?: number; + /** + * Indicates if the traffic matched against the rule in inbound or outbound. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly direction?: SecurityConfigurationRuleDirection; + /** + * The provisioning state of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: ProvisioningState; +}; + +/** The Network Manager Connection resource */ +export type NetworkManagerConnection = ChildResource & { /** - * The date and time when the connection monitor was started. + * The system metadata related to this resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly startTime?: Date; + readonly systemData?: SystemData; + /** Network Manager Id. */ + networkManagerId?: string; /** - * The monitoring status of the connection monitor. + * Connection state. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly monitoringStatus?: string; + readonly connectionState?: ScopeConnectionState; + /** A description of the network manager connection. */ + description?: string; +}; + +/** The network manager connectivity configuration resource */ +export type ConnectivityConfiguration = ChildResource & { /** - * Type of connection monitor. + * The system metadata related to this resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly connectionMonitorType?: ConnectionMonitorType; + readonly systemData?: SystemData; + /** A description of the connectivity configuration. */ + description?: string; + /** Connectivity topology type. */ + connectivityTopology?: ConnectivityTopology; + /** List of hubItems */ + hubs?: Hub[]; + /** Flag if global mesh is supported. */ + isGlobal?: IsGlobal; + /** Groups for configuration */ + appliesToGroups?: ConnectivityGroupItem[]; + /** + * The provisioning state of the connectivity configuration resource. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: ProvisioningState; + /** Flag if need to remove current existing peerings. */ + deleteExistingPeering?: DeleteExistingPeering; }; -/** Rule of type application. */ -export type ApplicationRule = FirewallPolicyRule & { - /** Polymorphic discriminator, which specifies the different types this object can be */ - ruleType: "ApplicationRule"; - /** List of source IP addresses for this rule. */ - sourceAddresses?: string[]; - /** List of destination IP addresses or Service Tags. */ - destinationAddresses?: string[]; - /** Array of Application Protocols. */ +/** The network group resource */ +export type NetworkGroup = ChildResource & { + /** + * The system metadata related to this resource. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly systemData?: SystemData; + /** A description of the network group. */ + description?: string; + /** + * The provisioning state of the scope assignment resource. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: ProvisioningState; +}; + +/** StaticMember Item. */ +export type StaticMember = ChildResource & { + /** + * The system metadata related to this resource. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly systemData?: SystemData; + /** Resource Id. */ + resourceId?: string; + /** + * Resource region. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly region?: string; + /** + * The provisioning state of the scope assignment resource. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: ProvisioningState; +}; + +/** The Scope Connections resource */ +export type ScopeConnection = ChildResource & { + /** + * The system metadata related to this resource. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly systemData?: SystemData; + /** Tenant ID. */ + tenantId?: string; + /** Resource ID. */ + resourceId?: string; + /** + * Connection State + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly connectionState?: ScopeConnectionState; + /** A description of the scope connection. */ + description?: string; +}; + +/** Defines the security admin configuration */ +export type SecurityAdminConfiguration = ChildResource & { + /** + * The system metadata related to this resource. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly systemData?: SystemData; + /** A description of the security configuration. */ + description?: string; + /** Enum list of network intent policy based services. */ + applyOnNetworkIntentPolicyBasedServices?: NetworkIntentPolicyBasedService[]; + /** + * The provisioning state of the resource. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: ProvisioningState; +}; + +/** Defines the admin rule collection. */ +export type AdminRuleCollection = ChildResource & { + /** + * The system metadata related to this resource. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly systemData?: SystemData; + /** A description of the admin rule collection. */ + description?: string; + /** Groups for configuration */ + appliesToGroups?: NetworkManagerSecurityGroupItem[]; + /** + * The provisioning state of the resource. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: ProvisioningState; +}; + +/** Network base admin rule. */ +export type BaseAdminRule = ChildResource & { + /** Whether the rule is custom or default. */ + kind: AdminRuleKind; + /** + * The system metadata related to this resource. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly systemData?: SystemData; +}; + +/** Network admin rule. */ +export type EffectiveSecurityAdminRule = EffectiveBaseSecurityAdminRule & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + kind: "Custom"; + /** A description for this rule. Restricted to 140 chars. */ + description?: string; + /** Network protocol this rule applies to. */ + protocol?: SecurityConfigurationRuleProtocol; + /** The CIDR or source IP ranges. */ + sources?: AddressPrefixItem[]; + /** The destination address prefixes. CIDR or destination IP ranges. */ + destinations?: AddressPrefixItem[]; + /** The source port ranges. */ + sourcePortRanges?: string[]; + /** The destination port ranges. */ + destinationPortRanges?: string[]; + /** Indicates the access allowed for this particular rule */ + access?: SecurityConfigurationRuleAccess; + /** The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule. */ + priority?: number; + /** Indicates if the traffic matched against the rule in inbound or outbound. */ + direction?: SecurityConfigurationRuleDirection; + /** + * The provisioning state of the resource. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: ProvisioningState; +}; + +/** Network default admin rule. */ +export type EffectiveDefaultSecurityAdminRule = EffectiveBaseSecurityAdminRule & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + kind: "Default"; + /** + * A description for this rule. Restricted to 140 chars. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly description?: string; + /** Default rule flag. */ + flag?: string; + /** + * Network protocol this rule applies to. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly protocol?: SecurityConfigurationRuleProtocol; + /** + * The CIDR or source IP ranges. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly sources?: AddressPrefixItem[]; + /** + * The destination address prefixes. CIDR or destination IP ranges. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly destinations?: AddressPrefixItem[]; + /** + * The source port ranges. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly sourcePortRanges?: string[]; + /** + * The destination port ranges. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly destinationPortRanges?: string[]; + /** + * Indicates the access allowed for this particular rule + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly access?: SecurityConfigurationRuleAccess; + /** + * The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly priority?: number; + /** + * Indicates if the traffic matched against the rule in inbound or outbound. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly direction?: SecurityConfigurationRuleDirection; + /** + * The provisioning state of the resource. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: ProvisioningState; +}; + +/** The properties of a packet capture session. */ +export type PacketCaptureResultProperties = PacketCaptureParameters & { + /** + * The provisioning state of the packet capture session. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: ProvisioningState; +}; + +/** Describes the properties of a connection monitor. */ +export type ConnectionMonitorResultProperties = ConnectionMonitorParameters & { + /** + * The provisioning state of the connection monitor. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: ProvisioningState; + /** + * The date and time when the connection monitor was started. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly startTime?: Date; + /** + * The monitoring status of the connection monitor. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly monitoringStatus?: string; + /** + * Type of connection monitor. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly connectionMonitorType?: ConnectionMonitorType; +}; + +/** Rule of type application. */ +export type ApplicationRule = FirewallPolicyRule & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + ruleType: "ApplicationRule"; + /** List of source IP addresses for this rule. */ + sourceAddresses?: string[]; + /** List of destination IP addresses or Service Tags. */ + destinationAddresses?: string[]; + /** Array of Application Protocols. */ protocols?: FirewallPolicyRuleApplicationProtocol[]; /** List of FQDNs for this rule. */ targetFqdns?: string[]; @@ -10051,6 +10857,137 @@ export type NetworkRule = FirewallPolicyRule & { destinationFqdns?: string[]; }; +/** Network admin rule. */ +export type AdminRule = BaseAdminRule & { + /** A description for this rule. Restricted to 140 chars. */ + description?: string; + /** Network protocol this rule applies to. */ + protocol?: SecurityConfigurationRuleProtocol; + /** The CIDR or source IP ranges. */ + sources?: AddressPrefixItem[]; + /** The destination address prefixes. CIDR or destination IP ranges. */ + destinations?: AddressPrefixItem[]; + /** The source port ranges. */ + sourcePortRanges?: string[]; + /** The destination port ranges. */ + destinationPortRanges?: string[]; + /** Indicates the access allowed for this particular rule */ + access?: SecurityConfigurationRuleAccess; + /** The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule. */ + priority?: number; + /** Indicates if the traffic matched against the rule in inbound or outbound. */ + direction?: SecurityConfigurationRuleDirection; + /** + * The provisioning state of the resource. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: ProvisioningState; +}; + +/** Network default admin rule. */ +export type DefaultAdminRule = BaseAdminRule & { + /** + * A description for this rule. Restricted to 140 chars. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly description?: string; + /** Default rule flag. */ + flag?: string; + /** + * Network protocol this rule applies to. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly protocol?: SecurityConfigurationRuleProtocol; + /** + * The CIDR or source IP ranges. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly sources?: AddressPrefixItem[]; + /** + * The destination address prefixes. CIDR or destination IP ranges. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly destinations?: AddressPrefixItem[]; + /** + * The source port ranges. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly sourcePortRanges?: string[]; + /** + * The destination port ranges. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly destinationPortRanges?: string[]; + /** + * Indicates the access allowed for this particular rule + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly access?: SecurityConfigurationRuleAccess; + /** + * The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly priority?: number; + /** + * Indicates if the traffic matched against the rule in inbound or outbound. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly direction?: SecurityConfigurationRuleDirection; + /** + * The provisioning state of the resource. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: ProvisioningState; +}; + +/** Defines headers for NetworkManagers_delete operation. */ +export interface NetworkManagersDeleteHeaders { + /** The URL of the resource used to check the status of the asynchronous operation. */ + location?: string; +} + +/** Defines headers for NetworkManagerCommits_post operation. */ +export interface NetworkManagerCommitsPostHeaders { + /** The URL of the resource used to check the status of the asynchronous operation. */ + location?: string; +} + +/** Defines headers for ConnectivityConfigurations_delete operation. */ +export interface ConnectivityConfigurationsDeleteHeaders { + /** The URL of the resource used to check the status of the asynchronous operation. */ + location?: string; +} + +/** Defines headers for NetworkGroups_createOrUpdate operation. */ +export interface NetworkGroupsCreateOrUpdateHeaders { + /** The current entity tag. */ + eTag?: string; +} + +/** Defines headers for NetworkGroups_delete operation. */ +export interface NetworkGroupsDeleteHeaders { + /** The URL of the resource used to check the status of the asynchronous operation. */ + location?: string; +} + +/** Defines headers for SecurityAdminConfigurations_delete operation. */ +export interface SecurityAdminConfigurationsDeleteHeaders { + /** The URL of the resource used to check the status of the asynchronous operation. */ + location?: string; +} + +/** Defines headers for AdminRuleCollections_delete operation. */ +export interface AdminRuleCollectionsDeleteHeaders { + /** The URL of the resource used to check the status of the asynchronous operation. */ + location?: string; +} + +/** Defines headers for AdminRules_delete operation. */ +export interface AdminRulesDeleteHeaders { + /** The URL of the resource used to check the status of the asynchronous operation. */ + location?: string; +} + /** Known values of {@link ApplicationGatewaySkuName} that the service accepts. */ export enum KnownApplicationGatewaySkuName { StandardSmall = "Standard_Small", @@ -10101,7 +11038,8 @@ export type ApplicationGatewayTier = string; export enum KnownApplicationGatewaySslProtocol { TLSv10 = "TLSv1_0", TLSv11 = "TLSv1_1", - TLSv12 = "TLSv1_2" + TLSv12 = "TLSv1_2", + TLSv13 = "TLSv1_3" } /** @@ -10111,14 +11049,16 @@ export enum KnownApplicationGatewaySslProtocol { * ### Known values supported by the service * **TLSv1_0** \ * **TLSv1_1** \ - * **TLSv1_2** + * **TLSv1_2** \ + * **TLSv1_3** */ export type ApplicationGatewaySslProtocol = string; /** Known values of {@link ApplicationGatewaySslPolicyType} that the service accepts. */ export enum KnownApplicationGatewaySslPolicyType { Predefined = "Predefined", - Custom = "Custom" + Custom = "Custom", + CustomV2 = "CustomV2" } /** @@ -10127,7 +11067,8 @@ export enum KnownApplicationGatewaySslPolicyType { * this enum contains the known values that the service supports. * ### Known values supported by the service * **Predefined** \ - * **Custom** + * **Custom** \ + * **CustomV2** */ export type ApplicationGatewaySslPolicyType = string; @@ -10135,7 +11076,9 @@ export type ApplicationGatewaySslPolicyType = string; export enum KnownApplicationGatewaySslPolicyName { AppGwSslPolicy20150501 = "AppGwSslPolicy20150501", AppGwSslPolicy20170401 = "AppGwSslPolicy20170401", - AppGwSslPolicy20170401S = "AppGwSslPolicy20170401S" + AppGwSslPolicy20170401S = "AppGwSslPolicy20170401S", + AppGwSslPolicy20220101 = "AppGwSslPolicy20220101", + AppGwSslPolicy20220101S = "AppGwSslPolicy20220101S" } /** @@ -10145,7 +11088,9 @@ export enum KnownApplicationGatewaySslPolicyName { * ### Known values supported by the service * **AppGwSslPolicy20150501** \ * **AppGwSslPolicy20170401** \ - * **AppGwSslPolicy20170401S** + * **AppGwSslPolicy20170401S** \ + * **AppGwSslPolicy20220101** \ + * **AppGwSslPolicy20220101S** */ export type ApplicationGatewaySslPolicyName = string; @@ -10962,7 +11907,8 @@ export enum KnownCommissionedState { Commissioning = "Commissioning", Commissioned = "Commissioned", Decommissioning = "Decommissioning", - Deprovisioning = "Deprovisioning" + Deprovisioning = "Deprovisioning", + CommissionedNoInternetAdvertise = "CommissionedNoInternetAdvertise" } /** @@ -10975,7 +11921,8 @@ export enum KnownCommissionedState { * **Commissioning** \ * **Commissioned** \ * **Decommissioning** \ - * **Deprovisioning** + * **Deprovisioning** \ + * **CommissionedNoInternetAdvertise** */ export type CommissionedState = string; @@ -11307,6 +12254,22 @@ export enum KnownExpressRoutePortAuthorizationUseStatus { */ export type ExpressRoutePortAuthorizationUseStatus = string; +/** Known values of {@link AutoLearnPrivateRangesMode} that the service accepts. */ +export enum KnownAutoLearnPrivateRangesMode { + Enabled = "Enabled", + Disabled = "Disabled" +} + +/** + * Defines values for AutoLearnPrivateRangesMode. \ + * {@link KnownAutoLearnPrivateRangesMode} can be used interchangeably with AutoLearnPrivateRangesMode, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Enabled** \ + * **Disabled** + */ +export type AutoLearnPrivateRangesMode = string; + /** Known values of {@link FirewallPolicyIntrusionDetectionStateType} that the service accepts. */ export enum KnownFirewallPolicyIntrusionDetectionStateType { Off = "Off", @@ -11553,25 +12516,231 @@ export enum KnownEffectiveSecurityRuleProtocol { */ export type EffectiveSecurityRuleProtocol = string; -/** Known values of {@link InboundSecurityRulesProtocol} that the service accepts. */ -export enum KnownInboundSecurityRulesProtocol { - TCP = "TCP", - UDP = "UDP" +/** Known values of {@link ConfigurationType} that the service accepts. */ +export enum KnownConfigurationType { + SecurityAdmin = "SecurityAdmin", + Connectivity = "Connectivity" } /** - * Defines values for InboundSecurityRulesProtocol. \ - * {@link KnownInboundSecurityRulesProtocol} can be used interchangeably with InboundSecurityRulesProtocol, + * Defines values for ConfigurationType. \ + * {@link KnownConfigurationType} can be used interchangeably with ConfigurationType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **TCP** \ - * **UDP** + * **SecurityAdmin** \ + * **Connectivity** */ -export type InboundSecurityRulesProtocol = string; +export type ConfigurationType = string; -/** Known values of {@link AssociationType} that the service accepts. */ -export enum KnownAssociationType { - Associated = "Associated", +/** Known values of {@link CreatedByType} that the service accepts. */ +export enum KnownCreatedByType { + User = "User", + Application = "Application", + ManagedIdentity = "ManagedIdentity", + Key = "Key" +} + +/** + * Defines values for CreatedByType. \ + * {@link KnownCreatedByType} can be used interchangeably with CreatedByType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **User** \ + * **Application** \ + * **ManagedIdentity** \ + * **Key** + */ +export type CreatedByType = string; + +/** Known values of {@link DeploymentStatus} that the service accepts. */ +export enum KnownDeploymentStatus { + NotStarted = "NotStarted", + Deploying = "Deploying", + Deployed = "Deployed", + Failed = "Failed" +} + +/** + * Defines values for DeploymentStatus. \ + * {@link KnownDeploymentStatus} can be used interchangeably with DeploymentStatus, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **NotStarted** \ + * **Deploying** \ + * **Deployed** \ + * **Failed** + */ +export type DeploymentStatus = string; + +/** Known values of {@link ConnectivityTopology} that the service accepts. */ +export enum KnownConnectivityTopology { + HubAndSpoke = "HubAndSpoke", + Mesh = "Mesh" +} + +/** + * Defines values for ConnectivityTopology. \ + * {@link KnownConnectivityTopology} can be used interchangeably with ConnectivityTopology, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **HubAndSpoke** \ + * **Mesh** + */ +export type ConnectivityTopology = string; + +/** Known values of {@link IsGlobal} that the service accepts. */ +export enum KnownIsGlobal { + False = "False", + True = "True" +} + +/** + * Defines values for IsGlobal. \ + * {@link KnownIsGlobal} can be used interchangeably with IsGlobal, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **False** \ + * **True** + */ +export type IsGlobal = string; + +/** Known values of {@link UseHubGateway} that the service accepts. */ +export enum KnownUseHubGateway { + False = "False", + True = "True" +} + +/** + * Defines values for UseHubGateway. \ + * {@link KnownUseHubGateway} can be used interchangeably with UseHubGateway, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **False** \ + * **True** + */ +export type UseHubGateway = string; + +/** Known values of {@link GroupConnectivity} that the service accepts. */ +export enum KnownGroupConnectivity { + None = "None", + DirectlyConnected = "DirectlyConnected" +} + +/** + * Defines values for GroupConnectivity. \ + * {@link KnownGroupConnectivity} can be used interchangeably with GroupConnectivity, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **None** \ + * **DirectlyConnected** + */ +export type GroupConnectivity = string; + +/** Known values of {@link DeleteExistingPeering} that the service accepts. */ +export enum KnownDeleteExistingPeering { + False = "False", + True = "True" +} + +/** + * Defines values for DeleteExistingPeering. \ + * {@link KnownDeleteExistingPeering} can be used interchangeably with DeleteExistingPeering, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **False** \ + * **True** + */ +export type DeleteExistingPeering = string; + +/** Known values of {@link EffectiveAdminRuleKind} that the service accepts. */ +export enum KnownEffectiveAdminRuleKind { + Custom = "Custom", + Default = "Default" +} + +/** + * Defines values for EffectiveAdminRuleKind. \ + * {@link KnownEffectiveAdminRuleKind} can be used interchangeably with EffectiveAdminRuleKind, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Custom** \ + * **Default** + */ +export type EffectiveAdminRuleKind = string; + +/** Known values of {@link ScopeConnectionState} that the service accepts. */ +export enum KnownScopeConnectionState { + Connected = "Connected", + Pending = "Pending", + Conflict = "Conflict", + Revoked = "Revoked", + Rejected = "Rejected" +} + +/** + * Defines values for ScopeConnectionState. \ + * {@link KnownScopeConnectionState} can be used interchangeably with ScopeConnectionState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Connected** \ + * **Pending** \ + * **Conflict** \ + * **Revoked** \ + * **Rejected** + */ +export type ScopeConnectionState = string; + +/** Known values of {@link NetworkIntentPolicyBasedService} that the service accepts. */ +export enum KnownNetworkIntentPolicyBasedService { + None = "None", + All = "All" +} + +/** + * Defines values for NetworkIntentPolicyBasedService. \ + * {@link KnownNetworkIntentPolicyBasedService} can be used interchangeably with NetworkIntentPolicyBasedService, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **None** \ + * **All** + */ +export type NetworkIntentPolicyBasedService = string; + +/** Known values of {@link AdminRuleKind} that the service accepts. */ +export enum KnownAdminRuleKind { + Custom = "Custom", + Default = "Default" +} + +/** + * Defines values for AdminRuleKind. \ + * {@link KnownAdminRuleKind} can be used interchangeably with AdminRuleKind, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Custom** \ + * **Default** + */ +export type AdminRuleKind = string; + +/** Known values of {@link InboundSecurityRulesProtocol} that the service accepts. */ +export enum KnownInboundSecurityRulesProtocol { + TCP = "TCP", + UDP = "UDP" +} + +/** + * Defines values for InboundSecurityRulesProtocol. \ + * {@link KnownInboundSecurityRulesProtocol} can be used interchangeably with InboundSecurityRulesProtocol, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **TCP** \ + * **UDP** + */ +export type InboundSecurityRulesProtocol = string; + +/** Known values of {@link AssociationType} that the service accepts. */ +export enum KnownAssociationType { + Associated = "Associated", Contains = "Contains" } @@ -11862,7 +13031,9 @@ export enum KnownEndpointType { AzureSubnet = "AzureSubnet", ExternalAddress = "ExternalAddress", MMAWorkspaceMachine = "MMAWorkspaceMachine", - MMAWorkspaceNetwork = "MMAWorkspaceNetwork" + MMAWorkspaceNetwork = "MMAWorkspaceNetwork", + AzureArcVM = "AzureArcVM", + AzureVmss = "AzureVMSS" } /** @@ -11875,7 +13046,9 @@ export enum KnownEndpointType { * **AzureSubnet** \ * **ExternalAddress** \ * **MMAWorkspaceMachine** \ - * **MMAWorkspaceNetwork** + * **MMAWorkspaceNetwork** \ + * **AzureArcVM** \ + * **AzureVMSS** */ export type EndpointType = string; @@ -13019,7 +14192,8 @@ export enum KnownWebApplicationFirewallOperator { BeginsWith = "BeginsWith", EndsWith = "EndsWith", Regex = "Regex", - GeoMatch = "GeoMatch" + GeoMatch = "GeoMatch", + Any = "Any" } /** @@ -13037,7 +14211,8 @@ export enum KnownWebApplicationFirewallOperator { * **BeginsWith** \ * **EndsWith** \ * **Regex** \ - * **GeoMatch** + * **GeoMatch** \ + * **Any** */ export type WebApplicationFirewallOperator = string; @@ -13275,6 +14450,80 @@ export enum KnownNetworkOperationStatus { */ export type NetworkOperationStatus = string; +/** Known values of {@link SecurityConfigurationRuleProtocol} that the service accepts. */ +export enum KnownSecurityConfigurationRuleProtocol { + Tcp = "Tcp", + Udp = "Udp", + Icmp = "Icmp", + Esp = "Esp", + Any = "Any", + Ah = "Ah" +} + +/** + * Defines values for SecurityConfigurationRuleProtocol. \ + * {@link KnownSecurityConfigurationRuleProtocol} can be used interchangeably with SecurityConfigurationRuleProtocol, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Tcp** \ + * **Udp** \ + * **Icmp** \ + * **Esp** \ + * **Any** \ + * **Ah** + */ +export type SecurityConfigurationRuleProtocol = string; + +/** Known values of {@link AddressPrefixType} that the service accepts. */ +export enum KnownAddressPrefixType { + IPPrefix = "IPPrefix", + ServiceTag = "ServiceTag" +} + +/** + * Defines values for AddressPrefixType. \ + * {@link KnownAddressPrefixType} can be used interchangeably with AddressPrefixType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **IPPrefix** \ + * **ServiceTag** + */ +export type AddressPrefixType = string; + +/** Known values of {@link SecurityConfigurationRuleAccess} that the service accepts. */ +export enum KnownSecurityConfigurationRuleAccess { + Allow = "Allow", + Deny = "Deny", + AlwaysAllow = "AlwaysAllow" +} + +/** + * Defines values for SecurityConfigurationRuleAccess. \ + * {@link KnownSecurityConfigurationRuleAccess} can be used interchangeably with SecurityConfigurationRuleAccess, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Allow** \ + * **Deny** \ + * **AlwaysAllow** + */ +export type SecurityConfigurationRuleAccess = string; + +/** Known values of {@link SecurityConfigurationRuleDirection} that the service accepts. */ +export enum KnownSecurityConfigurationRuleDirection { + Inbound = "Inbound", + Outbound = "Outbound" +} + +/** + * Defines values for SecurityConfigurationRuleDirection. \ + * {@link KnownSecurityConfigurationRuleDirection} can be used interchangeably with SecurityConfigurationRuleDirection, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Inbound** \ + * **Outbound** + */ +export type SecurityConfigurationRuleDirection = string; + /** Known values of {@link TunnelConnectionStatus} that the service accepts. */ export enum KnownTunnelConnectionStatus { Unknown = "Unknown", @@ -13326,6 +14575,8 @@ export type FirewallPolicyIdpsSignatureMode = 0 | 1 | 2; export type FirewallPolicyIdpsSignatureSeverity = 1 | 2 | 3; /** Defines values for FirewallPolicyIdpsSignatureDirection. */ export type FirewallPolicyIdpsSignatureDirection = 0 | 1 | 2; +/** Defines values for PacketCaptureTargetType. */ +export type PacketCaptureTargetType = "AzureVM" | "AzureVMSS"; /** Optional parameters. */ export interface ApplicationGatewaysDeleteOptionalParams @@ -13730,6 +14981,18 @@ export interface AzureFirewallsListAllOptionalParams /** Contains response data for the listAll operation. */ export type AzureFirewallsListAllResponse = AzureFirewallListResult; +/** Optional parameters. */ +export interface AzureFirewallsListLearnedPrefixesOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the listLearnedPrefixes operation. */ +export type AzureFirewallsListLearnedPrefixesResponse = IPPrefixesList; + /** Optional parameters. */ export interface AzureFirewallsListNextOptionalParams extends coreClient.OperationOptions {} @@ -13904,6 +15167,34 @@ export interface CheckDnsNameAvailabilityOptionalParams /** Contains response data for the checkDnsNameAvailability operation. */ export type CheckDnsNameAvailabilityResponse = DnsNameAvailabilityResult; +/** Optional parameters. */ +export interface ListActiveConnectivityConfigurationsOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listActiveConnectivityConfigurations operation. */ +export type ListActiveConnectivityConfigurationsResponse = ActiveConnectivityConfigurationsListResult; + +/** Optional parameters. */ +export interface ListActiveSecurityAdminRulesOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listActiveSecurityAdminRules operation. */ +export type ListActiveSecurityAdminRulesResponse = ActiveSecurityAdminRulesListResult; + +/** Optional parameters. */ +export interface ListNetworkManagerEffectiveConnectivityConfigurationsOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNetworkManagerEffectiveConnectivityConfigurations operation. */ +export type ListNetworkManagerEffectiveConnectivityConfigurationsResponse = NetworkManagerEffectiveConnectivityConfigurationListResult; + +/** Optional parameters. */ +export interface ListNetworkManagerEffectiveSecurityAdminRulesOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNetworkManagerEffectiveSecurityAdminRules operation. */ +export type ListNetworkManagerEffectiveSecurityAdminRulesResponse = NetworkManagerEffectiveSecurityAdminRulesListResult; + /** Optional parameters. */ export interface SupportedSecurityProvidersOptionalParams extends coreClient.OperationOptions {} @@ -13923,6 +15214,13 @@ export interface GeneratevirtualwanvpnserverconfigurationvpnprofileOptionalParam /** Contains response data for the generatevirtualwanvpnserverconfigurationvpnprofile operation. */ export type GeneratevirtualwanvpnserverconfigurationvpnprofileResponse = VpnProfileResponse; +/** Optional parameters. */ +export interface ExpressRouteProviderPortOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the expressRouteProviderPort operation. */ +export type ExpressRouteProviderPortResponse = ExpressRouteProviderPort; + /** Optional parameters. */ export interface PutBastionShareableLinkNextOptionalParams extends coreClient.OperationOptions {} @@ -15426,7 +16724,441 @@ export interface LoadBalancersSwapPublicIpAddressesOptionalParams } /** Optional parameters. */ -export interface LoadBalancersListInboundNatRulePortMappingsOptionalParams +export interface LoadBalancersListInboundNatRulePortMappingsOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the listInboundNatRulePortMappings operation. */ +export type LoadBalancersListInboundNatRulePortMappingsResponse = BackendAddressInboundNatRulePortMappings; + +/** Optional parameters. */ +export interface LoadBalancersListAllNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listAllNext operation. */ +export type LoadBalancersListAllNextResponse = LoadBalancerListResult; + +/** Optional parameters. */ +export interface LoadBalancersListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type LoadBalancersListNextResponse = LoadBalancerListResult; + +/** Optional parameters. */ +export interface LoadBalancerBackendAddressPoolsListOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type LoadBalancerBackendAddressPoolsListResponse = LoadBalancerBackendAddressPoolListResult; + +/** Optional parameters. */ +export interface LoadBalancerBackendAddressPoolsGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type LoadBalancerBackendAddressPoolsGetResponse = BackendAddressPool; + +/** Optional parameters. */ +export interface LoadBalancerBackendAddressPoolsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the createOrUpdate operation. */ +export type LoadBalancerBackendAddressPoolsCreateOrUpdateResponse = BackendAddressPool; + +/** Optional parameters. */ +export interface LoadBalancerBackendAddressPoolsDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Optional parameters. */ +export interface LoadBalancerBackendAddressPoolsListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type LoadBalancerBackendAddressPoolsListNextResponse = LoadBalancerBackendAddressPoolListResult; + +/** Optional parameters. */ +export interface LoadBalancerFrontendIPConfigurationsListOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type LoadBalancerFrontendIPConfigurationsListResponse = LoadBalancerFrontendIPConfigurationListResult; + +/** Optional parameters. */ +export interface LoadBalancerFrontendIPConfigurationsGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type LoadBalancerFrontendIPConfigurationsGetResponse = FrontendIPConfiguration; + +/** Optional parameters. */ +export interface LoadBalancerFrontendIPConfigurationsListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type LoadBalancerFrontendIPConfigurationsListNextResponse = LoadBalancerFrontendIPConfigurationListResult; + +/** Optional parameters. */ +export interface InboundNatRulesListOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type InboundNatRulesListResponse = InboundNatRuleListResult; + +/** Optional parameters. */ +export interface InboundNatRulesDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Optional parameters. */ +export interface InboundNatRulesGetOptionalParams + extends coreClient.OperationOptions { + /** Expands referenced resources. */ + expand?: string; +} + +/** Contains response data for the get operation. */ +export type InboundNatRulesGetResponse = InboundNatRule; + +/** Optional parameters. */ +export interface InboundNatRulesCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the createOrUpdate operation. */ +export type InboundNatRulesCreateOrUpdateResponse = InboundNatRule; + +/** Optional parameters. */ +export interface InboundNatRulesListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type InboundNatRulesListNextResponse = InboundNatRuleListResult; + +/** Optional parameters. */ +export interface LoadBalancerLoadBalancingRulesListOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type LoadBalancerLoadBalancingRulesListResponse = LoadBalancerLoadBalancingRuleListResult; + +/** Optional parameters. */ +export interface LoadBalancerLoadBalancingRulesGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type LoadBalancerLoadBalancingRulesGetResponse = LoadBalancingRule; + +/** Optional parameters. */ +export interface LoadBalancerLoadBalancingRulesListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type LoadBalancerLoadBalancingRulesListNextResponse = LoadBalancerLoadBalancingRuleListResult; + +/** Optional parameters. */ +export interface LoadBalancerOutboundRulesListOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type LoadBalancerOutboundRulesListResponse = LoadBalancerOutboundRuleListResult; + +/** Optional parameters. */ +export interface LoadBalancerOutboundRulesGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type LoadBalancerOutboundRulesGetResponse = OutboundRule; + +/** Optional parameters. */ +export interface LoadBalancerOutboundRulesListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type LoadBalancerOutboundRulesListNextResponse = LoadBalancerOutboundRuleListResult; + +/** Optional parameters. */ +export interface LoadBalancerNetworkInterfacesListOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type LoadBalancerNetworkInterfacesListResponse = NetworkInterfaceListResult; + +/** Optional parameters. */ +export interface LoadBalancerNetworkInterfacesListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type LoadBalancerNetworkInterfacesListNextResponse = NetworkInterfaceListResult; + +/** Optional parameters. */ +export interface LoadBalancerProbesListOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type LoadBalancerProbesListResponse = LoadBalancerProbeListResult; + +/** Optional parameters. */ +export interface LoadBalancerProbesGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type LoadBalancerProbesGetResponse = Probe; + +/** Optional parameters. */ +export interface LoadBalancerProbesListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type LoadBalancerProbesListNextResponse = LoadBalancerProbeListResult; + +/** Optional parameters. */ +export interface NatGatewaysDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Optional parameters. */ +export interface NatGatewaysGetOptionalParams + extends coreClient.OperationOptions { + /** Expands referenced resources. */ + expand?: string; +} + +/** Contains response data for the get operation. */ +export type NatGatewaysGetResponse = NatGateway; + +/** Optional parameters. */ +export interface NatGatewaysCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the createOrUpdate operation. */ +export type NatGatewaysCreateOrUpdateResponse = NatGateway; + +/** Optional parameters. */ +export interface NatGatewaysUpdateTagsOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the updateTags operation. */ +export type NatGatewaysUpdateTagsResponse = NatGateway; + +/** Optional parameters. */ +export interface NatGatewaysListAllOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listAll operation. */ +export type NatGatewaysListAllResponse = NatGatewayListResult; + +/** Optional parameters. */ +export interface NatGatewaysListOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type NatGatewaysListResponse = NatGatewayListResult; + +/** Optional parameters. */ +export interface NatGatewaysListAllNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listAllNext operation. */ +export type NatGatewaysListAllNextResponse = NatGatewayListResult; + +/** Optional parameters. */ +export interface NatGatewaysListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type NatGatewaysListNextResponse = NatGatewayListResult; + +/** Optional parameters. */ +export interface NetworkInterfaceIPConfigurationsListOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type NetworkInterfaceIPConfigurationsListResponse = NetworkInterfaceIPConfigurationListResult; + +/** Optional parameters. */ +export interface NetworkInterfaceIPConfigurationsGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type NetworkInterfaceIPConfigurationsGetResponse = NetworkInterfaceIPConfiguration; + +/** Optional parameters. */ +export interface NetworkInterfaceIPConfigurationsListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type NetworkInterfaceIPConfigurationsListNextResponse = NetworkInterfaceIPConfigurationListResult; + +/** Optional parameters. */ +export interface NetworkInterfaceLoadBalancersListOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type NetworkInterfaceLoadBalancersListResponse = NetworkInterfaceLoadBalancerListResult; + +/** Optional parameters. */ +export interface NetworkInterfaceLoadBalancersListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type NetworkInterfaceLoadBalancersListNextResponse = NetworkInterfaceLoadBalancerListResult; + +/** Optional parameters. */ +export interface NetworkInterfaceTapConfigurationsDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Optional parameters. */ +export interface NetworkInterfaceTapConfigurationsGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type NetworkInterfaceTapConfigurationsGetResponse = NetworkInterfaceTapConfiguration; + +/** Optional parameters. */ +export interface NetworkInterfaceTapConfigurationsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the createOrUpdate operation. */ +export type NetworkInterfaceTapConfigurationsCreateOrUpdateResponse = NetworkInterfaceTapConfiguration; + +/** Optional parameters. */ +export interface NetworkInterfaceTapConfigurationsListOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type NetworkInterfaceTapConfigurationsListResponse = NetworkInterfaceTapConfigurationListResult; + +/** Optional parameters. */ +export interface NetworkInterfaceTapConfigurationsListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type NetworkInterfaceTapConfigurationsListNextResponse = NetworkInterfaceTapConfigurationListResult; + +/** Optional parameters. */ +export interface NetworkManagersGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type NetworkManagersGetResponse = NetworkManager; + +/** Optional parameters. */ +export interface NetworkManagersCreateOrUpdateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the createOrUpdate operation. */ +export type NetworkManagersCreateOrUpdateResponse = NetworkManager; + +/** Optional parameters. */ +export interface NetworkManagersDeleteOptionalParams + extends coreClient.OperationOptions { + /** Deletes the resource even if it is part of a deployed configuration. If the configuration has been deployed, the service will do a cleanup deployment in the background, prior to the delete. */ + force?: boolean; + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Optional parameters. */ +export interface NetworkManagersPatchOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the patch operation. */ +export type NetworkManagersPatchResponse = NetworkManager; + +/** Optional parameters. */ +export interface NetworkManagersListBySubscriptionOptionalParams + extends coreClient.OperationOptions { + /** An optional query parameter which specifies the maximum number of records to be returned by the server. */ + top?: number; + /** SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */ + skipToken?: string; +} + +/** Contains response data for the listBySubscription operation. */ +export type NetworkManagersListBySubscriptionResponse = NetworkManagerListResult; + +/** Optional parameters. */ +export interface NetworkManagersListOptionalParams + extends coreClient.OperationOptions { + /** An optional query parameter which specifies the maximum number of records to be returned by the server. */ + top?: number; + /** SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */ + skipToken?: string; +} + +/** Contains response data for the list operation. */ +export type NetworkManagersListResponse = NetworkManagerListResult; + +/** Optional parameters. */ +export interface NetworkManagersListBySubscriptionNextOptionalParams + extends coreClient.OperationOptions { + /** An optional query parameter which specifies the maximum number of records to be returned by the server. */ + top?: number; + /** SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */ + skipToken?: string; +} + +/** Contains response data for the listBySubscriptionNext operation. */ +export type NetworkManagersListBySubscriptionNextResponse = NetworkManagerListResult; + +/** Optional parameters. */ +export interface NetworkManagersListNextOptionalParams + extends coreClient.OperationOptions { + /** An optional query parameter which specifies the maximum number of records to be returned by the server. */ + top?: number; + /** SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */ + skipToken?: string; +} + +/** Contains response data for the listNext operation. */ +export type NetworkManagersListNextResponse = NetworkManagerListResult; + +/** Optional parameters. */ +export interface NetworkManagerCommitsPostOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -15434,96 +17166,119 @@ export interface LoadBalancersListInboundNatRulePortMappingsOptionalParams resumeFrom?: string; } -/** Contains response data for the listInboundNatRulePortMappings operation. */ -export type LoadBalancersListInboundNatRulePortMappingsResponse = BackendAddressInboundNatRulePortMappings; +/** Contains response data for the post operation. */ +export type NetworkManagerCommitsPostResponse = NetworkManagerCommit; /** Optional parameters. */ -export interface LoadBalancersListAllNextOptionalParams +export interface NetworkManagerDeploymentStatusListOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listAllNext operation. */ -export type LoadBalancersListAllNextResponse = LoadBalancerListResult; +/** Contains response data for the list operation. */ +export type NetworkManagerDeploymentStatusListResponse = NetworkManagerDeploymentStatusListResult; /** Optional parameters. */ -export interface LoadBalancersListNextOptionalParams +export interface SubscriptionNetworkManagerConnectionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type LoadBalancersListNextResponse = LoadBalancerListResult; +/** Contains response data for the createOrUpdate operation. */ +export type SubscriptionNetworkManagerConnectionsCreateOrUpdateResponse = NetworkManagerConnection; /** Optional parameters. */ -export interface LoadBalancerBackendAddressPoolsListOptionalParams +export interface SubscriptionNetworkManagerConnectionsGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the list operation. */ -export type LoadBalancerBackendAddressPoolsListResponse = LoadBalancerBackendAddressPoolListResult; +/** Contains response data for the get operation. */ +export type SubscriptionNetworkManagerConnectionsGetResponse = NetworkManagerConnection; /** Optional parameters. */ -export interface LoadBalancerBackendAddressPoolsGetOptionalParams +export interface SubscriptionNetworkManagerConnectionsDeleteOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the get operation. */ -export type LoadBalancerBackendAddressPoolsGetResponse = BackendAddressPool; - /** Optional parameters. */ -export interface LoadBalancerBackendAddressPoolsCreateOrUpdateOptionalParams +export interface SubscriptionNetworkManagerConnectionsListOptionalParams extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; + /** An optional query parameter which specifies the maximum number of records to be returned by the server. */ + top?: number; + /** SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */ + skipToken?: string; } -/** Contains response data for the createOrUpdate operation. */ -export type LoadBalancerBackendAddressPoolsCreateOrUpdateResponse = BackendAddressPool; +/** Contains response data for the list operation. */ +export type SubscriptionNetworkManagerConnectionsListResponse = NetworkManagerConnectionListResult; /** Optional parameters. */ -export interface LoadBalancerBackendAddressPoolsDeleteOptionalParams +export interface SubscriptionNetworkManagerConnectionsListNextOptionalParams extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; + /** An optional query parameter which specifies the maximum number of records to be returned by the server. */ + top?: number; + /** SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */ + skipToken?: string; } -/** Optional parameters. */ -export interface LoadBalancerBackendAddressPoolsListNextOptionalParams - extends coreClient.OperationOptions {} - /** Contains response data for the listNext operation. */ -export type LoadBalancerBackendAddressPoolsListNextResponse = LoadBalancerBackendAddressPoolListResult; +export type SubscriptionNetworkManagerConnectionsListNextResponse = NetworkManagerConnectionListResult; /** Optional parameters. */ -export interface LoadBalancerFrontendIPConfigurationsListOptionalParams +export interface ManagementGroupNetworkManagerConnectionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the list operation. */ -export type LoadBalancerFrontendIPConfigurationsListResponse = LoadBalancerFrontendIPConfigurationListResult; +/** Contains response data for the createOrUpdate operation. */ +export type ManagementGroupNetworkManagerConnectionsCreateOrUpdateResponse = NetworkManagerConnection; /** Optional parameters. */ -export interface LoadBalancerFrontendIPConfigurationsGetOptionalParams +export interface ManagementGroupNetworkManagerConnectionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type LoadBalancerFrontendIPConfigurationsGetResponse = FrontendIPConfiguration; +export type ManagementGroupNetworkManagerConnectionsGetResponse = NetworkManagerConnection; /** Optional parameters. */ -export interface LoadBalancerFrontendIPConfigurationsListNextOptionalParams +export interface ManagementGroupNetworkManagerConnectionsDeleteOptionalParams extends coreClient.OperationOptions {} +/** Optional parameters. */ +export interface ManagementGroupNetworkManagerConnectionsListOptionalParams + extends coreClient.OperationOptions { + /** An optional query parameter which specifies the maximum number of records to be returned by the server. */ + top?: number; + /** SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */ + skipToken?: string; +} + +/** Contains response data for the list operation. */ +export type ManagementGroupNetworkManagerConnectionsListResponse = NetworkManagerConnectionListResult; + +/** Optional parameters. */ +export interface ManagementGroupNetworkManagerConnectionsListNextOptionalParams + extends coreClient.OperationOptions { + /** An optional query parameter which specifies the maximum number of records to be returned by the server. */ + top?: number; + /** SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */ + skipToken?: string; +} + /** Contains response data for the listNext operation. */ -export type LoadBalancerFrontendIPConfigurationsListNextResponse = LoadBalancerFrontendIPConfigurationListResult; +export type ManagementGroupNetworkManagerConnectionsListNextResponse = NetworkManagerConnectionListResult; /** Optional parameters. */ -export interface InboundNatRulesListOptionalParams +export interface ConnectivityConfigurationsGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the list operation. */ -export type InboundNatRulesListResponse = InboundNatRuleListResult; +/** Contains response data for the get operation. */ +export type ConnectivityConfigurationsGetResponse = ConnectivityConfiguration; /** Optional parameters. */ -export interface InboundNatRulesDeleteOptionalParams +export interface ConnectivityConfigurationsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the createOrUpdate operation. */ +export type ConnectivityConfigurationsCreateOrUpdateResponse = ConnectivityConfiguration; + +/** Optional parameters. */ +export interface ConnectivityConfigurationsDeleteOptionalParams extends coreClient.OperationOptions { + /** Deletes the resource even if it is part of a deployed configuration. If the configuration has been deployed, the service will do a cleanup deployment in the background, prior to the delete. */ + force?: boolean; /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ @@ -15531,114 +17286,197 @@ export interface InboundNatRulesDeleteOptionalParams } /** Optional parameters. */ -export interface InboundNatRulesGetOptionalParams +export interface ConnectivityConfigurationsListOptionalParams extends coreClient.OperationOptions { - /** Expands referenced resources. */ - expand?: string; + /** An optional query parameter which specifies the maximum number of records to be returned by the server. */ + top?: number; + /** SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */ + skipToken?: string; +} + +/** Contains response data for the list operation. */ +export type ConnectivityConfigurationsListResponse = ConnectivityConfigurationListResult; + +/** Optional parameters. */ +export interface ConnectivityConfigurationsListNextOptionalParams + extends coreClient.OperationOptions { + /** An optional query parameter which specifies the maximum number of records to be returned by the server. */ + top?: number; + /** SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */ + skipToken?: string; } +/** Contains response data for the listNext operation. */ +export type ConnectivityConfigurationsListNextResponse = ConnectivityConfigurationListResult; + +/** Optional parameters. */ +export interface NetworkGroupsGetOptionalParams + extends coreClient.OperationOptions {} + /** Contains response data for the get operation. */ -export type InboundNatRulesGetResponse = InboundNatRule; +export type NetworkGroupsGetResponse = NetworkGroup; /** Optional parameters. */ -export interface InboundNatRulesCreateOrUpdateOptionalParams +export interface NetworkGroupsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */ + ifMatch?: string; +} + +/** Contains response data for the createOrUpdate operation. */ +export type NetworkGroupsCreateOrUpdateResponse = NetworkGroupsCreateOrUpdateHeaders & + NetworkGroup; + +/** Optional parameters. */ +export interface NetworkGroupsDeleteOptionalParams extends coreClient.OperationOptions { + /** Deletes the resource even if it is part of a deployed configuration. If the configuration has been deployed, the service will do a cleanup deployment in the background, prior to the delete. */ + force?: boolean; /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } -/** Contains response data for the createOrUpdate operation. */ -export type InboundNatRulesCreateOrUpdateResponse = InboundNatRule; +/** Optional parameters. */ +export interface NetworkGroupsListOptionalParams + extends coreClient.OperationOptions { + /** An optional query parameter which specifies the maximum number of records to be returned by the server. */ + top?: number; + /** SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */ + skipToken?: string; +} + +/** Contains response data for the list operation. */ +export type NetworkGroupsListResponse = NetworkGroupListResult; /** Optional parameters. */ -export interface InboundNatRulesListNextOptionalParams - extends coreClient.OperationOptions {} +export interface NetworkGroupsListNextOptionalParams + extends coreClient.OperationOptions { + /** An optional query parameter which specifies the maximum number of records to be returned by the server. */ + top?: number; + /** SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */ + skipToken?: string; +} /** Contains response data for the listNext operation. */ -export type InboundNatRulesListNextResponse = InboundNatRuleListResult; +export type NetworkGroupsListNextResponse = NetworkGroupListResult; /** Optional parameters. */ -export interface LoadBalancerLoadBalancingRulesListOptionalParams +export interface StaticMembersGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the list operation. */ -export type LoadBalancerLoadBalancingRulesListResponse = LoadBalancerLoadBalancingRuleListResult; +/** Contains response data for the get operation. */ +export type StaticMembersGetResponse = StaticMember; /** Optional parameters. */ -export interface LoadBalancerLoadBalancingRulesGetOptionalParams +export interface StaticMembersCreateOrUpdateOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the get operation. */ -export type LoadBalancerLoadBalancingRulesGetResponse = LoadBalancingRule; +/** Contains response data for the createOrUpdate operation. */ +export type StaticMembersCreateOrUpdateResponse = StaticMember; /** Optional parameters. */ -export interface LoadBalancerLoadBalancingRulesListNextOptionalParams +export interface StaticMembersDeleteOptionalParams extends coreClient.OperationOptions {} +/** Optional parameters. */ +export interface StaticMembersListOptionalParams + extends coreClient.OperationOptions { + /** An optional query parameter which specifies the maximum number of records to be returned by the server. */ + top?: number; + /** SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */ + skipToken?: string; +} + +/** Contains response data for the list operation. */ +export type StaticMembersListResponse = StaticMemberListResult; + +/** Optional parameters. */ +export interface StaticMembersListNextOptionalParams + extends coreClient.OperationOptions { + /** An optional query parameter which specifies the maximum number of records to be returned by the server. */ + top?: number; + /** SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */ + skipToken?: string; +} + /** Contains response data for the listNext operation. */ -export type LoadBalancerLoadBalancingRulesListNextResponse = LoadBalancerLoadBalancingRuleListResult; +export type StaticMembersListNextResponse = StaticMemberListResult; /** Optional parameters. */ -export interface LoadBalancerOutboundRulesListOptionalParams +export interface ScopeConnectionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the list operation. */ -export type LoadBalancerOutboundRulesListResponse = LoadBalancerOutboundRuleListResult; +/** Contains response data for the createOrUpdate operation. */ +export type ScopeConnectionsCreateOrUpdateResponse = ScopeConnection; /** Optional parameters. */ -export interface LoadBalancerOutboundRulesGetOptionalParams +export interface ScopeConnectionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type LoadBalancerOutboundRulesGetResponse = OutboundRule; +export type ScopeConnectionsGetResponse = ScopeConnection; /** Optional parameters. */ -export interface LoadBalancerOutboundRulesListNextOptionalParams +export interface ScopeConnectionsDeleteOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type LoadBalancerOutboundRulesListNextResponse = LoadBalancerOutboundRuleListResult; - /** Optional parameters. */ -export interface LoadBalancerNetworkInterfacesListOptionalParams - extends coreClient.OperationOptions {} +export interface ScopeConnectionsListOptionalParams + extends coreClient.OperationOptions { + /** An optional query parameter which specifies the maximum number of records to be returned by the server. */ + top?: number; + /** SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */ + skipToken?: string; +} /** Contains response data for the list operation. */ -export type LoadBalancerNetworkInterfacesListResponse = NetworkInterfaceListResult; +export type ScopeConnectionsListResponse = ScopeConnectionListResult; /** Optional parameters. */ -export interface LoadBalancerNetworkInterfacesListNextOptionalParams - extends coreClient.OperationOptions {} +export interface ScopeConnectionsListNextOptionalParams + extends coreClient.OperationOptions { + /** An optional query parameter which specifies the maximum number of records to be returned by the server. */ + top?: number; + /** SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */ + skipToken?: string; +} /** Contains response data for the listNext operation. */ -export type LoadBalancerNetworkInterfacesListNextResponse = NetworkInterfaceListResult; +export type ScopeConnectionsListNextResponse = ScopeConnectionListResult; /** Optional parameters. */ -export interface LoadBalancerProbesListOptionalParams - extends coreClient.OperationOptions {} +export interface SecurityAdminConfigurationsListOptionalParams + extends coreClient.OperationOptions { + /** An optional query parameter which specifies the maximum number of records to be returned by the server. */ + top?: number; + /** SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */ + skipToken?: string; +} /** Contains response data for the list operation. */ -export type LoadBalancerProbesListResponse = LoadBalancerProbeListResult; +export type SecurityAdminConfigurationsListResponse = SecurityAdminConfigurationListResult; /** Optional parameters. */ -export interface LoadBalancerProbesGetOptionalParams +export interface SecurityAdminConfigurationsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type LoadBalancerProbesGetResponse = Probe; +export type SecurityAdminConfigurationsGetResponse = SecurityAdminConfiguration; /** Optional parameters. */ -export interface LoadBalancerProbesListNextOptionalParams +export interface SecurityAdminConfigurationsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type LoadBalancerProbesListNextResponse = LoadBalancerProbeListResult; +/** Contains response data for the createOrUpdate operation. */ +export type SecurityAdminConfigurationsCreateOrUpdateResponse = SecurityAdminConfiguration; /** Optional parameters. */ -export interface NatGatewaysDeleteOptionalParams +export interface SecurityAdminConfigurationsDeleteOptionalParams extends coreClient.OperationOptions { + /** Deletes the resource even if it is part of a deployed configuration. If the configuration has been deployed, the service will do a cleanup deployment in the background, prior to the delete. */ + force?: boolean; /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ @@ -15646,100 +17484,97 @@ export interface NatGatewaysDeleteOptionalParams } /** Optional parameters. */ -export interface NatGatewaysGetOptionalParams +export interface SecurityAdminConfigurationsListNextOptionalParams extends coreClient.OperationOptions { - /** Expands referenced resources. */ - expand?: string; + /** An optional query parameter which specifies the maximum number of records to be returned by the server. */ + top?: number; + /** SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */ + skipToken?: string; } -/** Contains response data for the get operation. */ -export type NatGatewaysGetResponse = NatGateway; +/** Contains response data for the listNext operation. */ +export type SecurityAdminConfigurationsListNextResponse = SecurityAdminConfigurationListResult; /** Optional parameters. */ -export interface NatGatewaysCreateOrUpdateOptionalParams +export interface AdminRuleCollectionsListOptionalParams extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; + /** An optional query parameter which specifies the maximum number of records to be returned by the server. */ + top?: number; + /** SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */ + skipToken?: string; } -/** Contains response data for the createOrUpdate operation. */ -export type NatGatewaysCreateOrUpdateResponse = NatGateway; - -/** Optional parameters. */ -export interface NatGatewaysUpdateTagsOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the updateTags operation. */ -export type NatGatewaysUpdateTagsResponse = NatGateway; +/** Contains response data for the list operation. */ +export type AdminRuleCollectionsListResponse = AdminRuleCollectionListResult; /** Optional parameters. */ -export interface NatGatewaysListAllOptionalParams +export interface AdminRuleCollectionsGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listAll operation. */ -export type NatGatewaysListAllResponse = NatGatewayListResult; +/** Contains response data for the get operation. */ +export type AdminRuleCollectionsGetResponse = AdminRuleCollection; /** Optional parameters. */ -export interface NatGatewaysListOptionalParams +export interface AdminRuleCollectionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the list operation. */ -export type NatGatewaysListResponse = NatGatewayListResult; +/** Contains response data for the createOrUpdate operation. */ +export type AdminRuleCollectionsCreateOrUpdateResponse = AdminRuleCollection; /** Optional parameters. */ -export interface NatGatewaysListAllNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listAllNext operation. */ -export type NatGatewaysListAllNextResponse = NatGatewayListResult; +export interface AdminRuleCollectionsDeleteOptionalParams + extends coreClient.OperationOptions { + /** Deletes the resource even if it is part of a deployed configuration. If the configuration has been deployed, the service will do a cleanup deployment in the background, prior to the delete. */ + force?: boolean; + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} /** Optional parameters. */ -export interface NatGatewaysListNextOptionalParams - extends coreClient.OperationOptions {} +export interface AdminRuleCollectionsListNextOptionalParams + extends coreClient.OperationOptions { + /** An optional query parameter which specifies the maximum number of records to be returned by the server. */ + top?: number; + /** SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */ + skipToken?: string; +} /** Contains response data for the listNext operation. */ -export type NatGatewaysListNextResponse = NatGatewayListResult; +export type AdminRuleCollectionsListNextResponse = AdminRuleCollectionListResult; /** Optional parameters. */ -export interface NetworkInterfaceIPConfigurationsListOptionalParams - extends coreClient.OperationOptions {} +export interface AdminRulesListOptionalParams + extends coreClient.OperationOptions { + /** An optional query parameter which specifies the maximum number of records to be returned by the server. */ + top?: number; + /** SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */ + skipToken?: string; +} /** Contains response data for the list operation. */ -export type NetworkInterfaceIPConfigurationsListResponse = NetworkInterfaceIPConfigurationListResult; +export type AdminRulesListResponse = AdminRuleListResult; /** Optional parameters. */ -export interface NetworkInterfaceIPConfigurationsGetOptionalParams +export interface AdminRulesGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type NetworkInterfaceIPConfigurationsGetResponse = NetworkInterfaceIPConfiguration; - -/** Optional parameters. */ -export interface NetworkInterfaceIPConfigurationsListNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listNext operation. */ -export type NetworkInterfaceIPConfigurationsListNextResponse = NetworkInterfaceIPConfigurationListResult; - -/** Optional parameters. */ -export interface NetworkInterfaceLoadBalancersListOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the list operation. */ -export type NetworkInterfaceLoadBalancersListResponse = NetworkInterfaceLoadBalancerListResult; +export type AdminRulesGetResponse = BaseAdminRuleUnion; /** Optional parameters. */ -export interface NetworkInterfaceLoadBalancersListNextOptionalParams +export interface AdminRulesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type NetworkInterfaceLoadBalancersListNextResponse = NetworkInterfaceLoadBalancerListResult; +/** Contains response data for the createOrUpdate operation. */ +export type AdminRulesCreateOrUpdateResponse = BaseAdminRuleUnion; /** Optional parameters. */ -export interface NetworkInterfaceTapConfigurationsDeleteOptionalParams +export interface AdminRulesDeleteOptionalParams extends coreClient.OperationOptions { + /** Deletes the resource even if it is part of a deployed configuration. If the configuration has been deployed, the service will do a cleanup deployment in the background, prior to the delete. */ + force?: boolean; /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ @@ -15747,37 +17582,16 @@ export interface NetworkInterfaceTapConfigurationsDeleteOptionalParams } /** Optional parameters. */ -export interface NetworkInterfaceTapConfigurationsGetOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the get operation. */ -export type NetworkInterfaceTapConfigurationsGetResponse = NetworkInterfaceTapConfiguration; - -/** Optional parameters. */ -export interface NetworkInterfaceTapConfigurationsCreateOrUpdateOptionalParams +export interface AdminRulesListNextOptionalParams extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; + /** An optional query parameter which specifies the maximum number of records to be returned by the server. */ + top?: number; + /** SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. */ + skipToken?: string; } -/** Contains response data for the createOrUpdate operation. */ -export type NetworkInterfaceTapConfigurationsCreateOrUpdateResponse = NetworkInterfaceTapConfiguration; - -/** Optional parameters. */ -export interface NetworkInterfaceTapConfigurationsListOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the list operation. */ -export type NetworkInterfaceTapConfigurationsListResponse = NetworkInterfaceTapConfigurationListResult; - -/** Optional parameters. */ -export interface NetworkInterfaceTapConfigurationsListNextOptionalParams - extends coreClient.OperationOptions {} - /** Contains response data for the listNext operation. */ -export type NetworkInterfaceTapConfigurationsListNextResponse = NetworkInterfaceTapConfigurationListResult; +export type AdminRulesListNextResponse = AdminRuleListResult; /** Optional parameters. */ export interface NetworkProfilesDeleteOptionalParams @@ -19314,13 +21128,21 @@ export interface WebApplicationFirewallPoliciesListAllNextOptionalParams /** Contains response data for the listAllNext operation. */ export type WebApplicationFirewallPoliciesListAllNextResponse = WebApplicationFirewallPolicyListResult; +/** Optional parameters. */ +export interface ExpressRouteProviderPortsLocationListOptionalParams + extends coreClient.OperationOptions { + /** The filter to apply on the operation. For example, you can use $filter=location eq '{state}'. */ + filter?: string; +} + +/** Contains response data for the list operation. */ +export type ExpressRouteProviderPortsLocationListResponse = ExpressRouteProviderPortListResult; + /** Optional parameters. */ export interface NetworkManagementClientOptionalParams extends coreClient.ServiceClientOptions { /** server parameter */ $host?: string; - /** Api Version */ - apiVersion?: string; /** Overrides client endpoint. */ endpoint?: string; } diff --git a/sdk/network/arm-network/src/models/mappers.ts b/sdk/network/arm-network/src/models/mappers.ts index 6b8c680c284b..e6019514d4d4 100644 --- a/sdk/network/arm-network/src/models/mappers.ts +++ b/sdk/network/arm-network/src/models/mappers.ts @@ -2430,6 +2430,26 @@ export const AzureFirewallListResult: coreClient.CompositeMapper = { } }; +export const IPPrefixesList: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "IPPrefixesList", + modelProperties: { + ipPrefixes: { + serializedName: "ipPrefixes", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + export const AzureFirewallFqdnTagListResult: coreClient.CompositeMapper = { type: { name: "Composite", @@ -4300,6 +4320,12 @@ export const FirewallPolicySnat: coreClient.CompositeMapper = { } } } + }, + autoLearnPrivateRanges: { + serializedName: "autoLearnPrivateRanges", + type: { + name: "String" + } } } } @@ -4353,10 +4379,10 @@ export const DnsSettings: coreClient.CompositeMapper = { } }; -export const ExplicitProxySettings: coreClient.CompositeMapper = { +export const ExplicitProxy: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ExplicitProxySettings", + className: "ExplicitProxy", modelProperties: { enableExplicitProxy: { serializedName: "enableExplicitProxy", @@ -4385,6 +4411,13 @@ export const ExplicitProxySettings: coreClient.CompositeMapper = { name: "Number" } }, + enablePacFile: { + serializedName: "enablePacFile", + nullable: true, + type: { + name: "Boolean" + } + }, pacFilePort: { constraints: { InclusiveMaximum: 64000, @@ -5859,142 +5892,189 @@ export const NetworkInterfaceTapConfigurationListResult: coreClient.CompositeMap } }; -export const ContainerNetworkInterfaceIpConfiguration: coreClient.CompositeMapper = { +export const NetworkManagerPropertiesNetworkManagerScopes: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ContainerNetworkInterfaceIpConfiguration", + className: "NetworkManagerPropertiesNetworkManagerScopes", modelProperties: { - name: { - serializedName: "name", - type: { - name: "String" - } - }, - type: { - serializedName: "type", - readOnly: true, + managementGroups: { + serializedName: "managementGroups", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - etag: { - serializedName: "etag", - readOnly: true, + subscriptions: { + serializedName: "subscriptions", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - provisioningState: { - serializedName: "properties.provisioningState", + crossTenantScopes: { + serializedName: "crossTenantScopes", readOnly: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CrossTenantScopes" + } + } } } } } }; -export const NetworkProfileListResult: coreClient.CompositeMapper = { +export const CrossTenantScopes: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NetworkProfileListResult", + className: "CrossTenantScopes", modelProperties: { - value: { - serializedName: "value", + tenantId: { + serializedName: "tenantId", + readOnly: true, + type: { + name: "String" + } + }, + managementGroups: { + serializedName: "managementGroups", + readOnly: true, type: { name: "Sequence", element: { type: { - name: "Composite", - className: "NetworkProfile" + name: "String" } } } }, - nextLink: { - serializedName: "nextLink", + subscriptions: { + serializedName: "subscriptions", + readOnly: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } } } } }; -export const NetworkSecurityGroupListResult: coreClient.CompositeMapper = { +export const SystemData: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NetworkSecurityGroupListResult", + className: "SystemData", modelProperties: { - value: { - serializedName: "value", + createdBy: { + serializedName: "createdBy", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "NetworkSecurityGroup" - } - } + name: "String" } }, - nextLink: { - serializedName: "nextLink", + createdByType: { + serializedName: "createdByType", + type: { + name: "String" + } + }, + createdAt: { + serializedName: "createdAt", + type: { + name: "DateTime" + } + }, + lastModifiedBy: { + serializedName: "lastModifiedBy", + type: { + name: "String" + } + }, + lastModifiedByType: { + serializedName: "lastModifiedByType", type: { name: "String" } + }, + lastModifiedAt: { + serializedName: "lastModifiedAt", + type: { + name: "DateTime" + } } } } }; -export const SecurityRuleListResult: coreClient.CompositeMapper = { +export const PatchObject: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SecurityRuleListResult", + className: "PatchObject", modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SecurityRule" - } - } - } - }, - nextLink: { - serializedName: "nextLink", + tags: { + serializedName: "tags", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "String" } } } } } } }; -export const VirtualApplianceSkuProperties: coreClient.CompositeMapper = { +export const NetworkManagerCommit: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualApplianceSkuProperties", + className: "NetworkManagerCommit", modelProperties: { - vendor: { - serializedName: "vendor", + commitId: { + serializedName: "commitId", + readOnly: true, type: { name: "String" } }, - bundledScaleUnit: { - serializedName: "bundledScaleUnit", + targetLocations: { + serializedName: "targetLocations", + required: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - marketPlaceVersion: { - serializedName: "marketPlaceVersion", + configurationIds: { + serializedName: "configurationIds", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + commitType: { + serializedName: "commitType", + required: true, type: { name: "String" } @@ -6003,28 +6083,35 @@ export const VirtualApplianceSkuProperties: coreClient.CompositeMapper = { } }; -export const VirtualApplianceNicProperties: coreClient.CompositeMapper = { +export const NetworkManagerDeploymentStatusParameter: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualApplianceNicProperties", + className: "NetworkManagerDeploymentStatusParameter", modelProperties: { - name: { - serializedName: "name", - readOnly: true, + regions: { + serializedName: "regions", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - publicIpAddress: { - serializedName: "publicIpAddress", - readOnly: true, + deploymentTypes: { + serializedName: "deploymentTypes", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - privateIpAddress: { - serializedName: "privateIpAddress", - readOnly: true, + skipToken: { + serializedName: "skipToken", type: { name: "String" } @@ -6033,10 +6120,10 @@ export const VirtualApplianceNicProperties: coreClient.CompositeMapper = { } }; -export const NetworkVirtualApplianceListResult: coreClient.CompositeMapper = { +export const NetworkManagerDeploymentStatusListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NetworkVirtualApplianceListResult", + className: "NetworkManagerDeploymentStatusListResult", modelProperties: { value: { serializedName: "value", @@ -6045,13 +6132,13 @@ export const NetworkVirtualApplianceListResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "NetworkVirtualAppliance" + className: "NetworkManagerDeploymentStatus" } } } }, - nextLink: { - serializedName: "nextLink", + skipToken: { + serializedName: "skipToken", type: { name: "String" } @@ -6060,53 +6147,60 @@ export const NetworkVirtualApplianceListResult: coreClient.CompositeMapper = { } }; -export const Office365PolicyProperties: coreClient.CompositeMapper = { +export const NetworkManagerDeploymentStatus: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Office365PolicyProperties", + className: "NetworkManagerDeploymentStatus", modelProperties: { - breakOutCategories: { - serializedName: "breakOutCategories", + commitTime: { + serializedName: "commitTime", type: { - name: "Composite", - className: "BreakOutCategoryPolicies" + name: "DateTime" } - } - } - } -}; - -export const BreakOutCategoryPolicies: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "BreakOutCategoryPolicies", - modelProperties: { - allow: { - serializedName: "allow", + }, + region: { + serializedName: "region", type: { - name: "Boolean" + name: "String" } }, - optimize: { - serializedName: "optimize", + deploymentStatus: { + serializedName: "deploymentStatus", type: { - name: "Boolean" + name: "String" } }, - default: { - serializedName: "default", + configurationIds: { + serializedName: "configurationIds", type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + deploymentType: { + serializedName: "deploymentType", + type: { + name: "String" + } + }, + errorMessage: { + serializedName: "errorMessage", + type: { + name: "String" } } } } }; -export const NetworkVirtualApplianceSiteListResult: coreClient.CompositeMapper = { +export const NetworkManagerListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NetworkVirtualApplianceSiteListResult", + className: "NetworkManagerListResult", modelProperties: { value: { serializedName: "value", @@ -6115,7 +6209,7 @@ export const NetworkVirtualApplianceSiteListResult: coreClient.CompositeMapper = element: { type: { name: "Composite", - className: "VirtualApplianceSite" + className: "NetworkManager" } } } @@ -6130,25 +6224,24 @@ export const NetworkVirtualApplianceSiteListResult: coreClient.CompositeMapper = } }; -export const NetworkVirtualApplianceSkuListResult: coreClient.CompositeMapper = { +export const ActiveConfigurationParameter: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NetworkVirtualApplianceSkuListResult", + className: "ActiveConfigurationParameter", modelProperties: { - value: { - serializedName: "value", + regions: { + serializedName: "regions", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "NetworkVirtualApplianceSku" + name: "String" } } } }, - nextLink: { - serializedName: "nextLink", + skipToken: { + serializedName: "skipToken", type: { name: "String" } @@ -6157,226 +6250,218 @@ export const NetworkVirtualApplianceSkuListResult: coreClient.CompositeMapper = } }; -export const NetworkVirtualApplianceSkuInstances: coreClient.CompositeMapper = { +export const ActiveConnectivityConfigurationsListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NetworkVirtualApplianceSkuInstances", + className: "ActiveConnectivityConfigurationsListResult", modelProperties: { - scaleUnit: { - serializedName: "scaleUnit", - readOnly: true, + value: { + serializedName: "value", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ActiveConnectivityConfiguration" + } + } } }, - instanceCount: { - serializedName: "instanceCount", - readOnly: true, + skipToken: { + serializedName: "skipToken", type: { - name: "Number" + name: "String" } } } } }; -export const InboundSecurityRules: coreClient.CompositeMapper = { +export const EffectiveConnectivityConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "InboundSecurityRules", + className: "EffectiveConnectivityConfiguration", modelProperties: { - protocol: { - serializedName: "protocol", + id: { + serializedName: "id", type: { name: "String" } }, - sourceAddressPrefix: { - serializedName: "sourceAddressPrefix", + configurationGroups: { + serializedName: "configurationGroups", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ConfigurationGroup" + } + } + } + }, + description: { + serializedName: "properties.description", type: { name: "String" } }, - destinationPortRange: { - constraints: { - InclusiveMaximum: 65535, - InclusiveMinimum: 0 - }, - serializedName: "destinationPortRange", + connectivityTopology: { + serializedName: "properties.connectivityTopology", type: { - name: "Number" + name: "String" } - } - } - } -}; - -export const ErrorResponse: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ErrorResponse", - modelProperties: { - error: { - serializedName: "error", + }, + hubs: { + serializedName: "properties.hubs", type: { - name: "Composite", - className: "ErrorDetails" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Hub" + } + } } - } - } - } -}; - -export const NetworkWatcherListResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "NetworkWatcherListResult", - modelProperties: { - value: { - serializedName: "value", + }, + isGlobal: { + serializedName: "properties.isGlobal", + type: { + name: "String" + } + }, + appliesToGroups: { + serializedName: "properties.appliesToGroups", type: { name: "Sequence", element: { type: { name: "Composite", - className: "NetworkWatcher" + className: "ConnectivityGroupItem" } } } + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + type: { + name: "String" + } + }, + deleteExistingPeering: { + serializedName: "properties.deleteExistingPeering", + type: { + name: "String" + } } } } }; -export const TopologyParameters: coreClient.CompositeMapper = { +export const Hub: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TopologyParameters", + className: "Hub", modelProperties: { - targetResourceGroupName: { - serializedName: "targetResourceGroupName", + resourceId: { + serializedName: "resourceId", type: { name: "String" } }, - targetVirtualNetwork: { - serializedName: "targetVirtualNetwork", - type: { - name: "Composite", - className: "SubResource" - } - }, - targetSubnet: { - serializedName: "targetSubnet", + resourceType: { + serializedName: "resourceType", type: { - name: "Composite", - className: "SubResource" + name: "String" } } } } }; -export const Topology: coreClient.CompositeMapper = { +export const ConnectivityGroupItem: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Topology", + className: "ConnectivityGroupItem", modelProperties: { - id: { - serializedName: "id", - readOnly: true, + networkGroupId: { + serializedName: "networkGroupId", + required: true, type: { name: "String" } }, - createdDateTime: { - serializedName: "createdDateTime", - readOnly: true, + useHubGateway: { + serializedName: "useHubGateway", type: { - name: "DateTime" + name: "String" } }, - lastModified: { - serializedName: "lastModified", - readOnly: true, + isGlobal: { + serializedName: "isGlobal", type: { - name: "DateTime" + name: "String" } }, - resources: { - serializedName: "resources", + groupConnectivity: { + serializedName: "groupConnectivity", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "TopologyResource" - } - } + name: "String" } } } } }; -export const TopologyResource: coreClient.CompositeMapper = { +export const ConfigurationGroup: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TopologyResource", + className: "ConfigurationGroup", modelProperties: { - name: { - serializedName: "name", - type: { - name: "String" - } - }, id: { serializedName: "id", type: { name: "String" } }, - location: { - serializedName: "location", + description: { + serializedName: "properties.description", type: { name: "String" } }, - associations: { - serializedName: "associations", + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "TopologyAssociation" - } - } + name: "String" } } } } }; -export const TopologyAssociation: coreClient.CompositeMapper = { +export const ActiveSecurityAdminRulesListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TopologyAssociation", + className: "ActiveSecurityAdminRulesListResult", modelProperties: { - name: { - serializedName: "name", - type: { - name: "String" - } - }, - resourceId: { - serializedName: "resourceId", + value: { + serializedName: "value", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ActiveBaseSecurityAdminRule" + } + } } }, - associationType: { - serializedName: "associationType", + skipToken: { + serializedName: "skipToken", type: { name: "String" } @@ -6385,62 +6470,73 @@ export const TopologyAssociation: coreClient.CompositeMapper = { } }; -export const VerificationIPFlowParameters: coreClient.CompositeMapper = { +export const ActiveBaseSecurityAdminRule: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VerificationIPFlowParameters", + className: "ActiveBaseSecurityAdminRule", + uberParent: "ActiveBaseSecurityAdminRule", + polymorphicDiscriminator: { + serializedName: "kind", + clientName: "kind" + }, modelProperties: { - targetResourceId: { - serializedName: "targetResourceId", - required: true, + id: { + serializedName: "id", type: { name: "String" } }, - direction: { - serializedName: "direction", - required: true, + commitTime: { + serializedName: "commitTime", type: { - name: "String" + name: "DateTime" } }, - protocol: { - serializedName: "protocol", - required: true, + region: { + serializedName: "region", type: { name: "String" } }, - localPort: { - serializedName: "localPort", - required: true, + configurationDescription: { + serializedName: "configurationDescription", type: { name: "String" } }, - remotePort: { - serializedName: "remotePort", - required: true, + ruleCollectionDescription: { + serializedName: "ruleCollectionDescription", type: { name: "String" } }, - localIPAddress: { - serializedName: "localIPAddress", - required: true, + ruleCollectionAppliesToGroups: { + serializedName: "ruleCollectionAppliesToGroups", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "NetworkManagerSecurityGroupItem" + } + } } }, - remoteIPAddress: { - serializedName: "remoteIPAddress", - required: true, + ruleGroups: { + serializedName: "ruleGroups", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ConfigurationGroup" + } + } } }, - targetNicResourceId: { - serializedName: "targetNicResourceId", + kind: { + serializedName: "kind", + required: true, type: { name: "String" } @@ -6449,19 +6545,14 @@ export const VerificationIPFlowParameters: coreClient.CompositeMapper = { } }; -export const VerificationIPFlowResult: coreClient.CompositeMapper = { +export const NetworkManagerSecurityGroupItem: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VerificationIPFlowResult", + className: "NetworkManagerSecurityGroupItem", modelProperties: { - access: { - serializedName: "access", - type: { - name: "String" - } - }, - ruleName: { - serializedName: "ruleName", + networkGroupId: { + serializedName: "networkGroupId", + required: true, type: { name: "String" } @@ -6470,34 +6561,35 @@ export const VerificationIPFlowResult: coreClient.CompositeMapper = { } }; -export const NextHopParameters: coreClient.CompositeMapper = { +export const ChildResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NextHopParameters", + className: "ChildResource", modelProperties: { - targetResourceId: { - serializedName: "targetResourceId", - required: true, + id: { + serializedName: "id", + readOnly: true, type: { name: "String" } }, - sourceIPAddress: { - serializedName: "sourceIPAddress", - required: true, + name: { + serializedName: "name", + readOnly: true, type: { name: "String" } }, - destinationIPAddress: { - serializedName: "destinationIPAddress", - required: true, + type: { + serializedName: "type", + readOnly: true, type: { name: "String" } }, - targetNicResourceId: { - serializedName: "targetNicResourceId", + etag: { + serializedName: "etag", + readOnly: true, type: { name: "String" } @@ -6506,25 +6598,52 @@ export const NextHopParameters: coreClient.CompositeMapper = { } }; -export const NextHopResult: coreClient.CompositeMapper = { +export const NetworkManagerConnectionListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NextHopResult", + className: "NetworkManagerConnectionListResult", modelProperties: { - nextHopType: { - serializedName: "nextHopType", + value: { + serializedName: "value", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "NetworkManagerConnection" + } + } } }, - nextHopIpAddress: { - serializedName: "nextHopIpAddress", + nextLink: { + serializedName: "nextLink", type: { name: "String" } + } + } + } +}; + +export const ConnectivityConfigurationListResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ConnectivityConfigurationListResult", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ConnectivityConfiguration" + } + } + } }, - routeTableId: { - serializedName: "routeTableId", + nextLink: { + serializedName: "nextLink", type: { name: "String" } @@ -6533,14 +6652,13 @@ export const NextHopResult: coreClient.CompositeMapper = { } }; -export const SecurityGroupViewParameters: coreClient.CompositeMapper = { +export const QueryRequestOptions: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SecurityGroupViewParameters", + className: "QueryRequestOptions", modelProperties: { - targetResourceId: { - serializedName: "targetResourceId", - required: true, + skipToken: { + serializedName: "skipToken", type: { name: "String" } @@ -6549,307 +6667,250 @@ export const SecurityGroupViewParameters: coreClient.CompositeMapper = { } }; -export const SecurityGroupViewResult: coreClient.CompositeMapper = { +export const NetworkManagerEffectiveConnectivityConfigurationListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SecurityGroupViewResult", + className: "NetworkManagerEffectiveConnectivityConfigurationListResult", modelProperties: { - networkInterfaces: { - serializedName: "networkInterfaces", + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { name: "Composite", - className: "SecurityGroupNetworkInterface" + className: "EffectiveConnectivityConfiguration" } } } + }, + skipToken: { + serializedName: "skipToken", + type: { + name: "String" + } } } } }; -export const SecurityGroupNetworkInterface: coreClient.CompositeMapper = { +export const NetworkManagerEffectiveSecurityAdminRulesListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SecurityGroupNetworkInterface", + className: "NetworkManagerEffectiveSecurityAdminRulesListResult", modelProperties: { - id: { - serializedName: "id", + value: { + serializedName: "value", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EffectiveBaseSecurityAdminRule" + } + } } }, - securityRuleAssociations: { - serializedName: "securityRuleAssociations", + skipToken: { + serializedName: "skipToken", type: { - name: "Composite", - className: "SecurityRuleAssociations" + name: "String" } } } } }; -export const SecurityRuleAssociations: coreClient.CompositeMapper = { +export const EffectiveBaseSecurityAdminRule: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SecurityRuleAssociations", + className: "EffectiveBaseSecurityAdminRule", + uberParent: "EffectiveBaseSecurityAdminRule", + polymorphicDiscriminator: { + serializedName: "kind", + clientName: "kind" + }, modelProperties: { - networkInterfaceAssociation: { - serializedName: "networkInterfaceAssociation", + id: { + serializedName: "id", type: { - name: "Composite", - className: "NetworkInterfaceAssociation" + name: "String" } }, - subnetAssociation: { - serializedName: "subnetAssociation", + configurationDescription: { + serializedName: "configurationDescription", type: { - name: "Composite", - className: "SubnetAssociation" + name: "String" } }, - defaultSecurityRules: { - serializedName: "defaultSecurityRules", + ruleCollectionDescription: { + serializedName: "ruleCollectionDescription", + type: { + name: "String" + } + }, + ruleCollectionAppliesToGroups: { + serializedName: "ruleCollectionAppliesToGroups", type: { name: "Sequence", element: { type: { name: "Composite", - className: "SecurityRule" + className: "NetworkManagerSecurityGroupItem" } } } }, - effectiveSecurityRules: { - serializedName: "effectiveSecurityRules", + ruleGroups: { + serializedName: "ruleGroups", type: { name: "Sequence", element: { type: { name: "Composite", - className: "EffectiveNetworkSecurityRule" + className: "ConfigurationGroup" } } } + }, + kind: { + serializedName: "kind", + required: true, + type: { + name: "String" + } } } } }; -export const NetworkInterfaceAssociation: coreClient.CompositeMapper = { +export const NetworkGroupListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NetworkInterfaceAssociation", + className: "NetworkGroupListResult", modelProperties: { - id: { - serializedName: "id", - readOnly: true, - type: { - name: "String" - } - }, - securityRules: { - serializedName: "securityRules", + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { name: "Composite", - className: "SecurityRule" + className: "NetworkGroup" } } } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const SubnetAssociation: coreClient.CompositeMapper = { +export const StaticMemberListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SubnetAssociation", + className: "StaticMemberListResult", modelProperties: { - id: { - serializedName: "id", - readOnly: true, - type: { - name: "String" - } - }, - securityRules: { - serializedName: "securityRules", + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { name: "Composite", - className: "SecurityRule" + className: "StaticMember" } } } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const PacketCapture: coreClient.CompositeMapper = { +export const ScopeConnectionListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PacketCapture", + className: "ScopeConnectionListResult", modelProperties: { - target: { - serializedName: "properties.target", - required: true, - type: { - name: "String" - } - }, - bytesToCapturePerPacket: { - defaultValue: 0, - constraints: { - InclusiveMaximum: 4294967295, - InclusiveMinimum: 0 - }, - serializedName: "properties.bytesToCapturePerPacket", - type: { - name: "Number" - } - }, - totalBytesPerSession: { - defaultValue: 1073741824, - constraints: { - InclusiveMaximum: 4294967295, - InclusiveMinimum: 0 - }, - serializedName: "properties.totalBytesPerSession", - type: { - name: "Number" - } - }, - timeLimitInSeconds: { - defaultValue: 18000, - constraints: { - InclusiveMaximum: 18000, - InclusiveMinimum: 0 - }, - serializedName: "properties.timeLimitInSeconds", + value: { + serializedName: "value", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ScopeConnection" + } + } } }, - storageLocation: { - serializedName: "properties.storageLocation", + nextLink: { + serializedName: "nextLink", type: { - name: "Composite", - className: "PacketCaptureStorageLocation" + name: "String" } - }, - filters: { - serializedName: "properties.filters", + } + } + } +}; + +export const SecurityAdminConfigurationListResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SecurityAdminConfigurationListResult", + modelProperties: { + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { name: "Composite", - className: "PacketCaptureFilter" + className: "SecurityAdminConfiguration" } } } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const PacketCaptureParameters: coreClient.CompositeMapper = { +export const AdminRuleCollectionListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PacketCaptureParameters", + className: "AdminRuleCollectionListResult", modelProperties: { - target: { - serializedName: "target", - required: true, - type: { - name: "String" - } - }, - bytesToCapturePerPacket: { - defaultValue: 0, - constraints: { - InclusiveMaximum: 4294967295, - InclusiveMinimum: 0 - }, - serializedName: "bytesToCapturePerPacket", - type: { - name: "Number" - } - }, - totalBytesPerSession: { - defaultValue: 1073741824, - constraints: { - InclusiveMaximum: 4294967295, - InclusiveMinimum: 0 - }, - serializedName: "totalBytesPerSession", - type: { - name: "Number" - } - }, - timeLimitInSeconds: { - defaultValue: 18000, - constraints: { - InclusiveMaximum: 18000, - InclusiveMinimum: 0 - }, - serializedName: "timeLimitInSeconds", - type: { - name: "Number" - } - }, - storageLocation: { - serializedName: "storageLocation", - type: { - name: "Composite", - className: "PacketCaptureStorageLocation" - } - }, - filters: { - serializedName: "filters", + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { name: "Composite", - className: "PacketCaptureFilter" + className: "AdminRuleCollection" } } } - } - } - } -}; - -export const PacketCaptureStorageLocation: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PacketCaptureStorageLocation", - modelProperties: { - storageId: { - serializedName: "storageId", - type: { - name: "String" - } - }, - storagePath: { - serializedName: "storagePath", - type: { - name: "String" - } }, - filePath: { - serializedName: "filePath", + nextLink: { + serializedName: "nextLink", type: { name: "String" } @@ -6858,38 +6919,25 @@ export const PacketCaptureStorageLocation: coreClient.CompositeMapper = { } }; -export const PacketCaptureFilter: coreClient.CompositeMapper = { +export const AdminRuleListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PacketCaptureFilter", + className: "AdminRuleListResult", modelProperties: { - protocol: { - defaultValue: "Any", - serializedName: "protocol", - type: { - name: "String" - } - }, - localIPAddress: { - serializedName: "localIPAddress", - type: { - name: "String" - } - }, - remoteIPAddress: { - serializedName: "remoteIPAddress", - type: { - name: "String" - } - }, - localPort: { - serializedName: "localPort", + value: { + serializedName: "value", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "BaseAdminRule" + } + } } }, - remotePort: { - serializedName: "remotePort", + nextLink: { + serializedName: "nextLink", type: { name: "String" } @@ -6898,20 +6946,19 @@ export const PacketCaptureFilter: coreClient.CompositeMapper = { } }; -export const PacketCaptureResult: coreClient.CompositeMapper = { +export const ContainerNetworkInterfaceIpConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PacketCaptureResult", + className: "ContainerNetworkInterfaceIpConfiguration", modelProperties: { name: { serializedName: "name", - readOnly: true, type: { name: "String" } }, - id: { - serializedName: "id", + type: { + serializedName: "type", readOnly: true, type: { name: "String" @@ -6924,67 +6971,36 @@ export const PacketCaptureResult: coreClient.CompositeMapper = { name: "String" } }, - target: { - serializedName: "properties.target", + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { name: "String" } - }, - bytesToCapturePerPacket: { - defaultValue: 0, - constraints: { - InclusiveMaximum: 4294967295, - InclusiveMinimum: 0 - }, - serializedName: "properties.bytesToCapturePerPacket", - type: { - name: "Number" - } - }, - totalBytesPerSession: { - defaultValue: 1073741824, - constraints: { - InclusiveMaximum: 4294967295, - InclusiveMinimum: 0 - }, - serializedName: "properties.totalBytesPerSession", - type: { - name: "Number" - } - }, - timeLimitInSeconds: { - defaultValue: 18000, - constraints: { - InclusiveMaximum: 18000, - InclusiveMinimum: 0 - }, - serializedName: "properties.timeLimitInSeconds", - type: { - name: "Number" - } - }, - storageLocation: { - serializedName: "properties.storageLocation", - type: { - name: "Composite", - className: "PacketCaptureStorageLocation" - } - }, - filters: { - serializedName: "properties.filters", + } + } + } +}; + +export const NetworkProfileListResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "NetworkProfileListResult", + modelProperties: { + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { name: "Composite", - className: "PacketCaptureFilter" + className: "NetworkProfile" } } } }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + nextLink: { + serializedName: "nextLink", type: { name: "String" } @@ -6993,60 +7009,37 @@ export const PacketCaptureResult: coreClient.CompositeMapper = { } }; -export const PacketCaptureQueryStatusResult: coreClient.CompositeMapper = { +export const NetworkSecurityGroupListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PacketCaptureQueryStatusResult", + className: "NetworkSecurityGroupListResult", modelProperties: { - name: { - serializedName: "name", - type: { - name: "String" - } - }, - id: { - serializedName: "id", - type: { - name: "String" - } - }, - captureStartTime: { - serializedName: "captureStartTime", - type: { - name: "DateTime" - } - }, - packetCaptureStatus: { - serializedName: "packetCaptureStatus", - type: { - name: "String" - } - }, - stopReason: { - serializedName: "stopReason", - type: { - name: "String" - } - }, - packetCaptureError: { - serializedName: "packetCaptureError", + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "NetworkSecurityGroup" } } } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const PacketCaptureListResult: coreClient.CompositeMapper = { +export const SecurityRuleListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PacketCaptureListResult", + className: "SecurityRuleListResult", modelProperties: { value: { serializedName: "value", @@ -7055,37 +7048,40 @@ export const PacketCaptureListResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "PacketCaptureResult" + className: "SecurityRule" } } } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const TroubleshootingParameters: coreClient.CompositeMapper = { +export const VirtualApplianceSkuProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TroubleshootingParameters", + className: "VirtualApplianceSkuProperties", modelProperties: { - targetResourceId: { - serializedName: "targetResourceId", - required: true, + vendor: { + serializedName: "vendor", type: { name: "String" } }, - storageId: { - serializedName: "properties.storageId", - required: true, + bundledScaleUnit: { + serializedName: "bundledScaleUnit", type: { name: "String" } }, - storagePath: { - serializedName: "properties.storagePath", - required: true, + marketPlaceVersion: { + serializedName: "marketPlaceVersion", type: { name: "String" } @@ -7094,115 +7090,55 @@ export const TroubleshootingParameters: coreClient.CompositeMapper = { } }; -export const TroubleshootingResult: coreClient.CompositeMapper = { +export const VirtualApplianceNicProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TroubleshootingResult", + className: "VirtualApplianceNicProperties", modelProperties: { - startTime: { - serializedName: "startTime", - type: { - name: "DateTime" - } - }, - endTime: { - serializedName: "endTime", + name: { + serializedName: "name", + readOnly: true, type: { - name: "DateTime" + name: "String" } }, - code: { - serializedName: "code", + publicIpAddress: { + serializedName: "publicIpAddress", + readOnly: true, type: { name: "String" } }, - results: { - serializedName: "results", + privateIpAddress: { + serializedName: "privateIpAddress", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "TroubleshootingDetails" - } - } + name: "String" } } } } }; -export const TroubleshootingDetails: coreClient.CompositeMapper = { +export const NetworkVirtualApplianceListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TroubleshootingDetails", + className: "NetworkVirtualApplianceListResult", modelProperties: { - id: { - serializedName: "id", - type: { - name: "String" - } - }, - reasonType: { - serializedName: "reasonType", - type: { - name: "String" - } - }, - summary: { - serializedName: "summary", - type: { - name: "String" - } - }, - detail: { - serializedName: "detail", - type: { - name: "String" - } - }, - recommendedActions: { - serializedName: "recommendedActions", + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { name: "Composite", - className: "TroubleshootingRecommendedActions" + className: "NetworkVirtualAppliance" } } } - } - } - } -}; - -export const TroubleshootingRecommendedActions: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "TroubleshootingRecommendedActions", - modelProperties: { - actionId: { - serializedName: "actionId", - type: { - name: "String" - } - }, - actionText: { - serializedName: "actionText", - type: { - name: "String" - } - }, - actionUri: { - serializedName: "actionUri", - type: { - name: "String" - } }, - actionUriText: { - serializedName: "actionUriText", + nextLink: { + serializedName: "nextLink", type: { name: "String" } @@ -7211,81 +7147,68 @@ export const TroubleshootingRecommendedActions: coreClient.CompositeMapper = { } }; -export const QueryTroubleshootingParameters: coreClient.CompositeMapper = { +export const Office365PolicyProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "QueryTroubleshootingParameters", + className: "Office365PolicyProperties", modelProperties: { - targetResourceId: { - serializedName: "targetResourceId", - required: true, + breakOutCategories: { + serializedName: "breakOutCategories", type: { - name: "String" + name: "Composite", + className: "BreakOutCategoryPolicies" } } } } }; -export const FlowLogInformation: coreClient.CompositeMapper = { +export const BreakOutCategoryPolicies: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FlowLogInformation", + className: "BreakOutCategoryPolicies", modelProperties: { - targetResourceId: { - serializedName: "targetResourceId", - required: true, - type: { - name: "String" - } - }, - flowAnalyticsConfiguration: { - serializedName: "flowAnalyticsConfiguration", - type: { - name: "Composite", - className: "TrafficAnalyticsProperties" - } - }, - storageId: { - serializedName: "properties.storageId", - required: true, - type: { - name: "String" - } - }, - enabled: { - serializedName: "properties.enabled", - required: true, + allow: { + serializedName: "allow", type: { name: "Boolean" } }, - retentionPolicy: { - serializedName: "properties.retentionPolicy", + optimize: { + serializedName: "optimize", type: { - name: "Composite", - className: "RetentionPolicyParameters" + name: "Boolean" } }, - format: { - serializedName: "properties.format", + default: { + serializedName: "default", type: { - name: "Composite", - className: "FlowLogFormatParameters" + name: "Boolean" } } } } }; -export const FlowLogStatusParameters: coreClient.CompositeMapper = { +export const NetworkVirtualApplianceSiteListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FlowLogStatusParameters", + className: "NetworkVirtualApplianceSiteListResult", modelProperties: { - targetResourceId: { - serializedName: "targetResourceId", - required: true, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VirtualApplianceSite" + } + } + } + }, + nextLink: { + serializedName: "nextLink", type: { name: "String" } @@ -7294,40 +7217,25 @@ export const FlowLogStatusParameters: coreClient.CompositeMapper = { } }; -export const ConnectivityParameters: coreClient.CompositeMapper = { +export const NetworkVirtualApplianceSkuListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ConnectivityParameters", + className: "NetworkVirtualApplianceSkuListResult", modelProperties: { - source: { - serializedName: "source", - type: { - name: "Composite", - className: "ConnectivitySource" - } - }, - destination: { - serializedName: "destination", - type: { - name: "Composite", - className: "ConnectivityDestination" - } - }, - protocol: { - serializedName: "protocol", - type: { - name: "String" - } - }, - protocolConfiguration: { - serializedName: "protocolConfiguration", + value: { + serializedName: "value", type: { - name: "Composite", - className: "ProtocolConfiguration" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "NetworkVirtualApplianceSku" + } + } } }, - preferredIPVersion: { - serializedName: "preferredIPVersion", + nextLink: { + serializedName: "nextLink", type: { name: "String" } @@ -7336,24 +7244,21 @@ export const ConnectivityParameters: coreClient.CompositeMapper = { } }; -export const ConnectivitySource: coreClient.CompositeMapper = { +export const NetworkVirtualApplianceSkuInstances: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ConnectivitySource", + className: "NetworkVirtualApplianceSkuInstances", modelProperties: { - resourceId: { - serializedName: "resourceId", - required: true, + scaleUnit: { + serializedName: "scaleUnit", + readOnly: true, type: { name: "String" } }, - port: { - constraints: { - InclusiveMaximum: 65535, - InclusiveMinimum: 0 - }, - serializedName: "port", + instanceCount: { + serializedName: "instanceCount", + readOnly: true, type: { name: "Number" } @@ -7362,29 +7267,29 @@ export const ConnectivitySource: coreClient.CompositeMapper = { } }; -export const ConnectivityDestination: coreClient.CompositeMapper = { +export const InboundSecurityRules: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ConnectivityDestination", + className: "InboundSecurityRules", modelProperties: { - resourceId: { - serializedName: "resourceId", + protocol: { + serializedName: "protocol", type: { name: "String" } }, - address: { - serializedName: "address", + sourceAddressPrefix: { + serializedName: "sourceAddressPrefix", type: { name: "String" } }, - port: { + destinationPortRange: { constraints: { InclusiveMaximum: 65535, InclusiveMinimum: 0 }, - serializedName: "port", + serializedName: "destinationPortRange", type: { name: "Number" } @@ -7393,52 +7298,35 @@ export const ConnectivityDestination: coreClient.CompositeMapper = { } }; -export const ProtocolConfiguration: coreClient.CompositeMapper = { +export const ErrorResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ProtocolConfiguration", + className: "ErrorResponse", modelProperties: { - httpConfiguration: { - serializedName: "HTTPConfiguration", + error: { + serializedName: "error", type: { name: "Composite", - className: "HttpConfiguration" + className: "ErrorDetails" } } } } }; -export const HttpConfiguration: coreClient.CompositeMapper = { +export const NetworkWatcherListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "HttpConfiguration", + className: "NetworkWatcherListResult", modelProperties: { - method: { - serializedName: "method", - type: { - name: "String" - } - }, - headers: { - serializedName: "headers", + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { name: "Composite", - className: "HttpHeader" - } - } - } - }, - validStatusCodes: { - serializedName: "validStatusCodes", - type: { - name: "Sequence", - element: { - type: { - name: "Number" + className: "NetworkWatcher" } } } @@ -7447,390 +7335,283 @@ export const HttpConfiguration: coreClient.CompositeMapper = { } }; -export const HttpHeader: coreClient.CompositeMapper = { +export const TopologyParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "HttpHeader", + className: "TopologyParameters", modelProperties: { - name: { - serializedName: "name", + targetResourceGroupName: { + serializedName: "targetResourceGroupName", type: { name: "String" } }, - value: { - serializedName: "value", + targetVirtualNetwork: { + serializedName: "targetVirtualNetwork", type: { - name: "String" + name: "Composite", + className: "SubResource" + } + }, + targetSubnet: { + serializedName: "targetSubnet", + type: { + name: "Composite", + className: "SubResource" } } } } }; -export const ConnectivityInformation: coreClient.CompositeMapper = { +export const Topology: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ConnectivityInformation", + className: "Topology", modelProperties: { - hops: { - serializedName: "hops", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ConnectivityHop" - } - } - } - }, - connectionStatus: { - serializedName: "connectionStatus", + id: { + serializedName: "id", readOnly: true, type: { name: "String" } }, - avgLatencyInMs: { - serializedName: "avgLatencyInMs", - readOnly: true, - type: { - name: "Number" - } - }, - minLatencyInMs: { - serializedName: "minLatencyInMs", - readOnly: true, - type: { - name: "Number" - } - }, - maxLatencyInMs: { - serializedName: "maxLatencyInMs", + createdDateTime: { + serializedName: "createdDateTime", readOnly: true, type: { - name: "Number" + name: "DateTime" } }, - probesSent: { - serializedName: "probesSent", + lastModified: { + serializedName: "lastModified", readOnly: true, type: { - name: "Number" + name: "DateTime" } }, - probesFailed: { - serializedName: "probesFailed", - readOnly: true, + resources: { + serializedName: "resources", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "TopologyResource" + } + } } } } } }; -export const ConnectivityHop: coreClient.CompositeMapper = { +export const TopologyResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ConnectivityHop", + className: "TopologyResource", modelProperties: { - type: { - serializedName: "type", - readOnly: true, + name: { + serializedName: "name", type: { name: "String" } }, id: { serializedName: "id", - readOnly: true, - type: { - name: "String" - } - }, - address: { - serializedName: "address", - readOnly: true, type: { name: "String" } }, - resourceId: { - serializedName: "resourceId", - readOnly: true, + location: { + serializedName: "location", type: { name: "String" } }, - nextHopIds: { - serializedName: "nextHopIds", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - previousHopIds: { - serializedName: "previousHopIds", - readOnly: true, + associations: { + serializedName: "associations", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "TopologyAssociation" } } } - }, - links: { - serializedName: "links", - readOnly: true, + } + } + } +}; + +export const TopologyAssociation: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TopologyAssociation", + modelProperties: { + name: { + serializedName: "name", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "HopLink" - } - } + name: "String" } }, - previousLinks: { - serializedName: "previousLinks", - readOnly: true, + resourceId: { + serializedName: "resourceId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "HopLink" - } - } + name: "String" } }, - issues: { - serializedName: "issues", - readOnly: true, + associationType: { + serializedName: "associationType", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ConnectivityIssue" - } - } + name: "String" } } } } }; -export const HopLink: coreClient.CompositeMapper = { +export const VerificationIPFlowParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "HopLink", + className: "VerificationIPFlowParameters", modelProperties: { - nextHopId: { - serializedName: "nextHopId", - readOnly: true, + targetResourceId: { + serializedName: "targetResourceId", + required: true, type: { name: "String" } }, - linkType: { - serializedName: "linkType", - readOnly: true, + direction: { + serializedName: "direction", + required: true, type: { name: "String" } }, - issues: { - serializedName: "issues", - readOnly: true, + protocol: { + serializedName: "protocol", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ConnectivityIssue" - } - } + name: "String" } }, - context: { - serializedName: "context", - readOnly: true, + localPort: { + serializedName: "localPort", + required: true, type: { - name: "Dictionary", - value: { type: { name: "String" } } + name: "String" } }, - resourceId: { - serializedName: "resourceId", - readOnly: true, + remotePort: { + serializedName: "remotePort", + required: true, type: { name: "String" } }, - roundTripTimeMin: { - constraints: { - InclusiveMaximum: 4294967295, - InclusiveMinimum: 0 - }, - serializedName: "properties.roundTripTimeMin", - readOnly: true, + localIPAddress: { + serializedName: "localIPAddress", + required: true, type: { - name: "Number" + name: "String" } }, - roundTripTimeAvg: { - constraints: { - InclusiveMaximum: 4294967295, - InclusiveMinimum: 0 - }, - serializedName: "properties.roundTripTimeAvg", - readOnly: true, + remoteIPAddress: { + serializedName: "remoteIPAddress", + required: true, type: { - name: "Number" + name: "String" } }, - roundTripTimeMax: { - constraints: { - InclusiveMaximum: 4294967295, - InclusiveMinimum: 0 - }, - serializedName: "properties.roundTripTimeMax", - readOnly: true, + targetNicResourceId: { + serializedName: "targetNicResourceId", type: { - name: "Number" + name: "String" } } } } }; -export const ConnectivityIssue: coreClient.CompositeMapper = { +export const VerificationIPFlowResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ConnectivityIssue", + className: "VerificationIPFlowResult", modelProperties: { - origin: { - serializedName: "origin", - readOnly: true, - type: { - name: "String" - } - }, - severity: { - serializedName: "severity", - readOnly: true, + access: { + serializedName: "access", type: { name: "String" } }, - type: { - serializedName: "type", - readOnly: true, + ruleName: { + serializedName: "ruleName", type: { name: "String" } - }, - context: { - serializedName: "context", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "Dictionary", - value: { type: { name: "String" } } - } - } - } } } } }; -export const AzureReachabilityReportParameters: coreClient.CompositeMapper = { +export const NextHopParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AzureReachabilityReportParameters", + className: "NextHopParameters", modelProperties: { - providerLocation: { - serializedName: "providerLocation", - type: { - name: "Composite", - className: "AzureReachabilityReportLocation" - } - }, - providers: { - serializedName: "providers", + targetResourceId: { + serializedName: "targetResourceId", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - azureLocations: { - serializedName: "azureLocations", + sourceIPAddress: { + serializedName: "sourceIPAddress", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - startTime: { - serializedName: "startTime", + destinationIPAddress: { + serializedName: "destinationIPAddress", required: true, type: { - name: "DateTime" + name: "String" } }, - endTime: { - serializedName: "endTime", - required: true, + targetNicResourceId: { + serializedName: "targetNicResourceId", type: { - name: "DateTime" + name: "String" } } } } }; -export const AzureReachabilityReportLocation: coreClient.CompositeMapper = { +export const NextHopResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AzureReachabilityReportLocation", + className: "NextHopResult", modelProperties: { - country: { - serializedName: "country", - required: true, + nextHopType: { + serializedName: "nextHopType", type: { name: "String" } }, - state: { - serializedName: "state", + nextHopIpAddress: { + serializedName: "nextHopIpAddress", type: { name: "String" } }, - city: { - serializedName: "city", + routeTableId: { + serializedName: "routeTableId", type: { name: "String" } @@ -7839,67 +7620,35 @@ export const AzureReachabilityReportLocation: coreClient.CompositeMapper = { } }; -export const AzureReachabilityReport: coreClient.CompositeMapper = { +export const SecurityGroupViewParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AzureReachabilityReport", + className: "SecurityGroupViewParameters", modelProperties: { - aggregationLevel: { - serializedName: "aggregationLevel", + targetResourceId: { + serializedName: "targetResourceId", required: true, type: { name: "String" } - }, - providerLocation: { - serializedName: "providerLocation", - type: { - name: "Composite", - className: "AzureReachabilityReportLocation" - } - }, - reachabilityReport: { - serializedName: "reachabilityReport", - required: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AzureReachabilityReportItem" - } - } - } } } } }; -export const AzureReachabilityReportItem: coreClient.CompositeMapper = { +export const SecurityGroupViewResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AzureReachabilityReportItem", + className: "SecurityGroupViewResult", modelProperties: { - provider: { - serializedName: "provider", - type: { - name: "String" - } - }, - azureLocation: { - serializedName: "azureLocation", - type: { - name: "String" - } - }, - latencies: { - serializedName: "latencies", + networkInterfaces: { + serializedName: "networkInterfaces", type: { name: "Sequence", element: { type: { name: "Composite", - className: "AzureReachabilityReportLatencyInfo" + className: "SecurityGroupNetworkInterface" } } } @@ -7908,83 +7657,95 @@ export const AzureReachabilityReportItem: coreClient.CompositeMapper = { } }; -export const AzureReachabilityReportLatencyInfo: coreClient.CompositeMapper = { +export const SecurityGroupNetworkInterface: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AzureReachabilityReportLatencyInfo", + className: "SecurityGroupNetworkInterface", modelProperties: { - timeStamp: { - serializedName: "timeStamp", + id: { + serializedName: "id", type: { - name: "DateTime" + name: "String" } }, - score: { - constraints: { - InclusiveMaximum: 100, - InclusiveMinimum: 1 - }, - serializedName: "score", + securityRuleAssociations: { + serializedName: "securityRuleAssociations", type: { - name: "Number" + name: "Composite", + className: "SecurityRuleAssociations" } } } } }; -export const AvailableProvidersListParameters: coreClient.CompositeMapper = { +export const SecurityRuleAssociations: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AvailableProvidersListParameters", + className: "SecurityRuleAssociations", modelProperties: { - azureLocations: { - serializedName: "azureLocations", + networkInterfaceAssociation: { + serializedName: "networkInterfaceAssociation", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Composite", + className: "NetworkInterfaceAssociation" } }, - country: { - serializedName: "country", + subnetAssociation: { + serializedName: "subnetAssociation", type: { - name: "String" + name: "Composite", + className: "SubnetAssociation" } }, - state: { - serializedName: "state", + defaultSecurityRules: { + serializedName: "defaultSecurityRules", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SecurityRule" + } + } } }, - city: { - serializedName: "city", + effectiveSecurityRules: { + serializedName: "effectiveSecurityRules", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EffectiveNetworkSecurityRule" + } + } } } } } }; -export const AvailableProvidersList: coreClient.CompositeMapper = { +export const NetworkInterfaceAssociation: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AvailableProvidersList", + className: "NetworkInterfaceAssociation", modelProperties: { - countries: { - serializedName: "countries", - required: true, + id: { + serializedName: "id", + readOnly: true, + type: { + name: "String" + } + }, + securityRules: { + serializedName: "securityRules", type: { name: "Sequence", element: { type: { name: "Composite", - className: "AvailableProvidersListCountry" + className: "SecurityRule" } } } @@ -7993,36 +7754,108 @@ export const AvailableProvidersList: coreClient.CompositeMapper = { } }; -export const AvailableProvidersListCountry: coreClient.CompositeMapper = { +export const SubnetAssociation: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AvailableProvidersListCountry", + className: "SubnetAssociation", modelProperties: { - countryName: { - serializedName: "countryName", + id: { + serializedName: "id", + readOnly: true, type: { name: "String" } }, - providers: { - serializedName: "providers", + securityRules: { + serializedName: "securityRules", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "SecurityRule" } } } + } + } + } +}; + +export const PacketCapture: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PacketCapture", + modelProperties: { + target: { + serializedName: "properties.target", + required: true, + type: { + name: "String" + } }, - states: { - serializedName: "states", + scope: { + serializedName: "properties.scope", + type: { + name: "Composite", + className: "PacketCaptureMachineScope" + } + }, + targetType: { + serializedName: "properties.targetType", + type: { + name: "Enum", + allowedValues: ["AzureVM", "AzureVMSS"] + } + }, + bytesToCapturePerPacket: { + defaultValue: 0, + constraints: { + InclusiveMaximum: 4294967295, + InclusiveMinimum: 0 + }, + serializedName: "properties.bytesToCapturePerPacket", + type: { + name: "Number" + } + }, + totalBytesPerSession: { + defaultValue: 1073741824, + constraints: { + InclusiveMaximum: 4294967295, + InclusiveMinimum: 0 + }, + serializedName: "properties.totalBytesPerSession", + type: { + name: "Number" + } + }, + timeLimitInSeconds: { + defaultValue: 18000, + constraints: { + InclusiveMaximum: 18000, + InclusiveMinimum: 0 + }, + serializedName: "properties.timeLimitInSeconds", + type: { + name: "Number" + } + }, + storageLocation: { + serializedName: "properties.storageLocation", + type: { + name: "Composite", + className: "PacketCaptureStorageLocation" + } + }, + filters: { + serializedName: "properties.filters", type: { name: "Sequence", element: { type: { name: "Composite", - className: "AvailableProvidersListState" + className: "PacketCaptureFilter" } } } @@ -8031,36 +7864,80 @@ export const AvailableProvidersListCountry: coreClient.CompositeMapper = { } }; -export const AvailableProvidersListState: coreClient.CompositeMapper = { +export const PacketCaptureParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AvailableProvidersListState", + className: "PacketCaptureParameters", modelProperties: { - stateName: { - serializedName: "stateName", + target: { + serializedName: "target", + required: true, type: { name: "String" } }, - providers: { - serializedName: "providers", + scope: { + serializedName: "scope", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Composite", + className: "PacketCaptureMachineScope" } }, - cities: { - serializedName: "cities", + targetType: { + serializedName: "targetType", + type: { + name: "Enum", + allowedValues: ["AzureVM", "AzureVMSS"] + } + }, + bytesToCapturePerPacket: { + defaultValue: 0, + constraints: { + InclusiveMaximum: 4294967295, + InclusiveMinimum: 0 + }, + serializedName: "bytesToCapturePerPacket", + type: { + name: "Number" + } + }, + totalBytesPerSession: { + defaultValue: 1073741824, + constraints: { + InclusiveMaximum: 4294967295, + InclusiveMinimum: 0 + }, + serializedName: "totalBytesPerSession", + type: { + name: "Number" + } + }, + timeLimitInSeconds: { + defaultValue: 18000, + constraints: { + InclusiveMaximum: 18000, + InclusiveMinimum: 0 + }, + serializedName: "timeLimitInSeconds", + type: { + name: "Number" + } + }, + storageLocation: { + serializedName: "storageLocation", + type: { + name: "Composite", + className: "PacketCaptureStorageLocation" + } + }, + filters: { + serializedName: "filters", type: { name: "Sequence", element: { type: { name: "Composite", - className: "AvailableProvidersListCity" + className: "PacketCaptureFilter" } } } @@ -8069,19 +7946,24 @@ export const AvailableProvidersListState: coreClient.CompositeMapper = { } }; -export const AvailableProvidersListCity: coreClient.CompositeMapper = { +export const PacketCaptureMachineScope: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AvailableProvidersListCity", + className: "PacketCaptureMachineScope", modelProperties: { - cityName: { - serializedName: "cityName", + include: { + serializedName: "include", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - providers: { - serializedName: "providers", + exclude: { + serializedName: "exclude", type: { name: "Sequence", element: { @@ -8095,77 +7977,65 @@ export const AvailableProvidersListCity: coreClient.CompositeMapper = { } }; -export const NetworkConfigurationDiagnosticParameters: coreClient.CompositeMapper = { +export const PacketCaptureStorageLocation: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NetworkConfigurationDiagnosticParameters", + className: "PacketCaptureStorageLocation", modelProperties: { - targetResourceId: { - serializedName: "targetResourceId", - required: true, + storageId: { + serializedName: "storageId", type: { name: "String" } }, - verbosityLevel: { - serializedName: "verbosityLevel", + storagePath: { + serializedName: "storagePath", type: { name: "String" } }, - profiles: { - serializedName: "profiles", - required: true, + filePath: { + serializedName: "filePath", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "NetworkConfigurationDiagnosticProfile" - } - } + name: "String" } } } } }; -export const NetworkConfigurationDiagnosticProfile: coreClient.CompositeMapper = { +export const PacketCaptureFilter: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NetworkConfigurationDiagnosticProfile", + className: "PacketCaptureFilter", modelProperties: { - direction: { - serializedName: "direction", - required: true, + protocol: { + defaultValue: "Any", + serializedName: "protocol", type: { name: "String" } }, - protocol: { - serializedName: "protocol", - required: true, + localIPAddress: { + serializedName: "localIPAddress", type: { name: "String" } }, - source: { - serializedName: "source", - required: true, + remoteIPAddress: { + serializedName: "remoteIPAddress", type: { name: "String" } }, - destination: { - serializedName: "destination", - required: true, + localPort: { + serializedName: "localPort", type: { name: "String" } }, - destinationPort: { - serializedName: "destinationPort", - required: true, + remotePort: { + serializedName: "remotePort", type: { name: "String" } @@ -8174,112 +8044,157 @@ export const NetworkConfigurationDiagnosticProfile: coreClient.CompositeMapper = } }; -export const NetworkConfigurationDiagnosticResponse: coreClient.CompositeMapper = { +export const PacketCaptureResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NetworkConfigurationDiagnosticResponse", + className: "PacketCaptureResult", modelProperties: { - results: { - serializedName: "results", + name: { + serializedName: "name", readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "NetworkConfigurationDiagnosticResult" - } - } + name: "String" } - } - } - } -}; - -export const NetworkConfigurationDiagnosticResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "NetworkConfigurationDiagnosticResult", - modelProperties: { - profile: { - serializedName: "profile", + }, + id: { + serializedName: "id", + readOnly: true, type: { - name: "Composite", - className: "NetworkConfigurationDiagnosticProfile" + name: "String" } }, - networkSecurityGroupResult: { - serializedName: "networkSecurityGroupResult", + etag: { + serializedName: "etag", + readOnly: true, type: { - name: "Composite", - className: "NetworkSecurityGroupResult" + name: "String" } - } - } - } -}; - -export const NetworkSecurityGroupResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "NetworkSecurityGroupResult", - modelProperties: { - securityRuleAccessResult: { - serializedName: "securityRuleAccessResult", + }, + target: { + serializedName: "properties.target", type: { name: "String" } }, - evaluatedNetworkSecurityGroups: { - serializedName: "evaluatedNetworkSecurityGroups", - readOnly: true, + scope: { + serializedName: "properties.scope", + type: { + name: "Composite", + className: "PacketCaptureMachineScope" + } + }, + targetType: { + serializedName: "properties.targetType", + type: { + name: "Enum", + allowedValues: ["AzureVM", "AzureVMSS"] + } + }, + bytesToCapturePerPacket: { + defaultValue: 0, + constraints: { + InclusiveMaximum: 4294967295, + InclusiveMinimum: 0 + }, + serializedName: "properties.bytesToCapturePerPacket", + type: { + name: "Number" + } + }, + totalBytesPerSession: { + defaultValue: 1073741824, + constraints: { + InclusiveMaximum: 4294967295, + InclusiveMinimum: 0 + }, + serializedName: "properties.totalBytesPerSession", + type: { + name: "Number" + } + }, + timeLimitInSeconds: { + defaultValue: 18000, + constraints: { + InclusiveMaximum: 18000, + InclusiveMinimum: 0 + }, + serializedName: "properties.timeLimitInSeconds", + type: { + name: "Number" + } + }, + storageLocation: { + serializedName: "properties.storageLocation", + type: { + name: "Composite", + className: "PacketCaptureStorageLocation" + } + }, + filters: { + serializedName: "properties.filters", type: { name: "Sequence", element: { type: { name: "Composite", - className: "EvaluatedNetworkSecurityGroup" + className: "PacketCaptureFilter" } } } + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + type: { + name: "String" + } } } } }; -export const EvaluatedNetworkSecurityGroup: coreClient.CompositeMapper = { +export const PacketCaptureQueryStatusResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EvaluatedNetworkSecurityGroup", + className: "PacketCaptureQueryStatusResult", modelProperties: { - networkSecurityGroupId: { - serializedName: "networkSecurityGroupId", + name: { + serializedName: "name", type: { name: "String" } }, - appliedTo: { - serializedName: "appliedTo", + id: { + serializedName: "id", type: { name: "String" } }, - matchedRule: { - serializedName: "matchedRule", + captureStartTime: { + serializedName: "captureStartTime", type: { - name: "Composite", - className: "MatchedRule" + name: "DateTime" } }, - rulesEvaluationResult: { - serializedName: "rulesEvaluationResult", - readOnly: true, + packetCaptureStatus: { + serializedName: "packetCaptureStatus", + type: { + name: "String" + } + }, + stopReason: { + serializedName: "stopReason", + type: { + name: "String" + } + }, + packetCaptureError: { + serializedName: "packetCaptureError", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "NetworkSecurityRulesEvaluationResult" + name: "String" } } } @@ -8288,172 +8203,166 @@ export const EvaluatedNetworkSecurityGroup: coreClient.CompositeMapper = { } }; -export const MatchedRule: coreClient.CompositeMapper = { +export const PacketCaptureListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MatchedRule", + className: "PacketCaptureListResult", modelProperties: { - ruleName: { - serializedName: "ruleName", - type: { - name: "String" - } - }, - action: { - serializedName: "action", + value: { + serializedName: "value", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PacketCaptureResult" + } + } } } } } }; -export const NetworkSecurityRulesEvaluationResult: coreClient.CompositeMapper = { +export const TroubleshootingParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NetworkSecurityRulesEvaluationResult", + className: "TroubleshootingParameters", modelProperties: { - name: { - serializedName: "name", + targetResourceId: { + serializedName: "targetResourceId", + required: true, type: { name: "String" } }, - protocolMatched: { - serializedName: "protocolMatched", + storageId: { + serializedName: "properties.storageId", + required: true, type: { - name: "Boolean" + name: "String" } }, - sourceMatched: { - serializedName: "sourceMatched", + storagePath: { + serializedName: "properties.storagePath", + required: true, type: { - name: "Boolean" + name: "String" + } + } + } + } +}; + +export const TroubleshootingResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TroubleshootingResult", + modelProperties: { + startTime: { + serializedName: "startTime", + type: { + name: "DateTime" } }, - sourcePortMatched: { - serializedName: "sourcePortMatched", + endTime: { + serializedName: "endTime", type: { - name: "Boolean" + name: "DateTime" } }, - destinationMatched: { - serializedName: "destinationMatched", + code: { + serializedName: "code", type: { - name: "Boolean" + name: "String" } }, - destinationPortMatched: { - serializedName: "destinationPortMatched", + results: { + serializedName: "results", type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "TroubleshootingDetails" + } + } } } } } }; -export const ConnectionMonitor: coreClient.CompositeMapper = { +export const TroubleshootingDetails: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ConnectionMonitor", + className: "TroubleshootingDetails", modelProperties: { - location: { - serializedName: "location", + id: { + serializedName: "id", type: { name: "String" } }, - tags: { - serializedName: "tags", + reasonType: { + serializedName: "reasonType", type: { - name: "Dictionary", - value: { type: { name: "String" } } + name: "String" } }, - source: { - serializedName: "properties.source", + summary: { + serializedName: "summary", type: { - name: "Composite", - className: "ConnectionMonitorSource" + name: "String" } }, - destination: { - serializedName: "properties.destination", - type: { - name: "Composite", - className: "ConnectionMonitorDestination" - } - }, - autoStart: { - defaultValue: true, - serializedName: "properties.autoStart", - type: { - name: "Boolean" - } - }, - monitoringIntervalInSeconds: { - defaultValue: 60, - constraints: { - InclusiveMaximum: 1800, - InclusiveMinimum: 30 - }, - serializedName: "properties.monitoringIntervalInSeconds", + detail: { + serializedName: "detail", type: { - name: "Number" + name: "String" } }, - endpoints: { - serializedName: "properties.endpoints", + recommendedActions: { + serializedName: "recommendedActions", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ConnectionMonitorEndpoint" + className: "TroubleshootingRecommendedActions" } } } - }, - testConfigurations: { - serializedName: "properties.testConfigurations", + } + } + } +}; + +export const TroubleshootingRecommendedActions: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TroubleshootingRecommendedActions", + modelProperties: { + actionId: { + serializedName: "actionId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ConnectionMonitorTestConfiguration" - } - } + name: "String" } }, - testGroups: { - serializedName: "properties.testGroups", + actionText: { + serializedName: "actionText", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ConnectionMonitorTestGroup" - } - } + name: "String" } }, - outputs: { - serializedName: "properties.outputs", + actionUri: { + serializedName: "actionUri", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ConnectionMonitorOutput" - } - } + name: "String" } }, - notes: { - serializedName: "properties.notes", + actionUriText: { + serializedName: "actionUriText", type: { name: "String" } @@ -8462,93 +8371,123 @@ export const ConnectionMonitor: coreClient.CompositeMapper = { } }; -export const ConnectionMonitorParameters: coreClient.CompositeMapper = { +export const QueryTroubleshootingParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ConnectionMonitorParameters", + className: "QueryTroubleshootingParameters", modelProperties: { - source: { - serializedName: "source", + targetResourceId: { + serializedName: "targetResourceId", + required: true, type: { - name: "Composite", - className: "ConnectionMonitorSource" + name: "String" + } + } + } + } +}; + +export const FlowLogInformation: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FlowLogInformation", + modelProperties: { + targetResourceId: { + serializedName: "targetResourceId", + required: true, + type: { + name: "String" } }, - destination: { - serializedName: "destination", + flowAnalyticsConfiguration: { + serializedName: "flowAnalyticsConfiguration", type: { name: "Composite", - className: "ConnectionMonitorDestination" + className: "TrafficAnalyticsProperties" } }, - autoStart: { - defaultValue: true, - serializedName: "autoStart", + storageId: { + serializedName: "properties.storageId", + required: true, + type: { + name: "String" + } + }, + enabled: { + serializedName: "properties.enabled", + required: true, type: { name: "Boolean" } }, - monitoringIntervalInSeconds: { - defaultValue: 60, - constraints: { - InclusiveMaximum: 1800, - InclusiveMinimum: 30 - }, - serializedName: "monitoringIntervalInSeconds", + retentionPolicy: { + serializedName: "properties.retentionPolicy", type: { - name: "Number" + name: "Composite", + className: "RetentionPolicyParameters" } }, - endpoints: { - serializedName: "endpoints", + format: { + serializedName: "properties.format", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ConnectionMonitorEndpoint" - } - } + name: "Composite", + className: "FlowLogFormatParameters" + } + } + } + } +}; + +export const FlowLogStatusParameters: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FlowLogStatusParameters", + modelProperties: { + targetResourceId: { + serializedName: "targetResourceId", + required: true, + type: { + name: "String" + } + } + } + } +}; + +export const ConnectivityParameters: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ConnectivityParameters", + modelProperties: { + source: { + serializedName: "source", + type: { + name: "Composite", + className: "ConnectivitySource" } }, - testConfigurations: { - serializedName: "testConfigurations", + destination: { + serializedName: "destination", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ConnectionMonitorTestConfiguration" - } - } + name: "Composite", + className: "ConnectivityDestination" } }, - testGroups: { - serializedName: "testGroups", + protocol: { + serializedName: "protocol", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ConnectionMonitorTestGroup" - } - } + name: "String" } }, - outputs: { - serializedName: "outputs", + protocolConfiguration: { + serializedName: "protocolConfiguration", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ConnectionMonitorOutput" - } - } + name: "Composite", + className: "ProtocolConfiguration" } }, - notes: { - serializedName: "notes", + preferredIPVersion: { + serializedName: "preferredIPVersion", type: { name: "String" } @@ -8557,10 +8496,10 @@ export const ConnectionMonitorParameters: coreClient.CompositeMapper = { } }; -export const ConnectionMonitorSource: coreClient.CompositeMapper = { +export const ConnectivitySource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ConnectionMonitorSource", + className: "ConnectivitySource", modelProperties: { resourceId: { serializedName: "resourceId", @@ -8583,10 +8522,10 @@ export const ConnectionMonitorSource: coreClient.CompositeMapper = { } }; -export const ConnectionMonitorDestination: coreClient.CompositeMapper = { +export const ConnectivityDestination: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ConnectionMonitorDestination", + className: "ConnectivityDestination", modelProperties: { resourceId: { serializedName: "resourceId", @@ -8614,79 +8553,52 @@ export const ConnectionMonitorDestination: coreClient.CompositeMapper = { } }; -export const ConnectionMonitorEndpoint: coreClient.CompositeMapper = { +export const ProtocolConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ConnectionMonitorEndpoint", + className: "ProtocolConfiguration", modelProperties: { - name: { - serializedName: "name", - required: true, - type: { - name: "String" - } - }, - type: { - serializedName: "type", + httpConfiguration: { + serializedName: "HTTPConfiguration", type: { - name: "String" - } - }, - resourceId: { - serializedName: "resourceId", - type: { - name: "String" - } - }, - address: { - serializedName: "address", - type: { - name: "String" - } - }, - filter: { - serializedName: "filter", - type: { - name: "Composite", - className: "ConnectionMonitorEndpointFilter" - } - }, - scope: { - serializedName: "scope", - type: { - name: "Composite", - className: "ConnectionMonitorEndpointScope" - } - }, - coverageLevel: { - serializedName: "coverageLevel", - type: { - name: "String" + name: "Composite", + className: "HttpConfiguration" } } } } }; -export const ConnectionMonitorEndpointFilter: coreClient.CompositeMapper = { +export const HttpConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ConnectionMonitorEndpointFilter", + className: "HttpConfiguration", modelProperties: { - type: { - serializedName: "type", + method: { + serializedName: "method", type: { name: "String" } }, - items: { - serializedName: "items", + headers: { + serializedName: "headers", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ConnectionMonitorEndpointFilterItem" + className: "HttpHeader" + } + } + } + }, + validStatusCodes: { + serializedName: "validStatusCodes", + type: { + name: "Sequence", + element: { + type: { + name: "Number" } } } @@ -8695,19 +8607,19 @@ export const ConnectionMonitorEndpointFilter: coreClient.CompositeMapper = { } }; -export const ConnectionMonitorEndpointFilterItem: coreClient.CompositeMapper = { +export const HttpHeader: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ConnectionMonitorEndpointFilterItem", + className: "HttpHeader", modelProperties: { - type: { - serializedName: "type", + name: { + serializedName: "name", type: { name: "String" } }, - address: { - serializedName: "address", + value: { + serializedName: "value", type: { name: "String" } @@ -8716,158 +8628,118 @@ export const ConnectionMonitorEndpointFilterItem: coreClient.CompositeMapper = { } }; -export const ConnectionMonitorEndpointScope: coreClient.CompositeMapper = { +export const ConnectivityInformation: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ConnectionMonitorEndpointScope", + className: "ConnectivityInformation", modelProperties: { - include: { - serializedName: "include", + hops: { + serializedName: "hops", + readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "ConnectionMonitorEndpointScopeItem" + className: "ConnectivityHop" } } } }, - exclude: { - serializedName: "exclude", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ConnectionMonitorEndpointScopeItem" - } - } - } - } - } - } -}; - -export const ConnectionMonitorEndpointScopeItem: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ConnectionMonitorEndpointScopeItem", - modelProperties: { - address: { - serializedName: "address", - type: { - name: "String" - } - } - } - } -}; - -export const ConnectionMonitorTestConfiguration: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ConnectionMonitorTestConfiguration", - modelProperties: { - name: { - serializedName: "name", - required: true, + connectionStatus: { + serializedName: "connectionStatus", + readOnly: true, type: { name: "String" } }, - testFrequencySec: { - serializedName: "testFrequencySec", + avgLatencyInMs: { + serializedName: "avgLatencyInMs", + readOnly: true, type: { name: "Number" } }, - protocol: { - serializedName: "protocol", - required: true, - type: { - name: "String" - } - }, - preferredIPVersion: { - serializedName: "preferredIPVersion", - type: { - name: "String" - } - }, - httpConfiguration: { - serializedName: "httpConfiguration", + minLatencyInMs: { + serializedName: "minLatencyInMs", + readOnly: true, type: { - name: "Composite", - className: "ConnectionMonitorHttpConfiguration" + name: "Number" } }, - tcpConfiguration: { - serializedName: "tcpConfiguration", + maxLatencyInMs: { + serializedName: "maxLatencyInMs", + readOnly: true, type: { - name: "Composite", - className: "ConnectionMonitorTcpConfiguration" + name: "Number" } }, - icmpConfiguration: { - serializedName: "icmpConfiguration", + probesSent: { + serializedName: "probesSent", + readOnly: true, type: { - name: "Composite", - className: "ConnectionMonitorIcmpConfiguration" + name: "Number" } }, - successThreshold: { - serializedName: "successThreshold", + probesFailed: { + serializedName: "probesFailed", + readOnly: true, type: { - name: "Composite", - className: "ConnectionMonitorSuccessThreshold" + name: "Number" } } } } }; -export const ConnectionMonitorHttpConfiguration: coreClient.CompositeMapper = { +export const ConnectivityHop: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ConnectionMonitorHttpConfiguration", + className: "ConnectivityHop", modelProperties: { - port: { - constraints: { - InclusiveMaximum: 65535, - InclusiveMinimum: 0 - }, - serializedName: "port", + type: { + serializedName: "type", + readOnly: true, type: { - name: "Number" + name: "String" } }, - method: { - serializedName: "method", + id: { + serializedName: "id", + readOnly: true, type: { name: "String" } }, - path: { - serializedName: "path", + address: { + serializedName: "address", + readOnly: true, type: { name: "String" } }, - requestHeaders: { - serializedName: "requestHeaders", + resourceId: { + serializedName: "resourceId", + readOnly: true, + type: { + name: "String" + } + }, + nextHopIds: { + serializedName: "nextHopIds", + readOnly: true, type: { name: "Sequence", element: { type: { - name: "Composite", - className: "HttpHeader" + name: "String" } } } }, - validStatusCodeRanges: { - serializedName: "validStatusCodeRanges", + previousHopIds: { + serializedName: "previousHopIds", + readOnly: true, type: { name: "Sequence", element: { @@ -8877,104 +8749,190 @@ export const ConnectionMonitorHttpConfiguration: coreClient.CompositeMapper = { } } }, - preferHttps: { - serializedName: "preferHTTPS", + links: { + serializedName: "links", + readOnly: true, type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HopLink" + } + } + } + }, + previousLinks: { + serializedName: "previousLinks", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HopLink" + } + } + } + }, + issues: { + serializedName: "issues", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ConnectivityIssue" + } + } } } } } }; -export const ConnectionMonitorTcpConfiguration: coreClient.CompositeMapper = { +export const HopLink: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ConnectionMonitorTcpConfiguration", + className: "HopLink", modelProperties: { - port: { + nextHopId: { + serializedName: "nextHopId", + readOnly: true, + type: { + name: "String" + } + }, + linkType: { + serializedName: "linkType", + readOnly: true, + type: { + name: "String" + } + }, + issues: { + serializedName: "issues", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ConnectivityIssue" + } + } + } + }, + context: { + serializedName: "context", + readOnly: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } } + } + }, + resourceId: { + serializedName: "resourceId", + readOnly: true, + type: { + name: "String" + } + }, + roundTripTimeMin: { constraints: { - InclusiveMaximum: 65535, + InclusiveMaximum: 4294967295, InclusiveMinimum: 0 }, - serializedName: "port", + serializedName: "properties.roundTripTimeMin", + readOnly: true, type: { name: "Number" } }, - disableTraceRoute: { - serializedName: "disableTraceRoute", + roundTripTimeAvg: { + constraints: { + InclusiveMaximum: 4294967295, + InclusiveMinimum: 0 + }, + serializedName: "properties.roundTripTimeAvg", + readOnly: true, type: { - name: "Boolean" + name: "Number" } }, - destinationPortBehavior: { - serializedName: "destinationPortBehavior", + roundTripTimeMax: { + constraints: { + InclusiveMaximum: 4294967295, + InclusiveMinimum: 0 + }, + serializedName: "properties.roundTripTimeMax", + readOnly: true, type: { - name: "String" + name: "Number" } } } } }; -export const ConnectionMonitorIcmpConfiguration: coreClient.CompositeMapper = { +export const ConnectivityIssue: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ConnectionMonitorIcmpConfiguration", + className: "ConnectivityIssue", modelProperties: { - disableTraceRoute: { - serializedName: "disableTraceRoute", + origin: { + serializedName: "origin", + readOnly: true, type: { - name: "Boolean" + name: "String" } - } - } - } -}; - -export const ConnectionMonitorSuccessThreshold: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ConnectionMonitorSuccessThreshold", - modelProperties: { - checksFailedPercent: { - serializedName: "checksFailedPercent", + }, + severity: { + serializedName: "severity", + readOnly: true, type: { - name: "Number" + name: "String" } }, - roundTripTimeMs: { - serializedName: "roundTripTimeMs", + type: { + serializedName: "type", + readOnly: true, type: { - name: "Number" + name: "String" + } + }, + context: { + serializedName: "context", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Dictionary", + value: { type: { name: "String" } } + } + } } } } } }; -export const ConnectionMonitorTestGroup: coreClient.CompositeMapper = { +export const AzureReachabilityReportParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ConnectionMonitorTestGroup", + className: "AzureReachabilityReportParameters", modelProperties: { - name: { - serializedName: "name", - required: true, - type: { - name: "String" - } - }, - disable: { - serializedName: "disable", + providerLocation: { + serializedName: "providerLocation", type: { - name: "Boolean" + name: "Composite", + className: "AzureReachabilityReportLocation" } }, - testConfigurations: { - serializedName: "testConfigurations", - required: true, + providers: { + serializedName: "providers", type: { name: "Sequence", element: { @@ -8984,9 +8942,8 @@ export const ConnectionMonitorTestGroup: coreClient.CompositeMapper = { } } }, - sources: { - serializedName: "sources", - required: true, + azureLocations: { + serializedName: "azureLocations", type: { name: "Sequence", element: { @@ -8996,51 +8953,44 @@ export const ConnectionMonitorTestGroup: coreClient.CompositeMapper = { } } }, - destinations: { - serializedName: "destinations", + startTime: { + serializedName: "startTime", required: true, type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "DateTime" + } + }, + endTime: { + serializedName: "endTime", + required: true, + type: { + name: "DateTime" } } } } }; -export const ConnectionMonitorOutput: coreClient.CompositeMapper = { +export const AzureReachabilityReportLocation: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ConnectionMonitorOutput", + className: "AzureReachabilityReportLocation", modelProperties: { - type: { - serializedName: "type", + country: { + serializedName: "country", + required: true, type: { name: "String" } }, - workspaceSettings: { - serializedName: "workspaceSettings", + state: { + serializedName: "state", type: { - name: "Composite", - className: "ConnectionMonitorWorkspaceSettings" + name: "String" } - } - } - } -}; - -export const ConnectionMonitorWorkspaceSettings: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ConnectionMonitorWorkspaceSettings", - modelProperties: { - workspaceResourceId: { - serializedName: "workspaceResourceId", + }, + city: { + serializedName: "city", type: { name: "String" } @@ -9049,189 +8999,289 @@ export const ConnectionMonitorWorkspaceSettings: coreClient.CompositeMapper = { } }; -export const ConnectionMonitorResult: coreClient.CompositeMapper = { +export const AzureReachabilityReport: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ConnectionMonitorResult", + className: "AzureReachabilityReport", modelProperties: { - name: { - serializedName: "name", - readOnly: true, + aggregationLevel: { + serializedName: "aggregationLevel", + required: true, type: { name: "String" } }, - id: { - serializedName: "id", - readOnly: true, + providerLocation: { + serializedName: "providerLocation", type: { - name: "String" + name: "Composite", + className: "AzureReachabilityReportLocation" } }, - etag: { - serializedName: "etag", - readOnly: true, + reachabilityReport: { + serializedName: "reachabilityReport", + required: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AzureReachabilityReportItem" + } + } } - }, - type: { - serializedName: "type", - readOnly: true, + } + } + } +}; + +export const AzureReachabilityReportItem: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AzureReachabilityReportItem", + modelProperties: { + provider: { + serializedName: "provider", type: { name: "String" } }, - location: { - serializedName: "location", + azureLocation: { + serializedName: "azureLocation", type: { name: "String" } }, - tags: { - serializedName: "tags", + latencies: { + serializedName: "latencies", type: { - name: "Dictionary", - value: { type: { name: "String" } } - } - }, - source: { - serializedName: "properties.source", - type: { - name: "Composite", - className: "ConnectionMonitorSource" - } - }, - destination: { - serializedName: "properties.destination", - type: { - name: "Composite", - className: "ConnectionMonitorDestination" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AzureReachabilityReportLatencyInfo" + } + } } - }, - autoStart: { - defaultValue: true, - serializedName: "properties.autoStart", + } + } + } +}; + +export const AzureReachabilityReportLatencyInfo: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AzureReachabilityReportLatencyInfo", + modelProperties: { + timeStamp: { + serializedName: "timeStamp", type: { - name: "Boolean" + name: "DateTime" } }, - monitoringIntervalInSeconds: { - defaultValue: 60, + score: { constraints: { - InclusiveMaximum: 1800, - InclusiveMinimum: 30 + InclusiveMaximum: 100, + InclusiveMinimum: 1 }, - serializedName: "properties.monitoringIntervalInSeconds", + serializedName: "score", type: { name: "Number" } - }, - endpoints: { - serializedName: "properties.endpoints", + } + } + } +}; + +export const AvailableProvidersListParameters: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AvailableProvidersListParameters", + modelProperties: { + azureLocations: { + serializedName: "azureLocations", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "ConnectionMonitorEndpoint" + name: "String" } } } }, - testConfigurations: { - serializedName: "properties.testConfigurations", + country: { + serializedName: "country", + type: { + name: "String" + } + }, + state: { + serializedName: "state", + type: { + name: "String" + } + }, + city: { + serializedName: "city", + type: { + name: "String" + } + } + } + } +}; + +export const AvailableProvidersList: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AvailableProvidersList", + modelProperties: { + countries: { + serializedName: "countries", + required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "ConnectionMonitorTestConfiguration" + className: "AvailableProvidersListCountry" } } } + } + } + } +}; + +export const AvailableProvidersListCountry: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AvailableProvidersListCountry", + modelProperties: { + countryName: { + serializedName: "countryName", + type: { + name: "String" + } }, - testGroups: { - serializedName: "properties.testGroups", + providers: { + serializedName: "providers", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "ConnectionMonitorTestGroup" + name: "String" } } } }, - outputs: { - serializedName: "properties.outputs", + states: { + serializedName: "states", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ConnectionMonitorOutput" + className: "AvailableProvidersListState" } } } - }, - notes: { - serializedName: "properties.notes", + } + } + } +}; + +export const AvailableProvidersListState: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AvailableProvidersListState", + modelProperties: { + stateName: { + serializedName: "stateName", type: { name: "String" } }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + providers: { + serializedName: "providers", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - startTime: { - serializedName: "properties.startTime", - readOnly: true, + cities: { + serializedName: "cities", type: { - name: "DateTime" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AvailableProvidersListCity" + } + } } - }, - monitoringStatus: { - serializedName: "properties.monitoringStatus", - readOnly: true, + } + } + } +}; + +export const AvailableProvidersListCity: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AvailableProvidersListCity", + modelProperties: { + cityName: { + serializedName: "cityName", type: { name: "String" } }, - connectionMonitorType: { - serializedName: "properties.connectionMonitorType", - readOnly: true, + providers: { + serializedName: "providers", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } } } } }; -export const ConnectionMonitorQueryResult: coreClient.CompositeMapper = { +export const NetworkConfigurationDiagnosticParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ConnectionMonitorQueryResult", + className: "NetworkConfigurationDiagnosticParameters", modelProperties: { - sourceStatus: { - serializedName: "sourceStatus", + targetResourceId: { + serializedName: "targetResourceId", + required: true, type: { name: "String" } }, - states: { - serializedName: "states", + verbosityLevel: { + serializedName: "verbosityLevel", + type: { + name: "String" + } + }, + profiles: { + serializedName: "profiles", + required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "ConnectionStateSnapshot" + className: "NetworkConfigurationDiagnosticProfile" } } } @@ -9240,115 +9290,64 @@ export const ConnectionMonitorQueryResult: coreClient.CompositeMapper = { } }; -export const ConnectionStateSnapshot: coreClient.CompositeMapper = { +export const NetworkConfigurationDiagnosticProfile: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ConnectionStateSnapshot", + className: "NetworkConfigurationDiagnosticProfile", modelProperties: { - connectionState: { - serializedName: "connectionState", + direction: { + serializedName: "direction", + required: true, type: { name: "String" } }, - startTime: { - serializedName: "startTime", + protocol: { + serializedName: "protocol", + required: true, type: { - name: "DateTime" + name: "String" } }, - endTime: { - serializedName: "endTime", + source: { + serializedName: "source", + required: true, type: { - name: "DateTime" + name: "String" } }, - evaluationState: { - serializedName: "evaluationState", + destination: { + serializedName: "destination", + required: true, type: { name: "String" } }, - avgLatencyInMs: { - constraints: { - InclusiveMaximum: 4294967295, - InclusiveMinimum: 0 - }, - serializedName: "avgLatencyInMs", + destinationPort: { + serializedName: "destinationPort", + required: true, type: { - name: "Number" - } - }, - minLatencyInMs: { - constraints: { - InclusiveMaximum: 4294967295, - InclusiveMinimum: 0 - }, - serializedName: "minLatencyInMs", - type: { - name: "Number" - } - }, - maxLatencyInMs: { - constraints: { - InclusiveMaximum: 4294967295, - InclusiveMinimum: 0 - }, - serializedName: "maxLatencyInMs", - type: { - name: "Number" - } - }, - probesSent: { - constraints: { - InclusiveMaximum: 4294967295, - InclusiveMinimum: 0 - }, - serializedName: "probesSent", - type: { - name: "Number" - } - }, - probesFailed: { - constraints: { - InclusiveMaximum: 4294967295, - InclusiveMinimum: 0 - }, - serializedName: "probesFailed", - type: { - name: "Number" - } - }, - hops: { - serializedName: "hops", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ConnectivityHop" - } - } + name: "String" } } } } }; -export const ConnectionMonitorListResult: coreClient.CompositeMapper = { +export const NetworkConfigurationDiagnosticResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ConnectionMonitorListResult", + className: "NetworkConfigurationDiagnosticResponse", modelProperties: { - value: { - serializedName: "value", + results: { + serializedName: "results", + readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "ConnectionMonitorResult" + className: "NetworkConfigurationDiagnosticResult" } } } @@ -9357,121 +9356,111 @@ export const ConnectionMonitorListResult: coreClient.CompositeMapper = { } }; -export const FlowLogListResult: coreClient.CompositeMapper = { +export const NetworkConfigurationDiagnosticResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FlowLogListResult", + className: "NetworkConfigurationDiagnosticResult", modelProperties: { - value: { - serializedName: "value", + profile: { + serializedName: "profile", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "FlowLog" - } - } + name: "Composite", + className: "NetworkConfigurationDiagnosticProfile" } }, - nextLink: { - serializedName: "nextLink", - readOnly: true, + networkSecurityGroupResult: { + serializedName: "networkSecurityGroupResult", type: { - name: "String" + name: "Composite", + className: "NetworkSecurityGroupResult" } } } } }; -export const OperationListResult: coreClient.CompositeMapper = { +export const NetworkSecurityGroupResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OperationListResult", + className: "NetworkSecurityGroupResult", modelProperties: { - value: { - serializedName: "value", + securityRuleAccessResult: { + serializedName: "securityRuleAccessResult", + type: { + name: "String" + } + }, + evaluatedNetworkSecurityGroups: { + serializedName: "evaluatedNetworkSecurityGroups", + readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "Operation" + className: "EvaluatedNetworkSecurityGroup" } } } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } } } } }; -export const Operation: coreClient.CompositeMapper = { +export const EvaluatedNetworkSecurityGroup: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Operation", + className: "EvaluatedNetworkSecurityGroup", modelProperties: { - name: { - serializedName: "name", + networkSecurityGroupId: { + serializedName: "networkSecurityGroupId", type: { name: "String" } }, - display: { - serializedName: "display", + appliedTo: { + serializedName: "appliedTo", type: { - name: "Composite", - className: "OperationDisplay" + name: "String" } }, - origin: { - serializedName: "origin", + matchedRule: { + serializedName: "matchedRule", type: { - name: "String" + name: "Composite", + className: "MatchedRule" } }, - serviceSpecification: { - serializedName: "properties.serviceSpecification", + rulesEvaluationResult: { + serializedName: "rulesEvaluationResult", + readOnly: true, type: { - name: "Composite", - className: "OperationPropertiesFormatServiceSpecification" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "NetworkSecurityRulesEvaluationResult" + } + } } } } } }; -export const OperationDisplay: coreClient.CompositeMapper = { +export const MatchedRule: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OperationDisplay", + className: "MatchedRule", modelProperties: { - provider: { - serializedName: "provider", - type: { - name: "String" - } - }, - resource: { - serializedName: "resource", - type: { - name: "String" - } - }, - operation: { - serializedName: "operation", + ruleName: { + serializedName: "ruleName", type: { name: "String" } }, - description: { - serializedName: "description", + action: { + serializedName: "action", type: { name: "String" } @@ -9480,136 +9469,246 @@ export const OperationDisplay: coreClient.CompositeMapper = { } }; -export const OperationPropertiesFormatServiceSpecification: coreClient.CompositeMapper = { +export const NetworkSecurityRulesEvaluationResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OperationPropertiesFormatServiceSpecification", + className: "NetworkSecurityRulesEvaluationResult", modelProperties: { - metricSpecifications: { - serializedName: "metricSpecifications", + name: { + serializedName: "name", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "MetricSpecification" - } - } + name: "String" } }, - logSpecifications: { - serializedName: "logSpecifications", + protocolMatched: { + serializedName: "protocolMatched", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "LogSpecification" - } - } + name: "Boolean" + } + }, + sourceMatched: { + serializedName: "sourceMatched", + type: { + name: "Boolean" + } + }, + sourcePortMatched: { + serializedName: "sourcePortMatched", + type: { + name: "Boolean" + } + }, + destinationMatched: { + serializedName: "destinationMatched", + type: { + name: "Boolean" + } + }, + destinationPortMatched: { + serializedName: "destinationPortMatched", + type: { + name: "Boolean" } } } } }; -export const MetricSpecification: coreClient.CompositeMapper = { +export const ConnectionMonitor: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MetricSpecification", + className: "ConnectionMonitor", modelProperties: { - name: { - serializedName: "name", + location: { + serializedName: "location", type: { name: "String" } }, - displayName: { - serializedName: "displayName", + tags: { + serializedName: "tags", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "String" } } } }, - displayDescription: { - serializedName: "displayDescription", + source: { + serializedName: "properties.source", type: { - name: "String" + name: "Composite", + className: "ConnectionMonitorSource" } }, - unit: { - serializedName: "unit", + destination: { + serializedName: "properties.destination", type: { - name: "String" + name: "Composite", + className: "ConnectionMonitorDestination" } }, - aggregationType: { - serializedName: "aggregationType", - type: { - name: "String" + autoStart: { + defaultValue: true, + serializedName: "properties.autoStart", + type: { + name: "Boolean" } }, - availabilities: { - serializedName: "availabilities", + monitoringIntervalInSeconds: { + defaultValue: 60, + constraints: { + InclusiveMaximum: 1800, + InclusiveMinimum: 30 + }, + serializedName: "properties.monitoringIntervalInSeconds", + type: { + name: "Number" + } + }, + endpoints: { + serializedName: "properties.endpoints", type: { name: "Sequence", element: { type: { name: "Composite", - className: "Availability" + className: "ConnectionMonitorEndpoint" } } } }, - enableRegionalMdmAccount: { - serializedName: "enableRegionalMdmAccount", + testConfigurations: { + serializedName: "properties.testConfigurations", type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ConnectionMonitorTestConfiguration" + } + } } }, - fillGapWithZero: { - serializedName: "fillGapWithZero", + testGroups: { + serializedName: "properties.testGroups", type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ConnectionMonitorTestGroup" + } + } } }, - metricFilterPattern: { - serializedName: "metricFilterPattern", + outputs: { + serializedName: "properties.outputs", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ConnectionMonitorOutput" + } + } + } + }, + notes: { + serializedName: "properties.notes", type: { name: "String" } + } + } + } +}; + +export const ConnectionMonitorParameters: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ConnectionMonitorParameters", + modelProperties: { + source: { + serializedName: "source", + type: { + name: "Composite", + className: "ConnectionMonitorSource" + } }, - dimensions: { - serializedName: "dimensions", + destination: { + serializedName: "destination", + type: { + name: "Composite", + className: "ConnectionMonitorDestination" + } + }, + autoStart: { + defaultValue: true, + serializedName: "autoStart", + type: { + name: "Boolean" + } + }, + monitoringIntervalInSeconds: { + defaultValue: 60, + constraints: { + InclusiveMaximum: 1800, + InclusiveMinimum: 30 + }, + serializedName: "monitoringIntervalInSeconds", + type: { + name: "Number" + } + }, + endpoints: { + serializedName: "endpoints", type: { name: "Sequence", element: { type: { name: "Composite", - className: "Dimension" + className: "ConnectionMonitorEndpoint" } } } }, - isInternal: { - serializedName: "isInternal", + testConfigurations: { + serializedName: "testConfigurations", type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ConnectionMonitorTestConfiguration" + } + } } }, - sourceMdmAccount: { - serializedName: "sourceMdmAccount", + testGroups: { + serializedName: "testGroups", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ConnectionMonitorTestGroup" + } + } } }, - sourceMdmNamespace: { - serializedName: "sourceMdmNamespace", + outputs: { + serializedName: "outputs", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ConnectionMonitorOutput" + } + } } }, - resourceIdDimensionNameOverride: { - serializedName: "resourceIdDimensionNameOverride", + notes: { + serializedName: "notes", type: { name: "String" } @@ -9618,79 +9717,109 @@ export const MetricSpecification: coreClient.CompositeMapper = { } }; -export const Availability: coreClient.CompositeMapper = { +export const ConnectionMonitorSource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Availability", + className: "ConnectionMonitorSource", modelProperties: { - timeGrain: { - serializedName: "timeGrain", - type: { - name: "String" - } - }, - retention: { - serializedName: "retention", + resourceId: { + serializedName: "resourceId", + required: true, type: { name: "String" } }, - blobDuration: { - serializedName: "blobDuration", + port: { + constraints: { + InclusiveMaximum: 65535, + InclusiveMinimum: 0 + }, + serializedName: "port", type: { - name: "String" + name: "Number" } } } } }; -export const Dimension: coreClient.CompositeMapper = { +export const ConnectionMonitorDestination: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Dimension", + className: "ConnectionMonitorDestination", modelProperties: { - name: { - serializedName: "name", + resourceId: { + serializedName: "resourceId", type: { name: "String" } }, - displayName: { - serializedName: "displayName", + address: { + serializedName: "address", type: { name: "String" } }, - internalName: { - serializedName: "internalName", + port: { + constraints: { + InclusiveMaximum: 65535, + InclusiveMinimum: 0 + }, + serializedName: "port", type: { - name: "String" + name: "Number" } } } } }; -export const LogSpecification: coreClient.CompositeMapper = { +export const ConnectionMonitorEndpoint: coreClient.CompositeMapper = { type: { name: "Composite", - className: "LogSpecification", + className: "ConnectionMonitorEndpoint", modelProperties: { name: { serializedName: "name", + required: true, type: { name: "String" } }, - displayName: { - serializedName: "displayName", + type: { + serializedName: "type", type: { name: "String" } }, - blobDuration: { - serializedName: "blobDuration", + resourceId: { + serializedName: "resourceId", + type: { + name: "String" + } + }, + address: { + serializedName: "address", + type: { + name: "String" + } + }, + filter: { + serializedName: "filter", + type: { + name: "Composite", + className: "ConnectionMonitorEndpointFilter" + } + }, + scope: { + serializedName: "scope", + type: { + name: "Composite", + className: "ConnectionMonitorEndpointScope" + } + }, + coverageLevel: { + serializedName: "coverageLevel", type: { name: "String" } @@ -9699,26 +9828,46 @@ export const LogSpecification: coreClient.CompositeMapper = { } }; -export const PrivateEndpointListResult: coreClient.CompositeMapper = { +export const ConnectionMonitorEndpointFilter: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateEndpointListResult", + className: "ConnectionMonitorEndpointFilter", modelProperties: { - value: { - serializedName: "value", + type: { + serializedName: "type", + type: { + name: "String" + } + }, + items: { + serializedName: "items", type: { name: "Sequence", element: { type: { name: "Composite", - className: "PrivateEndpoint" + className: "ConnectionMonitorEndpointFilterItem" } } } - }, - nextLink: { - serializedName: "nextLink", - readOnly: true, + } + } + } +}; + +export const ConnectionMonitorEndpointFilterItem: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ConnectionMonitorEndpointFilterItem", + modelProperties: { + type: { + serializedName: "type", + type: { + name: "String" + } + }, + address: { + serializedName: "address", type: { name: "String" } @@ -9727,26 +9876,46 @@ export const PrivateEndpointListResult: coreClient.CompositeMapper = { } }; -export const AvailablePrivateEndpointTypesResult: coreClient.CompositeMapper = { +export const ConnectionMonitorEndpointScope: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AvailablePrivateEndpointTypesResult", + className: "ConnectionMonitorEndpointScope", modelProperties: { - value: { - serializedName: "value", + include: { + serializedName: "include", type: { name: "Sequence", element: { type: { name: "Composite", - className: "AvailablePrivateEndpointType" + className: "ConnectionMonitorEndpointScopeItem" } } } }, - nextLink: { - serializedName: "nextLink", - readOnly: true, + exclude: { + serializedName: "exclude", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ConnectionMonitorEndpointScopeItem" + } + } + } + } + } + } +}; + +export const ConnectionMonitorEndpointScopeItem: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ConnectionMonitorEndpointScopeItem", + modelProperties: { + address: { + serializedName: "address", type: { name: "String" } @@ -9755,117 +9924,110 @@ export const AvailablePrivateEndpointTypesResult: coreClient.CompositeMapper = { } }; -export const AvailablePrivateEndpointType: coreClient.CompositeMapper = { +export const ConnectionMonitorTestConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AvailablePrivateEndpointType", + className: "ConnectionMonitorTestConfiguration", modelProperties: { name: { serializedName: "name", + required: true, type: { name: "String" } }, - id: { - serializedName: "id", + testFrequencySec: { + serializedName: "testFrequencySec", type: { - name: "String" + name: "Number" } }, - type: { - serializedName: "type", + protocol: { + serializedName: "protocol", + required: true, type: { name: "String" } }, - resourceName: { - serializedName: "resourceName", + preferredIPVersion: { + serializedName: "preferredIPVersion", type: { name: "String" } }, - displayName: { - serializedName: "displayName", + httpConfiguration: { + serializedName: "httpConfiguration", type: { - name: "String" + name: "Composite", + className: "ConnectionMonitorHttpConfiguration" } - } - } - } -}; - -export const PrivateDnsZoneConfig: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PrivateDnsZoneConfig", - modelProperties: { - name: { - serializedName: "name", + }, + tcpConfiguration: { + serializedName: "tcpConfiguration", type: { - name: "String" + name: "Composite", + className: "ConnectionMonitorTcpConfiguration" } }, - privateDnsZoneId: { - serializedName: "properties.privateDnsZoneId", + icmpConfiguration: { + serializedName: "icmpConfiguration", type: { - name: "String" + name: "Composite", + className: "ConnectionMonitorIcmpConfiguration" } }, - recordSets: { - serializedName: "properties.recordSets", - readOnly: true, + successThreshold: { + serializedName: "successThreshold", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RecordSet" - } - } + name: "Composite", + className: "ConnectionMonitorSuccessThreshold" } } } } }; -export const RecordSet: coreClient.CompositeMapper = { +export const ConnectionMonitorHttpConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RecordSet", + className: "ConnectionMonitorHttpConfiguration", modelProperties: { - recordType: { - serializedName: "recordType", - type: { - name: "String" - } - }, - recordSetName: { - serializedName: "recordSetName", + port: { + constraints: { + InclusiveMaximum: 65535, + InclusiveMinimum: 0 + }, + serializedName: "port", type: { - name: "String" + name: "Number" } }, - fqdn: { - serializedName: "fqdn", + method: { + serializedName: "method", type: { name: "String" } }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + path: { + serializedName: "path", type: { name: "String" } }, - ttl: { - serializedName: "ttl", + requestHeaders: { + serializedName: "requestHeaders", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HttpHeader" + } + } } }, - ipAddresses: { - serializedName: "ipAddresses", + validStatusCodeRanges: { + serializedName: "validStatusCodeRanges", type: { name: "Sequence", element: { @@ -9874,31 +10036,40 @@ export const RecordSet: coreClient.CompositeMapper = { } } } + }, + preferHttps: { + serializedName: "preferHTTPS", + type: { + name: "Boolean" + } } } } }; -export const PrivateDnsZoneGroupListResult: coreClient.CompositeMapper = { +export const ConnectionMonitorTcpConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateDnsZoneGroupListResult", + className: "ConnectionMonitorTcpConfiguration", modelProperties: { - value: { - serializedName: "value", + port: { + constraints: { + InclusiveMaximum: 65535, + InclusiveMinimum: 0 + }, + serializedName: "port", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PrivateDnsZoneGroup" - } - } + name: "Number" } }, - nextLink: { - serializedName: "nextLink", - readOnly: true, + disableTraceRoute: { + serializedName: "disableTraceRoute", + type: { + name: "Boolean" + } + }, + destinationPortBehavior: { + serializedName: "destinationPortBehavior", type: { name: "String" } @@ -9907,71 +10078,1060 @@ export const PrivateDnsZoneGroupListResult: coreClient.CompositeMapper = { } }; -export const PrivateLinkServiceListResult: coreClient.CompositeMapper = { +export const ConnectionMonitorIcmpConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateLinkServiceListResult", + className: "ConnectionMonitorIcmpConfiguration", modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PrivateLinkService" - } - } - } - }, - nextLink: { - serializedName: "nextLink", - readOnly: true, + disableTraceRoute: { + serializedName: "disableTraceRoute", type: { - name: "String" + name: "Boolean" } } } } }; -export const PrivateEndpointConnectionListResult: coreClient.CompositeMapper = { +export const ConnectionMonitorSuccessThreshold: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateEndpointConnectionListResult", + className: "ConnectionMonitorSuccessThreshold", modelProperties: { - value: { - serializedName: "value", + checksFailedPercent: { + serializedName: "checksFailedPercent", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PrivateEndpointConnection" - } - } + name: "Number" } }, - nextLink: { - serializedName: "nextLink", - readOnly: true, + roundTripTimeMs: { + serializedName: "roundTripTimeMs", type: { - name: "String" + name: "Number" } } } } }; -export const CheckPrivateLinkServiceVisibilityRequest: coreClient.CompositeMapper = { +export const ConnectionMonitorTestGroup: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CheckPrivateLinkServiceVisibilityRequest", + className: "ConnectionMonitorTestGroup", modelProperties: { - privateLinkServiceAlias: { - serializedName: "privateLinkServiceAlias", - type: { - name: "String" + name: { + serializedName: "name", + required: true, + type: { + name: "String" + } + }, + disable: { + serializedName: "disable", + type: { + name: "Boolean" + } + }, + testConfigurations: { + serializedName: "testConfigurations", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + sources: { + serializedName: "sources", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + destinations: { + serializedName: "destinations", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const ConnectionMonitorOutput: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ConnectionMonitorOutput", + modelProperties: { + type: { + serializedName: "type", + type: { + name: "String" + } + }, + workspaceSettings: { + serializedName: "workspaceSettings", + type: { + name: "Composite", + className: "ConnectionMonitorWorkspaceSettings" + } + } + } + } +}; + +export const ConnectionMonitorWorkspaceSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ConnectionMonitorWorkspaceSettings", + modelProperties: { + workspaceResourceId: { + serializedName: "workspaceResourceId", + type: { + name: "String" + } + } + } + } +}; + +export const ConnectionMonitorResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ConnectionMonitorResult", + modelProperties: { + name: { + serializedName: "name", + readOnly: true, + type: { + name: "String" + } + }, + id: { + serializedName: "id", + readOnly: true, + type: { + name: "String" + } + }, + etag: { + serializedName: "etag", + readOnly: true, + type: { + name: "String" + } + }, + type: { + serializedName: "type", + readOnly: true, + type: { + name: "String" + } + }, + location: { + serializedName: "location", + type: { + name: "String" + } + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } } + } + }, + source: { + serializedName: "properties.source", + type: { + name: "Composite", + className: "ConnectionMonitorSource" + } + }, + destination: { + serializedName: "properties.destination", + type: { + name: "Composite", + className: "ConnectionMonitorDestination" + } + }, + autoStart: { + defaultValue: true, + serializedName: "properties.autoStart", + type: { + name: "Boolean" + } + }, + monitoringIntervalInSeconds: { + defaultValue: 60, + constraints: { + InclusiveMaximum: 1800, + InclusiveMinimum: 30 + }, + serializedName: "properties.monitoringIntervalInSeconds", + type: { + name: "Number" + } + }, + endpoints: { + serializedName: "properties.endpoints", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ConnectionMonitorEndpoint" + } + } + } + }, + testConfigurations: { + serializedName: "properties.testConfigurations", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ConnectionMonitorTestConfiguration" + } + } + } + }, + testGroups: { + serializedName: "properties.testGroups", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ConnectionMonitorTestGroup" + } + } + } + }, + outputs: { + serializedName: "properties.outputs", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ConnectionMonitorOutput" + } + } + } + }, + notes: { + serializedName: "properties.notes", + type: { + name: "String" + } + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + type: { + name: "String" + } + }, + startTime: { + serializedName: "properties.startTime", + readOnly: true, + type: { + name: "DateTime" + } + }, + monitoringStatus: { + serializedName: "properties.monitoringStatus", + readOnly: true, + type: { + name: "String" + } + }, + connectionMonitorType: { + serializedName: "properties.connectionMonitorType", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + +export const ConnectionMonitorQueryResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ConnectionMonitorQueryResult", + modelProperties: { + sourceStatus: { + serializedName: "sourceStatus", + type: { + name: "String" + } + }, + states: { + serializedName: "states", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ConnectionStateSnapshot" + } + } + } + } + } + } +}; + +export const ConnectionStateSnapshot: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ConnectionStateSnapshot", + modelProperties: { + connectionState: { + serializedName: "connectionState", + type: { + name: "String" + } + }, + startTime: { + serializedName: "startTime", + type: { + name: "DateTime" + } + }, + endTime: { + serializedName: "endTime", + type: { + name: "DateTime" + } + }, + evaluationState: { + serializedName: "evaluationState", + type: { + name: "String" + } + }, + avgLatencyInMs: { + constraints: { + InclusiveMaximum: 4294967295, + InclusiveMinimum: 0 + }, + serializedName: "avgLatencyInMs", + type: { + name: "Number" + } + }, + minLatencyInMs: { + constraints: { + InclusiveMaximum: 4294967295, + InclusiveMinimum: 0 + }, + serializedName: "minLatencyInMs", + type: { + name: "Number" + } + }, + maxLatencyInMs: { + constraints: { + InclusiveMaximum: 4294967295, + InclusiveMinimum: 0 + }, + serializedName: "maxLatencyInMs", + type: { + name: "Number" + } + }, + probesSent: { + constraints: { + InclusiveMaximum: 4294967295, + InclusiveMinimum: 0 + }, + serializedName: "probesSent", + type: { + name: "Number" + } + }, + probesFailed: { + constraints: { + InclusiveMaximum: 4294967295, + InclusiveMinimum: 0 + }, + serializedName: "probesFailed", + type: { + name: "Number" + } + }, + hops: { + serializedName: "hops", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ConnectivityHop" + } + } + } + } + } + } +}; + +export const ConnectionMonitorListResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ConnectionMonitorListResult", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ConnectionMonitorResult" + } + } + } + } + } + } +}; + +export const FlowLogListResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FlowLogListResult", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "FlowLog" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + +export const OperationListResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OperationListResult", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Operation" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const Operation: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Operation", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + display: { + serializedName: "display", + type: { + name: "Composite", + className: "OperationDisplay" + } + }, + origin: { + serializedName: "origin", + type: { + name: "String" + } + }, + serviceSpecification: { + serializedName: "properties.serviceSpecification", + type: { + name: "Composite", + className: "OperationPropertiesFormatServiceSpecification" + } + } + } + } +}; + +export const OperationDisplay: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OperationDisplay", + modelProperties: { + provider: { + serializedName: "provider", + type: { + name: "String" + } + }, + resource: { + serializedName: "resource", + type: { + name: "String" + } + }, + operation: { + serializedName: "operation", + type: { + name: "String" + } + }, + description: { + serializedName: "description", + type: { + name: "String" + } + } + } + } +}; + +export const OperationPropertiesFormatServiceSpecification: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OperationPropertiesFormatServiceSpecification", + modelProperties: { + metricSpecifications: { + serializedName: "metricSpecifications", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MetricSpecification" + } + } + } + }, + logSpecifications: { + serializedName: "logSpecifications", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "LogSpecification" + } + } + } + } + } + } +}; + +export const MetricSpecification: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MetricSpecification", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + displayName: { + serializedName: "displayName", + type: { + name: "String" + } + }, + displayDescription: { + serializedName: "displayDescription", + type: { + name: "String" + } + }, + unit: { + serializedName: "unit", + type: { + name: "String" + } + }, + aggregationType: { + serializedName: "aggregationType", + type: { + name: "String" + } + }, + availabilities: { + serializedName: "availabilities", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Availability" + } + } + } + }, + enableRegionalMdmAccount: { + serializedName: "enableRegionalMdmAccount", + type: { + name: "Boolean" + } + }, + fillGapWithZero: { + serializedName: "fillGapWithZero", + type: { + name: "Boolean" + } + }, + metricFilterPattern: { + serializedName: "metricFilterPattern", + type: { + name: "String" + } + }, + dimensions: { + serializedName: "dimensions", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Dimension" + } + } + } + }, + isInternal: { + serializedName: "isInternal", + type: { + name: "Boolean" + } + }, + sourceMdmAccount: { + serializedName: "sourceMdmAccount", + type: { + name: "String" + } + }, + sourceMdmNamespace: { + serializedName: "sourceMdmNamespace", + type: { + name: "String" + } + }, + resourceIdDimensionNameOverride: { + serializedName: "resourceIdDimensionNameOverride", + type: { + name: "String" + } + } + } + } +}; + +export const Availability: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Availability", + modelProperties: { + timeGrain: { + serializedName: "timeGrain", + type: { + name: "String" + } + }, + retention: { + serializedName: "retention", + type: { + name: "String" + } + }, + blobDuration: { + serializedName: "blobDuration", + type: { + name: "String" + } + } + } + } +}; + +export const Dimension: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Dimension", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + displayName: { + serializedName: "displayName", + type: { + name: "String" + } + }, + internalName: { + serializedName: "internalName", + type: { + name: "String" + } + } + } + } +}; + +export const LogSpecification: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "LogSpecification", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + displayName: { + serializedName: "displayName", + type: { + name: "String" + } + }, + blobDuration: { + serializedName: "blobDuration", + type: { + name: "String" + } + } + } + } +}; + +export const PrivateEndpointListResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateEndpointListResult", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateEndpoint" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + +export const AvailablePrivateEndpointTypesResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AvailablePrivateEndpointTypesResult", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AvailablePrivateEndpointType" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + +export const AvailablePrivateEndpointType: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AvailablePrivateEndpointType", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + id: { + serializedName: "id", + type: { + name: "String" + } + }, + type: { + serializedName: "type", + type: { + name: "String" + } + }, + resourceName: { + serializedName: "resourceName", + type: { + name: "String" + } + }, + displayName: { + serializedName: "displayName", + type: { + name: "String" + } + } + } + } +}; + +export const PrivateDnsZoneConfig: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateDnsZoneConfig", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + privateDnsZoneId: { + serializedName: "properties.privateDnsZoneId", + type: { + name: "String" + } + }, + recordSets: { + serializedName: "properties.recordSets", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RecordSet" + } + } + } + } + } + } +}; + +export const RecordSet: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RecordSet", + modelProperties: { + recordType: { + serializedName: "recordType", + type: { + name: "String" + } + }, + recordSetName: { + serializedName: "recordSetName", + type: { + name: "String" + } + }, + fqdn: { + serializedName: "fqdn", + type: { + name: "String" + } + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String" + } + }, + ttl: { + serializedName: "ttl", + type: { + name: "Number" + } + }, + ipAddresses: { + serializedName: "ipAddresses", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const PrivateDnsZoneGroupListResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateDnsZoneGroupListResult", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateDnsZoneGroup" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + +export const PrivateLinkServiceListResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateLinkServiceListResult", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateLinkService" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + +export const PrivateEndpointConnectionListResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateEndpointConnectionListResult", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateEndpointConnection" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + +export const CheckPrivateLinkServiceVisibilityRequest: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CheckPrivateLinkServiceVisibilityRequest", + modelProperties: { + privateLinkServiceAlias: { + serializedName: "privateLinkServiceAlias", + type: { + name: "String" } } } @@ -12938,6 +14098,24 @@ export const VirtualHubRouteV2: coreClient.CompositeMapper = { } }; +export const VirtualRouterAutoScaleConfiguration: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualRouterAutoScaleConfiguration", + modelProperties: { + minCapacity: { + constraints: { + InclusiveMinimum: 0 + }, + serializedName: "minCapacity", + type: { + name: "Number" + } + } + } + } +}; + export const ListVirtualHubsResult: coreClient.CompositeMapper = { type: { name: "Composite", @@ -13952,13 +15130,253 @@ export const MatchCondition: coreClient.CompositeMapper = { } } }, - transforms: { - serializedName: "transforms", + transforms: { + serializedName: "transforms", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const MatchVariable: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MatchVariable", + modelProperties: { + variableName: { + serializedName: "variableName", + required: true, + type: { + name: "String" + } + }, + selector: { + serializedName: "selector", + type: { + name: "String" + } + } + } + } +}; + +export const ManagedRulesDefinition: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ManagedRulesDefinition", + modelProperties: { + exclusions: { + serializedName: "exclusions", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "OwaspCrsExclusionEntry" + } + } + } + }, + managedRuleSets: { + serializedName: "managedRuleSets", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ManagedRuleSet" + } + } + } + } + } + } +}; + +export const OwaspCrsExclusionEntry: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OwaspCrsExclusionEntry", + modelProperties: { + matchVariable: { + serializedName: "matchVariable", + required: true, + type: { + name: "String" + } + }, + selectorMatchOperator: { + serializedName: "selectorMatchOperator", + required: true, + type: { + name: "String" + } + }, + selector: { + serializedName: "selector", + required: true, + type: { + name: "String" + } + }, + exclusionManagedRuleSets: { + serializedName: "exclusionManagedRuleSets", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ExclusionManagedRuleSet" + } + } + } + } + } + } +}; + +export const ExclusionManagedRuleSet: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ExclusionManagedRuleSet", + modelProperties: { + ruleSetType: { + serializedName: "ruleSetType", + required: true, + type: { + name: "String" + } + }, + ruleSetVersion: { + serializedName: "ruleSetVersion", + required: true, + type: { + name: "String" + } + }, + ruleGroups: { + serializedName: "ruleGroups", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ExclusionManagedRuleGroup" + } + } + } + } + } + } +}; + +export const ExclusionManagedRuleGroup: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ExclusionManagedRuleGroup", + modelProperties: { + ruleGroupName: { + serializedName: "ruleGroupName", + required: true, + type: { + name: "String" + } + }, + rules: { + serializedName: "rules", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ExclusionManagedRule" + } + } + } + } + } + } +}; + +export const ExclusionManagedRule: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ExclusionManagedRule", + modelProperties: { + ruleId: { + serializedName: "ruleId", + required: true, + type: { + name: "String" + } + } + } + } +}; + +export const ManagedRuleSet: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ManagedRuleSet", + modelProperties: { + ruleSetType: { + serializedName: "ruleSetType", + required: true, + type: { + name: "String" + } + }, + ruleSetVersion: { + serializedName: "ruleSetVersion", + required: true, + type: { + name: "String" + } + }, + ruleGroupOverrides: { + serializedName: "ruleGroupOverrides", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ManagedRuleGroupOverride" + } + } + } + } + } + } +}; + +export const ManagedRuleGroupOverride: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ManagedRuleGroupOverride", + modelProperties: { + ruleGroupName: { + serializedName: "ruleGroupName", + required: true, + type: { + name: "String" + } + }, + rules: { + serializedName: "rules", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "ManagedRuleOverride" } } } @@ -13967,20 +15385,20 @@ export const MatchCondition: coreClient.CompositeMapper = { } }; -export const MatchVariable: coreClient.CompositeMapper = { +export const ManagedRuleOverride: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MatchVariable", + className: "ManagedRuleOverride", modelProperties: { - variableName: { - serializedName: "variableName", + ruleId: { + serializedName: "ruleId", required: true, type: { name: "String" } }, - selector: { - serializedName: "selector", + state: { + serializedName: "state", type: { name: "String" } @@ -13989,109 +15407,194 @@ export const MatchVariable: coreClient.CompositeMapper = { } }; -export const ManagedRulesDefinition: coreClient.CompositeMapper = { +export const ExpressRouteProviderPortListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ManagedRulesDefinition", + className: "ExpressRouteProviderPortListResult", modelProperties: { - exclusions: { - serializedName: "exclusions", + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { name: "Composite", - className: "OwaspCrsExclusionEntry" + className: "ExpressRouteProviderPort" } } } }, - managedRuleSets: { - serializedName: "managedRuleSets", - required: true, + nextLink: { + serializedName: "nextLink", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ManagedRuleSet" - } - } + name: "String" } } } } }; -export const OwaspCrsExclusionEntry: coreClient.CompositeMapper = { +export const FirewallPolicyNatRuleCollectionAction: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OwaspCrsExclusionEntry", + className: "FirewallPolicyNatRuleCollectionAction", modelProperties: { - matchVariable: { - serializedName: "matchVariable", - required: true, + type: { + serializedName: "type", + type: { + name: "String" + } + } + } + } +}; + +export const FirewallPolicyRule: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FirewallPolicyRule", + uberParent: "FirewallPolicyRule", + polymorphicDiscriminator: { + serializedName: "ruleType", + clientName: "ruleType" + }, + modelProperties: { + name: { + serializedName: "name", type: { name: "String" } }, - selectorMatchOperator: { - serializedName: "selectorMatchOperator", - required: true, + description: { + serializedName: "description", type: { name: "String" } }, - selector: { - serializedName: "selector", + ruleType: { + serializedName: "ruleType", required: true, type: { name: "String" } + } + } + } +}; + +export const FirewallPolicyFilterRuleCollectionAction: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FirewallPolicyFilterRuleCollectionAction", + modelProperties: { + type: { + serializedName: "type", + type: { + name: "String" + } + } + } + } +}; + +export const FirewallPolicyRuleApplicationProtocol: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FirewallPolicyRuleApplicationProtocol", + modelProperties: { + protocolType: { + serializedName: "protocolType", + type: { + name: "String" + } }, - exclusionManagedRuleSets: { - serializedName: "exclusionManagedRuleSets", + port: { + constraints: { + InclusiveMaximum: 64000, + InclusiveMinimum: 0 + }, + serializedName: "port", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ExclusionManagedRuleSet" - } - } + name: "Number" } } } } }; -export const ExclusionManagedRuleSet: coreClient.CompositeMapper = { +export const AzureAsyncOperationResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ExclusionManagedRuleSet", + className: "AzureAsyncOperationResult", modelProperties: { - ruleSetType: { - serializedName: "ruleSetType", - required: true, + status: { + serializedName: "status", type: { name: "String" } }, - ruleSetVersion: { - serializedName: "ruleSetVersion", - required: true, + error: { + serializedName: "error", + type: { + name: "Composite", + className: "ErrorModel" + } + } + } + } +}; + +export const AddressPrefixItem: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AddressPrefixItem", + modelProperties: { + addressPrefix: { + serializedName: "addressPrefix", type: { name: "String" } }, - ruleGroups: { - serializedName: "ruleGroups", + addressPrefixType: { + serializedName: "addressPrefixType", + type: { + name: "String" + } + } + } + } +}; + +export const VpnSiteId: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VpnSiteId", + modelProperties: { + vpnSite: { + serializedName: "vpnSite", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + +export const VirtualHubEffectiveRouteList: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualHubEffectiveRouteList", + modelProperties: { + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ExclusionManagedRuleGroup" + className: "VirtualHubEffectiveRoute" } } } @@ -14100,42 +15603,91 @@ export const ExclusionManagedRuleSet: coreClient.CompositeMapper = { } }; -export const ExclusionManagedRuleGroup: coreClient.CompositeMapper = { +export const VirtualHubEffectiveRoute: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ExclusionManagedRuleGroup", + className: "VirtualHubEffectiveRoute", modelProperties: { - ruleGroupName: { - serializedName: "ruleGroupName", - required: true, + addressPrefixes: { + serializedName: "addressPrefixes", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - rules: { - serializedName: "rules", + nextHops: { + serializedName: "nextHops", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "ExclusionManagedRule" + name: "String" } } } + }, + nextHopType: { + serializedName: "nextHopType", + type: { + name: "String" + } + }, + asPath: { + serializedName: "asPath", + type: { + name: "String" + } + }, + routeOrigin: { + serializedName: "routeOrigin", + type: { + name: "String" + } } } } }; -export const ExclusionManagedRule: coreClient.CompositeMapper = { +export const ApplicationGatewayIPConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ExclusionManagedRule", + className: "ApplicationGatewayIPConfiguration", modelProperties: { - ruleId: { - serializedName: "ruleId", - required: true, + ...SubResource.type.modelProperties, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + etag: { + serializedName: "etag", + readOnly: true, + type: { + name: "String" + } + }, + type: { + serializedName: "type", + readOnly: true, + type: { + name: "String" + } + }, + subnet: { + serializedName: "properties.subnet", + type: { + name: "Composite", + className: "SubResource" + } + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { name: "String" } @@ -14144,131 +15696,90 @@ export const ExclusionManagedRule: coreClient.CompositeMapper = { } }; -export const ManagedRuleSet: coreClient.CompositeMapper = { +export const ApplicationGatewayAuthenticationCertificate: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ManagedRuleSet", + className: "ApplicationGatewayAuthenticationCertificate", modelProperties: { - ruleSetType: { - serializedName: "ruleSetType", - required: true, + ...SubResource.type.modelProperties, + name: { + serializedName: "name", type: { name: "String" } }, - ruleSetVersion: { - serializedName: "ruleSetVersion", - required: true, + etag: { + serializedName: "etag", + readOnly: true, type: { name: "String" } }, - ruleGroupOverrides: { - serializedName: "ruleGroupOverrides", + type: { + serializedName: "type", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ManagedRuleGroupOverride" - } - } + name: "String" } - } - } - } -}; - -export const ManagedRuleGroupOverride: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ManagedRuleGroupOverride", - modelProperties: { - ruleGroupName: { - serializedName: "ruleGroupName", - required: true, + }, + data: { + serializedName: "properties.data", type: { name: "String" } }, - rules: { - serializedName: "rules", + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ManagedRuleOverride" - } - } + name: "String" } } } } }; -export const ManagedRuleOverride: coreClient.CompositeMapper = { +export const ApplicationGatewayTrustedRootCertificate: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ManagedRuleOverride", + className: "ApplicationGatewayTrustedRootCertificate", modelProperties: { - ruleId: { - serializedName: "ruleId", - required: true, + ...SubResource.type.modelProperties, + name: { + serializedName: "name", type: { name: "String" } }, - state: { - serializedName: "state", + etag: { + serializedName: "etag", + readOnly: true, type: { name: "String" } - } - } - } -}; - -export const FirewallPolicyNatRuleCollectionAction: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "FirewallPolicyNatRuleCollectionAction", - modelProperties: { + }, type: { serializedName: "type", + readOnly: true, type: { name: "String" } - } - } - } -}; - -export const FirewallPolicyRule: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "FirewallPolicyRule", - uberParent: "FirewallPolicyRule", - polymorphicDiscriminator: { - serializedName: "ruleType", - clientName: "ruleType" - }, - modelProperties: { - name: { - serializedName: "name", + }, + data: { + serializedName: "properties.data", type: { name: "String" } }, - description: { - serializedName: "description", + keyVaultSecretId: { + serializedName: "properties.keyVaultSecretId", type: { name: "String" } }, - ruleType: { - serializedName: "ruleType", - required: true, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { name: "String" } @@ -14277,146 +15788,187 @@ export const FirewallPolicyRule: coreClient.CompositeMapper = { } }; -export const FirewallPolicyFilterRuleCollectionAction: coreClient.CompositeMapper = { +export const ApplicationGatewayTrustedClientCertificate: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FirewallPolicyFilterRuleCollectionAction", + className: "ApplicationGatewayTrustedClientCertificate", modelProperties: { + ...SubResource.type.modelProperties, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + etag: { + serializedName: "etag", + readOnly: true, + type: { + name: "String" + } + }, type: { serializedName: "type", + readOnly: true, type: { name: "String" } - } - } - } -}; - -export const FirewallPolicyRuleApplicationProtocol: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "FirewallPolicyRuleApplicationProtocol", - modelProperties: { - protocolType: { - serializedName: "protocolType", + }, + data: { + serializedName: "properties.data", type: { name: "String" } }, - port: { - constraints: { - InclusiveMaximum: 64000, - InclusiveMinimum: 0 - }, - serializedName: "port", + validatedCertData: { + serializedName: "properties.validatedCertData", + readOnly: true, type: { - name: "Number" + name: "String" } - } - } - } -}; - -export const AzureAsyncOperationResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AzureAsyncOperationResult", - modelProperties: { - status: { - serializedName: "status", + }, + clientCertIssuerDN: { + serializedName: "properties.clientCertIssuerDN", + readOnly: true, type: { name: "String" } }, - error: { - serializedName: "error", + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { - name: "Composite", - className: "ErrorModel" + name: "String" } } } } }; -export const VpnSiteId: coreClient.CompositeMapper = { +export const ApplicationGatewaySslCertificate: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VpnSiteId", + className: "ApplicationGatewaySslCertificate", modelProperties: { - vpnSite: { - serializedName: "vpnSite", + ...SubResource.type.modelProperties, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + etag: { + serializedName: "etag", readOnly: true, type: { name: "String" } - } - } - } -}; - -export const VirtualHubEffectiveRouteList: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "VirtualHubEffectiveRouteList", - modelProperties: { - value: { - serializedName: "value", + }, + type: { + serializedName: "type", + readOnly: true, + type: { + name: "String" + } + }, + data: { + serializedName: "properties.data", + type: { + name: "String" + } + }, + password: { + serializedName: "properties.password", + type: { + name: "String" + } + }, + publicCertData: { + serializedName: "properties.publicCertData", + readOnly: true, + type: { + name: "String" + } + }, + keyVaultSecretId: { + serializedName: "properties.keyVaultSecretId", + type: { + name: "String" + } + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VirtualHubEffectiveRoute" - } - } + name: "String" } } } } }; -export const VirtualHubEffectiveRoute: coreClient.CompositeMapper = { +export const ApplicationGatewayFrontendIPConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualHubEffectiveRoute", + className: "ApplicationGatewayFrontendIPConfiguration", modelProperties: { - addressPrefixes: { - serializedName: "addressPrefixes", + ...SubResource.type.modelProperties, + name: { + serializedName: "name", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - nextHops: { - serializedName: "nextHops", + etag: { + serializedName: "etag", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - nextHopType: { - serializedName: "nextHopType", + type: { + serializedName: "type", + readOnly: true, type: { name: "String" } }, - asPath: { - serializedName: "asPath", + privateIPAddress: { + serializedName: "properties.privateIPAddress", type: { name: "String" } }, - routeOrigin: { - serializedName: "routeOrigin", + privateIPAllocationMethod: { + serializedName: "properties.privateIPAllocationMethod", + type: { + name: "String" + } + }, + subnet: { + serializedName: "properties.subnet", + type: { + name: "Composite", + className: "SubResource" + } + }, + publicIPAddress: { + serializedName: "properties.publicIPAddress", + type: { + name: "Composite", + className: "SubResource" + } + }, + privateLinkConfiguration: { + serializedName: "properties.privateLinkConfiguration", + type: { + name: "Composite", + className: "SubResource" + } + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { name: "String" } @@ -14425,10 +15977,10 @@ export const VirtualHubEffectiveRoute: coreClient.CompositeMapper = { } }; -export const ApplicationGatewayIPConfiguration: coreClient.CompositeMapper = { +export const ApplicationGatewayFrontendPort: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ApplicationGatewayIPConfiguration", + className: "ApplicationGatewayFrontendPort", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -14451,11 +16003,10 @@ export const ApplicationGatewayIPConfiguration: coreClient.CompositeMapper = { name: "String" } }, - subnet: { - serializedName: "properties.subnet", + port: { + serializedName: "properties.port", type: { - name: "Composite", - className: "SubResource" + name: "Number" } }, provisioningState: { @@ -14469,10 +16020,10 @@ export const ApplicationGatewayIPConfiguration: coreClient.CompositeMapper = { } }; -export const ApplicationGatewayAuthenticationCertificate: coreClient.CompositeMapper = { +export const ApplicationGatewayProbe: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ApplicationGatewayAuthenticationCertificate", + className: "ApplicationGatewayProbe", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -14495,27 +16046,92 @@ export const ApplicationGatewayAuthenticationCertificate: coreClient.CompositeMa name: "String" } }, - data: { - serializedName: "properties.data", + protocol: { + serializedName: "properties.protocol", + type: { + name: "String" + } + }, + host: { + serializedName: "properties.host", + type: { + name: "String" + } + }, + path: { + serializedName: "properties.path", type: { name: "String" } }, + interval: { + serializedName: "properties.interval", + type: { + name: "Number" + } + }, + timeout: { + serializedName: "properties.timeout", + type: { + name: "Number" + } + }, + unhealthyThreshold: { + serializedName: "properties.unhealthyThreshold", + type: { + name: "Number" + } + }, + pickHostNameFromBackendHttpSettings: { + serializedName: "properties.pickHostNameFromBackendHttpSettings", + type: { + name: "Boolean" + } + }, + pickHostNameFromBackendSettings: { + serializedName: "properties.pickHostNameFromBackendSettings", + type: { + name: "Boolean" + } + }, + minServers: { + serializedName: "properties.minServers", + type: { + name: "Number" + } + }, + match: { + serializedName: "properties.match", + type: { + name: "Composite", + className: "ApplicationGatewayProbeHealthResponseMatch" + } + }, provisioningState: { serializedName: "properties.provisioningState", readOnly: true, type: { name: "String" } + }, + port: { + constraints: { + InclusiveMaximum: 65535, + InclusiveMinimum: 1 + }, + serializedName: "properties.port", + type: { + name: "Number" + } } } } }; -export const ApplicationGatewayTrustedRootCertificate: coreClient.CompositeMapper = { +export const NetworkInterfaceTapConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ApplicationGatewayTrustedRootCertificate", + className: "NetworkInterfaceTapConfiguration", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -14538,16 +16154,11 @@ export const ApplicationGatewayTrustedRootCertificate: coreClient.CompositeMappe name: "String" } }, - data: { - serializedName: "properties.data", - type: { - name: "String" - } - }, - keyVaultSecretId: { - serializedName: "properties.keyVaultSecretId", + virtualNetworkTap: { + serializedName: "properties.virtualNetworkTap", type: { - name: "String" + name: "Composite", + className: "VirtualNetworkTap" } }, provisioningState: { @@ -14561,10 +16172,10 @@ export const ApplicationGatewayTrustedRootCertificate: coreClient.CompositeMappe } }; -export const ApplicationGatewayTrustedClientCertificate: coreClient.CompositeMapper = { +export const SecurityRule: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ApplicationGatewayTrustedClientCertificate", + className: "SecurityRule", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -14573,36 +16184,137 @@ export const ApplicationGatewayTrustedClientCertificate: coreClient.CompositeMap name: "String" } }, - etag: { - serializedName: "etag", - readOnly: true, + etag: { + serializedName: "etag", + readOnly: true, + type: { + name: "String" + } + }, + type: { + serializedName: "type", + type: { + name: "String" + } + }, + description: { + serializedName: "properties.description", + type: { + name: "String" + } + }, + protocol: { + serializedName: "properties.protocol", + type: { + name: "String" + } + }, + sourcePortRange: { + serializedName: "properties.sourcePortRange", + type: { + name: "String" + } + }, + destinationPortRange: { + serializedName: "properties.destinationPortRange", + type: { + name: "String" + } + }, + sourceAddressPrefix: { + serializedName: "properties.sourceAddressPrefix", + type: { + name: "String" + } + }, + sourceAddressPrefixes: { + serializedName: "properties.sourceAddressPrefixes", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + sourceApplicationSecurityGroups: { + serializedName: "properties.sourceApplicationSecurityGroups", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ApplicationSecurityGroup" + } + } + } + }, + destinationAddressPrefix: { + serializedName: "properties.destinationAddressPrefix", + type: { + name: "String" + } + }, + destinationAddressPrefixes: { + serializedName: "properties.destinationAddressPrefixes", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - type: { - serializedName: "type", - readOnly: true, + destinationApplicationSecurityGroups: { + serializedName: "properties.destinationApplicationSecurityGroups", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ApplicationSecurityGroup" + } + } } }, - data: { - serializedName: "properties.data", + sourcePortRanges: { + serializedName: "properties.sourcePortRanges", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - validatedCertData: { - serializedName: "properties.validatedCertData", - readOnly: true, + destinationPortRanges: { + serializedName: "properties.destinationPortRanges", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + access: { + serializedName: "properties.access", type: { name: "String" } }, - clientCertIssuerDN: { - serializedName: "properties.clientCertIssuerDN", - readOnly: true, + priority: { + serializedName: "properties.priority", + type: { + name: "Number" + } + }, + direction: { + serializedName: "properties.direction", type: { name: "String" } @@ -14618,10 +16330,10 @@ export const ApplicationGatewayTrustedClientCertificate: coreClient.CompositeMap } }; -export const ApplicationGatewaySslCertificate: coreClient.CompositeMapper = { +export const PrivateLinkServiceConnection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ApplicationGatewaySslCertificate", + className: "PrivateLinkServiceConnection", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -14630,60 +16342,65 @@ export const ApplicationGatewaySslCertificate: coreClient.CompositeMapper = { name: "String" } }, - etag: { - serializedName: "etag", + type: { + serializedName: "type", readOnly: true, type: { name: "String" } }, - type: { - serializedName: "type", + etag: { + serializedName: "etag", readOnly: true, type: { name: "String" } }, - data: { - serializedName: "properties.data", + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { name: "String" } }, - password: { - serializedName: "properties.password", + privateLinkServiceId: { + serializedName: "properties.privateLinkServiceId", type: { name: "String" } }, - publicCertData: { - serializedName: "properties.publicCertData", - readOnly: true, + groupIds: { + serializedName: "properties.groupIds", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - keyVaultSecretId: { - serializedName: "properties.keyVaultSecretId", + requestMessage: { + serializedName: "properties.requestMessage", type: { name: "String" } }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + privateLinkServiceConnectionState: { + serializedName: "properties.privateLinkServiceConnectionState", type: { - name: "String" + name: "Composite", + className: "PrivateLinkServiceConnectionState" } } } } }; -export const ApplicationGatewayFrontendIPConfiguration: coreClient.CompositeMapper = { +export const PrivateLinkServiceIpConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ApplicationGatewayFrontendIPConfiguration", + className: "PrivateLinkServiceIpConfiguration", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -14722,21 +16439,13 @@ export const ApplicationGatewayFrontendIPConfiguration: coreClient.CompositeMapp serializedName: "properties.subnet", type: { name: "Composite", - className: "SubResource" - } - }, - publicIPAddress: { - serializedName: "properties.publicIPAddress", - type: { - name: "Composite", - className: "SubResource" + className: "Subnet" } }, - privateLinkConfiguration: { - serializedName: "properties.privateLinkConfiguration", + primary: { + serializedName: "properties.primary", type: { - name: "Composite", - className: "SubResource" + name: "Boolean" } }, provisioningState: { @@ -14745,15 +16454,21 @@ export const ApplicationGatewayFrontendIPConfiguration: coreClient.CompositeMapp type: { name: "String" } + }, + privateIPAddressVersion: { + serializedName: "properties.privateIPAddressVersion", + type: { + name: "String" + } } } } }; -export const ApplicationGatewayFrontendPort: coreClient.CompositeMapper = { +export const PrivateEndpointConnection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ApplicationGatewayFrontendPort", + className: "PrivateEndpointConnection", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -14762,24 +16477,32 @@ export const ApplicationGatewayFrontendPort: coreClient.CompositeMapper = { name: "String" } }, - etag: { - serializedName: "etag", + type: { + serializedName: "type", readOnly: true, type: { name: "String" } }, - type: { - serializedName: "type", + etag: { + serializedName: "etag", readOnly: true, type: { name: "String" } }, - port: { - serializedName: "properties.port", + privateEndpoint: { + serializedName: "properties.privateEndpoint", type: { - name: "Number" + name: "Composite", + className: "PrivateEndpoint" + } + }, + privateLinkServiceConnectionState: { + serializedName: "properties.privateLinkServiceConnectionState", + type: { + name: "Composite", + className: "PrivateLinkServiceConnectionState" } }, provisioningState: { @@ -14788,15 +16511,22 @@ export const ApplicationGatewayFrontendPort: coreClient.CompositeMapper = { type: { name: "String" } + }, + linkIdentifier: { + serializedName: "properties.linkIdentifier", + readOnly: true, + type: { + name: "String" + } } } } }; -export const ApplicationGatewayProbe: coreClient.CompositeMapper = { +export const Route: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ApplicationGatewayProbe", + className: "Route", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -14814,72 +16544,28 @@ export const ApplicationGatewayProbe: coreClient.CompositeMapper = { }, type: { serializedName: "type", - readOnly: true, type: { name: "String" } }, - protocol: { - serializedName: "properties.protocol", + addressPrefix: { + serializedName: "properties.addressPrefix", type: { name: "String" } }, - host: { - serializedName: "properties.host", + nextHopType: { + serializedName: "properties.nextHopType", type: { name: "String" } }, - path: { - serializedName: "properties.path", + nextHopIpAddress: { + serializedName: "properties.nextHopIpAddress", type: { name: "String" } }, - interval: { - serializedName: "properties.interval", - type: { - name: "Number" - } - }, - timeout: { - serializedName: "properties.timeout", - type: { - name: "Number" - } - }, - unhealthyThreshold: { - serializedName: "properties.unhealthyThreshold", - type: { - name: "Number" - } - }, - pickHostNameFromBackendHttpSettings: { - serializedName: "properties.pickHostNameFromBackendHttpSettings", - type: { - name: "Boolean" - } - }, - pickHostNameFromBackendSettings: { - serializedName: "properties.pickHostNameFromBackendSettings", - type: { - name: "Boolean" - } - }, - minServers: { - serializedName: "properties.minServers", - type: { - name: "Number" - } - }, - match: { - serializedName: "properties.match", - type: { - name: "Composite", - className: "ApplicationGatewayProbeHealthResponseMatch" - } - }, provisioningState: { serializedName: "properties.provisioningState", readOnly: true, @@ -14887,24 +16573,20 @@ export const ApplicationGatewayProbe: coreClient.CompositeMapper = { name: "String" } }, - port: { - constraints: { - InclusiveMaximum: 65535, - InclusiveMinimum: 1 - }, - serializedName: "properties.port", + hasBgpOverride: { + serializedName: "properties.hasBgpOverride", type: { - name: "Number" + name: "Boolean" } } } } }; -export const NetworkInterfaceTapConfiguration: coreClient.CompositeMapper = { +export const ServiceEndpointPolicyDefinition: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NetworkInterfaceTapConfiguration", + className: "ServiceEndpointPolicyDefinition", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -14920,18 +16602,33 @@ export const NetworkInterfaceTapConfiguration: coreClient.CompositeMapper = { name: "String" } }, - type: { - serializedName: "type", - readOnly: true, + type: { + serializedName: "type", + type: { + name: "String" + } + }, + description: { + serializedName: "properties.description", + type: { + name: "String" + } + }, + service: { + serializedName: "properties.service", type: { name: "String" } }, - virtualNetworkTap: { - serializedName: "properties.virtualNetworkTap", + serviceResources: { + serializedName: "properties.serviceResources", type: { - name: "Composite", - className: "VirtualNetworkTap" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, provisioningState: { @@ -14945,10 +16642,10 @@ export const NetworkInterfaceTapConfiguration: coreClient.CompositeMapper = { } }; -export const SecurityRule: coreClient.CompositeMapper = { +export const IPConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SecurityRule", + className: "IPConfiguration", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -14964,130 +16661,121 @@ export const SecurityRule: coreClient.CompositeMapper = { name: "String" } }, - type: { - serializedName: "type", + privateIPAddress: { + serializedName: "properties.privateIPAddress", type: { name: "String" } }, - description: { - serializedName: "properties.description", + privateIPAllocationMethod: { + serializedName: "properties.privateIPAllocationMethod", type: { name: "String" } }, - protocol: { - serializedName: "properties.protocol", + subnet: { + serializedName: "properties.subnet", type: { - name: "String" + name: "Composite", + className: "Subnet" } }, - sourcePortRange: { - serializedName: "properties.sourcePortRange", + publicIPAddress: { + serializedName: "properties.publicIPAddress", type: { - name: "String" + name: "Composite", + className: "PublicIPAddress" } }, - destinationPortRange: { - serializedName: "properties.destinationPortRange", + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { name: "String" } - }, - sourceAddressPrefix: { - serializedName: "properties.sourceAddressPrefix", + } + } + } +}; + +export const IPConfigurationProfile: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "IPConfigurationProfile", + modelProperties: { + ...SubResource.type.modelProperties, + name: { + serializedName: "name", type: { name: "String" } }, - sourceAddressPrefixes: { - serializedName: "properties.sourceAddressPrefixes", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - sourceApplicationSecurityGroups: { - serializedName: "properties.sourceApplicationSecurityGroups", + type: { + serializedName: "type", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ApplicationSecurityGroup" - } - } + name: "String" } }, - destinationAddressPrefix: { - serializedName: "properties.destinationAddressPrefix", + etag: { + serializedName: "etag", + readOnly: true, type: { name: "String" } }, - destinationAddressPrefixes: { - serializedName: "properties.destinationAddressPrefixes", + subnet: { + serializedName: "properties.subnet", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Composite", + className: "Subnet" } }, - destinationApplicationSecurityGroups: { - serializedName: "properties.destinationApplicationSecurityGroups", + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ApplicationSecurityGroup" - } - } + name: "String" } - }, - sourcePortRanges: { - serializedName: "properties.sourcePortRanges", + } + } + } +}; + +export const ResourceNavigationLink: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ResourceNavigationLink", + modelProperties: { + ...SubResource.type.modelProperties, + name: { + serializedName: "name", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - destinationPortRanges: { - serializedName: "properties.destinationPortRanges", + etag: { + serializedName: "etag", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - access: { - serializedName: "properties.access", + type: { + serializedName: "type", + readOnly: true, type: { name: "String" } }, - priority: { - serializedName: "properties.priority", + linkedResourceType: { + serializedName: "properties.linkedResourceType", type: { - name: "Number" + name: "String" } }, - direction: { - serializedName: "properties.direction", + link: { + serializedName: "properties.link", type: { name: "String" } @@ -15103,10 +16791,10 @@ export const SecurityRule: coreClient.CompositeMapper = { } }; -export const PrivateLinkServiceConnection: coreClient.CompositeMapper = { +export const ServiceAssociationLink: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateLinkServiceConnection", + className: "ServiceAssociationLink", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -15115,6 +16803,13 @@ export const PrivateLinkServiceConnection: coreClient.CompositeMapper = { name: "String" } }, + etag: { + serializedName: "etag", + readOnly: true, + type: { + name: "String" + } + }, type: { serializedName: "type", readOnly: true, @@ -15122,9 +16817,14 @@ export const PrivateLinkServiceConnection: coreClient.CompositeMapper = { name: "String" } }, - etag: { - serializedName: "etag", - readOnly: true, + linkedResourceType: { + serializedName: "properties.linkedResourceType", + type: { + name: "String" + } + }, + link: { + serializedName: "properties.link", type: { name: "String" } @@ -15136,14 +16836,14 @@ export const PrivateLinkServiceConnection: coreClient.CompositeMapper = { name: "String" } }, - privateLinkServiceId: { - serializedName: "properties.privateLinkServiceId", + allowDelete: { + serializedName: "properties.allowDelete", type: { - name: "String" + name: "Boolean" } }, - groupIds: { - serializedName: "properties.groupIds", + locations: { + serializedName: "properties.locations", type: { name: "Sequence", element: { @@ -15152,28 +16852,15 @@ export const PrivateLinkServiceConnection: coreClient.CompositeMapper = { } } } - }, - requestMessage: { - serializedName: "properties.requestMessage", - type: { - name: "String" - } - }, - privateLinkServiceConnectionState: { - serializedName: "properties.privateLinkServiceConnectionState", - type: { - name: "Composite", - className: "PrivateLinkServiceConnectionState" - } } } } }; -export const PrivateLinkServiceIpConfiguration: coreClient.CompositeMapper = { +export const Delegation: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateLinkServiceIpConfiguration", + className: "Delegation", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -15191,45 +16878,31 @@ export const PrivateLinkServiceIpConfiguration: coreClient.CompositeMapper = { }, type: { serializedName: "type", - readOnly: true, - type: { - name: "String" - } - }, - privateIPAddress: { - serializedName: "properties.privateIPAddress", type: { name: "String" } }, - privateIPAllocationMethod: { - serializedName: "properties.privateIPAllocationMethod", + serviceName: { + serializedName: "properties.serviceName", type: { name: "String" } }, - subnet: { - serializedName: "properties.subnet", - type: { - name: "Composite", - className: "Subnet" - } - }, - primary: { - serializedName: "properties.primary", - type: { - name: "Boolean" - } - }, - provisioningState: { - serializedName: "properties.provisioningState", + actions: { + serializedName: "properties.actions", readOnly: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } - }, - privateIPAddressVersion: { - serializedName: "properties.privateIPAddressVersion", + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { name: "String" } @@ -15238,10 +16911,10 @@ export const PrivateLinkServiceIpConfiguration: coreClient.CompositeMapper = { } }; -export const PrivateEndpointConnection: coreClient.CompositeMapper = { +export const Subnet: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateEndpointConnection", + className: "Subnet", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -15250,91 +16923,173 @@ export const PrivateEndpointConnection: coreClient.CompositeMapper = { name: "String" } }, + etag: { + serializedName: "etag", + readOnly: true, + type: { + name: "String" + } + }, type: { serializedName: "type", - readOnly: true, type: { name: "String" } }, - etag: { - serializedName: "etag", - readOnly: true, + addressPrefix: { + serializedName: "properties.addressPrefix", type: { name: "String" } }, - privateEndpoint: { - serializedName: "properties.privateEndpoint", + addressPrefixes: { + serializedName: "properties.addressPrefixes", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + networkSecurityGroup: { + serializedName: "properties.networkSecurityGroup", type: { name: "Composite", - className: "PrivateEndpoint" + className: "NetworkSecurityGroup" } }, - privateLinkServiceConnectionState: { - serializedName: "properties.privateLinkServiceConnectionState", + routeTable: { + serializedName: "properties.routeTable", type: { name: "Composite", - className: "PrivateLinkServiceConnectionState" + className: "RouteTable" } }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + natGateway: { + serializedName: "properties.natGateway", type: { - name: "String" + name: "Composite", + className: "SubResource" } }, - linkIdentifier: { - serializedName: "properties.linkIdentifier", + serviceEndpoints: { + serializedName: "properties.serviceEndpoints", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ServiceEndpointPropertiesFormat" + } + } + } + }, + serviceEndpointPolicies: { + serializedName: "properties.serviceEndpointPolicies", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ServiceEndpointPolicy" + } + } + } + }, + privateEndpoints: { + serializedName: "properties.privateEndpoints", readOnly: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateEndpoint" + } + } } - } - } - } -}; - -export const Route: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "Route", - modelProperties: { - ...SubResource.type.modelProperties, - name: { - serializedName: "name", + }, + ipConfigurations: { + serializedName: "properties.ipConfigurations", + readOnly: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IPConfiguration" + } + } } }, - etag: { - serializedName: "etag", + ipConfigurationProfiles: { + serializedName: "properties.ipConfigurationProfiles", readOnly: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IPConfigurationProfile" + } + } } }, - type: { - serializedName: "type", + ipAllocations: { + serializedName: "properties.ipAllocations", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, - addressPrefix: { - serializedName: "properties.addressPrefix", + resourceNavigationLinks: { + serializedName: "properties.resourceNavigationLinks", + readOnly: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ResourceNavigationLink" + } + } } }, - nextHopType: { - serializedName: "properties.nextHopType", + serviceAssociationLinks: { + serializedName: "properties.serviceAssociationLinks", + readOnly: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ServiceAssociationLink" + } + } } }, - nextHopIpAddress: { - serializedName: "properties.nextHopIpAddress", + delegations: { + serializedName: "properties.delegations", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Delegation" + } + } + } + }, + purpose: { + serializedName: "properties.purpose", + readOnly: true, type: { name: "String" } @@ -15346,20 +17101,40 @@ export const Route: coreClient.CompositeMapper = { name: "String" } }, - hasBgpOverride: { - serializedName: "properties.hasBgpOverride", + privateEndpointNetworkPolicies: { + defaultValue: "Enabled", + serializedName: "properties.privateEndpointNetworkPolicies", type: { - name: "Boolean" + name: "String" + } + }, + privateLinkServiceNetworkPolicies: { + defaultValue: "Enabled", + serializedName: "properties.privateLinkServiceNetworkPolicies", + type: { + name: "String" + } + }, + applicationGatewayIpConfigurations: { + serializedName: "properties.applicationGatewayIpConfigurations", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ApplicationGatewayIPConfiguration" + } + } } } } } }; -export const ServiceEndpointPolicyDefinition: coreClient.CompositeMapper = { +export const FrontendIPConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ServiceEndpointPolicyDefinition", + className: "FrontendIPConfiguration", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -15377,61 +17152,72 @@ export const ServiceEndpointPolicyDefinition: coreClient.CompositeMapper = { }, type: { serializedName: "type", + readOnly: true, type: { name: "String" } }, - description: { - serializedName: "properties.description", - type: { - name: "String" - } - }, - service: { - serializedName: "properties.service", + zones: { + serializedName: "zones", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - serviceResources: { - serializedName: "properties.serviceResources", + inboundNatRules: { + serializedName: "properties.inboundNatRules", + readOnly: true, type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "SubResource" } } } }, - provisioningState: { - serializedName: "properties.provisioningState", + inboundNatPools: { + serializedName: "properties.inboundNatPools", readOnly: true, type: { - name: "String" - } - } - } - } -}; - -export const IPConfiguration: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "IPConfiguration", - modelProperties: { - ...SubResource.type.modelProperties, - name: { - serializedName: "name", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } + } + }, + outboundRules: { + serializedName: "properties.outboundRules", + readOnly: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, - etag: { - serializedName: "etag", + loadBalancingRules: { + serializedName: "properties.loadBalancingRules", readOnly: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, privateIPAddress: { @@ -15446,6 +17232,12 @@ export const IPConfiguration: coreClient.CompositeMapper = { name: "String" } }, + privateIPAddressVersion: { + serializedName: "properties.privateIPAddressVersion", + type: { + name: "String" + } + }, subnet: { serializedName: "properties.subnet", type: { @@ -15460,6 +17252,20 @@ export const IPConfiguration: coreClient.CompositeMapper = { className: "PublicIPAddress" } }, + publicIPPrefix: { + serializedName: "properties.publicIPPrefix", + type: { + name: "Composite", + className: "SubResource" + } + }, + gatewayLoadBalancer: { + serializedName: "properties.gatewayLoadBalancer", + type: { + name: "Composite", + className: "SubResource" + } + }, provisioningState: { serializedName: "properties.provisioningState", readOnly: true, @@ -15471,10 +17277,10 @@ export const IPConfiguration: coreClient.CompositeMapper = { } }; -export const IPConfigurationProfile: coreClient.CompositeMapper = { +export const BackendAddressPool: coreClient.CompositeMapper = { type: { name: "Composite", - className: "IPConfigurationProfile", + className: "BackendAddressPool", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -15483,74 +17289,107 @@ export const IPConfigurationProfile: coreClient.CompositeMapper = { name: "String" } }, - type: { - serializedName: "type", + etag: { + serializedName: "etag", readOnly: true, type: { name: "String" } }, - etag: { - serializedName: "etag", + type: { + serializedName: "type", readOnly: true, type: { name: "String" } }, - subnet: { - serializedName: "properties.subnet", + location: { + serializedName: "properties.location", type: { - name: "Composite", - className: "Subnet" + name: "String" } }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + tunnelInterfaces: { + serializedName: "properties.tunnelInterfaces", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "GatewayLoadBalancerTunnelInterface" + } + } } - } - } - } -}; - -export const ResourceNavigationLink: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ResourceNavigationLink", - modelProperties: { - ...SubResource.type.modelProperties, - name: { - serializedName: "name", + }, + loadBalancerBackendAddresses: { + serializedName: "properties.loadBalancerBackendAddresses", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "LoadBalancerBackendAddress" + } + } } }, - etag: { - serializedName: "etag", + backendIPConfigurations: { + serializedName: "properties.backendIPConfigurations", readOnly: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "NetworkInterfaceIPConfiguration" + } + } } }, - type: { - serializedName: "type", + loadBalancingRules: { + serializedName: "properties.loadBalancingRules", readOnly: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, - linkedResourceType: { - serializedName: "properties.linkedResourceType", + outboundRule: { + serializedName: "properties.outboundRule", type: { - name: "String" + name: "Composite", + className: "SubResource" } }, - link: { - serializedName: "properties.link", + outboundRules: { + serializedName: "properties.outboundRules", + readOnly: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } + } + }, + inboundNatRules: { + serializedName: "properties.inboundNatRules", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, provisioningState: { @@ -15559,15 +17398,21 @@ export const ResourceNavigationLink: coreClient.CompositeMapper = { type: { name: "String" } + }, + drainPeriodInSeconds: { + serializedName: "properties.drainPeriodInSeconds", + type: { + name: "Number" + } } } } }; -export const ServiceAssociationLink: coreClient.CompositeMapper = { +export const InboundNatRule: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ServiceAssociationLink", + className: "InboundNatRule", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -15590,87 +17435,73 @@ export const ServiceAssociationLink: coreClient.CompositeMapper = { name: "String" } }, - linkedResourceType: { - serializedName: "properties.linkedResourceType", + frontendIPConfiguration: { + serializedName: "properties.frontendIPConfiguration", type: { - name: "String" + name: "Composite", + className: "SubResource" } }, - link: { - serializedName: "properties.link", + backendIPConfiguration: { + serializedName: "properties.backendIPConfiguration", type: { - name: "String" + name: "Composite", + className: "NetworkInterfaceIPConfiguration" } }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + protocol: { + serializedName: "properties.protocol", type: { name: "String" } }, - allowDelete: { - serializedName: "properties.allowDelete", + frontendPort: { + serializedName: "properties.frontendPort", type: { - name: "Boolean" + name: "Number" } }, - locations: { - serializedName: "properties.locations", + backendPort: { + serializedName: "properties.backendPort", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Number" } - } - } - } -}; - -export const Delegation: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "Delegation", - modelProperties: { - ...SubResource.type.modelProperties, - name: { - serializedName: "name", + }, + idleTimeoutInMinutes: { + serializedName: "properties.idleTimeoutInMinutes", type: { - name: "String" + name: "Number" } }, - etag: { - serializedName: "etag", - readOnly: true, + enableFloatingIP: { + serializedName: "properties.enableFloatingIP", type: { - name: "String" + name: "Boolean" } }, - type: { - serializedName: "type", + enableTcpReset: { + serializedName: "properties.enableTcpReset", type: { - name: "String" + name: "Boolean" } }, - serviceName: { - serializedName: "properties.serviceName", + frontendPortRangeStart: { + serializedName: "properties.frontendPortRangeStart", type: { - name: "String" + name: "Number" } }, - actions: { - serializedName: "properties.actions", - readOnly: true, + frontendPortRangeEnd: { + serializedName: "properties.frontendPortRangeEnd", + type: { + name: "Number" + } + }, + backendAddressPool: { + serializedName: "properties.backendAddressPool", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Composite", + className: "SubResource" } }, provisioningState: { @@ -15684,10 +17515,10 @@ export const Delegation: coreClient.CompositeMapper = { } }; -export const Subnet: coreClient.CompositeMapper = { +export const NetworkInterfaceIPConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Subnet", + className: "NetworkInterfaceIPConfiguration", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -15709,205 +17540,196 @@ export const Subnet: coreClient.CompositeMapper = { name: "String" } }, - addressPrefix: { - serializedName: "properties.addressPrefix", - type: { - name: "String" - } - }, - addressPrefixes: { - serializedName: "properties.addressPrefixes", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - networkSecurityGroup: { - serializedName: "properties.networkSecurityGroup", - type: { - name: "Composite", - className: "NetworkSecurityGroup" - } - }, - routeTable: { - serializedName: "properties.routeTable", - type: { - name: "Composite", - className: "RouteTable" - } - }, - natGateway: { - serializedName: "properties.natGateway", + gatewayLoadBalancer: { + serializedName: "properties.gatewayLoadBalancer", type: { name: "Composite", className: "SubResource" } }, - serviceEndpoints: { - serializedName: "properties.serviceEndpoints", + virtualNetworkTaps: { + serializedName: "properties.virtualNetworkTaps", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ServiceEndpointPropertiesFormat" + className: "VirtualNetworkTap" } } } }, - serviceEndpointPolicies: { - serializedName: "properties.serviceEndpointPolicies", + applicationGatewayBackendAddressPools: { + serializedName: "properties.applicationGatewayBackendAddressPools", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ServiceEndpointPolicy" + className: "ApplicationGatewayBackendAddressPool" } } } }, - privateEndpoints: { - serializedName: "properties.privateEndpoints", - readOnly: true, + loadBalancerBackendAddressPools: { + serializedName: "properties.loadBalancerBackendAddressPools", type: { name: "Sequence", element: { type: { name: "Composite", - className: "PrivateEndpoint" + className: "BackendAddressPool" } } } }, - ipConfigurations: { - serializedName: "properties.ipConfigurations", - readOnly: true, + loadBalancerInboundNatRules: { + serializedName: "properties.loadBalancerInboundNatRules", type: { name: "Sequence", element: { type: { name: "Composite", - className: "IPConfiguration" + className: "InboundNatRule" } } } }, - ipConfigurationProfiles: { - serializedName: "properties.ipConfigurationProfiles", - readOnly: true, + privateIPAddress: { + serializedName: "properties.privateIPAddress", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "IPConfigurationProfile" - } - } + name: "String" } }, - ipAllocations: { - serializedName: "properties.ipAllocations", + privateIPAllocationMethod: { + serializedName: "properties.privateIPAllocationMethod", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SubResource" - } - } + name: "String" } }, - resourceNavigationLinks: { - serializedName: "properties.resourceNavigationLinks", - readOnly: true, + privateIPAddressVersion: { + serializedName: "properties.privateIPAddressVersion", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ResourceNavigationLink" - } - } + name: "String" } }, - serviceAssociationLinks: { - serializedName: "properties.serviceAssociationLinks", - readOnly: true, + subnet: { + serializedName: "properties.subnet", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ServiceAssociationLink" - } - } + name: "Composite", + className: "Subnet" } }, - delegations: { - serializedName: "properties.delegations", + primary: { + serializedName: "properties.primary", + type: { + name: "Boolean" + } + }, + publicIPAddress: { + serializedName: "properties.publicIPAddress", + type: { + name: "Composite", + className: "PublicIPAddress" + } + }, + applicationSecurityGroups: { + serializedName: "properties.applicationSecurityGroups", type: { name: "Sequence", element: { type: { name: "Composite", - className: "Delegation" + className: "ApplicationSecurityGroup" } } } }, - purpose: { - serializedName: "properties.purpose", + provisioningState: { + serializedName: "properties.provisioningState", readOnly: true, type: { name: "String" } }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + privateLinkConnectionProperties: { + serializedName: "properties.privateLinkConnectionProperties", + type: { + name: "Composite", + className: + "NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties" + } + } + } + } +}; + +export const ApplicationGatewayBackendAddressPool: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ApplicationGatewayBackendAddressPool", + modelProperties: { + ...SubResource.type.modelProperties, + name: { + serializedName: "name", type: { name: "String" } }, - privateEndpointNetworkPolicies: { - defaultValue: "Enabled", - serializedName: "properties.privateEndpointNetworkPolicies", + etag: { + serializedName: "etag", + readOnly: true, type: { name: "String" } }, - privateLinkServiceNetworkPolicies: { - defaultValue: "Enabled", - serializedName: "properties.privateLinkServiceNetworkPolicies", + type: { + serializedName: "type", + readOnly: true, type: { name: "String" } }, - applicationGatewayIpConfigurations: { - serializedName: "properties.applicationGatewayIpConfigurations", + backendIPConfigurations: { + serializedName: "properties.backendIPConfigurations", + readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "ApplicationGatewayIPConfiguration" + className: "NetworkInterfaceIPConfiguration" } } } + }, + backendAddresses: { + serializedName: "properties.backendAddresses", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ApplicationGatewayBackendAddress" + } + } + } + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + type: { + name: "String" + } } } } }; -export const FrontendIPConfiguration: coreClient.CompositeMapper = { +export const ApplicationGatewayBackendHttpSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FrontendIPConfiguration", + className: "ApplicationGatewayBackendHttpSettings", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -15930,46 +17752,39 @@ export const FrontendIPConfiguration: coreClient.CompositeMapper = { name: "String" } }, - zones: { - serializedName: "zones", + port: { + serializedName: "properties.port", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Number" } }, - inboundNatRules: { - serializedName: "properties.inboundNatRules", - readOnly: true, + protocol: { + serializedName: "properties.protocol", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SubResource" - } - } + name: "String" } }, - inboundNatPools: { - serializedName: "properties.inboundNatPools", - readOnly: true, + cookieBasedAffinity: { + serializedName: "properties.cookieBasedAffinity", + type: { + name: "String" + } + }, + requestTimeout: { + serializedName: "properties.requestTimeout", + type: { + name: "Number" + } + }, + probe: { + serializedName: "properties.probe", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SubResource" - } - } + name: "Composite", + className: "SubResource" } }, - outboundRules: { - serializedName: "properties.outboundRules", - readOnly: true, + authenticationCertificates: { + serializedName: "properties.authenticationCertificates", type: { name: "Sequence", element: { @@ -15980,9 +17795,8 @@ export const FrontendIPConfiguration: coreClient.CompositeMapper = { } } }, - loadBalancingRules: { - serializedName: "properties.loadBalancingRules", - readOnly: true, + trustedRootCertificates: { + serializedName: "properties.trustedRootCertificates", type: { name: "Sequence", element: { @@ -15993,50 +17807,41 @@ export const FrontendIPConfiguration: coreClient.CompositeMapper = { } } }, - privateIPAddress: { - serializedName: "properties.privateIPAddress", - type: { - name: "String" - } - }, - privateIPAllocationMethod: { - serializedName: "properties.privateIPAllocationMethod", + connectionDraining: { + serializedName: "properties.connectionDraining", type: { - name: "String" + name: "Composite", + className: "ApplicationGatewayConnectionDraining" } }, - privateIPAddressVersion: { - serializedName: "properties.privateIPAddressVersion", + hostName: { + serializedName: "properties.hostName", type: { name: "String" } }, - subnet: { - serializedName: "properties.subnet", + pickHostNameFromBackendAddress: { + serializedName: "properties.pickHostNameFromBackendAddress", type: { - name: "Composite", - className: "Subnet" + name: "Boolean" } }, - publicIPAddress: { - serializedName: "properties.publicIPAddress", + affinityCookieName: { + serializedName: "properties.affinityCookieName", type: { - name: "Composite", - className: "PublicIPAddress" + name: "String" } }, - publicIPPrefix: { - serializedName: "properties.publicIPPrefix", + probeEnabled: { + serializedName: "properties.probeEnabled", type: { - name: "Composite", - className: "SubResource" + name: "Boolean" } }, - gatewayLoadBalancer: { - serializedName: "properties.gatewayLoadBalancer", + path: { + serializedName: "properties.path", type: { - name: "Composite", - className: "SubResource" + name: "String" } }, provisioningState: { @@ -16050,10 +17855,10 @@ export const FrontendIPConfiguration: coreClient.CompositeMapper = { } }; -export const BackendAddressPool: coreClient.CompositeMapper = { +export const ApplicationGatewayBackendSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BackendAddressPool", + className: "ApplicationGatewayBackendSettings", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -16076,52 +17881,33 @@ export const BackendAddressPool: coreClient.CompositeMapper = { name: "String" } }, - location: { - serializedName: "properties.location", + port: { + serializedName: "properties.port", type: { - name: "String" + name: "Number" } }, - tunnelInterfaces: { - serializedName: "properties.tunnelInterfaces", + protocol: { + serializedName: "properties.protocol", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "GatewayLoadBalancerTunnelInterface" - } - } + name: "String" } }, - loadBalancerBackendAddresses: { - serializedName: "properties.loadBalancerBackendAddresses", + timeout: { + serializedName: "properties.timeout", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "LoadBalancerBackendAddress" - } - } + name: "Number" } }, - backendIPConfigurations: { - serializedName: "properties.backendIPConfigurations", - readOnly: true, + probe: { + serializedName: "properties.probe", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "NetworkInterfaceIPConfiguration" - } - } + name: "Composite", + className: "SubResource" } }, - loadBalancingRules: { - serializedName: "properties.loadBalancingRules", - readOnly: true, + trustedRootCertificates: { + serializedName: "properties.trustedRootCertificates", type: { name: "Sequence", element: { @@ -16132,37 +17918,16 @@ export const BackendAddressPool: coreClient.CompositeMapper = { } } }, - outboundRule: { - serializedName: "properties.outboundRule", - type: { - name: "Composite", - className: "SubResource" - } - }, - outboundRules: { - serializedName: "properties.outboundRules", - readOnly: true, + hostName: { + serializedName: "properties.hostName", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SubResource" - } - } + name: "String" } }, - inboundNatRules: { - serializedName: "properties.inboundNatRules", - readOnly: true, + pickHostNameFromBackendAddress: { + serializedName: "properties.pickHostNameFromBackendAddress", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SubResource" - } - } + name: "Boolean" } }, provisioningState: { @@ -16171,21 +17936,15 @@ export const BackendAddressPool: coreClient.CompositeMapper = { type: { name: "String" } - }, - drainPeriodInSeconds: { - serializedName: "properties.drainPeriodInSeconds", - type: { - name: "Number" - } } } } }; -export const InboundNatRule: coreClient.CompositeMapper = { +export const ApplicationGatewayHttpListener: coreClient.CompositeMapper = { type: { name: "Composite", - className: "InboundNatRule", + className: "ApplicationGatewayHttpListener", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -16215,11 +17974,11 @@ export const InboundNatRule: coreClient.CompositeMapper = { className: "SubResource" } }, - backendIPConfiguration: { - serializedName: "properties.backendIPConfiguration", + frontendPort: { + serializedName: "properties.frontendPort", type: { name: "Composite", - className: "NetworkInterfaceIPConfiguration" + className: "SubResource" } }, protocol: { @@ -16228,50 +17987,128 @@ export const InboundNatRule: coreClient.CompositeMapper = { name: "String" } }, - frontendPort: { - serializedName: "properties.frontendPort", + hostName: { + serializedName: "properties.hostName", type: { - name: "Number" + name: "String" } }, - backendPort: { - serializedName: "properties.backendPort", + sslCertificate: { + serializedName: "properties.sslCertificate", type: { - name: "Number" + name: "Composite", + className: "SubResource" } }, - idleTimeoutInMinutes: { - serializedName: "properties.idleTimeoutInMinutes", + sslProfile: { + serializedName: "properties.sslProfile", + type: { + name: "Composite", + className: "SubResource" + } + }, + requireServerNameIndication: { + serializedName: "properties.requireServerNameIndication", + type: { + name: "Boolean" + } + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + type: { + name: "String" + } + }, + customErrorConfigurations: { + serializedName: "properties.customErrorConfigurations", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ApplicationGatewayCustomError" + } + } + } + }, + firewallPolicy: { + serializedName: "properties.firewallPolicy", + type: { + name: "Composite", + className: "SubResource" + } + }, + hostNames: { + serializedName: "properties.hostNames", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const ApplicationGatewayListener: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ApplicationGatewayListener", + modelProperties: { + ...SubResource.type.modelProperties, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + etag: { + serializedName: "etag", + readOnly: true, + type: { + name: "String" + } + }, + type: { + serializedName: "type", + readOnly: true, type: { - name: "Number" + name: "String" } }, - enableFloatingIP: { - serializedName: "properties.enableFloatingIP", + frontendIPConfiguration: { + serializedName: "properties.frontendIPConfiguration", type: { - name: "Boolean" + name: "Composite", + className: "SubResource" } }, - enableTcpReset: { - serializedName: "properties.enableTcpReset", + frontendPort: { + serializedName: "properties.frontendPort", type: { - name: "Boolean" + name: "Composite", + className: "SubResource" } }, - frontendPortRangeStart: { - serializedName: "properties.frontendPortRangeStart", + protocol: { + serializedName: "properties.protocol", type: { - name: "Number" + name: "String" } }, - frontendPortRangeEnd: { - serializedName: "properties.frontendPortRangeEnd", + sslCertificate: { + serializedName: "properties.sslCertificate", type: { - name: "Number" + name: "Composite", + className: "SubResource" } }, - backendAddressPool: { - serializedName: "properties.backendAddressPool", + sslProfile: { + serializedName: "properties.sslProfile", type: { name: "Composite", className: "SubResource" @@ -16288,10 +18125,10 @@ export const InboundNatRule: coreClient.CompositeMapper = { } }; -export const NetworkInterfaceIPConfiguration: coreClient.CompositeMapper = { +export const ApplicationGatewaySslProfile: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NetworkInterfaceIPConfiguration", + className: "ApplicationGatewaySslProfile", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -16309,113 +18146,118 @@ export const NetworkInterfaceIPConfiguration: coreClient.CompositeMapper = { }, type: { serializedName: "type", + readOnly: true, type: { name: "String" } }, - gatewayLoadBalancer: { - serializedName: "properties.gatewayLoadBalancer", - type: { - name: "Composite", - className: "SubResource" - } - }, - virtualNetworkTaps: { - serializedName: "properties.virtualNetworkTaps", + trustedClientCertificates: { + serializedName: "properties.trustedClientCertificates", type: { name: "Sequence", element: { type: { name: "Composite", - className: "VirtualNetworkTap" + className: "SubResource" } } } }, - applicationGatewayBackendAddressPools: { - serializedName: "properties.applicationGatewayBackendAddressPools", + sslPolicy: { + serializedName: "properties.sslPolicy", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ApplicationGatewayBackendAddressPool" - } - } + name: "Composite", + className: "ApplicationGatewaySslPolicy" } }, - loadBalancerBackendAddressPools: { - serializedName: "properties.loadBalancerBackendAddressPools", + clientAuthConfiguration: { + serializedName: "properties.clientAuthConfiguration", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "BackendAddressPool" - } - } + name: "Composite", + className: "ApplicationGatewayClientAuthConfiguration" } }, - loadBalancerInboundNatRules: { - serializedName: "properties.loadBalancerInboundNatRules", + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "InboundNatRule" - } - } + name: "String" } - }, - privateIPAddress: { - serializedName: "properties.privateIPAddress", + } + } + } +}; + +export const ApplicationGatewayPathRule: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ApplicationGatewayPathRule", + modelProperties: { + ...SubResource.type.modelProperties, + name: { + serializedName: "name", type: { name: "String" } }, - privateIPAllocationMethod: { - serializedName: "properties.privateIPAllocationMethod", + etag: { + serializedName: "etag", + readOnly: true, type: { name: "String" } }, - privateIPAddressVersion: { - serializedName: "properties.privateIPAddressVersion", + type: { + serializedName: "type", + readOnly: true, type: { name: "String" } }, - subnet: { - serializedName: "properties.subnet", + paths: { + serializedName: "properties.paths", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + backendAddressPool: { + serializedName: "properties.backendAddressPool", type: { name: "Composite", - className: "Subnet" + className: "SubResource" } }, - primary: { - serializedName: "properties.primary", + backendHttpSettings: { + serializedName: "properties.backendHttpSettings", type: { - name: "Boolean" + name: "Composite", + className: "SubResource" } }, - publicIPAddress: { - serializedName: "properties.publicIPAddress", + redirectConfiguration: { + serializedName: "properties.redirectConfiguration", type: { name: "Composite", - className: "PublicIPAddress" + className: "SubResource" } }, - applicationSecurityGroups: { - serializedName: "properties.applicationSecurityGroups", + rewriteRuleSet: { + serializedName: "properties.rewriteRuleSet", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ApplicationSecurityGroup" - } - } + name: "Composite", + className: "SubResource" + } + }, + loadDistributionPolicy: { + serializedName: "properties.loadDistributionPolicy", + type: { + name: "Composite", + className: "SubResource" } }, provisioningState: { @@ -16425,22 +18267,21 @@ export const NetworkInterfaceIPConfiguration: coreClient.CompositeMapper = { name: "String" } }, - privateLinkConnectionProperties: { - serializedName: "properties.privateLinkConnectionProperties", + firewallPolicy: { + serializedName: "properties.firewallPolicy", type: { name: "Composite", - className: - "NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties" + className: "SubResource" } } } } }; -export const ApplicationGatewayBackendAddressPool: coreClient.CompositeMapper = { +export const ApplicationGatewayUrlPathMap: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ApplicationGatewayBackendAddressPool", + className: "ApplicationGatewayUrlPathMap", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -16463,27 +18304,49 @@ export const ApplicationGatewayBackendAddressPool: coreClient.CompositeMapper = name: "String" } }, - backendIPConfigurations: { - serializedName: "properties.backendIPConfigurations", - readOnly: true, + defaultBackendAddressPool: { + serializedName: "properties.defaultBackendAddressPool", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "NetworkInterfaceIPConfiguration" - } - } + name: "Composite", + className: "SubResource" } }, - backendAddresses: { - serializedName: "properties.backendAddresses", + defaultBackendHttpSettings: { + serializedName: "properties.defaultBackendHttpSettings", + type: { + name: "Composite", + className: "SubResource" + } + }, + defaultRewriteRuleSet: { + serializedName: "properties.defaultRewriteRuleSet", + type: { + name: "Composite", + className: "SubResource" + } + }, + defaultRedirectConfiguration: { + serializedName: "properties.defaultRedirectConfiguration", + type: { + name: "Composite", + className: "SubResource" + } + }, + defaultLoadDistributionPolicy: { + serializedName: "properties.defaultLoadDistributionPolicy", + type: { + name: "Composite", + className: "SubResource" + } + }, + pathRules: { + serializedName: "properties.pathRules", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ApplicationGatewayBackendAddress" + className: "ApplicationGatewayPathRule" } } } @@ -16499,10 +18362,10 @@ export const ApplicationGatewayBackendAddressPool: coreClient.CompositeMapper = } }; -export const ApplicationGatewayBackendHttpSettings: coreClient.CompositeMapper = { +export const ApplicationGatewayRequestRoutingRule: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ApplicationGatewayBackendHttpSettings", + className: "ApplicationGatewayRequestRoutingRule", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -16511,110 +18374,83 @@ export const ApplicationGatewayBackendHttpSettings: coreClient.CompositeMapper = name: "String" } }, - etag: { - serializedName: "etag", - readOnly: true, - type: { - name: "String" - } - }, - type: { - serializedName: "type", - readOnly: true, - type: { - name: "String" - } - }, - port: { - serializedName: "properties.port", - type: { - name: "Number" - } - }, - protocol: { - serializedName: "properties.protocol", - type: { - name: "String" - } - }, - cookieBasedAffinity: { - serializedName: "properties.cookieBasedAffinity", + etag: { + serializedName: "etag", + readOnly: true, type: { name: "String" } }, - requestTimeout: { - serializedName: "properties.requestTimeout", + type: { + serializedName: "type", + readOnly: true, type: { - name: "Number" + name: "String" } }, - probe: { - serializedName: "properties.probe", + ruleType: { + serializedName: "properties.ruleType", type: { - name: "Composite", - className: "SubResource" + name: "String" } }, - authenticationCertificates: { - serializedName: "properties.authenticationCertificates", + priority: { + constraints: { + InclusiveMaximum: 20000, + InclusiveMinimum: 1 + }, + serializedName: "properties.priority", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SubResource" - } - } + name: "Number" } }, - trustedRootCertificates: { - serializedName: "properties.trustedRootCertificates", + backendAddressPool: { + serializedName: "properties.backendAddressPool", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SubResource" - } - } + name: "Composite", + className: "SubResource" } }, - connectionDraining: { - serializedName: "properties.connectionDraining", + backendHttpSettings: { + serializedName: "properties.backendHttpSettings", type: { name: "Composite", - className: "ApplicationGatewayConnectionDraining" + className: "SubResource" } }, - hostName: { - serializedName: "properties.hostName", + httpListener: { + serializedName: "properties.httpListener", type: { - name: "String" + name: "Composite", + className: "SubResource" } }, - pickHostNameFromBackendAddress: { - serializedName: "properties.pickHostNameFromBackendAddress", + urlPathMap: { + serializedName: "properties.urlPathMap", type: { - name: "Boolean" + name: "Composite", + className: "SubResource" } }, - affinityCookieName: { - serializedName: "properties.affinityCookieName", + rewriteRuleSet: { + serializedName: "properties.rewriteRuleSet", type: { - name: "String" + name: "Composite", + className: "SubResource" } }, - probeEnabled: { - serializedName: "properties.probeEnabled", + redirectConfiguration: { + serializedName: "properties.redirectConfiguration", type: { - name: "Boolean" + name: "Composite", + className: "SubResource" } }, - path: { - serializedName: "properties.path", + loadDistributionPolicy: { + serializedName: "properties.loadDistributionPolicy", type: { - name: "String" + name: "Composite", + className: "SubResource" } }, provisioningState: { @@ -16628,10 +18464,10 @@ export const ApplicationGatewayBackendHttpSettings: coreClient.CompositeMapper = } }; -export const ApplicationGatewayBackendSettings: coreClient.CompositeMapper = { +export const ApplicationGatewayRoutingRule: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ApplicationGatewayBackendSettings", + className: "ApplicationGatewayRoutingRule", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -16654,53 +18490,41 @@ export const ApplicationGatewayBackendSettings: coreClient.CompositeMapper = { name: "String" } }, - port: { - serializedName: "properties.port", - type: { - name: "Number" - } - }, - protocol: { - serializedName: "properties.protocol", + ruleType: { + serializedName: "properties.ruleType", type: { name: "String" } }, - timeout: { - serializedName: "properties.timeout", + priority: { + constraints: { + InclusiveMaximum: 20000, + InclusiveMinimum: 1 + }, + serializedName: "properties.priority", type: { name: "Number" } }, - probe: { - serializedName: "properties.probe", + backendAddressPool: { + serializedName: "properties.backendAddressPool", type: { name: "Composite", className: "SubResource" } }, - trustedRootCertificates: { - serializedName: "properties.trustedRootCertificates", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SubResource" - } - } - } - }, - hostName: { - serializedName: "properties.hostName", + backendSettings: { + serializedName: "properties.backendSettings", type: { - name: "String" + name: "Composite", + className: "SubResource" } }, - pickHostNameFromBackendAddress: { - serializedName: "properties.pickHostNameFromBackendAddress", + listener: { + serializedName: "properties.listener", type: { - name: "Boolean" + name: "Composite", + className: "SubResource" } }, provisioningState: { @@ -16714,10 +18538,10 @@ export const ApplicationGatewayBackendSettings: coreClient.CompositeMapper = { } }; -export const ApplicationGatewayHttpListener: coreClient.CompositeMapper = { +export const ApplicationGatewayRewriteRuleSet: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ApplicationGatewayHttpListener", + className: "ApplicationGatewayRewriteRuleSet", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -16733,92 +18557,118 @@ export const ApplicationGatewayHttpListener: coreClient.CompositeMapper = { name: "String" } }, - type: { - serializedName: "type", + rewriteRules: { + serializedName: "properties.rewriteRules", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ApplicationGatewayRewriteRule" + } + } + } + }, + provisioningState: { + serializedName: "properties.provisioningState", readOnly: true, type: { name: "String" } - }, - frontendIPConfiguration: { - serializedName: "properties.frontendIPConfiguration", + } + } + } +}; + +export const ApplicationGatewayRedirectConfiguration: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ApplicationGatewayRedirectConfiguration", + modelProperties: { + ...SubResource.type.modelProperties, + name: { + serializedName: "name", type: { - name: "Composite", - className: "SubResource" + name: "String" } }, - frontendPort: { - serializedName: "properties.frontendPort", + etag: { + serializedName: "etag", + readOnly: true, type: { - name: "Composite", - className: "SubResource" + name: "String" } }, - protocol: { - serializedName: "properties.protocol", + type: { + serializedName: "type", + readOnly: true, type: { name: "String" } }, - hostName: { - serializedName: "properties.hostName", + redirectType: { + serializedName: "properties.redirectType", type: { name: "String" } }, - sslCertificate: { - serializedName: "properties.sslCertificate", + targetListener: { + serializedName: "properties.targetListener", type: { name: "Composite", className: "SubResource" } }, - sslProfile: { - serializedName: "properties.sslProfile", + targetUrl: { + serializedName: "properties.targetUrl", type: { - name: "Composite", - className: "SubResource" + name: "String" } }, - requireServerNameIndication: { - serializedName: "properties.requireServerNameIndication", + includePath: { + serializedName: "properties.includePath", type: { name: "Boolean" } }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + includeQueryString: { + serializedName: "properties.includeQueryString", type: { - name: "String" + name: "Boolean" } }, - customErrorConfigurations: { - serializedName: "properties.customErrorConfigurations", + requestRoutingRules: { + serializedName: "properties.requestRoutingRules", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ApplicationGatewayCustomError" + className: "SubResource" } } } }, - firewallPolicy: { - serializedName: "properties.firewallPolicy", + urlPathMaps: { + serializedName: "properties.urlPathMaps", type: { - name: "Composite", - className: "SubResource" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, - hostNames: { - serializedName: "properties.hostNames", + pathRules: { + serializedName: "properties.pathRules", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "SubResource" } } } @@ -16827,10 +18677,10 @@ export const ApplicationGatewayHttpListener: coreClient.CompositeMapper = { } }; -export const ApplicationGatewayListener: coreClient.CompositeMapper = { +export const ApplicationGatewayPrivateLinkIpConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ApplicationGatewayListener", + className: "ApplicationGatewayPrivateLinkIpConfiguration", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -16848,43 +18698,34 @@ export const ApplicationGatewayListener: coreClient.CompositeMapper = { }, type: { serializedName: "type", - readOnly: true, - type: { - name: "String" - } - }, - frontendIPConfiguration: { - serializedName: "properties.frontendIPConfiguration", + readOnly: true, type: { - name: "Composite", - className: "SubResource" + name: "String" } }, - frontendPort: { - serializedName: "properties.frontendPort", + privateIPAddress: { + serializedName: "properties.privateIPAddress", type: { - name: "Composite", - className: "SubResource" + name: "String" } }, - protocol: { - serializedName: "properties.protocol", + privateIPAllocationMethod: { + serializedName: "properties.privateIPAllocationMethod", type: { name: "String" } }, - sslCertificate: { - serializedName: "properties.sslCertificate", + subnet: { + serializedName: "properties.subnet", type: { name: "Composite", className: "SubResource" } }, - sslProfile: { - serializedName: "properties.sslProfile", + primary: { + serializedName: "properties.primary", type: { - name: "Composite", - className: "SubResource" + name: "Boolean" } }, provisioningState: { @@ -16898,10 +18739,10 @@ export const ApplicationGatewayListener: coreClient.CompositeMapper = { } }; -export const ApplicationGatewaySslProfile: coreClient.CompositeMapper = { +export const ApplicationGatewayPrivateLinkConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ApplicationGatewaySslProfile", + className: "ApplicationGatewayPrivateLinkConfiguration", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -16924,32 +18765,18 @@ export const ApplicationGatewaySslProfile: coreClient.CompositeMapper = { name: "String" } }, - trustedClientCertificates: { - serializedName: "properties.trustedClientCertificates", + ipConfigurations: { + serializedName: "properties.ipConfigurations", type: { name: "Sequence", element: { type: { name: "Composite", - className: "SubResource" + className: "ApplicationGatewayPrivateLinkIpConfiguration" } } } }, - sslPolicy: { - serializedName: "properties.sslPolicy", - type: { - name: "Composite", - className: "ApplicationGatewaySslPolicy" - } - }, - clientAuthConfiguration: { - serializedName: "properties.clientAuthConfiguration", - type: { - name: "Composite", - className: "ApplicationGatewayClientAuthConfiguration" - } - }, provisioningState: { serializedName: "properties.provisioningState", readOnly: true, @@ -16961,10 +18788,10 @@ export const ApplicationGatewaySslProfile: coreClient.CompositeMapper = { } }; -export const ApplicationGatewayPathRule: coreClient.CompositeMapper = { +export const ApplicationGatewayPrivateEndpointConnection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ApplicationGatewayPathRule", + className: "ApplicationGatewayPrivateEndpointConnection", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -16987,50 +18814,18 @@ export const ApplicationGatewayPathRule: coreClient.CompositeMapper = { name: "String" } }, - paths: { - serializedName: "properties.paths", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - backendAddressPool: { - serializedName: "properties.backendAddressPool", - type: { - name: "Composite", - className: "SubResource" - } - }, - backendHttpSettings: { - serializedName: "properties.backendHttpSettings", - type: { - name: "Composite", - className: "SubResource" - } - }, - redirectConfiguration: { - serializedName: "properties.redirectConfiguration", - type: { - name: "Composite", - className: "SubResource" - } - }, - rewriteRuleSet: { - serializedName: "properties.rewriteRuleSet", + privateEndpoint: { + serializedName: "properties.privateEndpoint", type: { name: "Composite", - className: "SubResource" + className: "PrivateEndpoint" } }, - loadDistributionPolicy: { - serializedName: "properties.loadDistributionPolicy", + privateLinkServiceConnectionState: { + serializedName: "properties.privateLinkServiceConnectionState", type: { name: "Composite", - className: "SubResource" + className: "PrivateLinkServiceConnectionState" } }, provisioningState: { @@ -17040,21 +18835,21 @@ export const ApplicationGatewayPathRule: coreClient.CompositeMapper = { name: "String" } }, - firewallPolicy: { - serializedName: "properties.firewallPolicy", + linkIdentifier: { + serializedName: "properties.linkIdentifier", + readOnly: true, type: { - name: "Composite", - className: "SubResource" + name: "String" } } } } }; -export const ApplicationGatewayUrlPathMap: coreClient.CompositeMapper = { +export const ApplicationGatewayLoadDistributionTarget: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ApplicationGatewayUrlPathMap", + className: "ApplicationGatewayLoadDistributionTarget", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -17077,53 +18872,71 @@ export const ApplicationGatewayUrlPathMap: coreClient.CompositeMapper = { name: "String" } }, - defaultBackendAddressPool: { - serializedName: "properties.defaultBackendAddressPool", + weightPerServer: { + constraints: { + InclusiveMaximum: 100, + InclusiveMinimum: 1 + }, + serializedName: "properties.weightPerServer", type: { - name: "Composite", - className: "SubResource" + name: "Number" } }, - defaultBackendHttpSettings: { - serializedName: "properties.defaultBackendHttpSettings", + backendAddressPool: { + serializedName: "properties.backendAddressPool", type: { name: "Composite", className: "SubResource" } - }, - defaultRewriteRuleSet: { - serializedName: "properties.defaultRewriteRuleSet", + } + } + } +}; + +export const ApplicationGatewayLoadDistributionPolicy: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ApplicationGatewayLoadDistributionPolicy", + modelProperties: { + ...SubResource.type.modelProperties, + name: { + serializedName: "name", type: { - name: "Composite", - className: "SubResource" + name: "String" } }, - defaultRedirectConfiguration: { - serializedName: "properties.defaultRedirectConfiguration", + etag: { + serializedName: "etag", + readOnly: true, type: { - name: "Composite", - className: "SubResource" + name: "String" } }, - defaultLoadDistributionPolicy: { - serializedName: "properties.defaultLoadDistributionPolicy", + type: { + serializedName: "type", + readOnly: true, type: { - name: "Composite", - className: "SubResource" + name: "String" } }, - pathRules: { - serializedName: "properties.pathRules", + loadDistributionTargets: { + serializedName: "properties.loadDistributionTargets", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ApplicationGatewayPathRule" + className: "ApplicationGatewayLoadDistributionTarget" } } } }, + loadDistributionAlgorithm: { + serializedName: "properties.loadDistributionAlgorithm", + type: { + name: "String" + } + }, provisioningState: { serializedName: "properties.provisioningState", readOnly: true, @@ -17135,10 +18948,10 @@ export const ApplicationGatewayUrlPathMap: coreClient.CompositeMapper = { } }; -export const ApplicationGatewayRequestRoutingRule: coreClient.CompositeMapper = { +export const ApplicationGatewayPrivateLinkResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ApplicationGatewayRequestRoutingRule", + className: "ApplicationGatewayPrivateLinkResource", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -17161,74 +18974,65 @@ export const ApplicationGatewayRequestRoutingRule: coreClient.CompositeMapper = name: "String" } }, - ruleType: { - serializedName: "properties.ruleType", + groupId: { + serializedName: "properties.groupId", + readOnly: true, type: { name: "String" } }, - priority: { - constraints: { - InclusiveMaximum: 20000, - InclusiveMinimum: 1 - }, - serializedName: "properties.priority", - type: { - name: "Number" - } - }, - backendAddressPool: { - serializedName: "properties.backendAddressPool", - type: { - name: "Composite", - className: "SubResource" - } - }, - backendHttpSettings: { - serializedName: "properties.backendHttpSettings", - type: { - name: "Composite", - className: "SubResource" - } - }, - httpListener: { - serializedName: "properties.httpListener", - type: { - name: "Composite", - className: "SubResource" - } - }, - urlPathMap: { - serializedName: "properties.urlPathMap", + requiredMembers: { + serializedName: "properties.requiredMembers", + readOnly: true, type: { - name: "Composite", - className: "SubResource" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - rewriteRuleSet: { - serializedName: "properties.rewriteRuleSet", + requiredZoneNames: { + serializedName: "properties.requiredZoneNames", type: { - name: "Composite", - className: "SubResource" + name: "Sequence", + element: { + type: { + name: "String" + } + } } - }, - redirectConfiguration: { - serializedName: "properties.redirectConfiguration", + } + } + } +}; + +export const ApplicationGatewaySslPredefinedPolicy: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ApplicationGatewaySslPredefinedPolicy", + modelProperties: { + ...SubResource.type.modelProperties, + name: { + serializedName: "name", type: { - name: "Composite", - className: "SubResource" + name: "String" } }, - loadDistributionPolicy: { - serializedName: "properties.loadDistributionPolicy", + cipherSuites: { + serializedName: "properties.cipherSuites", type: { - name: "Composite", - className: "SubResource" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + minProtocolVersion: { + serializedName: "properties.minProtocolVersion", type: { name: "String" } @@ -17237,10 +19041,10 @@ export const ApplicationGatewayRequestRoutingRule: coreClient.CompositeMapper = } }; -export const ApplicationGatewayRoutingRule: coreClient.CompositeMapper = { +export const AzureFirewallApplicationRuleCollection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ApplicationGatewayRoutingRule", + className: "AzureFirewallApplicationRuleCollection", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -17256,38 +19060,33 @@ export const ApplicationGatewayRoutingRule: coreClient.CompositeMapper = { name: "String" } }, - type: { - serializedName: "type", - readOnly: true, - type: { - name: "String" - } - }, - ruleType: { - serializedName: "properties.ruleType", - type: { - name: "String" - } - }, - backendAddressPool: { - serializedName: "properties.backendAddressPool", + priority: { + constraints: { + InclusiveMaximum: 65000, + InclusiveMinimum: 100 + }, + serializedName: "properties.priority", type: { - name: "Composite", - className: "SubResource" + name: "Number" } }, - backendSettings: { - serializedName: "properties.backendSettings", + action: { + serializedName: "properties.action", type: { name: "Composite", - className: "SubResource" + className: "AzureFirewallRCAction" } }, - listener: { - serializedName: "properties.listener", + rules: { + serializedName: "properties.rules", type: { - name: "Composite", - className: "SubResource" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AzureFirewallApplicationRule" + } + } } }, provisioningState: { @@ -17301,10 +19100,10 @@ export const ApplicationGatewayRoutingRule: coreClient.CompositeMapper = { } }; -export const ApplicationGatewayRewriteRuleSet: coreClient.CompositeMapper = { +export const AzureFirewallNatRuleCollection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ApplicationGatewayRewriteRuleSet", + className: "AzureFirewallNatRuleCollection", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -17320,14 +19119,31 @@ export const ApplicationGatewayRewriteRuleSet: coreClient.CompositeMapper = { name: "String" } }, - rewriteRules: { - serializedName: "properties.rewriteRules", + priority: { + constraints: { + InclusiveMaximum: 65000, + InclusiveMinimum: 100 + }, + serializedName: "properties.priority", + type: { + name: "Number" + } + }, + action: { + serializedName: "properties.action", + type: { + name: "Composite", + className: "AzureFirewallNatRCAction" + } + }, + rules: { + serializedName: "properties.rules", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ApplicationGatewayRewriteRule" + className: "AzureFirewallNatRule" } } } @@ -17343,10 +19159,10 @@ export const ApplicationGatewayRewriteRuleSet: coreClient.CompositeMapper = { } }; -export const ApplicationGatewayRedirectConfiguration: coreClient.CompositeMapper = { +export const AzureFirewallNetworkRuleCollection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ApplicationGatewayRedirectConfiguration", + className: "AzureFirewallNetworkRuleCollection", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -17362,88 +19178,50 @@ export const ApplicationGatewayRedirectConfiguration: coreClient.CompositeMapper name: "String" } }, - type: { - serializedName: "type", - readOnly: true, - type: { - name: "String" - } - }, - redirectType: { - serializedName: "properties.redirectType", + priority: { + constraints: { + InclusiveMaximum: 65000, + InclusiveMinimum: 100 + }, + serializedName: "properties.priority", type: { - name: "String" + name: "Number" } }, - targetListener: { - serializedName: "properties.targetListener", + action: { + serializedName: "properties.action", type: { name: "Composite", - className: "SubResource" - } - }, - targetUrl: { - serializedName: "properties.targetUrl", - type: { - name: "String" - } - }, - includePath: { - serializedName: "properties.includePath", - type: { - name: "Boolean" - } - }, - includeQueryString: { - serializedName: "properties.includeQueryString", - type: { - name: "Boolean" - } - }, - requestRoutingRules: { - serializedName: "properties.requestRoutingRules", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SubResource" - } - } + className: "AzureFirewallRCAction" } }, - urlPathMaps: { - serializedName: "properties.urlPathMaps", + rules: { + serializedName: "properties.rules", type: { name: "Sequence", element: { type: { name: "Composite", - className: "SubResource" + className: "AzureFirewallNetworkRule" } } } }, - pathRules: { - serializedName: "properties.pathRules", + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SubResource" - } - } + name: "String" } } } } }; -export const ApplicationGatewayPrivateLinkIpConfiguration: coreClient.CompositeMapper = { +export const AzureFirewallIPConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ApplicationGatewayPrivateLinkIpConfiguration", + className: "AzureFirewallIPConfiguration", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -17468,12 +19246,7 @@ export const ApplicationGatewayPrivateLinkIpConfiguration: coreClient.CompositeM }, privateIPAddress: { serializedName: "properties.privateIPAddress", - type: { - name: "String" - } - }, - privateIPAllocationMethod: { - serializedName: "properties.privateIPAllocationMethod", + readOnly: true, type: { name: "String" } @@ -17485,10 +19258,11 @@ export const ApplicationGatewayPrivateLinkIpConfiguration: coreClient.CompositeM className: "SubResource" } }, - primary: { - serializedName: "properties.primary", + publicIPAddress: { + serializedName: "properties.publicIPAddress", type: { - name: "Boolean" + name: "Composite", + className: "SubResource" } }, provisioningState: { @@ -17502,10 +19276,10 @@ export const ApplicationGatewayPrivateLinkIpConfiguration: coreClient.CompositeM } }; -export const ApplicationGatewayPrivateLinkConfiguration: coreClient.CompositeMapper = { +export const BastionHostIPConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ApplicationGatewayPrivateLinkConfiguration", + className: "BastionHostIPConfiguration", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -17528,16 +19302,18 @@ export const ApplicationGatewayPrivateLinkConfiguration: coreClient.CompositeMap name: "String" } }, - ipConfigurations: { - serializedName: "properties.ipConfigurations", + subnet: { + serializedName: "properties.subnet", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ApplicationGatewayPrivateLinkIpConfiguration" - } - } + name: "Composite", + className: "SubResource" + } + }, + publicIPAddress: { + serializedName: "properties.publicIPAddress", + type: { + name: "Composite", + className: "SubResource" } }, provisioningState: { @@ -17546,25 +19322,25 @@ export const ApplicationGatewayPrivateLinkConfiguration: coreClient.CompositeMap type: { name: "String" } + }, + privateIPAllocationMethod: { + serializedName: "properties.privateIPAllocationMethod", + type: { + name: "String" + } } } } }; -export const ApplicationGatewayPrivateEndpointConnection: coreClient.CompositeMapper = { +export const EndpointServiceResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ApplicationGatewayPrivateEndpointConnection", + className: "EndpointServiceResult", modelProperties: { ...SubResource.type.modelProperties, name: { serializedName: "name", - type: { - name: "String" - } - }, - etag: { - serializedName: "etag", readOnly: true, type: { name: "String" @@ -17576,43 +19352,15 @@ export const ApplicationGatewayPrivateEndpointConnection: coreClient.CompositeMa type: { name: "String" } - }, - privateEndpoint: { - serializedName: "properties.privateEndpoint", - type: { - name: "Composite", - className: "PrivateEndpoint" - } - }, - privateLinkServiceConnectionState: { - serializedName: "properties.privateLinkServiceConnectionState", - type: { - name: "Composite", - className: "PrivateLinkServiceConnectionState" - } - }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, - type: { - name: "String" - } - }, - linkIdentifier: { - serializedName: "properties.linkIdentifier", - readOnly: true, - type: { - name: "String" - } } } } }; -export const ApplicationGatewayLoadDistributionTarget: coreClient.CompositeMapper = { +export const ExpressRouteCircuitAuthorization: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ApplicationGatewayLoadDistributionTarget", + className: "ExpressRouteCircuitAuthorization", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -17635,31 +19383,33 @@ export const ApplicationGatewayLoadDistributionTarget: coreClient.CompositeMappe name: "String" } }, - weightPerServer: { - constraints: { - InclusiveMaximum: 100, - InclusiveMinimum: 1 - }, - serializedName: "properties.weightPerServer", + authorizationKey: { + serializedName: "properties.authorizationKey", type: { - name: "Number" + name: "String" } }, - backendAddressPool: { - serializedName: "properties.backendAddressPool", + authorizationUseStatus: { + serializedName: "properties.authorizationUseStatus", type: { - name: "Composite", - className: "SubResource" + name: "String" + } + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + type: { + name: "String" } } } } }; -export const ApplicationGatewayLoadDistributionPolicy: coreClient.CompositeMapper = { +export const ExpressRouteCircuitConnection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ApplicationGatewayLoadDistributionPolicy", + className: "ExpressRouteCircuitConnection", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -17682,20 +19432,42 @@ export const ApplicationGatewayLoadDistributionPolicy: coreClient.CompositeMappe name: "String" } }, - loadDistributionTargets: { - serializedName: "properties.loadDistributionTargets", + expressRouteCircuitPeering: { + serializedName: "properties.expressRouteCircuitPeering", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ApplicationGatewayLoadDistributionTarget" - } - } + name: "Composite", + className: "SubResource" } }, - loadDistributionAlgorithm: { - serializedName: "properties.loadDistributionAlgorithm", + peerExpressRouteCircuitPeering: { + serializedName: "properties.peerExpressRouteCircuitPeering", + type: { + name: "Composite", + className: "SubResource" + } + }, + addressPrefix: { + serializedName: "properties.addressPrefix", + type: { + name: "String" + } + }, + authorizationKey: { + serializedName: "properties.authorizationKey", + type: { + name: "String" + } + }, + ipv6CircuitConnectionConfig: { + serializedName: "properties.ipv6CircuitConnectionConfig", + type: { + name: "Composite", + className: "Ipv6CircuitConnectionConfig" + } + }, + circuitConnectionStatus: { + serializedName: "properties.circuitConnectionStatus", + readOnly: true, type: { name: "String" } @@ -17711,10 +19483,10 @@ export const ApplicationGatewayLoadDistributionPolicy: coreClient.CompositeMappe } }; -export const ApplicationGatewayPrivateLinkResource: coreClient.CompositeMapper = { +export const PeerExpressRouteCircuitConnection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ApplicationGatewayPrivateLinkResource", + className: "PeerExpressRouteCircuitConnection", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -17737,65 +19509,48 @@ export const ApplicationGatewayPrivateLinkResource: coreClient.CompositeMapper = name: "String" } }, - groupId: { - serializedName: "properties.groupId", - readOnly: true, + expressRouteCircuitPeering: { + serializedName: "properties.expressRouteCircuitPeering", type: { - name: "String" + name: "Composite", + className: "SubResource" } }, - requiredMembers: { - serializedName: "properties.requiredMembers", - readOnly: true, + peerExpressRouteCircuitPeering: { + serializedName: "properties.peerExpressRouteCircuitPeering", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Composite", + className: "SubResource" } }, - requiredZoneNames: { - serializedName: "properties.requiredZoneNames", + addressPrefix: { + serializedName: "properties.addressPrefix", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } - } - } - } -}; - -export const ApplicationGatewaySslPredefinedPolicy: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ApplicationGatewaySslPredefinedPolicy", - modelProperties: { - ...SubResource.type.modelProperties, - name: { - serializedName: "name", + }, + circuitConnectionStatus: { + serializedName: "properties.circuitConnectionStatus", + readOnly: true, type: { name: "String" } }, - cipherSuites: { - serializedName: "properties.cipherSuites", + connectionName: { + serializedName: "properties.connectionName", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - minProtocolVersion: { - serializedName: "properties.minProtocolVersion", + authResourceGuid: { + serializedName: "properties.authResourceGuid", + type: { + name: "String" + } + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { name: "String" } @@ -17804,10 +19559,10 @@ export const ApplicationGatewaySslPredefinedPolicy: coreClient.CompositeMapper = } }; -export const AzureFirewallApplicationRuleCollection: coreClient.CompositeMapper = { +export const ExpressRouteCircuitPeering: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AzureFirewallApplicationRuleCollection", + className: "ExpressRouteCircuitPeering", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -17823,92 +19578,89 @@ export const AzureFirewallApplicationRuleCollection: coreClient.CompositeMapper name: "String" } }, - priority: { + type: { + serializedName: "type", + readOnly: true, + type: { + name: "String" + } + }, + peeringType: { + serializedName: "properties.peeringType", + type: { + name: "String" + } + }, + state: { + serializedName: "properties.state", + type: { + name: "String" + } + }, + azureASN: { + serializedName: "properties.azureASN", + type: { + name: "Number" + } + }, + peerASN: { constraints: { - InclusiveMaximum: 65000, - InclusiveMinimum: 100 + InclusiveMaximum: 4294967295, + InclusiveMinimum: 1 }, - serializedName: "properties.priority", + serializedName: "properties.peerASN", type: { name: "Number" } }, - action: { - serializedName: "properties.action", + primaryPeerAddressPrefix: { + serializedName: "properties.primaryPeerAddressPrefix", type: { - name: "Composite", - className: "AzureFirewallRCAction" + name: "String" } }, - rules: { - serializedName: "properties.rules", + secondaryPeerAddressPrefix: { + serializedName: "properties.secondaryPeerAddressPrefix", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AzureFirewallApplicationRule" - } - } + name: "String" } }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + primaryAzurePort: { + serializedName: "properties.primaryAzurePort", type: { name: "String" } - } - } - } -}; - -export const AzureFirewallNatRuleCollection: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AzureFirewallNatRuleCollection", - modelProperties: { - ...SubResource.type.modelProperties, - name: { - serializedName: "name", + }, + secondaryAzurePort: { + serializedName: "properties.secondaryAzurePort", type: { name: "String" } }, - etag: { - serializedName: "etag", - readOnly: true, + sharedKey: { + serializedName: "properties.sharedKey", type: { name: "String" } }, - priority: { - constraints: { - InclusiveMaximum: 65000, - InclusiveMinimum: 100 - }, - serializedName: "properties.priority", + vlanId: { + serializedName: "properties.vlanId", type: { name: "Number" } }, - action: { - serializedName: "properties.action", + microsoftPeeringConfig: { + serializedName: "properties.microsoftPeeringConfig", type: { name: "Composite", - className: "AzureFirewallNatRCAction" - } - }, - rules: { - serializedName: "properties.rules", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AzureFirewallNatRule" - } - } + className: "ExpressRouteCircuitPeeringConfig" + } + }, + stats: { + serializedName: "properties.stats", + type: { + name: "Composite", + className: "ExpressRouteCircuitStats" } }, provisioningState: { @@ -17917,74 +19669,74 @@ export const AzureFirewallNatRuleCollection: coreClient.CompositeMapper = { type: { name: "String" } - } - } - } -}; - -export const AzureFirewallNetworkRuleCollection: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AzureFirewallNetworkRuleCollection", - modelProperties: { - ...SubResource.type.modelProperties, - name: { - serializedName: "name", + }, + gatewayManagerEtag: { + serializedName: "properties.gatewayManagerEtag", type: { name: "String" } }, - etag: { - serializedName: "etag", + lastModifiedBy: { + serializedName: "properties.lastModifiedBy", readOnly: true, type: { name: "String" } }, - priority: { - constraints: { - InclusiveMaximum: 65000, - InclusiveMinimum: 100 - }, - serializedName: "properties.priority", + routeFilter: { + serializedName: "properties.routeFilter", type: { - name: "Number" + name: "Composite", + className: "SubResource" } }, - action: { - serializedName: "properties.action", + ipv6PeeringConfig: { + serializedName: "properties.ipv6PeeringConfig", type: { name: "Composite", - className: "AzureFirewallRCAction" + className: "Ipv6ExpressRouteCircuitPeeringConfig" } }, - rules: { - serializedName: "properties.rules", + expressRouteConnection: { + serializedName: "properties.expressRouteConnection", + type: { + name: "Composite", + className: "ExpressRouteConnectionId" + } + }, + connections: { + serializedName: "properties.connections", type: { name: "Sequence", element: { type: { name: "Composite", - className: "AzureFirewallNetworkRule" + className: "ExpressRouteCircuitConnection" } } } }, - provisioningState: { - serializedName: "properties.provisioningState", + peeredConnections: { + serializedName: "properties.peeredConnections", readOnly: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PeerExpressRouteCircuitConnection" + } + } } } } } }; -export const AzureFirewallIPConfiguration: coreClient.CompositeMapper = { +export const ExpressRouteCrossConnectionPeering: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AzureFirewallIPConfiguration", + className: "ExpressRouteCrossConnectionPeering", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -18000,83 +19752,78 @@ export const AzureFirewallIPConfiguration: coreClient.CompositeMapper = { name: "String" } }, - type: { - serializedName: "type", - readOnly: true, + peeringType: { + serializedName: "properties.peeringType", type: { name: "String" } }, - privateIPAddress: { - serializedName: "properties.privateIPAddress", - readOnly: true, + state: { + serializedName: "properties.state", type: { name: "String" } }, - subnet: { - serializedName: "properties.subnet", + azureASN: { + serializedName: "properties.azureASN", + readOnly: true, type: { - name: "Composite", - className: "SubResource" + name: "Number" } }, - publicIPAddress: { - serializedName: "properties.publicIPAddress", + peerASN: { + constraints: { + InclusiveMaximum: 4294967295, + InclusiveMinimum: 1 + }, + serializedName: "properties.peerASN", type: { - name: "Composite", - className: "SubResource" + name: "Number" } }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + primaryPeerAddressPrefix: { + serializedName: "properties.primaryPeerAddressPrefix", type: { name: "String" } - } - } - } -}; - -export const BastionHostIPConfiguration: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "BastionHostIPConfiguration", - modelProperties: { - ...SubResource.type.modelProperties, - name: { - serializedName: "name", + }, + secondaryPeerAddressPrefix: { + serializedName: "properties.secondaryPeerAddressPrefix", type: { name: "String" } }, - etag: { - serializedName: "etag", + primaryAzurePort: { + serializedName: "properties.primaryAzurePort", readOnly: true, type: { name: "String" } }, - type: { - serializedName: "type", + secondaryAzurePort: { + serializedName: "properties.secondaryAzurePort", readOnly: true, type: { name: "String" } }, - subnet: { - serializedName: "properties.subnet", + sharedKey: { + serializedName: "properties.sharedKey", type: { - name: "Composite", - className: "SubResource" + name: "String" } }, - publicIPAddress: { - serializedName: "properties.publicIPAddress", + vlanId: { + serializedName: "properties.vlanId", + type: { + name: "Number" + } + }, + microsoftPeeringConfig: { + serializedName: "properties.microsoftPeeringConfig", type: { name: "Composite", - className: "SubResource" + className: "ExpressRouteCircuitPeeringConfig" } }, provisioningState: { @@ -18086,44 +19833,34 @@ export const BastionHostIPConfiguration: coreClient.CompositeMapper = { name: "String" } }, - privateIPAllocationMethod: { - serializedName: "properties.privateIPAllocationMethod", + gatewayManagerEtag: { + serializedName: "properties.gatewayManagerEtag", type: { name: "String" } - } - } - } -}; - -export const EndpointServiceResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "EndpointServiceResult", - modelProperties: { - ...SubResource.type.modelProperties, - name: { - serializedName: "name", + }, + lastModifiedBy: { + serializedName: "properties.lastModifiedBy", readOnly: true, type: { name: "String" } }, - type: { - serializedName: "type", - readOnly: true, + ipv6PeeringConfig: { + serializedName: "properties.ipv6PeeringConfig", type: { - name: "String" + name: "Composite", + className: "Ipv6ExpressRouteCircuitPeeringConfig" } } } } }; -export const ExpressRouteCircuitAuthorization: coreClient.CompositeMapper = { +export const ExpressRouteLink: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ExpressRouteCircuitAuthorization", + className: "ExpressRouteLink", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -18139,21 +19876,43 @@ export const ExpressRouteCircuitAuthorization: coreClient.CompositeMapper = { name: "String" } }, - type: { - serializedName: "type", + routerName: { + serializedName: "properties.routerName", readOnly: true, type: { name: "String" } }, - authorizationKey: { - serializedName: "properties.authorizationKey", + interfaceName: { + serializedName: "properties.interfaceName", + readOnly: true, type: { name: "String" } }, - authorizationUseStatus: { - serializedName: "properties.authorizationUseStatus", + patchPanelId: { + serializedName: "properties.patchPanelId", + readOnly: true, + type: { + name: "String" + } + }, + rackId: { + serializedName: "properties.rackId", + readOnly: true, + type: { + name: "String" + } + }, + connectorType: { + serializedName: "properties.connectorType", + readOnly: true, + type: { + name: "String" + } + }, + adminState: { + serializedName: "properties.adminState", type: { name: "String" } @@ -18164,15 +19923,22 @@ export const ExpressRouteCircuitAuthorization: coreClient.CompositeMapper = { type: { name: "String" } + }, + macSecConfig: { + serializedName: "properties.macSecConfig", + type: { + name: "Composite", + className: "ExpressRouteLinkMacSecConfig" + } } } } }; -export const ExpressRouteCircuitConnection: coreClient.CompositeMapper = { +export const ExpressRoutePortAuthorization: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ExpressRouteCircuitConnection", + className: "ExpressRoutePortAuthorization", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -18195,41 +19961,22 @@ export const ExpressRouteCircuitConnection: coreClient.CompositeMapper = { name: "String" } }, - expressRouteCircuitPeering: { - serializedName: "properties.expressRouteCircuitPeering", - type: { - name: "Composite", - className: "SubResource" - } - }, - peerExpressRouteCircuitPeering: { - serializedName: "properties.peerExpressRouteCircuitPeering", - type: { - name: "Composite", - className: "SubResource" - } - }, - addressPrefix: { - serializedName: "properties.addressPrefix", - type: { - name: "String" - } - }, authorizationKey: { serializedName: "properties.authorizationKey", + readOnly: true, type: { name: "String" } }, - ipv6CircuitConnectionConfig: { - serializedName: "properties.ipv6CircuitConnectionConfig", + authorizationUseStatus: { + serializedName: "properties.authorizationUseStatus", + readOnly: true, type: { - name: "Composite", - className: "Ipv6CircuitConnectionConfig" + name: "String" } }, - circuitConnectionStatus: { - serializedName: "properties.circuitConnectionStatus", + circuitResourceUri: { + serializedName: "properties.circuitResourceUri", readOnly: true, type: { name: "String" @@ -18246,10 +19993,10 @@ export const ExpressRouteCircuitConnection: coreClient.CompositeMapper = { } }; -export const PeerExpressRouteCircuitConnection: coreClient.CompositeMapper = { +export const FirewallPolicyRuleCollectionGroup: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PeerExpressRouteCircuitConnection", + className: "FirewallPolicyRuleCollectionGroup", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -18272,43 +20019,26 @@ export const PeerExpressRouteCircuitConnection: coreClient.CompositeMapper = { name: "String" } }, - expressRouteCircuitPeering: { - serializedName: "properties.expressRouteCircuitPeering", - type: { - name: "Composite", - className: "SubResource" - } - }, - peerExpressRouteCircuitPeering: { - serializedName: "properties.peerExpressRouteCircuitPeering", - type: { - name: "Composite", - className: "SubResource" - } - }, - addressPrefix: { - serializedName: "properties.addressPrefix", - type: { - name: "String" - } - }, - circuitConnectionStatus: { - serializedName: "properties.circuitConnectionStatus", - readOnly: true, - type: { - name: "String" - } - }, - connectionName: { - serializedName: "properties.connectionName", + priority: { + constraints: { + InclusiveMaximum: 65000, + InclusiveMinimum: 100 + }, + serializedName: "properties.priority", type: { - name: "String" + name: "Number" } }, - authResourceGuid: { - serializedName: "properties.authResourceGuid", + ruleCollections: { + serializedName: "properties.ruleCollections", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "FirewallPolicyRuleCollection" + } + } } }, provisioningState: { @@ -18322,10 +20052,10 @@ export const PeerExpressRouteCircuitConnection: coreClient.CompositeMapper = { } }; -export const ExpressRouteCircuitPeering: coreClient.CompositeMapper = { +export const LoadBalancingRule: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ExpressRouteCircuitPeering", + className: "LoadBalancingRule", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -18348,82 +20078,85 @@ export const ExpressRouteCircuitPeering: coreClient.CompositeMapper = { name: "String" } }, - peeringType: { - serializedName: "properties.peeringType", + frontendIPConfiguration: { + serializedName: "properties.frontendIPConfiguration", type: { - name: "String" + name: "Composite", + className: "SubResource" } }, - state: { - serializedName: "properties.state", + backendAddressPool: { + serializedName: "properties.backendAddressPool", type: { - name: "String" + name: "Composite", + className: "SubResource" } }, - azureASN: { - serializedName: "properties.azureASN", + backendAddressPools: { + serializedName: "properties.backendAddressPools", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, - peerASN: { - constraints: { - InclusiveMaximum: 4294967295, - InclusiveMinimum: 1 - }, - serializedName: "properties.peerASN", + probe: { + serializedName: "properties.probe", type: { - name: "Number" + name: "Composite", + className: "SubResource" } }, - primaryPeerAddressPrefix: { - serializedName: "properties.primaryPeerAddressPrefix", + protocol: { + serializedName: "properties.protocol", type: { name: "String" } }, - secondaryPeerAddressPrefix: { - serializedName: "properties.secondaryPeerAddressPrefix", + loadDistribution: { + serializedName: "properties.loadDistribution", type: { name: "String" } }, - primaryAzurePort: { - serializedName: "properties.primaryAzurePort", + frontendPort: { + serializedName: "properties.frontendPort", type: { - name: "String" + name: "Number" } }, - secondaryAzurePort: { - serializedName: "properties.secondaryAzurePort", + backendPort: { + serializedName: "properties.backendPort", type: { - name: "String" + name: "Number" } }, - sharedKey: { - serializedName: "properties.sharedKey", + idleTimeoutInMinutes: { + serializedName: "properties.idleTimeoutInMinutes", type: { - name: "String" + name: "Number" } }, - vlanId: { - serializedName: "properties.vlanId", + enableFloatingIP: { + serializedName: "properties.enableFloatingIP", type: { - name: "Number" + name: "Boolean" } }, - microsoftPeeringConfig: { - serializedName: "properties.microsoftPeeringConfig", + enableTcpReset: { + serializedName: "properties.enableTcpReset", type: { - name: "Composite", - className: "ExpressRouteCircuitPeeringConfig" + name: "Boolean" } }, - stats: { - serializedName: "properties.stats", + disableOutboundSnat: { + serializedName: "properties.disableOutboundSnat", type: { - name: "Composite", - className: "ExpressRouteCircuitStats" + name: "Boolean" } }, provisioningState: { @@ -18432,74 +20165,95 @@ export const ExpressRouteCircuitPeering: coreClient.CompositeMapper = { type: { name: "String" } + } + } + } +}; + +export const Probe: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Probe", + modelProperties: { + ...SubResource.type.modelProperties, + name: { + serializedName: "name", + type: { + name: "String" + } }, - gatewayManagerEtag: { - serializedName: "properties.gatewayManagerEtag", + etag: { + serializedName: "etag", + readOnly: true, type: { name: "String" } }, - lastModifiedBy: { - serializedName: "properties.lastModifiedBy", + type: { + serializedName: "type", readOnly: true, type: { name: "String" } }, - routeFilter: { - serializedName: "properties.routeFilter", + loadBalancingRules: { + serializedName: "properties.loadBalancingRules", + readOnly: true, type: { - name: "Composite", - className: "SubResource" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, - ipv6PeeringConfig: { - serializedName: "properties.ipv6PeeringConfig", + protocol: { + serializedName: "properties.protocol", type: { - name: "Composite", - className: "Ipv6ExpressRouteCircuitPeeringConfig" + name: "String" } }, - expressRouteConnection: { - serializedName: "properties.expressRouteConnection", + port: { + serializedName: "properties.port", type: { - name: "Composite", - className: "ExpressRouteConnectionId" + name: "Number" } }, - connections: { - serializedName: "properties.connections", + intervalInSeconds: { + serializedName: "properties.intervalInSeconds", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ExpressRouteCircuitConnection" - } - } + name: "Number" } }, - peeredConnections: { - serializedName: "properties.peeredConnections", + numberOfProbes: { + serializedName: "properties.numberOfProbes", + type: { + name: "Number" + } + }, + requestPath: { + serializedName: "properties.requestPath", + type: { + name: "String" + } + }, + provisioningState: { + serializedName: "properties.provisioningState", readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PeerExpressRouteCircuitConnection" - } - } + name: "String" } } } } }; -export const ExpressRouteCrossConnectionPeering: coreClient.CompositeMapper = { +export const InboundNatPool: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ExpressRouteCrossConnectionPeering", + className: "InboundNatPool", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -18515,78 +20269,122 @@ export const ExpressRouteCrossConnectionPeering: coreClient.CompositeMapper = { name: "String" } }, - peeringType: { - serializedName: "properties.peeringType", + type: { + serializedName: "type", + readOnly: true, + type: { + name: "String" + } + }, + frontendIPConfiguration: { + serializedName: "properties.frontendIPConfiguration", + type: { + name: "Composite", + className: "SubResource" + } + }, + protocol: { + serializedName: "properties.protocol", + type: { + name: "String" + } + }, + frontendPortRangeStart: { + serializedName: "properties.frontendPortRangeStart", type: { - name: "String" + name: "Number" } }, - state: { - serializedName: "properties.state", + frontendPortRangeEnd: { + serializedName: "properties.frontendPortRangeEnd", type: { - name: "String" + name: "Number" } }, - azureASN: { - serializedName: "properties.azureASN", - readOnly: true, + backendPort: { + serializedName: "properties.backendPort", type: { name: "Number" } }, - peerASN: { - constraints: { - InclusiveMaximum: 4294967295, - InclusiveMinimum: 1 - }, - serializedName: "properties.peerASN", + idleTimeoutInMinutes: { + serializedName: "properties.idleTimeoutInMinutes", type: { name: "Number" } }, - primaryPeerAddressPrefix: { - serializedName: "properties.primaryPeerAddressPrefix", + enableFloatingIP: { + serializedName: "properties.enableFloatingIP", type: { - name: "String" + name: "Boolean" } }, - secondaryPeerAddressPrefix: { - serializedName: "properties.secondaryPeerAddressPrefix", + enableTcpReset: { + serializedName: "properties.enableTcpReset", type: { - name: "String" + name: "Boolean" } }, - primaryAzurePort: { - serializedName: "properties.primaryAzurePort", + provisioningState: { + serializedName: "properties.provisioningState", readOnly: true, type: { name: "String" } + } + } + } +}; + +export const OutboundRule: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OutboundRule", + modelProperties: { + ...SubResource.type.modelProperties, + name: { + serializedName: "name", + type: { + name: "String" + } }, - secondaryAzurePort: { - serializedName: "properties.secondaryAzurePort", + etag: { + serializedName: "etag", readOnly: true, type: { name: "String" } }, - sharedKey: { - serializedName: "properties.sharedKey", + type: { + serializedName: "type", + readOnly: true, type: { name: "String" } }, - vlanId: { - serializedName: "properties.vlanId", + allocatedOutboundPorts: { + serializedName: "properties.allocatedOutboundPorts", type: { name: "Number" } }, - microsoftPeeringConfig: { - serializedName: "properties.microsoftPeeringConfig", + frontendIPConfigurations: { + serializedName: "properties.frontendIPConfigurations", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } + } + }, + backendAddressPool: { + serializedName: "properties.backendAddressPool", type: { name: "Composite", - className: "ExpressRouteCircuitPeeringConfig" + className: "SubResource" } }, provisioningState: { @@ -18596,34 +20394,32 @@ export const ExpressRouteCrossConnectionPeering: coreClient.CompositeMapper = { name: "String" } }, - gatewayManagerEtag: { - serializedName: "properties.gatewayManagerEtag", + protocol: { + serializedName: "properties.protocol", type: { name: "String" } }, - lastModifiedBy: { - serializedName: "properties.lastModifiedBy", - readOnly: true, + enableTcpReset: { + serializedName: "properties.enableTcpReset", type: { - name: "String" + name: "Boolean" } }, - ipv6PeeringConfig: { - serializedName: "properties.ipv6PeeringConfig", + idleTimeoutInMinutes: { + serializedName: "properties.idleTimeoutInMinutes", type: { - name: "Composite", - className: "Ipv6ExpressRouteCircuitPeeringConfig" + name: "Number" } } } } }; -export const ExpressRouteLink: coreClient.CompositeMapper = { +export const ContainerNetworkInterfaceConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ExpressRouteLink", + className: "ContainerNetworkInterfaceConfiguration", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -18632,76 +20428,133 @@ export const ExpressRouteLink: coreClient.CompositeMapper = { name: "String" } }, - etag: { - serializedName: "etag", + type: { + serializedName: "type", readOnly: true, type: { name: "String" } }, - routerName: { - serializedName: "properties.routerName", + etag: { + serializedName: "etag", readOnly: true, type: { name: "String" } }, - interfaceName: { - serializedName: "properties.interfaceName", - readOnly: true, + ipConfigurations: { + serializedName: "properties.ipConfigurations", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IPConfigurationProfile" + } + } } }, - patchPanelId: { - serializedName: "properties.patchPanelId", + containerNetworkInterfaces: { + serializedName: "properties.containerNetworkInterfaces", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } + } + }, + provisioningState: { + serializedName: "properties.provisioningState", readOnly: true, type: { name: "String" } + } + } + } +}; + +export const Container: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Container", + modelProperties: { + ...SubResource.type.modelProperties + } + } +}; + +export const ContainerNetworkInterface: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ContainerNetworkInterface", + modelProperties: { + ...SubResource.type.modelProperties, + name: { + serializedName: "name", + type: { + name: "String" + } }, - rackId: { - serializedName: "properties.rackId", + type: { + serializedName: "type", readOnly: true, type: { name: "String" } }, - connectorType: { - serializedName: "properties.connectorType", + etag: { + serializedName: "etag", readOnly: true, type: { name: "String" } }, - adminState: { - serializedName: "properties.adminState", + containerNetworkInterfaceConfiguration: { + serializedName: "properties.containerNetworkInterfaceConfiguration", type: { - name: "String" + name: "Composite", + className: "ContainerNetworkInterfaceConfiguration" } }, - provisioningState: { - serializedName: "properties.provisioningState", + container: { + serializedName: "properties.container", + type: { + name: "Composite", + className: "Container" + } + }, + ipConfigurations: { + serializedName: "properties.ipConfigurations", readOnly: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ContainerNetworkInterfaceIpConfiguration" + } + } } }, - macSecConfig: { - serializedName: "properties.macSecConfig", + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { - name: "Composite", - className: "ExpressRouteLinkMacSecConfig" + name: "String" } } } } }; -export const ExpressRoutePortAuthorization: coreClient.CompositeMapper = { +export const VirtualApplianceSite: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ExpressRoutePortAuthorization", + className: "VirtualApplianceSite", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -18724,25 +20577,17 @@ export const ExpressRoutePortAuthorization: coreClient.CompositeMapper = { name: "String" } }, - authorizationKey: { - serializedName: "properties.authorizationKey", - readOnly: true, - type: { - name: "String" - } - }, - authorizationUseStatus: { - serializedName: "properties.authorizationUseStatus", - readOnly: true, + addressPrefix: { + serializedName: "properties.addressPrefix", type: { name: "String" } }, - circuitResourceUri: { - serializedName: "properties.circuitResourceUri", - readOnly: true, + o365Policy: { + serializedName: "properties.o365Policy", type: { - name: "String" + name: "Composite", + className: "Office365PolicyProperties" } }, provisioningState: { @@ -18756,10 +20601,10 @@ export const ExpressRoutePortAuthorization: coreClient.CompositeMapper = { } }; -export const FirewallPolicyRuleCollectionGroup: coreClient.CompositeMapper = { +export const InboundSecurityRule: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FirewallPolicyRuleCollectionGroup", + className: "InboundSecurityRule", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -18776,30 +20621,20 @@ export const FirewallPolicyRuleCollectionGroup: coreClient.CompositeMapper = { } }, type: { - serializedName: "type", - readOnly: true, - type: { - name: "String" - } - }, - priority: { - constraints: { - InclusiveMaximum: 65000, - InclusiveMinimum: 100 - }, - serializedName: "properties.priority", + serializedName: "type", + readOnly: true, type: { - name: "Number" + name: "String" } }, - ruleCollections: { - serializedName: "properties.ruleCollections", + rules: { + serializedName: "properties.rules", type: { name: "Sequence", element: { type: { name: "Composite", - className: "FirewallPolicyRuleCollection" + className: "InboundSecurityRules" } } } @@ -18815,10 +20650,10 @@ export const FirewallPolicyRuleCollectionGroup: coreClient.CompositeMapper = { } }; -export const LoadBalancingRule: coreClient.CompositeMapper = { +export const PrivateDnsZoneGroup: coreClient.CompositeMapper = { type: { name: "Composite", - className: "LoadBalancingRule", + className: "PrivateDnsZoneGroup", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -18834,92 +20669,75 @@ export const LoadBalancingRule: coreClient.CompositeMapper = { name: "String" } }, - type: { - serializedName: "type", + provisioningState: { + serializedName: "properties.provisioningState", readOnly: true, type: { name: "String" } }, - frontendIPConfiguration: { - serializedName: "properties.frontendIPConfiguration", - type: { - name: "Composite", - className: "SubResource" - } - }, - backendAddressPool: { - serializedName: "properties.backendAddressPool", - type: { - name: "Composite", - className: "SubResource" - } - }, - backendAddressPools: { - serializedName: "properties.backendAddressPools", + privateDnsZoneConfigs: { + serializedName: "properties.privateDnsZoneConfigs", type: { name: "Sequence", element: { type: { name: "Composite", - className: "SubResource" + className: "PrivateDnsZoneConfig" } } } - }, - probe: { - serializedName: "properties.probe", - type: { - name: "Composite", - className: "SubResource" - } - }, - protocol: { - serializedName: "properties.protocol", + } + } + } +}; + +export const RouteFilterRule: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RouteFilterRule", + modelProperties: { + ...SubResource.type.modelProperties, + name: { + serializedName: "name", type: { name: "String" } }, - loadDistribution: { - serializedName: "properties.loadDistribution", + location: { + serializedName: "location", type: { name: "String" } }, - frontendPort: { - serializedName: "properties.frontendPort", - type: { - name: "Number" - } - }, - backendPort: { - serializedName: "properties.backendPort", - type: { - name: "Number" - } - }, - idleTimeoutInMinutes: { - serializedName: "properties.idleTimeoutInMinutes", + etag: { + serializedName: "etag", + readOnly: true, type: { - name: "Number" + name: "String" } }, - enableFloatingIP: { - serializedName: "properties.enableFloatingIP", + access: { + serializedName: "properties.access", type: { - name: "Boolean" + name: "String" } }, - enableTcpReset: { - serializedName: "properties.enableTcpReset", + routeFilterRuleType: { + serializedName: "properties.routeFilterRuleType", type: { - name: "Boolean" + name: "String" } }, - disableOutboundSnat: { - serializedName: "properties.disableOutboundSnat", + communities: { + serializedName: "properties.communities", type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, provisioningState: { @@ -18933,10 +20751,10 @@ export const LoadBalancingRule: coreClient.CompositeMapper = { } }; -export const Probe: coreClient.CompositeMapper = { +export const VirtualNetworkPeering: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Probe", + className: "VirtualNetworkPeering", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -18954,50 +20772,77 @@ export const Probe: coreClient.CompositeMapper = { }, type: { serializedName: "type", - readOnly: true, type: { name: "String" } }, - loadBalancingRules: { - serializedName: "properties.loadBalancingRules", - readOnly: true, + allowVirtualNetworkAccess: { + serializedName: "properties.allowVirtualNetworkAccess", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SubResource" - } - } + name: "Boolean" } }, - protocol: { - serializedName: "properties.protocol", + allowForwardedTraffic: { + serializedName: "properties.allowForwardedTraffic", type: { - name: "String" + name: "Boolean" } }, - port: { - serializedName: "properties.port", + allowGatewayTransit: { + serializedName: "properties.allowGatewayTransit", type: { - name: "Number" + name: "Boolean" } }, - intervalInSeconds: { - serializedName: "properties.intervalInSeconds", + useRemoteGateways: { + serializedName: "properties.useRemoteGateways", type: { - name: "Number" + name: "Boolean" } }, - numberOfProbes: { - serializedName: "properties.numberOfProbes", + remoteVirtualNetwork: { + serializedName: "properties.remoteVirtualNetwork", type: { - name: "Number" + name: "Composite", + className: "SubResource" } }, - requestPath: { - serializedName: "properties.requestPath", + remoteAddressSpace: { + serializedName: "properties.remoteAddressSpace", + type: { + name: "Composite", + className: "AddressSpace" + } + }, + remoteVirtualNetworkAddressSpace: { + serializedName: "properties.remoteVirtualNetworkAddressSpace", + type: { + name: "Composite", + className: "AddressSpace" + } + }, + remoteBgpCommunities: { + serializedName: "properties.remoteBgpCommunities", + type: { + name: "Composite", + className: "VirtualNetworkBgpCommunities" + } + }, + remoteVirtualNetworkEncryption: { + serializedName: "properties.remoteVirtualNetworkEncryption", + type: { + name: "Composite", + className: "VirtualNetworkEncryption" + } + }, + peeringState: { + serializedName: "properties.peeringState", + type: { + name: "String" + } + }, + peeringSyncLevel: { + serializedName: "properties.peeringSyncLevel", type: { name: "String" } @@ -19008,15 +20853,28 @@ export const Probe: coreClient.CompositeMapper = { type: { name: "String" } + }, + doNotVerifyRemoteGateways: { + serializedName: "properties.doNotVerifyRemoteGateways", + type: { + name: "Boolean" + } + }, + resourceGuid: { + serializedName: "properties.resourceGuid", + readOnly: true, + type: { + name: "String" + } } } } }; -export const InboundNatPool: coreClient.CompositeMapper = { +export const VirtualNetworkGatewayIPConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "InboundNatPool", + className: "VirtualNetworkGatewayIPConfiguration", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -19032,60 +20890,31 @@ export const InboundNatPool: coreClient.CompositeMapper = { name: "String" } }, - type: { - serializedName: "type", - readOnly: true, + privateIPAllocationMethod: { + serializedName: "properties.privateIPAllocationMethod", type: { name: "String" } }, - frontendIPConfiguration: { - serializedName: "properties.frontendIPConfiguration", + subnet: { + serializedName: "properties.subnet", type: { name: "Composite", className: "SubResource" } }, - protocol: { - serializedName: "properties.protocol", - type: { - name: "String" - } - }, - frontendPortRangeStart: { - serializedName: "properties.frontendPortRangeStart", - type: { - name: "Number" - } - }, - frontendPortRangeEnd: { - serializedName: "properties.frontendPortRangeEnd", - type: { - name: "Number" - } - }, - backendPort: { - serializedName: "properties.backendPort", - type: { - name: "Number" - } - }, - idleTimeoutInMinutes: { - serializedName: "properties.idleTimeoutInMinutes", - type: { - name: "Number" - } - }, - enableFloatingIP: { - serializedName: "properties.enableFloatingIP", + publicIPAddress: { + serializedName: "properties.publicIPAddress", type: { - name: "Boolean" + name: "Composite", + className: "SubResource" } }, - enableTcpReset: { - serializedName: "properties.enableTcpReset", + privateIPAddress: { + serializedName: "properties.privateIPAddress", + readOnly: true, type: { - name: "Boolean" + name: "String" } }, provisioningState: { @@ -19099,10 +20928,10 @@ export const InboundNatPool: coreClient.CompositeMapper = { } }; -export const OutboundRule: coreClient.CompositeMapper = { +export const VpnClientRootCertificate: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OutboundRule", + className: "VpnClientRootCertificate", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -19118,71 +20947,64 @@ export const OutboundRule: coreClient.CompositeMapper = { name: "String" } }, - type: { - serializedName: "type", - readOnly: true, + publicCertData: { + serializedName: "properties.publicCertData", + required: true, type: { name: "String" } }, - allocatedOutboundPorts: { - serializedName: "properties.allocatedOutboundPorts", - type: { - name: "Number" - } - }, - frontendIPConfigurations: { - serializedName: "properties.frontendIPConfigurations", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SubResource" - } - } - } - }, - backendAddressPool: { - serializedName: "properties.backendAddressPool", - type: { - name: "Composite", - className: "SubResource" - } - }, provisioningState: { serializedName: "properties.provisioningState", readOnly: true, type: { name: "String" } + } + } + } +}; + +export const VpnClientRevokedCertificate: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VpnClientRevokedCertificate", + modelProperties: { + ...SubResource.type.modelProperties, + name: { + serializedName: "name", + type: { + name: "String" + } }, - protocol: { - serializedName: "properties.protocol", + etag: { + serializedName: "etag", + readOnly: true, type: { name: "String" } }, - enableTcpReset: { - serializedName: "properties.enableTcpReset", + thumbprint: { + serializedName: "properties.thumbprint", type: { - name: "Boolean" + name: "String" } }, - idleTimeoutInMinutes: { - serializedName: "properties.idleTimeoutInMinutes", + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { - name: "Number" + name: "String" } } } } }; -export const ContainerNetworkInterfaceConfiguration: coreClient.CompositeMapper = { +export const VirtualNetworkGatewayNatRule: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ContainerNetworkInterfaceConfiguration", + className: "VirtualNetworkGatewayNatRule", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -19191,6 +21013,13 @@ export const ContainerNetworkInterfaceConfiguration: coreClient.CompositeMapper name: "String" } }, + etag: { + serializedName: "etag", + readOnly: true, + type: { + name: "String" + } + }, type: { serializedName: "type", readOnly: true, @@ -19198,40 +21027,51 @@ export const ContainerNetworkInterfaceConfiguration: coreClient.CompositeMapper name: "String" } }, - etag: { - serializedName: "etag", + provisioningState: { + serializedName: "properties.provisioningState", readOnly: true, type: { name: "String" } }, - ipConfigurations: { - serializedName: "properties.ipConfigurations", + typePropertiesType: { + serializedName: "properties.type", + type: { + name: "String" + } + }, + mode: { + serializedName: "properties.mode", + type: { + name: "String" + } + }, + internalMappings: { + serializedName: "properties.internalMappings", type: { name: "Sequence", element: { type: { name: "Composite", - className: "IPConfigurationProfile" + className: "VpnNatRuleMapping" } } } }, - containerNetworkInterfaces: { - serializedName: "properties.containerNetworkInterfaces", + externalMappings: { + serializedName: "properties.externalMappings", type: { name: "Sequence", element: { type: { name: "Composite", - className: "SubResource" + className: "VpnNatRuleMapping" } } } }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + ipConfigurationId: { + serializedName: "properties.ipConfigurationId", type: { name: "String" } @@ -19240,20 +21080,27 @@ export const ContainerNetworkInterfaceConfiguration: coreClient.CompositeMapper } }; -export const Container: coreClient.CompositeMapper = { +export const ConnectionSharedKey: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Container", + className: "ConnectionSharedKey", modelProperties: { - ...SubResource.type.modelProperties + ...SubResource.type.modelProperties, + value: { + serializedName: "value", + required: true, + type: { + name: "String" + } + } } } }; -export const ContainerNetworkInterface: coreClient.CompositeMapper = { +export const VirtualRouterPeering: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ContainerNetworkInterface", + className: "VirtualRouterPeering", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -19262,6 +21109,13 @@ export const ContainerNetworkInterface: coreClient.CompositeMapper = { name: "String" } }, + etag: { + serializedName: "etag", + readOnly: true, + type: { + name: "String" + } + }, type: { serializedName: "type", readOnly: true, @@ -19269,6 +21123,39 @@ export const ContainerNetworkInterface: coreClient.CompositeMapper = { name: "String" } }, + peerAsn: { + constraints: { + InclusiveMaximum: 4294967295, + InclusiveMinimum: 0 + }, + serializedName: "properties.peerAsn", + type: { + name: "Number" + } + }, + peerIp: { + serializedName: "properties.peerIp", + type: { + name: "String" + } + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + +export const VpnSiteLink: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VpnSiteLink", + modelProperties: { + ...SubResource.type.modelProperties, etag: { serializedName: "etag", readOnly: true, @@ -19276,31 +21163,43 @@ export const ContainerNetworkInterface: coreClient.CompositeMapper = { name: "String" } }, - containerNetworkInterfaceConfiguration: { - serializedName: "properties.containerNetworkInterfaceConfiguration", + name: { + serializedName: "name", type: { - name: "Composite", - className: "ContainerNetworkInterfaceConfiguration" + name: "String" } }, - container: { - serializedName: "properties.container", + type: { + serializedName: "type", + readOnly: true, + type: { + name: "String" + } + }, + linkProperties: { + serializedName: "properties.linkProperties", type: { name: "Composite", - className: "Container" + className: "VpnLinkProviderProperties" } }, - ipConfigurations: { - serializedName: "properties.ipConfigurations", - readOnly: true, + ipAddress: { + serializedName: "properties.ipAddress", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ContainerNetworkInterfaceIpConfiguration" - } - } + name: "String" + } + }, + fqdn: { + serializedName: "properties.fqdn", + type: { + name: "String" + } + }, + bgpProperties: { + serializedName: "properties.bgpProperties", + type: { + name: "Composite", + className: "VpnLinkBgpSettings" } }, provisioningState: { @@ -19314,21 +21213,21 @@ export const ContainerNetworkInterface: coreClient.CompositeMapper = { } }; -export const VirtualApplianceSite: coreClient.CompositeMapper = { +export const VpnServerConfigurationPolicyGroup: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualApplianceSite", + className: "VpnServerConfigurationPolicyGroup", modelProperties: { ...SubResource.type.modelProperties, - name: { - serializedName: "name", + etag: { + serializedName: "etag", + readOnly: true, type: { name: "String" } }, - etag: { - serializedName: "etag", - readOnly: true, + name: { + serializedName: "name", type: { name: "String" } @@ -19340,17 +21239,41 @@ export const VirtualApplianceSite: coreClient.CompositeMapper = { name: "String" } }, - addressPrefix: { - serializedName: "properties.addressPrefix", + isDefault: { + serializedName: "properties.isDefault", type: { - name: "String" + name: "Boolean" + } + }, + priority: { + serializedName: "properties.priority", + type: { + name: "Number" + } + }, + policyMembers: { + serializedName: "properties.policyMembers", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VpnServerConfigurationPolicyGroupMember" + } + } } }, - o365Policy: { - serializedName: "properties.o365Policy", + p2SConnectionConfigurations: { + serializedName: "properties.p2SConnectionConfigurations", + readOnly: true, type: { - name: "Composite", - className: "Office365PolicyProperties" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, provisioningState: { @@ -19364,10 +21287,10 @@ export const VirtualApplianceSite: coreClient.CompositeMapper = { } }; -export const InboundSecurityRule: coreClient.CompositeMapper = { +export const P2SConnectionConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "InboundSecurityRule", + className: "P2SConnectionConfiguration", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -19383,21 +21306,49 @@ export const InboundSecurityRule: coreClient.CompositeMapper = { name: "String" } }, - type: { - serializedName: "type", + vpnClientAddressPool: { + serializedName: "properties.vpnClientAddressPool", + type: { + name: "Composite", + className: "AddressSpace" + } + }, + routingConfiguration: { + serializedName: "properties.routingConfiguration", + type: { + name: "Composite", + className: "RoutingConfiguration" + } + }, + enableInternetSecurity: { + serializedName: "properties.enableInternetSecurity", + type: { + name: "Boolean" + } + }, + configurationPolicyGroupAssociations: { + serializedName: "properties.configurationPolicyGroupAssociations", readOnly: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, - rules: { - serializedName: "properties.rules", + previousConfigurationPolicyGroupAssociations: { + serializedName: + "properties.previousConfigurationPolicyGroupAssociations", + readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "InboundSecurityRules" + className: "VpnServerConfigurationPolicyGroup" } } } @@ -19413,10 +21364,10 @@ export const InboundSecurityRule: coreClient.CompositeMapper = { } }; -export const PrivateDnsZoneGroup: coreClient.CompositeMapper = { +export const VirtualHubRouteTableV2: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateDnsZoneGroup", + className: "VirtualHubRouteTableV2", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -19432,33 +21383,44 @@ export const PrivateDnsZoneGroup: coreClient.CompositeMapper = { name: "String" } }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + routes: { + serializedName: "properties.routes", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VirtualHubRouteV2" + } + } } }, - privateDnsZoneConfigs: { - serializedName: "properties.privateDnsZoneConfigs", + attachedConnections: { + serializedName: "properties.attachedConnections", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "PrivateDnsZoneConfig" + name: "String" } } } + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + type: { + name: "String" + } } } } }; -export const RouteFilterRule: coreClient.CompositeMapper = { +export const HubVirtualNetworkConnection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RouteFilterRule", + className: "HubVirtualNetworkConnection", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -19467,12 +21429,6 @@ export const RouteFilterRule: coreClient.CompositeMapper = { name: "String" } }, - location: { - serializedName: "location", - type: { - name: "String" - } - }, etag: { serializedName: "etag", readOnly: true, @@ -19480,27 +21436,36 @@ export const RouteFilterRule: coreClient.CompositeMapper = { name: "String" } }, - access: { - serializedName: "properties.access", + remoteVirtualNetwork: { + serializedName: "properties.remoteVirtualNetwork", type: { - name: "String" + name: "Composite", + className: "SubResource" } }, - routeFilterRuleType: { - serializedName: "properties.routeFilterRuleType", + allowHubToRemoteVnetTransit: { + serializedName: "properties.allowHubToRemoteVnetTransit", type: { - name: "String" + name: "Boolean" } }, - communities: { - serializedName: "properties.communities", + allowRemoteVnetToUseHubVnetGateways: { + serializedName: "properties.allowRemoteVnetToUseHubVnetGateways", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Boolean" + } + }, + enableInternetSecurity: { + serializedName: "properties.enableInternetSecurity", + type: { + name: "Boolean" + } + }, + routingConfiguration: { + serializedName: "properties.routingConfiguration", + type: { + name: "Composite", + className: "RoutingConfiguration" } }, provisioningState: { @@ -19514,10 +21479,10 @@ export const RouteFilterRule: coreClient.CompositeMapper = { } }; -export const VirtualNetworkPeering: coreClient.CompositeMapper = { +export const VpnSiteLinkConnection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualNetworkPeering", + className: "VpnSiteLinkConnection", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -19535,79 +21500,115 @@ export const VirtualNetworkPeering: coreClient.CompositeMapper = { }, type: { serializedName: "type", + readOnly: true, type: { name: "String" } }, - allowVirtualNetworkAccess: { - serializedName: "properties.allowVirtualNetworkAccess", + vpnSiteLink: { + serializedName: "properties.vpnSiteLink", type: { - name: "Boolean" + name: "Composite", + className: "SubResource" } }, - allowForwardedTraffic: { - serializedName: "properties.allowForwardedTraffic", + routingWeight: { + serializedName: "properties.routingWeight", type: { - name: "Boolean" + name: "Number" } }, - allowGatewayTransit: { - serializedName: "properties.allowGatewayTransit", + vpnLinkConnectionMode: { + serializedName: "properties.vpnLinkConnectionMode", type: { - name: "Boolean" + name: "String" } }, - useRemoteGateways: { - serializedName: "properties.useRemoteGateways", + connectionStatus: { + serializedName: "properties.connectionStatus", + readOnly: true, type: { - name: "Boolean" + name: "String" } }, - remoteVirtualNetwork: { - serializedName: "properties.remoteVirtualNetwork", + vpnConnectionProtocolType: { + serializedName: "properties.vpnConnectionProtocolType", type: { - name: "Composite", - className: "SubResource" + name: "String" } }, - remoteAddressSpace: { - serializedName: "properties.remoteAddressSpace", + ingressBytesTransferred: { + serializedName: "properties.ingressBytesTransferred", + readOnly: true, type: { - name: "Composite", - className: "AddressSpace" + name: "Number" } }, - remoteVirtualNetworkAddressSpace: { - serializedName: "properties.remoteVirtualNetworkAddressSpace", + egressBytesTransferred: { + serializedName: "properties.egressBytesTransferred", + readOnly: true, type: { - name: "Composite", - className: "AddressSpace" + name: "Number" } }, - remoteBgpCommunities: { - serializedName: "properties.remoteBgpCommunities", + connectionBandwidth: { + serializedName: "properties.connectionBandwidth", type: { - name: "Composite", - className: "VirtualNetworkBgpCommunities" + name: "Number" } }, - remoteVirtualNetworkEncryption: { - serializedName: "properties.remoteVirtualNetworkEncryption", + sharedKey: { + serializedName: "properties.sharedKey", type: { - name: "Composite", - className: "VirtualNetworkEncryption" + name: "String" } }, - peeringState: { - serializedName: "properties.peeringState", + enableBgp: { + serializedName: "properties.enableBgp", type: { - name: "String" + name: "Boolean" } }, - peeringSyncLevel: { - serializedName: "properties.peeringSyncLevel", + vpnGatewayCustomBgpAddresses: { + serializedName: "properties.vpnGatewayCustomBgpAddresses", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "GatewayCustomBgpIpAddressIpConfiguration" + } + } + } + }, + usePolicyBasedTrafficSelectors: { + serializedName: "properties.usePolicyBasedTrafficSelectors", + type: { + name: "Boolean" + } + }, + ipsecPolicies: { + serializedName: "properties.ipsecPolicies", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IpsecPolicy" + } + } + } + }, + enableRateLimiting: { + serializedName: "properties.enableRateLimiting", + type: { + name: "Boolean" + } + }, + useLocalAzureIpAddress: { + serializedName: "properties.useLocalAzureIpAddress", + type: { + name: "Boolean" } }, provisioningState: { @@ -19617,27 +21618,38 @@ export const VirtualNetworkPeering: coreClient.CompositeMapper = { name: "String" } }, - doNotVerifyRemoteGateways: { - serializedName: "properties.doNotVerifyRemoteGateways", + ingressNatRules: { + serializedName: "properties.ingressNatRules", type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, - resourceGuid: { - serializedName: "properties.resourceGuid", - readOnly: true, + egressNatRules: { + serializedName: "properties.egressNatRules", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } } } } }; -export const VirtualNetworkGatewayIPConfiguration: coreClient.CompositeMapper = { +export const VpnConnection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualNetworkGatewayIPConfiguration", + className: "VpnConnection", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -19653,104 +21665,116 @@ export const VirtualNetworkGatewayIPConfiguration: coreClient.CompositeMapper = name: "String" } }, - privateIPAllocationMethod: { - serializedName: "properties.privateIPAllocationMethod", + remoteVpnSite: { + serializedName: "properties.remoteVpnSite", type: { - name: "String" + name: "Composite", + className: "SubResource" } }, - subnet: { - serializedName: "properties.subnet", + routingWeight: { + serializedName: "properties.routingWeight", type: { - name: "Composite", - className: "SubResource" + name: "Number" } }, - publicIPAddress: { - serializedName: "properties.publicIPAddress", + dpdTimeoutSeconds: { + serializedName: "properties.dpdTimeoutSeconds", type: { - name: "Composite", - className: "SubResource" + name: "Number" } }, - privateIPAddress: { - serializedName: "properties.privateIPAddress", + connectionStatus: { + serializedName: "properties.connectionStatus", readOnly: true, type: { name: "String" } }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + vpnConnectionProtocolType: { + serializedName: "properties.vpnConnectionProtocolType", type: { name: "String" } - } - } - } -}; - -export const VpnClientRootCertificate: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "VpnClientRootCertificate", - modelProperties: { - ...SubResource.type.modelProperties, - name: { - serializedName: "name", + }, + ingressBytesTransferred: { + serializedName: "properties.ingressBytesTransferred", + readOnly: true, type: { - name: "String" + name: "Number" } }, - etag: { - serializedName: "etag", + egressBytesTransferred: { + serializedName: "properties.egressBytesTransferred", readOnly: true, type: { - name: "String" + name: "Number" } }, - publicCertData: { - serializedName: "properties.publicCertData", - required: true, + connectionBandwidth: { + serializedName: "properties.connectionBandwidth", type: { - name: "String" + name: "Number" } }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + sharedKey: { + serializedName: "properties.sharedKey", type: { name: "String" } - } - } - } -}; - -export const VpnClientRevokedCertificate: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "VpnClientRevokedCertificate", - modelProperties: { - ...SubResource.type.modelProperties, - name: { - serializedName: "name", + }, + enableBgp: { + serializedName: "properties.enableBgp", type: { - name: "String" + name: "Boolean" } }, - etag: { - serializedName: "etag", - readOnly: true, + usePolicyBasedTrafficSelectors: { + serializedName: "properties.usePolicyBasedTrafficSelectors", type: { - name: "String" + name: "Boolean" } }, - thumbprint: { - serializedName: "properties.thumbprint", + ipsecPolicies: { + serializedName: "properties.ipsecPolicies", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IpsecPolicy" + } + } + } + }, + trafficSelectorPolicies: { + serializedName: "properties.trafficSelectorPolicies", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "TrafficSelectorPolicy" + } + } + } + }, + enableRateLimiting: { + serializedName: "properties.enableRateLimiting", + type: { + name: "Boolean" + } + }, + enableInternetSecurity: { + serializedName: "properties.enableInternetSecurity", + type: { + name: "Boolean" + } + }, + useLocalAzureIpAddress: { + serializedName: "properties.useLocalAzureIpAddress", + type: { + name: "Boolean" } }, provisioningState: { @@ -19759,15 +21783,34 @@ export const VpnClientRevokedCertificate: coreClient.CompositeMapper = { type: { name: "String" } + }, + vpnLinkConnections: { + serializedName: "properties.vpnLinkConnections", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VpnSiteLinkConnection" + } + } + } + }, + routingConfiguration: { + serializedName: "properties.routingConfiguration", + type: { + name: "Composite", + className: "RoutingConfiguration" + } } } } }; -export const VirtualNetworkGatewayNatRule: coreClient.CompositeMapper = { +export const VpnGatewayNatRule: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualNetworkGatewayNatRule", + className: "VpnGatewayNatRule", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -19833,37 +21876,108 @@ export const VirtualNetworkGatewayNatRule: coreClient.CompositeMapper = { } } }, - ipConfigurationId: { - serializedName: "properties.ipConfigurationId", + ipConfigurationId: { + serializedName: "properties.ipConfigurationId", + type: { + name: "String" + } + }, + egressVpnSiteLinkConnections: { + serializedName: "properties.egressVpnSiteLinkConnections", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } + } + }, + ingressVpnSiteLinkConnections: { + serializedName: "properties.ingressVpnSiteLinkConnections", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } + } + } + } + } +}; + +export const ExpressRouteConnection: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ExpressRouteConnection", + modelProperties: { + ...SubResource.type.modelProperties, + name: { + serializedName: "name", + required: true, + type: { + name: "String" + } + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + type: { + name: "String" + } + }, + expressRouteCircuitPeering: { + serializedName: "properties.expressRouteCircuitPeering", + type: { + name: "Composite", + className: "ExpressRouteCircuitPeeringId" + } + }, + authorizationKey: { + serializedName: "properties.authorizationKey", + type: { + name: "String" + } + }, + routingWeight: { + serializedName: "properties.routingWeight", + type: { + name: "Number" + } + }, + enableInternetSecurity: { + serializedName: "properties.enableInternetSecurity", type: { - name: "String" + name: "Boolean" } - } - } - } -}; - -export const ConnectionSharedKey: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ConnectionSharedKey", - modelProperties: { - ...SubResource.type.modelProperties, - value: { - serializedName: "value", - required: true, + }, + expressRouteGatewayBypass: { + serializedName: "properties.expressRouteGatewayBypass", type: { - name: "String" + name: "Boolean" + } + }, + routingConfiguration: { + serializedName: "properties.routingConfiguration", + type: { + name: "Composite", + className: "RoutingConfiguration" } } } } }; -export const VirtualRouterPeering: coreClient.CompositeMapper = { +export const BgpConnection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualRouterPeering", + className: "BgpConnection", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -19902,32 +22016,46 @@ export const VirtualRouterPeering: coreClient.CompositeMapper = { name: "String" } }, + hubVirtualNetworkConnection: { + serializedName: "properties.hubVirtualNetworkConnection", + type: { + name: "Composite", + className: "SubResource" + } + }, provisioningState: { serializedName: "properties.provisioningState", readOnly: true, type: { name: "String" } + }, + connectionState: { + serializedName: "properties.connectionState", + readOnly: true, + type: { + name: "String" + } } } } }; -export const VpnSiteLink: coreClient.CompositeMapper = { +export const HubIpConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VpnSiteLink", + className: "HubIpConfiguration", modelProperties: { ...SubResource.type.modelProperties, - etag: { - serializedName: "etag", - readOnly: true, + name: { + serializedName: "name", type: { name: "String" } }, - name: { - serializedName: "name", + etag: { + serializedName: "etag", + readOnly: true, type: { name: "String" } @@ -19939,30 +22067,30 @@ export const VpnSiteLink: coreClient.CompositeMapper = { name: "String" } }, - linkProperties: { - serializedName: "properties.linkProperties", + privateIPAddress: { + serializedName: "properties.privateIPAddress", type: { - name: "Composite", - className: "VpnLinkProviderProperties" + name: "String" } }, - ipAddress: { - serializedName: "properties.ipAddress", + privateIPAllocationMethod: { + serializedName: "properties.privateIPAllocationMethod", type: { name: "String" } }, - fqdn: { - serializedName: "properties.fqdn", + subnet: { + serializedName: "properties.subnet", type: { - name: "String" + name: "Composite", + className: "Subnet" } }, - bgpProperties: { - serializedName: "properties.bgpProperties", + publicIPAddress: { + serializedName: "properties.publicIPAddress", type: { name: "Composite", - className: "VpnLinkBgpSettings" + className: "PublicIPAddress" } }, provisioningState: { @@ -19976,21 +22104,21 @@ export const VpnSiteLink: coreClient.CompositeMapper = { } }; -export const VpnServerConfigurationPolicyGroup: coreClient.CompositeMapper = { +export const HubRouteTable: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VpnServerConfigurationPolicyGroup", + className: "HubRouteTable", modelProperties: { ...SubResource.type.modelProperties, - etag: { - serializedName: "etag", - readOnly: true, + name: { + serializedName: "name", type: { name: "String" } }, - name: { - serializedName: "name", + etag: { + serializedName: "etag", + readOnly: true, type: { name: "String" } @@ -20002,39 +22130,49 @@ export const VpnServerConfigurationPolicyGroup: coreClient.CompositeMapper = { name: "String" } }, - isDefault: { - serializedName: "properties.isDefault", + routes: { + serializedName: "properties.routes", type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HubRoute" + } + } } }, - priority: { - serializedName: "properties.priority", + labels: { + serializedName: "properties.labels", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - policyMembers: { - serializedName: "properties.policyMembers", + associatedConnections: { + serializedName: "properties.associatedConnections", + readOnly: true, type: { name: "Sequence", element: { type: { - name: "Composite", - className: "VpnServerConfigurationPolicyGroupMember" + name: "String" } } } }, - p2SConnectionConfigurations: { - serializedName: "properties.p2SConnectionConfigurations", + propagatingConnections: { + serializedName: "properties.propagatingConnections", readOnly: true, type: { name: "Sequence", element: { type: { - name: "Composite", - className: "SubResource" + name: "String" } } } @@ -20050,10 +22188,10 @@ export const VpnServerConfigurationPolicyGroup: coreClient.CompositeMapper = { } }; -export const P2SConnectionConfiguration: coreClient.CompositeMapper = { +export const RoutingIntent: coreClient.CompositeMapper = { type: { name: "Composite", - className: "P2SConnectionConfiguration", + className: "RoutingIntent", modelProperties: { ...SubResource.type.modelProperties, name: { @@ -20069,49 +22207,21 @@ export const P2SConnectionConfiguration: coreClient.CompositeMapper = { name: "String" } }, - vpnClientAddressPool: { - serializedName: "properties.vpnClientAddressPool", - type: { - name: "Composite", - className: "AddressSpace" - } - }, - routingConfiguration: { - serializedName: "properties.routingConfiguration", - type: { - name: "Composite", - className: "RoutingConfiguration" - } - }, - enableInternetSecurity: { - serializedName: "properties.enableInternetSecurity", - type: { - name: "Boolean" - } - }, - configurationPolicyGroupAssociations: { - serializedName: "properties.configurationPolicyGroupAssociations", + type: { + serializedName: "type", readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SubResource" - } - } + name: "String" } }, - previousConfigurationPolicyGroupAssociations: { - serializedName: - "properties.previousConfigurationPolicyGroupAssociations", - readOnly: true, + routingPolicies: { + serializedName: "properties.routingPolicies", type: { name: "Sequence", element: { type: { name: "Composite", - className: "VpnServerConfigurationPolicyGroup" + className: "RoutingPolicy" } } } @@ -20127,14 +22237,15 @@ export const P2SConnectionConfiguration: coreClient.CompositeMapper = { } }; -export const VirtualHubRouteTableV2: coreClient.CompositeMapper = { +export const PatchRouteFilterRule: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualHubRouteTableV2", + className: "PatchRouteFilterRule", modelProperties: { ...SubResource.type.modelProperties, name: { serializedName: "name", + readOnly: true, type: { name: "String" } @@ -20146,20 +22257,20 @@ export const VirtualHubRouteTableV2: coreClient.CompositeMapper = { name: "String" } }, - routes: { - serializedName: "properties.routes", + access: { + serializedName: "properties.access", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VirtualHubRouteV2" - } - } + name: "String" } }, - attachedConnections: { - serializedName: "properties.attachedConnections", + routeFilterRuleType: { + serializedName: "properties.routeFilterRuleType", + type: { + name: "String" + } + }, + communities: { + serializedName: "properties.communities", type: { name: "Sequence", element: { @@ -20180,14 +22291,15 @@ export const VirtualHubRouteTableV2: coreClient.CompositeMapper = { } }; -export const HubVirtualNetworkConnection: coreClient.CompositeMapper = { +export const PatchRouteFilter: coreClient.CompositeMapper = { type: { name: "Composite", - className: "HubVirtualNetworkConnection", + className: "PatchRouteFilter", modelProperties: { ...SubResource.type.modelProperties, name: { serializedName: "name", + readOnly: true, type: { name: "String" } @@ -20199,36 +22311,56 @@ export const HubVirtualNetworkConnection: coreClient.CompositeMapper = { name: "String" } }, - remoteVirtualNetwork: { - serializedName: "properties.remoteVirtualNetwork", + type: { + serializedName: "type", + readOnly: true, type: { - name: "Composite", - className: "SubResource" + name: "String" } }, - allowHubToRemoteVnetTransit: { - serializedName: "properties.allowHubToRemoteVnetTransit", + tags: { + serializedName: "tags", type: { - name: "Boolean" + name: "Dictionary", + value: { type: { name: "String" } } } }, - allowRemoteVnetToUseHubVnetGateways: { - serializedName: "properties.allowRemoteVnetToUseHubVnetGateways", + rules: { + serializedName: "properties.rules", type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RouteFilterRule" + } + } } }, - enableInternetSecurity: { - serializedName: "properties.enableInternetSecurity", + peerings: { + serializedName: "properties.peerings", + readOnly: true, type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ExpressRouteCircuitPeering" + } + } } }, - routingConfiguration: { - serializedName: "properties.routingConfiguration", + ipv6Peerings: { + serializedName: "properties.ipv6Peerings", + readOnly: true, type: { - name: "Composite", - className: "RoutingConfiguration" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ExpressRouteCircuitPeering" + } + } } }, provisioningState: { @@ -20242,18 +22374,12 @@ export const HubVirtualNetworkConnection: coreClient.CompositeMapper = { } }; -export const VpnSiteLinkConnection: coreClient.CompositeMapper = { +export const ApplicationSecurityGroup: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VpnSiteLinkConnection", + className: "ApplicationSecurityGroup", modelProperties: { - ...SubResource.type.modelProperties, - name: { - serializedName: "name", - type: { - name: "String" - } - }, + ...Resource.type.modelProperties, etag: { serializedName: "etag", readOnly: true, @@ -20261,164 +22387,152 @@ export const VpnSiteLinkConnection: coreClient.CompositeMapper = { name: "String" } }, - type: { - serializedName: "type", + resourceGuid: { + serializedName: "properties.resourceGuid", readOnly: true, type: { name: "String" } }, - vpnSiteLink: { - serializedName: "properties.vpnSiteLink", - type: { - name: "Composite", - className: "SubResource" - } - }, - routingWeight: { - serializedName: "properties.routingWeight", + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { - name: "Number" + name: "String" } - }, - vpnLinkConnectionMode: { - serializedName: "properties.vpnLinkConnectionMode", + } + } + } +}; + +export const PrivateEndpoint: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateEndpoint", + modelProperties: { + ...Resource.type.modelProperties, + extendedLocation: { + serializedName: "extendedLocation", type: { - name: "String" + name: "Composite", + className: "ExtendedLocation" } }, - connectionStatus: { - serializedName: "properties.connectionStatus", + etag: { + serializedName: "etag", readOnly: true, type: { name: "String" } }, - vpnConnectionProtocolType: { - serializedName: "properties.vpnConnectionProtocolType", + subnet: { + serializedName: "properties.subnet", type: { - name: "String" + name: "Composite", + className: "Subnet" } }, - ingressBytesTransferred: { - serializedName: "properties.ingressBytesTransferred", + networkInterfaces: { + serializedName: "properties.networkInterfaces", readOnly: true, type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "NetworkInterface" + } + } } }, - egressBytesTransferred: { - serializedName: "properties.egressBytesTransferred", + provisioningState: { + serializedName: "properties.provisioningState", readOnly: true, - type: { - name: "Number" - } - }, - connectionBandwidth: { - serializedName: "properties.connectionBandwidth", - type: { - name: "Number" - } - }, - sharedKey: { - serializedName: "properties.sharedKey", type: { name: "String" } }, - enableBgp: { - serializedName: "properties.enableBgp", - type: { - name: "Boolean" - } - }, - vpnGatewayCustomBgpAddresses: { - serializedName: "properties.vpnGatewayCustomBgpAddresses", + privateLinkServiceConnections: { + serializedName: "properties.privateLinkServiceConnections", type: { name: "Sequence", element: { type: { name: "Composite", - className: "GatewayCustomBgpIpAddressIpConfiguration" + className: "PrivateLinkServiceConnection" } } } }, - usePolicyBasedTrafficSelectors: { - serializedName: "properties.usePolicyBasedTrafficSelectors", - type: { - name: "Boolean" - } - }, - ipsecPolicies: { - serializedName: "properties.ipsecPolicies", + manualPrivateLinkServiceConnections: { + serializedName: "properties.manualPrivateLinkServiceConnections", type: { name: "Sequence", element: { type: { name: "Composite", - className: "IpsecPolicy" + className: "PrivateLinkServiceConnection" } } } }, - enableRateLimiting: { - serializedName: "properties.enableRateLimiting", - type: { - name: "Boolean" - } - }, - useLocalAzureIpAddress: { - serializedName: "properties.useLocalAzureIpAddress", - type: { - name: "Boolean" - } - }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + customDnsConfigs: { + serializedName: "properties.customDnsConfigs", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CustomDnsConfigPropertiesFormat" + } + } } }, - ingressNatRules: { - serializedName: "properties.ingressNatRules", + applicationSecurityGroups: { + serializedName: "properties.applicationSecurityGroups", type: { name: "Sequence", element: { type: { name: "Composite", - className: "SubResource" + className: "ApplicationSecurityGroup" } } } }, - egressNatRules: { - serializedName: "properties.egressNatRules", + ipConfigurations: { + serializedName: "properties.ipConfigurations", type: { name: "Sequence", element: { type: { name: "Composite", - className: "SubResource" + className: "PrivateEndpointIPConfiguration" } } } + }, + customNetworkInterfaceName: { + serializedName: "properties.customNetworkInterfaceName", + type: { + name: "String" + } } } } }; -export const VpnConnection: coreClient.CompositeMapper = { +export const PrivateLinkService: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VpnConnection", + className: "PrivateLinkService", modelProperties: { - ...SubResource.type.modelProperties, - name: { - serializedName: "name", + ...Resource.type.modelProperties, + extendedLocation: { + serializedName: "extendedLocation", type: { - name: "String" + name: "Composite", + className: "ExtendedLocation" } }, etag: { @@ -20428,158 +22542,116 @@ export const VpnConnection: coreClient.CompositeMapper = { name: "String" } }, - remoteVpnSite: { - serializedName: "properties.remoteVpnSite", - type: { - name: "Composite", - className: "SubResource" - } - }, - routingWeight: { - serializedName: "properties.routingWeight", - type: { - name: "Number" - } - }, - dpdTimeoutSeconds: { - serializedName: "properties.dpdTimeoutSeconds", - type: { - name: "Number" - } - }, - connectionStatus: { - serializedName: "properties.connectionStatus", - readOnly: true, - type: { - name: "String" - } - }, - vpnConnectionProtocolType: { - serializedName: "properties.vpnConnectionProtocolType", - type: { - name: "String" - } - }, - ingressBytesTransferred: { - serializedName: "properties.ingressBytesTransferred", - readOnly: true, - type: { - name: "Number" - } - }, - egressBytesTransferred: { - serializedName: "properties.egressBytesTransferred", - readOnly: true, - type: { - name: "Number" - } - }, - connectionBandwidth: { - serializedName: "properties.connectionBandwidth", - type: { - name: "Number" - } - }, - sharedKey: { - serializedName: "properties.sharedKey", - type: { - name: "String" - } - }, - enableBgp: { - serializedName: "properties.enableBgp", - type: { - name: "Boolean" - } - }, - usePolicyBasedTrafficSelectors: { - serializedName: "properties.usePolicyBasedTrafficSelectors", + loadBalancerFrontendIpConfigurations: { + serializedName: "properties.loadBalancerFrontendIpConfigurations", type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "FrontendIPConfiguration" + } + } } }, - ipsecPolicies: { - serializedName: "properties.ipsecPolicies", + ipConfigurations: { + serializedName: "properties.ipConfigurations", type: { name: "Sequence", element: { type: { name: "Composite", - className: "IpsecPolicy" + className: "PrivateLinkServiceIpConfiguration" } } } }, - trafficSelectorPolicies: { - serializedName: "properties.trafficSelectorPolicies", + networkInterfaces: { + serializedName: "properties.networkInterfaces", + readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "TrafficSelectorPolicy" + className: "NetworkInterface" } } } }, - enableRateLimiting: { - serializedName: "properties.enableRateLimiting", + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { - name: "Boolean" + name: "String" } }, - enableInternetSecurity: { - serializedName: "properties.enableInternetSecurity", + privateEndpointConnections: { + serializedName: "properties.privateEndpointConnections", + readOnly: true, type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateEndpointConnection" + } + } } }, - useLocalAzureIpAddress: { - serializedName: "properties.useLocalAzureIpAddress", + visibility: { + serializedName: "properties.visibility", type: { - name: "Boolean" + name: "Composite", + className: "PrivateLinkServicePropertiesVisibility" } }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + autoApproval: { + serializedName: "properties.autoApproval", type: { - name: "String" + name: "Composite", + className: "PrivateLinkServicePropertiesAutoApproval" } }, - vpnLinkConnections: { - serializedName: "properties.vpnLinkConnections", + fqdns: { + serializedName: "properties.fqdns", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "VpnSiteLinkConnection" + name: "String" } } } }, - routingConfiguration: { - serializedName: "properties.routingConfiguration", + alias: { + serializedName: "properties.alias", + readOnly: true, type: { - name: "Composite", - className: "RoutingConfiguration" + name: "String" + } + }, + enableProxyProtocol: { + serializedName: "properties.enableProxyProtocol", + type: { + name: "Boolean" } } } } }; -export const VpnGatewayNatRule: coreClient.CompositeMapper = { +export const NetworkInterface: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VpnGatewayNatRule", + className: "NetworkInterface", modelProperties: { - ...SubResource.type.modelProperties, - name: { - serializedName: "name", + ...Resource.type.modelProperties, + extendedLocation: { + serializedName: "extendedLocation", type: { - name: "String" + name: "Composite", + className: "ExtendedLocation" } }, etag: { @@ -20589,213 +22661,152 @@ export const VpnGatewayNatRule: coreClient.CompositeMapper = { name: "String" } }, - type: { - serializedName: "type", - readOnly: true, - type: { - name: "String" - } - }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, - type: { - name: "String" - } - }, - typePropertiesType: { - serializedName: "properties.type", + virtualMachine: { + serializedName: "properties.virtualMachine", type: { - name: "String" + name: "Composite", + className: "SubResource" } }, - mode: { - serializedName: "properties.mode", + networkSecurityGroup: { + serializedName: "properties.networkSecurityGroup", type: { - name: "String" + name: "Composite", + className: "NetworkSecurityGroup" } }, - internalMappings: { - serializedName: "properties.internalMappings", + privateEndpoint: { + serializedName: "properties.privateEndpoint", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VpnNatRuleMapping" - } - } + name: "Composite", + className: "PrivateEndpoint" } }, - externalMappings: { - serializedName: "properties.externalMappings", + ipConfigurations: { + serializedName: "properties.ipConfigurations", type: { name: "Sequence", element: { type: { name: "Composite", - className: "VpnNatRuleMapping" + className: "NetworkInterfaceIPConfiguration" } } } }, - ipConfigurationId: { - serializedName: "properties.ipConfigurationId", - type: { - name: "String" - } - }, - egressVpnSiteLinkConnections: { - serializedName: "properties.egressVpnSiteLinkConnections", + tapConfigurations: { + serializedName: "properties.tapConfigurations", readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "SubResource" + className: "NetworkInterfaceTapConfiguration" } } } }, - ingressVpnSiteLinkConnections: { - serializedName: "properties.ingressVpnSiteLinkConnections", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SubResource" - } - } - } - } - } - } -}; - -export const ExpressRouteConnection: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ExpressRouteConnection", - modelProperties: { - ...SubResource.type.modelProperties, - name: { - serializedName: "name", - required: true, + dnsSettings: { + serializedName: "properties.dnsSettings", type: { - name: "String" + name: "Composite", + className: "NetworkInterfaceDnsSettings" } }, - provisioningState: { - serializedName: "properties.provisioningState", + macAddress: { + serializedName: "properties.macAddress", readOnly: true, type: { name: "String" } }, - expressRouteCircuitPeering: { - serializedName: "properties.expressRouteCircuitPeering", + primary: { + serializedName: "properties.primary", + readOnly: true, type: { - name: "Composite", - className: "ExpressRouteCircuitPeeringId" + name: "Boolean" } }, - authorizationKey: { - serializedName: "properties.authorizationKey", + vnetEncryptionSupported: { + serializedName: "properties.vnetEncryptionSupported", + readOnly: true, type: { - name: "String" + name: "Boolean" } }, - routingWeight: { - serializedName: "properties.routingWeight", + enableAcceleratedNetworking: { + serializedName: "properties.enableAcceleratedNetworking", type: { - name: "Number" + name: "Boolean" } }, - enableInternetSecurity: { - serializedName: "properties.enableInternetSecurity", + enableIPForwarding: { + serializedName: "properties.enableIPForwarding", type: { name: "Boolean" } }, - expressRouteGatewayBypass: { - serializedName: "properties.expressRouteGatewayBypass", + hostedWorkloads: { + serializedName: "properties.hostedWorkloads", + readOnly: true, type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - routingConfiguration: { - serializedName: "properties.routingConfiguration", + dscpConfiguration: { + serializedName: "properties.dscpConfiguration", type: { name: "Composite", - className: "RoutingConfiguration" - } - } - } - } -}; - -export const BgpConnection: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "BgpConnection", - modelProperties: { - ...SubResource.type.modelProperties, - name: { - serializedName: "name", - type: { - name: "String" + className: "SubResource" } }, - etag: { - serializedName: "etag", + resourceGuid: { + serializedName: "properties.resourceGuid", readOnly: true, type: { name: "String" } }, - type: { - serializedName: "type", + provisioningState: { + serializedName: "properties.provisioningState", readOnly: true, type: { name: "String" } }, - peerAsn: { - constraints: { - InclusiveMaximum: 4294967295, - InclusiveMinimum: 0 - }, - serializedName: "properties.peerAsn", + workloadType: { + serializedName: "properties.workloadType", type: { - name: "Number" + name: "String" } }, - peerIp: { - serializedName: "properties.peerIp", + nicType: { + serializedName: "properties.nicType", type: { name: "String" } }, - hubVirtualNetworkConnection: { - serializedName: "properties.hubVirtualNetworkConnection", + privateLinkService: { + serializedName: "properties.privateLinkService", type: { name: "Composite", - className: "SubResource" + className: "PrivateLinkService" } }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + migrationPhase: { + serializedName: "properties.migrationPhase", type: { name: "String" } }, - connectionState: { - serializedName: "properties.connectionState", - readOnly: true, + auxiliaryMode: { + serializedName: "properties.auxiliaryMode", type: { name: "String" } @@ -20804,56 +22815,63 @@ export const BgpConnection: coreClient.CompositeMapper = { } }; -export const HubIpConfiguration: coreClient.CompositeMapper = { +export const FlowLog: coreClient.CompositeMapper = { type: { name: "Composite", - className: "HubIpConfiguration", + className: "FlowLog", modelProperties: { - ...SubResource.type.modelProperties, - name: { - serializedName: "name", + ...Resource.type.modelProperties, + etag: { + serializedName: "etag", + readOnly: true, type: { name: "String" } }, - etag: { - serializedName: "etag", - readOnly: true, + targetResourceId: { + serializedName: "properties.targetResourceId", type: { name: "String" } }, - type: { - serializedName: "type", + targetResourceGuid: { + serializedName: "properties.targetResourceGuid", readOnly: true, type: { name: "String" } }, - privateIPAddress: { - serializedName: "properties.privateIPAddress", + storageId: { + serializedName: "properties.storageId", type: { name: "String" } }, - privateIPAllocationMethod: { - serializedName: "properties.privateIPAllocationMethod", + enabled: { + serializedName: "properties.enabled", type: { - name: "String" + name: "Boolean" } }, - subnet: { - serializedName: "properties.subnet", + retentionPolicy: { + serializedName: "properties.retentionPolicy", type: { name: "Composite", - className: "Subnet" + className: "RetentionPolicyParameters" } }, - publicIPAddress: { - serializedName: "properties.publicIPAddress", + format: { + serializedName: "properties.format", type: { name: "Composite", - className: "PublicIPAddress" + className: "FlowLogFormatParameters" + } + }, + flowAnalyticsConfiguration: { + serializedName: "properties.flowAnalyticsConfiguration", + type: { + name: "Composite", + className: "TrafficAnalyticsProperties" } }, provisioningState: { @@ -20867,18 +22885,12 @@ export const HubIpConfiguration: coreClient.CompositeMapper = { } }; -export const HubRouteTable: coreClient.CompositeMapper = { +export const NetworkSecurityGroup: coreClient.CompositeMapper = { type: { name: "Composite", - className: "HubRouteTable", + className: "NetworkSecurityGroup", modelProperties: { - ...SubResource.type.modelProperties, - name: { - serializedName: "name", - type: { - name: "String" - } - }, + ...Resource.type.modelProperties, etag: { serializedName: "etag", readOnly: true, @@ -20886,109 +22898,83 @@ export const HubRouteTable: coreClient.CompositeMapper = { name: "String" } }, - type: { - serializedName: "type", - readOnly: true, + flushConnection: { + serializedName: "properties.flushConnection", type: { - name: "String" + name: "Boolean" } }, - routes: { - serializedName: "properties.routes", + securityRules: { + serializedName: "properties.securityRules", type: { name: "Sequence", element: { type: { name: "Composite", - className: "HubRoute" + className: "SecurityRule" } } } }, - labels: { - serializedName: "properties.labels", + defaultSecurityRules: { + serializedName: "properties.defaultSecurityRules", + readOnly: true, type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "SecurityRule" } } } }, - associatedConnections: { - serializedName: "properties.associatedConnections", + networkInterfaces: { + serializedName: "properties.networkInterfaces", readOnly: true, type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "NetworkInterface" } } } }, - propagatingConnections: { - serializedName: "properties.propagatingConnections", + subnets: { + serializedName: "properties.subnets", readOnly: true, type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "Subnet" } } } }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, - type: { - name: "String" - } - } - } - } -}; - -export const RoutingIntent: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RoutingIntent", - modelProperties: { - ...SubResource.type.modelProperties, - name: { - serializedName: "name", - type: { - name: "String" - } - }, - etag: { - serializedName: "etag", - readOnly: true, - type: { - name: "String" - } - }, - type: { - serializedName: "type", + flowLogs: { + serializedName: "properties.flowLogs", readOnly: true, - type: { - name: "String" - } - }, - routingPolicies: { - serializedName: "properties.routingPolicies", type: { name: "Sequence", element: { type: { name: "Composite", - className: "RoutingPolicy" + className: "FlowLog" } } } }, + resourceGuid: { + serializedName: "properties.resourceGuid", + readOnly: true, + type: { + name: "String" + } + }, provisioningState: { serializedName: "properties.provisioningState", readOnly: true, @@ -21000,19 +22986,12 @@ export const RoutingIntent: coreClient.CompositeMapper = { } }; -export const PatchRouteFilterRule: coreClient.CompositeMapper = { +export const RouteTable: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PatchRouteFilterRule", + className: "RouteTable", modelProperties: { - ...SubResource.type.modelProperties, - name: { - serializedName: "name", - readOnly: true, - type: { - name: "String" - } - }, + ...Resource.type.modelProperties, etag: { serializedName: "etag", readOnly: true, @@ -21020,53 +22999,61 @@ export const PatchRouteFilterRule: coreClient.CompositeMapper = { name: "String" } }, - access: { - serializedName: "properties.access", - type: { - name: "String" - } - }, - routeFilterRuleType: { - serializedName: "properties.routeFilterRuleType", + routes: { + serializedName: "properties.routes", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Route" + } + } } }, - communities: { - serializedName: "properties.communities", + subnets: { + serializedName: "properties.subnets", + readOnly: true, type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "Subnet" } } } }, + disableBgpRoutePropagation: { + serializedName: "properties.disableBgpRoutePropagation", + type: { + name: "Boolean" + } + }, provisioningState: { serializedName: "properties.provisioningState", readOnly: true, type: { name: "String" } + }, + resourceGuid: { + serializedName: "properties.resourceGuid", + readOnly: true, + type: { + name: "String" + } } } } }; -export const PatchRouteFilter: coreClient.CompositeMapper = { +export const ServiceEndpointPolicy: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PatchRouteFilter", + className: "ServiceEndpointPolicy", modelProperties: { - ...SubResource.type.modelProperties, - name: { - serializedName: "name", - readOnly: true, - type: { - name: "String" - } - }, + ...Resource.type.modelProperties, etag: { serializedName: "etag", readOnly: true, @@ -21074,209 +23061,157 @@ export const PatchRouteFilter: coreClient.CompositeMapper = { name: "String" } }, - type: { - serializedName: "type", + kind: { + serializedName: "kind", readOnly: true, type: { name: "String" - } - }, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { type: { name: "String" } } - } - }, - rules: { - serializedName: "properties.rules", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RouteFilterRule" - } - } - } - }, - peerings: { - serializedName: "properties.peerings", - readOnly: true, + } + }, + serviceEndpointPolicyDefinitions: { + serializedName: "properties.serviceEndpointPolicyDefinitions", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ExpressRouteCircuitPeering" + className: "ServiceEndpointPolicyDefinition" } } } }, - ipv6Peerings: { - serializedName: "properties.ipv6Peerings", + subnets: { + serializedName: "properties.subnets", readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "ExpressRouteCircuitPeering" + className: "Subnet" } } } }, - provisioningState: { - serializedName: "properties.provisioningState", + resourceGuid: { + serializedName: "properties.resourceGuid", readOnly: true, type: { name: "String" } - } - } - } -}; - -export const ApplicationSecurityGroup: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ApplicationSecurityGroup", - modelProperties: { - ...Resource.type.modelProperties, - etag: { - serializedName: "etag", + }, + provisioningState: { + serializedName: "properties.provisioningState", readOnly: true, type: { name: "String" } }, - resourceGuid: { - serializedName: "properties.resourceGuid", - readOnly: true, + serviceAlias: { + serializedName: "properties.serviceAlias", type: { name: "String" } }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + contextualServiceEndpointPolicies: { + serializedName: "properties.contextualServiceEndpointPolicies", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } } } } }; -export const PrivateEndpoint: coreClient.CompositeMapper = { +export const NatGateway: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateEndpoint", + className: "NatGateway", modelProperties: { ...Resource.type.modelProperties, - extendedLocation: { - serializedName: "extendedLocation", - type: { - name: "Composite", - className: "ExtendedLocation" - } - }, - etag: { - serializedName: "etag", - readOnly: true, - type: { - name: "String" - } - }, - subnet: { - serializedName: "properties.subnet", + sku: { + serializedName: "sku", type: { name: "Composite", - className: "Subnet" + className: "NatGatewaySku" } }, - networkInterfaces: { - serializedName: "properties.networkInterfaces", - readOnly: true, + zones: { + serializedName: "zones", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "NetworkInterface" + name: "String" } } } }, - provisioningState: { - serializedName: "properties.provisioningState", + etag: { + serializedName: "etag", readOnly: true, type: { name: "String" } }, - privateLinkServiceConnections: { - serializedName: "properties.privateLinkServiceConnections", + idleTimeoutInMinutes: { + serializedName: "properties.idleTimeoutInMinutes", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PrivateLinkServiceConnection" - } - } + name: "Number" } }, - manualPrivateLinkServiceConnections: { - serializedName: "properties.manualPrivateLinkServiceConnections", + publicIpAddresses: { + serializedName: "properties.publicIpAddresses", type: { name: "Sequence", element: { type: { name: "Composite", - className: "PrivateLinkServiceConnection" + className: "SubResource" } } } }, - customDnsConfigs: { - serializedName: "properties.customDnsConfigs", + publicIpPrefixes: { + serializedName: "properties.publicIpPrefixes", type: { name: "Sequence", element: { type: { name: "Composite", - className: "CustomDnsConfigPropertiesFormat" + className: "SubResource" } } } }, - applicationSecurityGroups: { - serializedName: "properties.applicationSecurityGroups", + subnets: { + serializedName: "properties.subnets", + readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "ApplicationSecurityGroup" + className: "SubResource" } } } }, - ipConfigurations: { - serializedName: "properties.ipConfigurations", + resourceGuid: { + serializedName: "properties.resourceGuid", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PrivateEndpointIPConfiguration" - } - } + name: "String" } }, - customNetworkInterfaceName: { - serializedName: "properties.customNetworkInterfaceName", + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { name: "String" } @@ -21285,10 +23220,10 @@ export const PrivateEndpoint: coreClient.CompositeMapper = { } }; -export const PrivateLinkService: coreClient.CompositeMapper = { +export const PublicIPAddress: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateLinkService", + className: "PublicIPAddress", modelProperties: { ...Resource.type.modelProperties, extendedLocation: { @@ -21298,6 +23233,13 @@ export const PrivateLinkService: coreClient.CompositeMapper = { className: "ExtendedLocation" } }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "PublicIPAddressSku" + } + }, etag: { serializedName: "etag", readOnly: true, @@ -21305,118 +23247,138 @@ export const PrivateLinkService: coreClient.CompositeMapper = { name: "String" } }, - loadBalancerFrontendIpConfigurations: { - serializedName: "properties.loadBalancerFrontendIpConfigurations", + zones: { + serializedName: "zones", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "FrontendIPConfiguration" + name: "String" } } } }, - ipConfigurations: { - serializedName: "properties.ipConfigurations", + publicIPAllocationMethod: { + serializedName: "properties.publicIPAllocationMethod", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PrivateLinkServiceIpConfiguration" - } - } + name: "String" } }, - networkInterfaces: { - serializedName: "properties.networkInterfaces", - readOnly: true, + publicIPAddressVersion: { + serializedName: "properties.publicIPAddressVersion", + type: { + name: "String" + } + }, + ipConfiguration: { + serializedName: "properties.ipConfiguration", + type: { + name: "Composite", + className: "IPConfiguration" + } + }, + dnsSettings: { + serializedName: "properties.dnsSettings", + type: { + name: "Composite", + className: "PublicIPAddressDnsSettings" + } + }, + ddosSettings: { + serializedName: "properties.ddosSettings", + type: { + name: "Composite", + className: "DdosSettings" + } + }, + ipTags: { + serializedName: "properties.ipTags", type: { name: "Sequence", element: { type: { name: "Composite", - className: "NetworkInterface" + className: "IpTag" } } } }, - provisioningState: { - serializedName: "properties.provisioningState", + ipAddress: { + serializedName: "properties.ipAddress", + type: { + name: "String" + } + }, + publicIPPrefix: { + serializedName: "properties.publicIPPrefix", + type: { + name: "Composite", + className: "SubResource" + } + }, + idleTimeoutInMinutes: { + serializedName: "properties.idleTimeoutInMinutes", + type: { + name: "Number" + } + }, + resourceGuid: { + serializedName: "properties.resourceGuid", readOnly: true, type: { name: "String" } }, - privateEndpointConnections: { - serializedName: "properties.privateEndpointConnections", + provisioningState: { + serializedName: "properties.provisioningState", readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PrivateEndpointConnection" - } - } + name: "String" } }, - visibility: { - serializedName: "properties.visibility", + servicePublicIPAddress: { + serializedName: "properties.servicePublicIPAddress", type: { name: "Composite", - className: "PrivateLinkServicePropertiesVisibility" + className: "PublicIPAddress" } }, - autoApproval: { - serializedName: "properties.autoApproval", + natGateway: { + serializedName: "properties.natGateway", type: { name: "Composite", - className: "PrivateLinkServicePropertiesAutoApproval" + className: "NatGateway" } }, - fqdns: { - serializedName: "properties.fqdns", + migrationPhase: { + serializedName: "properties.migrationPhase", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - alias: { - serializedName: "properties.alias", - readOnly: true, + linkedPublicIPAddress: { + serializedName: "properties.linkedPublicIPAddress", type: { - name: "String" + name: "Composite", + className: "PublicIPAddress" } }, - enableProxyProtocol: { - serializedName: "properties.enableProxyProtocol", + deleteOption: { + serializedName: "properties.deleteOption", type: { - name: "Boolean" + name: "String" } } } } }; -export const NetworkInterface: coreClient.CompositeMapper = { +export const VirtualNetworkTap: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NetworkInterface", + className: "VirtualNetworkTap", modelProperties: { ...Resource.type.modelProperties, - extendedLocation: { - serializedName: "extendedLocation", - type: { - name: "Composite", - className: "ExtendedLocation" - } - }, etag: { serializedName: "etag", readOnly: true, @@ -21424,41 +23386,8 @@ export const NetworkInterface: coreClient.CompositeMapper = { name: "String" } }, - virtualMachine: { - serializedName: "properties.virtualMachine", - type: { - name: "Composite", - className: "SubResource" - } - }, - networkSecurityGroup: { - serializedName: "properties.networkSecurityGroup", - type: { - name: "Composite", - className: "NetworkSecurityGroup" - } - }, - privateEndpoint: { - serializedName: "properties.privateEndpoint", - type: { - name: "Composite", - className: "PrivateEndpoint" - } - }, - ipConfigurations: { - serializedName: "properties.ipConfigurations", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "NetworkInterfaceIPConfiguration" - } - } - } - }, - tapConfigurations: { - serializedName: "properties.tapConfigurations", + networkInterfaceTapConfigurations: { + serializedName: "properties.networkInterfaceTapConfigurations", readOnly: true, type: { name: "Sequence", @@ -21470,49 +23399,60 @@ export const NetworkInterface: coreClient.CompositeMapper = { } } }, - dnsSettings: { - serializedName: "properties.dnsSettings", + resourceGuid: { + serializedName: "properties.resourceGuid", + readOnly: true, type: { - name: "Composite", - className: "NetworkInterfaceDnsSettings" + name: "String" } }, - macAddress: { - serializedName: "properties.macAddress", + provisioningState: { + serializedName: "properties.provisioningState", readOnly: true, type: { name: "String" } }, - primary: { - serializedName: "properties.primary", - readOnly: true, + destinationNetworkInterfaceIPConfiguration: { + serializedName: "properties.destinationNetworkInterfaceIPConfiguration", type: { - name: "Boolean" + name: "Composite", + className: "NetworkInterfaceIPConfiguration" } }, - vnetEncryptionSupported: { - serializedName: "properties.vnetEncryptionSupported", - readOnly: true, + destinationLoadBalancerFrontEndIPConfiguration: { + serializedName: + "properties.destinationLoadBalancerFrontEndIPConfiguration", type: { - name: "Boolean" + name: "Composite", + className: "FrontendIPConfiguration" } }, - enableAcceleratedNetworking: { - serializedName: "properties.enableAcceleratedNetworking", + destinationPort: { + serializedName: "properties.destinationPort", type: { - name: "Boolean" + name: "Number" } - }, - enableIPForwarding: { - serializedName: "properties.enableIPForwarding", + } + } + } +}; + +export const ApplicationGateway: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ApplicationGateway", + modelProperties: { + ...Resource.type.modelProperties, + etag: { + serializedName: "etag", + readOnly: true, type: { - name: "Boolean" + name: "String" } }, - hostedWorkloads: { - serializedName: "properties.hostedWorkloads", - readOnly: true, + zones: { + serializedName: "zones", type: { name: "Sequence", element: { @@ -21522,269 +23462,325 @@ export const NetworkInterface: coreClient.CompositeMapper = { } } }, - dscpConfiguration: { - serializedName: "properties.dscpConfiguration", + identity: { + serializedName: "identity", type: { name: "Composite", - className: "SubResource" + className: "ManagedServiceIdentity" } }, - resourceGuid: { - serializedName: "properties.resourceGuid", - readOnly: true, + sku: { + serializedName: "properties.sku", type: { - name: "String" + name: "Composite", + className: "ApplicationGatewaySku" } }, - provisioningState: { - serializedName: "properties.provisioningState", + sslPolicy: { + serializedName: "properties.sslPolicy", + type: { + name: "Composite", + className: "ApplicationGatewaySslPolicy" + } + }, + operationalState: { + serializedName: "properties.operationalState", readOnly: true, type: { name: "String" } }, - workloadType: { - serializedName: "properties.workloadType", + gatewayIPConfigurations: { + serializedName: "properties.gatewayIPConfigurations", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ApplicationGatewayIPConfiguration" + } + } } }, - nicType: { - serializedName: "properties.nicType", + authenticationCertificates: { + serializedName: "properties.authenticationCertificates", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ApplicationGatewayAuthenticationCertificate" + } + } } }, - privateLinkService: { - serializedName: "properties.privateLinkService", + trustedRootCertificates: { + serializedName: "properties.trustedRootCertificates", type: { - name: "Composite", - className: "PrivateLinkService" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ApplicationGatewayTrustedRootCertificate" + } + } } }, - migrationPhase: { - serializedName: "properties.migrationPhase", + trustedClientCertificates: { + serializedName: "properties.trustedClientCertificates", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ApplicationGatewayTrustedClientCertificate" + } + } } }, - auxiliaryMode: { - serializedName: "properties.auxiliaryMode", + sslCertificates: { + serializedName: "properties.sslCertificates", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ApplicationGatewaySslCertificate" + } + } } - } - } - } -}; - -export const FlowLog: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "FlowLog", - modelProperties: { - ...Resource.type.modelProperties, - etag: { - serializedName: "etag", - readOnly: true, + }, + frontendIPConfigurations: { + serializedName: "properties.frontendIPConfigurations", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ApplicationGatewayFrontendIPConfiguration" + } + } } }, - targetResourceId: { - serializedName: "properties.targetResourceId", + frontendPorts: { + serializedName: "properties.frontendPorts", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ApplicationGatewayFrontendPort" + } + } } }, - targetResourceGuid: { - serializedName: "properties.targetResourceGuid", - readOnly: true, + probes: { + serializedName: "properties.probes", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ApplicationGatewayProbe" + } + } } }, - storageId: { - serializedName: "properties.storageId", + backendAddressPools: { + serializedName: "properties.backendAddressPools", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ApplicationGatewayBackendAddressPool" + } + } } }, - enabled: { - serializedName: "properties.enabled", + backendHttpSettingsCollection: { + serializedName: "properties.backendHttpSettingsCollection", type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ApplicationGatewayBackendHttpSettings" + } + } } }, - retentionPolicy: { - serializedName: "properties.retentionPolicy", + backendSettingsCollection: { + serializedName: "properties.backendSettingsCollection", type: { - name: "Composite", - className: "RetentionPolicyParameters" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ApplicationGatewayBackendSettings" + } + } } }, - format: { - serializedName: "properties.format", + httpListeners: { + serializedName: "properties.httpListeners", type: { - name: "Composite", - className: "FlowLogFormatParameters" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ApplicationGatewayHttpListener" + } + } } }, - flowAnalyticsConfiguration: { - serializedName: "properties.flowAnalyticsConfiguration", + listeners: { + serializedName: "properties.listeners", type: { - name: "Composite", - className: "TrafficAnalyticsProperties" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ApplicationGatewayListener" + } + } } }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, - type: { - name: "String" - } - } - } - } -}; - -export const NetworkSecurityGroup: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "NetworkSecurityGroup", - modelProperties: { - ...Resource.type.modelProperties, - etag: { - serializedName: "etag", - readOnly: true, + sslProfiles: { + serializedName: "properties.sslProfiles", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ApplicationGatewaySslProfile" + } + } } }, - securityRules: { - serializedName: "properties.securityRules", + urlPathMaps: { + serializedName: "properties.urlPathMaps", type: { name: "Sequence", element: { type: { name: "Composite", - className: "SecurityRule" + className: "ApplicationGatewayUrlPathMap" } } } }, - defaultSecurityRules: { - serializedName: "properties.defaultSecurityRules", - readOnly: true, + requestRoutingRules: { + serializedName: "properties.requestRoutingRules", type: { name: "Sequence", element: { type: { name: "Composite", - className: "SecurityRule" + className: "ApplicationGatewayRequestRoutingRule" } } } }, - networkInterfaces: { - serializedName: "properties.networkInterfaces", - readOnly: true, + routingRules: { + serializedName: "properties.routingRules", type: { name: "Sequence", element: { type: { name: "Composite", - className: "NetworkInterface" + className: "ApplicationGatewayRoutingRule" } } } }, - subnets: { - serializedName: "properties.subnets", - readOnly: true, + rewriteRuleSets: { + serializedName: "properties.rewriteRuleSets", type: { name: "Sequence", element: { type: { name: "Composite", - className: "Subnet" + className: "ApplicationGatewayRewriteRuleSet" } } } }, - flowLogs: { - serializedName: "properties.flowLogs", - readOnly: true, + redirectConfigurations: { + serializedName: "properties.redirectConfigurations", type: { name: "Sequence", element: { type: { name: "Composite", - className: "FlowLog" + className: "ApplicationGatewayRedirectConfiguration" } } } }, - resourceGuid: { - serializedName: "properties.resourceGuid", - readOnly: true, + webApplicationFirewallConfiguration: { + serializedName: "properties.webApplicationFirewallConfiguration", type: { - name: "String" + name: "Composite", + className: "ApplicationGatewayWebApplicationFirewallConfiguration" } }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + firewallPolicy: { + serializedName: "properties.firewallPolicy", type: { - name: "String" + name: "Composite", + className: "SubResource" } - } - } - } -}; - -export const RouteTable: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RouteTable", - modelProperties: { - ...Resource.type.modelProperties, - etag: { - serializedName: "etag", - readOnly: true, + }, + enableHttp2: { + serializedName: "properties.enableHttp2", type: { - name: "String" + name: "Boolean" } }, - routes: { - serializedName: "properties.routes", + enableFips: { + serializedName: "properties.enableFips", + type: { + name: "Boolean" + } + }, + autoscaleConfiguration: { + serializedName: "properties.autoscaleConfiguration", + type: { + name: "Composite", + className: "ApplicationGatewayAutoscaleConfiguration" + } + }, + privateLinkConfigurations: { + serializedName: "properties.privateLinkConfigurations", type: { name: "Sequence", element: { type: { name: "Composite", - className: "Route" + className: "ApplicationGatewayPrivateLinkConfiguration" } } } }, - subnets: { - serializedName: "properties.subnets", + privateEndpointConnections: { + serializedName: "properties.privateEndpointConnections", readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "Subnet" + className: "ApplicationGatewayPrivateEndpointConnection" } } } }, - disableBgpRoutePropagation: { - serializedName: "properties.disableBgpRoutePropagation", + resourceGuid: { + serializedName: "properties.resourceGuid", + readOnly: true, type: { - name: "Boolean" + name: "String" } }, provisioningState: { @@ -21794,84 +23790,125 @@ export const RouteTable: coreClient.CompositeMapper = { name: "String" } }, - resourceGuid: { - serializedName: "properties.resourceGuid", - readOnly: true, + customErrorConfigurations: { + serializedName: "properties.customErrorConfigurations", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ApplicationGatewayCustomError" + } + } + } + }, + forceFirewallPolicyAssociation: { + serializedName: "properties.forceFirewallPolicyAssociation", + type: { + name: "Boolean" + } + }, + loadDistributionPolicies: { + serializedName: "properties.loadDistributionPolicies", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ApplicationGatewayLoadDistributionPolicy" + } + } + } + }, + globalConfiguration: { + serializedName: "properties.globalConfiguration", + type: { + name: "Composite", + className: "ApplicationGatewayGlobalConfiguration" } } } } }; -export const ServiceEndpointPolicy: coreClient.CompositeMapper = { +export const ApplicationGatewayFirewallRuleSet: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ServiceEndpointPolicy", + className: "ApplicationGatewayFirewallRuleSet", modelProperties: { ...Resource.type.modelProperties, - etag: { - serializedName: "etag", + provisioningState: { + serializedName: "properties.provisioningState", readOnly: true, type: { name: "String" } }, - kind: { - serializedName: "kind", - readOnly: true, + ruleSetType: { + serializedName: "properties.ruleSetType", type: { name: "String" } }, - serviceEndpointPolicyDefinitions: { - serializedName: "properties.serviceEndpointPolicyDefinitions", + ruleSetVersion: { + serializedName: "properties.ruleSetVersion", + type: { + name: "String" + } + }, + ruleGroups: { + serializedName: "properties.ruleGroups", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ServiceEndpointPolicyDefinition" + className: "ApplicationGatewayFirewallRuleGroup" } } } - }, - subnets: { - serializedName: "properties.subnets", - readOnly: true, + } + } + } +}; + +export const ApplicationGatewayAvailableSslOptions: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ApplicationGatewayAvailableSslOptions", + modelProperties: { + ...Resource.type.modelProperties, + predefinedPolicies: { + serializedName: "properties.predefinedPolicies", type: { name: "Sequence", element: { type: { name: "Composite", - className: "Subnet" + className: "SubResource" } } } }, - resourceGuid: { - serializedName: "properties.resourceGuid", - readOnly: true, - type: { - name: "String" - } - }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + defaultPolicy: { + serializedName: "properties.defaultPolicy", type: { name: "String" } }, - serviceAlias: { - serializedName: "properties.serviceAlias", + availableCipherSuites: { + serializedName: "properties.availableCipherSuites", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - contextualServiceEndpointPolicies: { - serializedName: "properties.contextualServiceEndpointPolicies", + availableProtocols: { + serializedName: "properties.availableProtocols", type: { name: "Sequence", element: { @@ -21885,19 +23922,12 @@ export const ServiceEndpointPolicy: coreClient.CompositeMapper = { } }; -export const NatGateway: coreClient.CompositeMapper = { +export const AzureFirewall: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NatGateway", + className: "AzureFirewall", modelProperties: { ...Resource.type.modelProperties, - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "NatGatewaySku" - } - }, zones: { serializedName: "zones", type: { @@ -21916,54 +23946,59 @@ export const NatGateway: coreClient.CompositeMapper = { name: "String" } }, - idleTimeoutInMinutes: { - serializedName: "properties.idleTimeoutInMinutes", + applicationRuleCollections: { + serializedName: "properties.applicationRuleCollections", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AzureFirewallApplicationRuleCollection" + } + } } }, - publicIpAddresses: { - serializedName: "properties.publicIpAddresses", + natRuleCollections: { + serializedName: "properties.natRuleCollections", type: { name: "Sequence", element: { type: { name: "Composite", - className: "SubResource" + className: "AzureFirewallNatRuleCollection" } } } }, - publicIpPrefixes: { - serializedName: "properties.publicIpPrefixes", + networkRuleCollections: { + serializedName: "properties.networkRuleCollections", type: { name: "Sequence", element: { type: { name: "Composite", - className: "SubResource" + className: "AzureFirewallNetworkRuleCollection" } } } }, - subnets: { - serializedName: "properties.subnets", - readOnly: true, + ipConfigurations: { + serializedName: "properties.ipConfigurations", type: { name: "Sequence", element: { type: { name: "Composite", - className: "SubResource" + className: "AzureFirewallIPConfiguration" } } } }, - resourceGuid: { - serializedName: "properties.resourceGuid", - readOnly: true, + managementIpConfiguration: { + serializedName: "properties.managementIpConfiguration", type: { - name: "String" + name: "Composite", + className: "AzureFirewallIPConfiguration" } }, provisioningState: { @@ -21972,115 +24007,73 @@ export const NatGateway: coreClient.CompositeMapper = { type: { name: "String" } - } - } - } -}; - -export const PublicIPAddress: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PublicIPAddress", - modelProperties: { - ...Resource.type.modelProperties, - extendedLocation: { - serializedName: "extendedLocation", - type: { - name: "Composite", - className: "ExtendedLocation" - } - }, - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "PublicIPAddressSku" - } - }, - etag: { - serializedName: "etag", - readOnly: true, - type: { - name: "String" - } - }, - zones: { - serializedName: "zones", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - publicIPAllocationMethod: { - serializedName: "properties.publicIPAllocationMethod", - type: { - name: "String" - } }, - publicIPAddressVersion: { - serializedName: "properties.publicIPAddressVersion", + threatIntelMode: { + serializedName: "properties.threatIntelMode", type: { name: "String" } }, - ipConfiguration: { - serializedName: "properties.ipConfiguration", + virtualHub: { + serializedName: "properties.virtualHub", type: { name: "Composite", - className: "IPConfiguration" + className: "SubResource" } }, - dnsSettings: { - serializedName: "properties.dnsSettings", + firewallPolicy: { + serializedName: "properties.firewallPolicy", type: { name: "Composite", - className: "PublicIPAddressDnsSettings" + className: "SubResource" } }, - ddosSettings: { - serializedName: "properties.ddosSettings", + hubIPAddresses: { + serializedName: "properties.hubIPAddresses", type: { name: "Composite", - className: "DdosSettings" + className: "HubIPAddresses" } }, - ipTags: { - serializedName: "properties.ipTags", + ipGroups: { + serializedName: "properties.ipGroups", + readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "IpTag" + className: "AzureFirewallIpGroups" } } } }, - ipAddress: { - serializedName: "properties.ipAddress", - type: { - name: "String" - } - }, - publicIPPrefix: { - serializedName: "properties.publicIPPrefix", + sku: { + serializedName: "properties.sku", type: { name: "Composite", - className: "SubResource" + className: "AzureFirewallSku" } }, - idleTimeoutInMinutes: { - serializedName: "properties.idleTimeoutInMinutes", + additionalProperties: { + serializedName: "properties.additionalProperties", type: { - name: "Number" + name: "Dictionary", + value: { type: { name: "String" } } } - }, - resourceGuid: { - serializedName: "properties.resourceGuid", + } + } + } +}; + +export const AzureFirewallFqdnTag: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AzureFirewallFqdnTag", + modelProperties: { + ...Resource.type.modelProperties, + etag: { + serializedName: "etag", readOnly: true, type: { name: "String" @@ -22093,35 +24086,9 @@ export const PublicIPAddress: coreClient.CompositeMapper = { name: "String" } }, - servicePublicIPAddress: { - serializedName: "properties.servicePublicIPAddress", - type: { - name: "Composite", - className: "PublicIPAddress" - } - }, - natGateway: { - serializedName: "properties.natGateway", - type: { - name: "Composite", - className: "NatGateway" - } - }, - migrationPhase: { - serializedName: "properties.migrationPhase", - type: { - name: "String" - } - }, - linkedPublicIPAddress: { - serializedName: "properties.linkedPublicIPAddress", - type: { - name: "Composite", - className: "PublicIPAddress" - } - }, - deleteOption: { - serializedName: "properties.deleteOption", + fqdnTagName: { + serializedName: "properties.fqdnTagName", + readOnly: true, type: { name: "String" } @@ -22130,10 +24097,10 @@ export const PublicIPAddress: coreClient.CompositeMapper = { } }; -export const VirtualNetworkTap: coreClient.CompositeMapper = { +export const BastionHost: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualNetworkTap", + className: "BastionHost", modelProperties: { ...Resource.type.modelProperties, etag: { @@ -22143,22 +24110,27 @@ export const VirtualNetworkTap: coreClient.CompositeMapper = { name: "String" } }, - networkInterfaceTapConfigurations: { - serializedName: "properties.networkInterfaceTapConfigurations", - readOnly: true, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku" + } + }, + ipConfigurations: { + serializedName: "properties.ipConfigurations", type: { name: "Sequence", element: { type: { name: "Composite", - className: "NetworkInterfaceTapConfiguration" + className: "BastionHostIPConfiguration" } } } }, - resourceGuid: { - serializedName: "properties.resourceGuid", - readOnly: true, + dnsName: { + serializedName: "properties.dnsName", type: { name: "String" } @@ -22170,37 +24142,78 @@ export const VirtualNetworkTap: coreClient.CompositeMapper = { name: "String" } }, - destinationNetworkInterfaceIPConfiguration: { - serializedName: "properties.destinationNetworkInterfaceIPConfiguration", + scaleUnits: { + constraints: { + InclusiveMaximum: 50, + InclusiveMinimum: 2 + }, + serializedName: "properties.scaleUnits", type: { - name: "Composite", - className: "NetworkInterfaceIPConfiguration" + name: "Number" } }, - destinationLoadBalancerFrontEndIPConfiguration: { - serializedName: - "properties.destinationLoadBalancerFrontEndIPConfiguration", + disableCopyPaste: { + defaultValue: false, + serializedName: "properties.disableCopyPaste", type: { - name: "Composite", - className: "FrontendIPConfiguration" + name: "Boolean" } }, - destinationPort: { - serializedName: "properties.destinationPort", + enableFileCopy: { + defaultValue: false, + serializedName: "properties.enableFileCopy", type: { - name: "Number" + name: "Boolean" + } + }, + enableIpConnect: { + defaultValue: false, + serializedName: "properties.enableIpConnect", + type: { + name: "Boolean" + } + }, + enableShareableLink: { + defaultValue: false, + serializedName: "properties.enableShareableLink", + type: { + name: "Boolean" + } + }, + enableTunneling: { + defaultValue: false, + serializedName: "properties.enableTunneling", + type: { + name: "Boolean" } } } } }; -export const ApplicationGateway: coreClient.CompositeMapper = { +export const Vm: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ApplicationGateway", + className: "Vm", + modelProperties: { + ...Resource.type.modelProperties + } + } +}; + +export const CustomIpPrefix: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CustomIpPrefix", modelProperties: { ...Resource.type.modelProperties, + extendedLocation: { + serializedName: "extendedLocation", + type: { + name: "Composite", + className: "ExtendedLocation" + } + }, etag: { serializedName: "etag", readOnly: true, @@ -22219,408 +24232,530 @@ export const ApplicationGateway: coreClient.CompositeMapper = { } } }, - identity: { - serializedName: "identity", + cidr: { + serializedName: "properties.cidr", type: { - name: "Composite", - className: "ManagedServiceIdentity" + name: "String" } }, - sku: { - serializedName: "properties.sku", + signedMessage: { + serializedName: "properties.signedMessage", type: { - name: "Composite", - className: "ApplicationGatewaySku" + name: "String" } }, - sslPolicy: { - serializedName: "properties.sslPolicy", + authorizationMessage: { + serializedName: "properties.authorizationMessage", type: { - name: "Composite", - className: "ApplicationGatewaySslPolicy" + name: "String" } }, - operationalState: { - serializedName: "properties.operationalState", - readOnly: true, + customIpPrefixParent: { + serializedName: "properties.customIpPrefixParent", type: { - name: "String" + name: "Composite", + className: "SubResource" } }, - gatewayIPConfigurations: { - serializedName: "properties.gatewayIPConfigurations", + childCustomIpPrefixes: { + serializedName: "properties.childCustomIpPrefixes", + readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "ApplicationGatewayIPConfiguration" + className: "SubResource" } } } }, - authenticationCertificates: { - serializedName: "properties.authenticationCertificates", + commissionedState: { + serializedName: "properties.commissionedState", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ApplicationGatewayAuthenticationCertificate" - } - } + name: "String" } }, - trustedRootCertificates: { - serializedName: "properties.trustedRootCertificates", + noInternetAdvertise: { + serializedName: "properties.noInternetAdvertise", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ApplicationGatewayTrustedRootCertificate" - } - } + name: "Boolean" } }, - trustedClientCertificates: { - serializedName: "properties.trustedClientCertificates", + publicIpPrefixes: { + serializedName: "properties.publicIpPrefixes", + readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "ApplicationGatewayTrustedClientCertificate" + className: "SubResource" } } } }, - sslCertificates: { - serializedName: "properties.sslCertificates", + resourceGuid: { + serializedName: "properties.resourceGuid", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ApplicationGatewaySslCertificate" - } - } + name: "String" } }, - frontendIPConfigurations: { - serializedName: "properties.frontendIPConfigurations", + failedReason: { + serializedName: "properties.failedReason", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ApplicationGatewayFrontendIPConfiguration" - } - } + name: "String" } }, - frontendPorts: { - serializedName: "properties.frontendPorts", + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ApplicationGatewayFrontendPort" - } - } + name: "String" + } + } + } + } +}; + +export const DdosCustomPolicy: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DdosCustomPolicy", + modelProperties: { + ...Resource.type.modelProperties, + etag: { + serializedName: "etag", + readOnly: true, + type: { + name: "String" } }, - probes: { - serializedName: "properties.probes", + resourceGuid: { + serializedName: "properties.resourceGuid", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ApplicationGatewayProbe" - } - } + name: "String" } }, - backendAddressPools: { - serializedName: "properties.backendAddressPools", + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + type: { + name: "String" + } + }, + publicIPAddresses: { + serializedName: "properties.publicIPAddresses", + readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "ApplicationGatewayBackendAddressPool" + className: "SubResource" } } } }, - backendHttpSettingsCollection: { - serializedName: "properties.backendHttpSettingsCollection", + protocolCustomSettings: { + serializedName: "properties.protocolCustomSettings", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ApplicationGatewayBackendHttpSettings" + className: "ProtocolCustomSettingsFormat" } } } + } + } + } +}; + +export const DscpConfiguration: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DscpConfiguration", + modelProperties: { + ...Resource.type.modelProperties, + etag: { + serializedName: "etag", + readOnly: true, + type: { + name: "String" + } }, - backendSettingsCollection: { - serializedName: "properties.backendSettingsCollection", + markings: { + serializedName: "properties.markings", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "ApplicationGatewayBackendSettings" + name: "Number" } } } }, - httpListeners: { - serializedName: "properties.httpListeners", + sourceIpRanges: { + serializedName: "properties.sourceIpRanges", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ApplicationGatewayHttpListener" + className: "QosIpRange" } } } }, - listeners: { - serializedName: "properties.listeners", + destinationIpRanges: { + serializedName: "properties.destinationIpRanges", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ApplicationGatewayListener" + className: "QosIpRange" } } } }, - sslProfiles: { - serializedName: "properties.sslProfiles", + sourcePortRanges: { + serializedName: "properties.sourcePortRanges", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ApplicationGatewaySslProfile" + className: "QosPortRange" } } } }, - urlPathMaps: { - serializedName: "properties.urlPathMaps", + destinationPortRanges: { + serializedName: "properties.destinationPortRanges", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ApplicationGatewayUrlPathMap" + className: "QosPortRange" } } } }, - requestRoutingRules: { - serializedName: "properties.requestRoutingRules", + protocol: { + serializedName: "properties.protocol", + type: { + name: "String" + } + }, + qosDefinitionCollection: { + serializedName: "properties.qosDefinitionCollection", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ApplicationGatewayRequestRoutingRule" + className: "QosDefinition" } } } }, - routingRules: { - serializedName: "properties.routingRules", + qosCollectionId: { + serializedName: "properties.qosCollectionId", + readOnly: true, + type: { + name: "String" + } + }, + associatedNetworkInterfaces: { + serializedName: "properties.associatedNetworkInterfaces", + readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "ApplicationGatewayRoutingRule" + className: "NetworkInterface" } } } }, - rewriteRuleSets: { - serializedName: "properties.rewriteRuleSets", + resourceGuid: { + serializedName: "properties.resourceGuid", + readOnly: true, + type: { + name: "String" + } + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + +export const ExpressRouteCircuit: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ExpressRouteCircuit", + modelProperties: { + ...Resource.type.modelProperties, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "ExpressRouteCircuitSku" + } + }, + etag: { + serializedName: "etag", + readOnly: true, + type: { + name: "String" + } + }, + allowClassicOperations: { + serializedName: "properties.allowClassicOperations", + type: { + name: "Boolean" + } + }, + circuitProvisioningState: { + serializedName: "properties.circuitProvisioningState", + type: { + name: "String" + } + }, + serviceProviderProvisioningState: { + serializedName: "properties.serviceProviderProvisioningState", + type: { + name: "String" + } + }, + authorizations: { + serializedName: "properties.authorizations", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ApplicationGatewayRewriteRuleSet" + className: "ExpressRouteCircuitAuthorization" } } } }, - redirectConfigurations: { - serializedName: "properties.redirectConfigurations", + peerings: { + serializedName: "properties.peerings", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ApplicationGatewayRedirectConfiguration" + className: "ExpressRouteCircuitPeering" } } } }, - webApplicationFirewallConfiguration: { - serializedName: "properties.webApplicationFirewallConfiguration", + serviceKey: { + serializedName: "properties.serviceKey", + type: { + name: "String" + } + }, + serviceProviderNotes: { + serializedName: "properties.serviceProviderNotes", + type: { + name: "String" + } + }, + serviceProviderProperties: { + serializedName: "properties.serviceProviderProperties", type: { name: "Composite", - className: "ApplicationGatewayWebApplicationFirewallConfiguration" + className: "ExpressRouteCircuitServiceProviderProperties" } }, - firewallPolicy: { - serializedName: "properties.firewallPolicy", + expressRoutePort: { + serializedName: "properties.expressRoutePort", type: { name: "Composite", className: "SubResource" } }, - enableHttp2: { - serializedName: "properties.enableHttp2", + bandwidthInGbps: { + serializedName: "properties.bandwidthInGbps", type: { - name: "Boolean" + name: "Number" } }, - enableFips: { - serializedName: "properties.enableFips", + stag: { + serializedName: "properties.stag", + readOnly: true, type: { - name: "Boolean" + name: "Number" } }, - autoscaleConfiguration: { - serializedName: "properties.autoscaleConfiguration", + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { - name: "Composite", - className: "ApplicationGatewayAutoscaleConfiguration" + name: "String" } }, - privateLinkConfigurations: { - serializedName: "properties.privateLinkConfigurations", + gatewayManagerEtag: { + serializedName: "properties.gatewayManagerEtag", + type: { + name: "String" + } + }, + globalReachEnabled: { + serializedName: "properties.globalReachEnabled", + type: { + name: "Boolean" + } + }, + authorizationKey: { + serializedName: "properties.authorizationKey", + type: { + name: "String" + } + } + } + } +}; + +export const ExpressRouteServiceProvider: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ExpressRouteServiceProvider", + modelProperties: { + ...Resource.type.modelProperties, + peeringLocations: { + serializedName: "properties.peeringLocations", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "ApplicationGatewayPrivateLinkConfiguration" + name: "String" } } } }, - privateEndpointConnections: { - serializedName: "properties.privateEndpointConnections", - readOnly: true, + bandwidthsOffered: { + serializedName: "properties.bandwidthsOffered", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ApplicationGatewayPrivateEndpointConnection" + className: "ExpressRouteServiceProviderBandwidthsOffered" } } } }, - resourceGuid: { - serializedName: "properties.resourceGuid", + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + +export const ExpressRouteCrossConnection: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ExpressRouteCrossConnection", + modelProperties: { + ...Resource.type.modelProperties, + etag: { + serializedName: "etag", readOnly: true, type: { name: "String" } }, - provisioningState: { - serializedName: "properties.provisioningState", + primaryAzurePort: { + serializedName: "properties.primaryAzurePort", readOnly: true, type: { name: "String" } }, - customErrorConfigurations: { - serializedName: "properties.customErrorConfigurations", + secondaryAzurePort: { + serializedName: "properties.secondaryAzurePort", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ApplicationGatewayCustomError" - } - } + name: "String" } }, - forceFirewallPolicyAssociation: { - serializedName: "properties.forceFirewallPolicyAssociation", + sTag: { + serializedName: "properties.sTag", + readOnly: true, type: { - name: "Boolean" + name: "Number" } }, - loadDistributionPolicies: { - serializedName: "properties.loadDistributionPolicies", + peeringLocation: { + serializedName: "properties.peeringLocation", + readOnly: true, + type: { + name: "String" + } + }, + bandwidthInMbps: { + serializedName: "properties.bandwidthInMbps", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ApplicationGatewayLoadDistributionPolicy" - } - } + name: "Number" } }, - globalConfiguration: { - serializedName: "properties.globalConfiguration", + expressRouteCircuit: { + serializedName: "properties.expressRouteCircuit", type: { name: "Composite", - className: "ApplicationGatewayGlobalConfiguration" + className: "ExpressRouteCircuitReference" } - } - } - } -}; - -export const ApplicationGatewayFirewallRuleSet: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ApplicationGatewayFirewallRuleSet", - modelProperties: { - ...Resource.type.modelProperties, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + }, + serviceProviderProvisioningState: { + serializedName: "properties.serviceProviderProvisioningState", type: { name: "String" } }, - ruleSetType: { - serializedName: "properties.ruleSetType", + serviceProviderNotes: { + serializedName: "properties.serviceProviderNotes", type: { name: "String" } }, - ruleSetVersion: { - serializedName: "properties.ruleSetVersion", + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { name: "String" } }, - ruleGroups: { - serializedName: "properties.ruleGroups", + peerings: { + serializedName: "properties.peerings", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ApplicationGatewayFirewallRuleGroup" + className: "ExpressRouteCrossConnectionPeering" } } } @@ -22629,73 +24764,55 @@ export const ApplicationGatewayFirewallRuleSet: coreClient.CompositeMapper = { } }; -export const ApplicationGatewayAvailableSslOptions: coreClient.CompositeMapper = { +export const ExpressRoutePortsLocation: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ApplicationGatewayAvailableSslOptions", + className: "ExpressRoutePortsLocation", modelProperties: { ...Resource.type.modelProperties, - predefinedPolicies: { - serializedName: "properties.predefinedPolicies", + address: { + serializedName: "properties.address", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SubResource" - } - } + name: "String" } }, - defaultPolicy: { - serializedName: "properties.defaultPolicy", + contact: { + serializedName: "properties.contact", + readOnly: true, type: { name: "String" } }, - availableCipherSuites: { - serializedName: "properties.availableCipherSuites", + availableBandwidths: { + serializedName: "properties.availableBandwidths", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "ExpressRoutePortsLocationBandwidths" } } } }, - availableProtocols: { - serializedName: "properties.availableProtocols", + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } } } } }; -export const AzureFirewall: coreClient.CompositeMapper = { +export const ExpressRoutePort: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AzureFirewall", + className: "ExpressRoutePort", modelProperties: { ...Resource.type.modelProperties, - zones: { - serializedName: "zones", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, etag: { serializedName: "etag", readOnly: true, @@ -22703,130 +24820,106 @@ export const AzureFirewall: coreClient.CompositeMapper = { name: "String" } }, - applicationRuleCollections: { - serializedName: "properties.applicationRuleCollections", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AzureFirewallApplicationRuleCollection" - } - } - } - }, - natRuleCollections: { - serializedName: "properties.natRuleCollections", + identity: { + serializedName: "identity", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AzureFirewallNatRuleCollection" - } - } + name: "Composite", + className: "ManagedServiceIdentity" } }, - networkRuleCollections: { - serializedName: "properties.networkRuleCollections", + peeringLocation: { + serializedName: "properties.peeringLocation", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AzureFirewallNetworkRuleCollection" - } - } + name: "String" } }, - ipConfigurations: { - serializedName: "properties.ipConfigurations", + bandwidthInGbps: { + serializedName: "properties.bandwidthInGbps", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AzureFirewallIPConfiguration" - } - } + name: "Number" } }, - managementIpConfiguration: { - serializedName: "properties.managementIpConfiguration", + provisionedBandwidthInGbps: { + serializedName: "properties.provisionedBandwidthInGbps", + readOnly: true, type: { - name: "Composite", - className: "AzureFirewallIPConfiguration" + name: "Number" } }, - provisioningState: { - serializedName: "properties.provisioningState", + mtu: { + serializedName: "properties.mtu", readOnly: true, type: { name: "String" } }, - threatIntelMode: { - serializedName: "properties.threatIntelMode", + encapsulation: { + serializedName: "properties.encapsulation", type: { name: "String" } }, - virtualHub: { - serializedName: "properties.virtualHub", + etherType: { + serializedName: "properties.etherType", + readOnly: true, type: { - name: "Composite", - className: "SubResource" + name: "String" } }, - firewallPolicy: { - serializedName: "properties.firewallPolicy", + allocationDate: { + serializedName: "properties.allocationDate", + readOnly: true, type: { - name: "Composite", - className: "SubResource" + name: "String" } }, - hubIPAddresses: { - serializedName: "properties.hubIPAddresses", + links: { + serializedName: "properties.links", type: { - name: "Composite", - className: "HubIPAddresses" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ExpressRouteLink" + } + } } }, - ipGroups: { - serializedName: "properties.ipGroups", + circuits: { + serializedName: "properties.circuits", readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "AzureFirewallIpGroups" + className: "SubResource" } } } }, - sku: { - serializedName: "properties.sku", + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { - name: "Composite", - className: "AzureFirewallSku" + name: "String" } }, - additionalProperties: { - serializedName: "properties.additionalProperties", + resourceGuid: { + serializedName: "properties.resourceGuid", + readOnly: true, type: { - name: "Dictionary", - value: { type: { name: "String" } } + name: "String" } } } } }; -export const AzureFirewallFqdnTag: coreClient.CompositeMapper = { +export const FirewallPolicy: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AzureFirewallFqdnTag", + className: "FirewallPolicy", modelProperties: { ...Resource.type.modelProperties, etag: { @@ -22836,141 +24929,145 @@ export const AzureFirewallFqdnTag: coreClient.CompositeMapper = { name: "String" } }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + identity: { + serializedName: "identity", type: { - name: "String" + name: "Composite", + className: "ManagedServiceIdentity" } }, - fqdnTagName: { - serializedName: "properties.fqdnTagName", + ruleCollectionGroups: { + serializedName: "properties.ruleCollectionGroups", readOnly: true, type: { - name: "String" - } - } - } - } -}; - -export const BastionHost: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "BastionHost", - modelProperties: { - ...Resource.type.modelProperties, - etag: { - serializedName: "etag", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } + } + }, + provisioningState: { + serializedName: "properties.provisioningState", readOnly: true, type: { name: "String" } }, - sku: { - serializedName: "sku", + basePolicy: { + serializedName: "properties.basePolicy", type: { name: "Composite", - className: "Sku" + className: "SubResource" } }, - ipConfigurations: { - serializedName: "properties.ipConfigurations", + firewalls: { + serializedName: "properties.firewalls", + readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "BastionHostIPConfiguration" + className: "SubResource" } } } }, - dnsName: { - serializedName: "properties.dnsName", + childPolicies: { + serializedName: "properties.childPolicies", + readOnly: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + threatIntelMode: { + serializedName: "properties.threatIntelMode", type: { name: "String" } }, - scaleUnits: { - constraints: { - InclusiveMaximum: 50, - InclusiveMinimum: 2 - }, - serializedName: "properties.scaleUnits", + threatIntelWhitelist: { + serializedName: "properties.threatIntelWhitelist", type: { - name: "Number" + name: "Composite", + className: "FirewallPolicyThreatIntelWhitelist" } }, - disableCopyPaste: { - defaultValue: false, - serializedName: "properties.disableCopyPaste", + insights: { + serializedName: "properties.insights", type: { - name: "Boolean" + name: "Composite", + className: "FirewallPolicyInsights" } }, - enableFileCopy: { - defaultValue: false, - serializedName: "properties.enableFileCopy", + snat: { + serializedName: "properties.snat", type: { - name: "Boolean" + name: "Composite", + className: "FirewallPolicySnat" } }, - enableIpConnect: { - defaultValue: false, - serializedName: "properties.enableIpConnect", + sql: { + serializedName: "properties.sql", type: { - name: "Boolean" + name: "Composite", + className: "FirewallPolicySQL" } }, - enableShareableLink: { - defaultValue: false, - serializedName: "properties.enableShareableLink", + dnsSettings: { + serializedName: "properties.dnsSettings", type: { - name: "Boolean" + name: "Composite", + className: "DnsSettings" } }, - enableTunneling: { - defaultValue: false, - serializedName: "properties.enableTunneling", + explicitProxy: { + serializedName: "properties.explicitProxy", type: { - name: "Boolean" + name: "Composite", + className: "ExplicitProxy" + } + }, + intrusionDetection: { + serializedName: "properties.intrusionDetection", + type: { + name: "Composite", + className: "FirewallPolicyIntrusionDetection" + } + }, + transportSecurity: { + serializedName: "properties.transportSecurity", + type: { + name: "Composite", + className: "FirewallPolicyTransportSecurity" + } + }, + sku: { + serializedName: "properties.sku", + type: { + name: "Composite", + className: "FirewallPolicySku" } } } } }; -export const Vm: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "Vm", - modelProperties: { - ...Resource.type.modelProperties - } - } -}; - -export const CustomIpPrefix: coreClient.CompositeMapper = { +export const IpAllocation: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CustomIpPrefix", + className: "IpAllocation", modelProperties: { ...Resource.type.modelProperties, - extendedLocation: { - serializedName: "extendedLocation", - type: { - name: "Composite", - className: "ExtendedLocation" - } - }, etag: { serializedName: "etag", readOnly: true, @@ -22978,103 +25075,67 @@ export const CustomIpPrefix: coreClient.CompositeMapper = { name: "String" } }, - zones: { - serializedName: "zones", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - cidr: { - serializedName: "properties.cidr", - type: { - name: "String" - } - }, - signedMessage: { - serializedName: "properties.signedMessage", - type: { - name: "String" - } - }, - authorizationMessage: { - serializedName: "properties.authorizationMessage", + subnet: { + serializedName: "properties.subnet", type: { - name: "String" + name: "Composite", + className: "SubResource" } }, - customIpPrefixParent: { - serializedName: "properties.customIpPrefixParent", + virtualNetwork: { + serializedName: "properties.virtualNetwork", type: { name: "Composite", className: "SubResource" } }, - childCustomIpPrefixes: { - serializedName: "properties.childCustomIpPrefixes", - readOnly: true, + typePropertiesType: { + serializedName: "properties.type", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SubResource" - } - } + name: "String" } }, - commissionedState: { - serializedName: "properties.commissionedState", + prefix: { + serializedName: "properties.prefix", type: { name: "String" } }, - publicIpPrefixes: { - serializedName: "properties.publicIpPrefixes", - readOnly: true, + prefixLength: { + defaultValue: 0, + serializedName: "properties.prefixLength", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SubResource" - } - } + name: "Number" } }, - resourceGuid: { - serializedName: "properties.resourceGuid", - readOnly: true, + prefixType: { + serializedName: "properties.prefixType", type: { name: "String" } }, - failedReason: { - serializedName: "properties.failedReason", - readOnly: true, + ipamAllocationId: { + serializedName: "properties.ipamAllocationId", type: { name: "String" } }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + allocationTags: { + serializedName: "properties.allocationTags", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "String" } } } } } } }; -export const DdosCustomPolicy: coreClient.CompositeMapper = { +export const IpGroup: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DdosCustomPolicy", + className: "IpGroup", modelProperties: { ...Resource.type.modelProperties, etag: { @@ -23084,22 +25145,26 @@ export const DdosCustomPolicy: coreClient.CompositeMapper = { name: "String" } }, - resourceGuid: { - serializedName: "properties.resourceGuid", + provisioningState: { + serializedName: "properties.provisioningState", readOnly: true, type: { name: "String" } }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + ipAddresses: { + serializedName: "properties.ipAddresses", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - publicIPAddresses: { - serializedName: "properties.publicIPAddresses", + firewalls: { + serializedName: "properties.firewalls", readOnly: true, type: { name: "Sequence", @@ -23111,14 +25176,15 @@ export const DdosCustomPolicy: coreClient.CompositeMapper = { } } }, - protocolCustomSettings: { - serializedName: "properties.protocolCustomSettings", + firewallPolicies: { + serializedName: "properties.firewallPolicies", + readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "ProtocolCustomSettingsFormat" + className: "SubResource" } } } @@ -23127,12 +25193,26 @@ export const DdosCustomPolicy: coreClient.CompositeMapper = { } }; -export const DscpConfiguration: coreClient.CompositeMapper = { +export const LoadBalancer: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DscpConfiguration", + className: "LoadBalancer", modelProperties: { ...Resource.type.modelProperties, + extendedLocation: { + serializedName: "extendedLocation", + type: { + name: "Composite", + className: "ExtendedLocation" + } + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "LoadBalancerSku" + } + }, etag: { serializedName: "etag", readOnly: true, @@ -23140,99 +25220,86 @@ export const DscpConfiguration: coreClient.CompositeMapper = { name: "String" } }, - markings: { - serializedName: "properties.markings", + frontendIPConfigurations: { + serializedName: "properties.frontendIPConfigurations", type: { name: "Sequence", element: { type: { - name: "Number" + name: "Composite", + className: "FrontendIPConfiguration" } } } }, - sourceIpRanges: { - serializedName: "properties.sourceIpRanges", + backendAddressPools: { + serializedName: "properties.backendAddressPools", type: { name: "Sequence", element: { type: { name: "Composite", - className: "QosIpRange" + className: "BackendAddressPool" } } } }, - destinationIpRanges: { - serializedName: "properties.destinationIpRanges", + loadBalancingRules: { + serializedName: "properties.loadBalancingRules", type: { name: "Sequence", element: { type: { name: "Composite", - className: "QosIpRange" + className: "LoadBalancingRule" } } } }, - sourcePortRanges: { - serializedName: "properties.sourcePortRanges", + probes: { + serializedName: "properties.probes", type: { name: "Sequence", element: { type: { name: "Composite", - className: "QosPortRange" + className: "Probe" } } } }, - destinationPortRanges: { - serializedName: "properties.destinationPortRanges", + inboundNatRules: { + serializedName: "properties.inboundNatRules", type: { name: "Sequence", element: { type: { name: "Composite", - className: "QosPortRange" + className: "InboundNatRule" } } } }, - protocol: { - serializedName: "properties.protocol", - type: { - name: "String" - } - }, - qosDefinitionCollection: { - serializedName: "properties.qosDefinitionCollection", + inboundNatPools: { + serializedName: "properties.inboundNatPools", type: { name: "Sequence", element: { type: { name: "Composite", - className: "QosDefinition" + className: "InboundNatPool" } } } }, - qosCollectionId: { - serializedName: "properties.qosCollectionId", - readOnly: true, - type: { - name: "String" - } - }, - associatedNetworkInterfaces: { - serializedName: "properties.associatedNetworkInterfaces", - readOnly: true, + outboundRules: { + serializedName: "properties.outboundRules", type: { name: "Sequence", element: { type: { name: "Composite", - className: "NetworkInterface" + className: "OutboundRule" } } } @@ -23255,19 +25322,12 @@ export const DscpConfiguration: coreClient.CompositeMapper = { } }; -export const ExpressRouteCircuit: coreClient.CompositeMapper = { +export const NetworkManager: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ExpressRouteCircuit", + className: "NetworkManager", modelProperties: { ...Resource.type.modelProperties, - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "ExpressRouteCircuitSku" - } - }, etag: { serializedName: "etag", readOnly: true, @@ -23275,141 +25335,224 @@ export const ExpressRouteCircuit: coreClient.CompositeMapper = { name: "String" } }, - allowClassicOperations: { - serializedName: "properties.allowClassicOperations", + systemData: { + serializedName: "systemData", type: { - name: "Boolean" + name: "Composite", + className: "SystemData" } }, - circuitProvisioningState: { - serializedName: "properties.circuitProvisioningState", + description: { + serializedName: "properties.description", type: { name: "String" } }, - serviceProviderProvisioningState: { - serializedName: "properties.serviceProviderProvisioningState", + networkManagerScopes: { + serializedName: "properties.networkManagerScopes", + type: { + name: "Composite", + className: "NetworkManagerPropertiesNetworkManagerScopes" + } + }, + networkManagerScopeAccesses: { + serializedName: "properties.networkManagerScopeAccesses", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + +export const NetworkProfile: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "NetworkProfile", + modelProperties: { + ...Resource.type.modelProperties, + etag: { + serializedName: "etag", + readOnly: true, type: { name: "String" } }, - authorizations: { - serializedName: "properties.authorizations", + containerNetworkInterfaces: { + serializedName: "properties.containerNetworkInterfaces", + readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "ExpressRouteCircuitAuthorization" + className: "ContainerNetworkInterface" } } } }, - peerings: { - serializedName: "properties.peerings", + containerNetworkInterfaceConfigurations: { + serializedName: "properties.containerNetworkInterfaceConfigurations", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ExpressRouteCircuitPeering" + className: "ContainerNetworkInterfaceConfiguration" } } } }, - serviceKey: { - serializedName: "properties.serviceKey", + resourceGuid: { + serializedName: "properties.resourceGuid", + readOnly: true, type: { name: "String" } }, - serviceProviderNotes: { - serializedName: "properties.serviceProviderNotes", + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { name: "String" } - }, - serviceProviderProperties: { - serializedName: "properties.serviceProviderProperties", + } + } + } +}; + +export const NetworkVirtualAppliance: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "NetworkVirtualAppliance", + modelProperties: { + ...Resource.type.modelProperties, + identity: { + serializedName: "identity", type: { name: "Composite", - className: "ExpressRouteCircuitServiceProviderProperties" + className: "ManagedServiceIdentity" } }, - expressRoutePort: { - serializedName: "properties.expressRoutePort", + etag: { + serializedName: "etag", + readOnly: true, type: { - name: "Composite", - className: "SubResource" + name: "String" } }, - bandwidthInGbps: { - serializedName: "properties.bandwidthInGbps", + nvaSku: { + serializedName: "properties.nvaSku", type: { - name: "Number" + name: "Composite", + className: "VirtualApplianceSkuProperties" } }, - stag: { - serializedName: "properties.stag", + addressPrefix: { + serializedName: "properties.addressPrefix", readOnly: true, type: { - name: "Number" + name: "String" } }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + bootStrapConfigurationBlobs: { + serializedName: "properties.bootStrapConfigurationBlobs", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - gatewayManagerEtag: { - serializedName: "properties.gatewayManagerEtag", + virtualHub: { + serializedName: "properties.virtualHub", + type: { + name: "Composite", + className: "SubResource" + } + }, + cloudInitConfigurationBlobs: { + serializedName: "properties.cloudInitConfigurationBlobs", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + cloudInitConfiguration: { + serializedName: "properties.cloudInitConfiguration", type: { name: "String" } }, - globalReachEnabled: { - serializedName: "properties.globalReachEnabled", + virtualApplianceAsn: { + constraints: { + InclusiveMaximum: 4294967295, + InclusiveMinimum: 0 + }, + serializedName: "properties.virtualApplianceAsn", type: { - name: "Boolean" + name: "Number" } }, - authorizationKey: { - serializedName: "properties.authorizationKey", + sshPublicKey: { + serializedName: "properties.sshPublicKey", type: { name: "String" } - } - } - } -}; - -export const ExpressRouteServiceProvider: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ExpressRouteServiceProvider", - modelProperties: { - ...Resource.type.modelProperties, - peeringLocations: { - serializedName: "properties.peeringLocations", + }, + virtualApplianceNics: { + serializedName: "properties.virtualApplianceNics", + readOnly: true, type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "VirtualApplianceNicProperties" + } + } + } + }, + virtualApplianceSites: { + serializedName: "properties.virtualApplianceSites", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" } } } }, - bandwidthsOffered: { - serializedName: "properties.bandwidthsOffered", + inboundSecurityRules: { + serializedName: "properties.inboundSecurityRules", + readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "ExpressRouteServiceProviderBandwidthsOffered" + className: "SubResource" } } } @@ -23425,10 +25568,10 @@ export const ExpressRouteServiceProvider: coreClient.CompositeMapper = { } }; -export const ExpressRouteCrossConnection: coreClient.CompositeMapper = { +export const NetworkVirtualApplianceSku: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ExpressRouteCrossConnection", + className: "NetworkVirtualApplianceSku", modelProperties: { ...Resource.type.modelProperties, etag: { @@ -23438,75 +25581,33 @@ export const ExpressRouteCrossConnection: coreClient.CompositeMapper = { name: "String" } }, - primaryAzurePort: { - serializedName: "properties.primaryAzurePort", - readOnly: true, - type: { - name: "String" - } - }, - secondaryAzurePort: { - serializedName: "properties.secondaryAzurePort", - readOnly: true, - type: { - name: "String" - } - }, - sTag: { - serializedName: "properties.sTag", - readOnly: true, - type: { - name: "Number" - } - }, - peeringLocation: { - serializedName: "properties.peeringLocation", - readOnly: true, - type: { - name: "String" - } - }, - bandwidthInMbps: { - serializedName: "properties.bandwidthInMbps", + vendor: { + serializedName: "properties.vendor", readOnly: true, - type: { - name: "Number" - } - }, - expressRouteCircuit: { - serializedName: "properties.expressRouteCircuit", - type: { - name: "Composite", - className: "ExpressRouteCircuitReference" - } - }, - serviceProviderProvisioningState: { - serializedName: "properties.serviceProviderProvisioningState", - type: { - name: "String" - } - }, - serviceProviderNotes: { - serializedName: "properties.serviceProviderNotes", type: { name: "String" } }, - provisioningState: { - serializedName: "properties.provisioningState", + availableVersions: { + serializedName: "properties.availableVersions", readOnly: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - peerings: { - serializedName: "properties.peerings", + availableScaleUnits: { + serializedName: "properties.availableScaleUnits", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ExpressRouteCrossConnectionPeering" + className: "NetworkVirtualApplianceSkuInstances" } } } @@ -23515,38 +25616,19 @@ export const ExpressRouteCrossConnection: coreClient.CompositeMapper = { } }; -export const ExpressRoutePortsLocation: coreClient.CompositeMapper = { +export const NetworkWatcher: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ExpressRoutePortsLocation", + className: "NetworkWatcher", modelProperties: { ...Resource.type.modelProperties, - address: { - serializedName: "properties.address", - readOnly: true, - type: { - name: "String" - } - }, - contact: { - serializedName: "properties.contact", + etag: { + serializedName: "etag", readOnly: true, type: { name: "String" } }, - availableBandwidths: { - serializedName: "properties.availableBandwidths", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ExpressRoutePortsLocationBandwidths" - } - } - } - }, provisioningState: { serializedName: "properties.provisioningState", readOnly: true, @@ -23558,95 +25640,107 @@ export const ExpressRoutePortsLocation: coreClient.CompositeMapper = { } }; -export const ExpressRoutePort: coreClient.CompositeMapper = { +export const PublicIPPrefix: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ExpressRoutePort", + className: "PublicIPPrefix", modelProperties: { ...Resource.type.modelProperties, - etag: { - serializedName: "etag", - readOnly: true, + extendedLocation: { + serializedName: "extendedLocation", type: { - name: "String" + name: "Composite", + className: "ExtendedLocation" } }, - identity: { - serializedName: "identity", + sku: { + serializedName: "sku", type: { name: "Composite", - className: "ManagedServiceIdentity" + className: "PublicIPPrefixSku" } }, - peeringLocation: { - serializedName: "properties.peeringLocation", + etag: { + serializedName: "etag", + readOnly: true, type: { name: "String" } }, - bandwidthInGbps: { - serializedName: "properties.bandwidthInGbps", - type: { - name: "Number" - } - }, - provisionedBandwidthInGbps: { - serializedName: "properties.provisionedBandwidthInGbps", - readOnly: true, + zones: { + serializedName: "zones", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - mtu: { - serializedName: "properties.mtu", - readOnly: true, + publicIPAddressVersion: { + serializedName: "properties.publicIPAddressVersion", type: { name: "String" } }, - encapsulation: { - serializedName: "properties.encapsulation", + ipTags: { + serializedName: "properties.ipTags", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IpTag" + } + } } }, - etherType: { - serializedName: "properties.etherType", - readOnly: true, + prefixLength: { + serializedName: "properties.prefixLength", type: { - name: "String" + name: "Number" } }, - allocationDate: { - serializedName: "properties.allocationDate", + ipPrefix: { + serializedName: "properties.ipPrefix", readOnly: true, type: { name: "String" } }, - links: { - serializedName: "properties.links", + publicIPAddresses: { + serializedName: "properties.publicIPAddresses", + readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "ExpressRouteLink" + className: "ReferencedPublicIpAddress" } } } }, - circuits: { - serializedName: "properties.circuits", + loadBalancerFrontendIpConfiguration: { + serializedName: "properties.loadBalancerFrontendIpConfiguration", + type: { + name: "Composite", + className: "SubResource" + } + }, + customIPPrefix: { + serializedName: "properties.customIPPrefix", + type: { + name: "Composite", + className: "SubResource" + } + }, + resourceGuid: { + serializedName: "properties.resourceGuid", readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SubResource" - } - } + name: "String" } }, provisioningState: { @@ -23656,21 +25750,21 @@ export const ExpressRoutePort: coreClient.CompositeMapper = { name: "String" } }, - resourceGuid: { - serializedName: "properties.resourceGuid", - readOnly: true, + natGateway: { + serializedName: "properties.natGateway", type: { - name: "String" + name: "Composite", + className: "NatGateway" } } } } }; -export const FirewallPolicy: coreClient.CompositeMapper = { +export const RouteFilter: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FirewallPolicy", + className: "RouteFilter", modelProperties: { ...Resource.type.modelProperties, etag: { @@ -23680,145 +25774,140 @@ export const FirewallPolicy: coreClient.CompositeMapper = { name: "String" } }, - identity: { - serializedName: "identity", - type: { - name: "Composite", - className: "ManagedServiceIdentity" - } - }, - ruleCollectionGroups: { - serializedName: "properties.ruleCollectionGroups", - readOnly: true, + rules: { + serializedName: "properties.rules", type: { name: "Sequence", element: { type: { name: "Composite", - className: "SubResource" + className: "RouteFilterRule" } } } }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, - type: { - name: "String" - } - }, - basePolicy: { - serializedName: "properties.basePolicy", - type: { - name: "Composite", - className: "SubResource" - } - }, - firewalls: { - serializedName: "properties.firewalls", + peerings: { + serializedName: "properties.peerings", readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "SubResource" + className: "ExpressRouteCircuitPeering" } } } }, - childPolicies: { - serializedName: "properties.childPolicies", + ipv6Peerings: { + serializedName: "properties.ipv6Peerings", readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "SubResource" + className: "ExpressRouteCircuitPeering" } } } }, - threatIntelMode: { - serializedName: "properties.threatIntelMode", + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { name: "String" } - }, - threatIntelWhitelist: { - serializedName: "properties.threatIntelWhitelist", - type: { - name: "Composite", - className: "FirewallPolicyThreatIntelWhitelist" - } - }, - insights: { - serializedName: "properties.insights", - type: { - name: "Composite", - className: "FirewallPolicyInsights" - } - }, - snat: { - serializedName: "properties.snat", + } + } + } +}; + +export const SecurityPartnerProvider: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SecurityPartnerProvider", + modelProperties: { + ...Resource.type.modelProperties, + etag: { + serializedName: "etag", + readOnly: true, type: { - name: "Composite", - className: "FirewallPolicySnat" + name: "String" } }, - sql: { - serializedName: "properties.sql", + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { - name: "Composite", - className: "FirewallPolicySQL" + name: "String" } }, - dnsSettings: { - serializedName: "properties.dnsSettings", + securityProviderName: { + serializedName: "properties.securityProviderName", type: { - name: "Composite", - className: "DnsSettings" + name: "String" } }, - explicitProxySettings: { - serializedName: "properties.explicitProxySettings", + connectionStatus: { + serializedName: "properties.connectionStatus", + readOnly: true, type: { - name: "Composite", - className: "ExplicitProxySettings" + name: "String" } }, - intrusionDetection: { - serializedName: "properties.intrusionDetection", + virtualHub: { + serializedName: "properties.virtualHub", type: { name: "Composite", - className: "FirewallPolicyIntrusionDetection" + className: "SubResource" } - }, - transportSecurity: { - serializedName: "properties.transportSecurity", + } + } + } +}; + +export const BgpServiceCommunity: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "BgpServiceCommunity", + modelProperties: { + ...Resource.type.modelProperties, + serviceName: { + serializedName: "properties.serviceName", type: { - name: "Composite", - className: "FirewallPolicyTransportSecurity" + name: "String" } }, - sku: { - serializedName: "properties.sku", + bgpCommunities: { + serializedName: "properties.bgpCommunities", type: { - name: "Composite", - className: "FirewallPolicySku" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "BGPCommunity" + } + } } } } } }; -export const IpAllocation: coreClient.CompositeMapper = { +export const VirtualNetwork: coreClient.CompositeMapper = { type: { name: "Composite", - className: "IpAllocation", + className: "VirtualNetwork", modelProperties: { ...Resource.type.modelProperties, + extendedLocation: { + serializedName: "extendedLocation", + type: { + name: "Composite", + className: "ExtendedLocation" + } + }, etag: { serializedName: "etag", readOnly: true, @@ -23826,110 +25915,101 @@ export const IpAllocation: coreClient.CompositeMapper = { name: "String" } }, - subnet: { - serializedName: "properties.subnet", + addressSpace: { + serializedName: "properties.addressSpace", type: { name: "Composite", - className: "SubResource" + className: "AddressSpace" } }, - virtualNetwork: { - serializedName: "properties.virtualNetwork", + dhcpOptions: { + serializedName: "properties.dhcpOptions", type: { name: "Composite", - className: "SubResource" + className: "DhcpOptions" } }, - typePropertiesType: { - serializedName: "properties.type", + flowTimeoutInMinutes: { + serializedName: "properties.flowTimeoutInMinutes", type: { - name: "String" + name: "Number" } }, - prefix: { - serializedName: "properties.prefix", + subnets: { + serializedName: "properties.subnets", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Subnet" + } + } } }, - prefixLength: { - defaultValue: 0, - serializedName: "properties.prefixLength", - nullable: true, + virtualNetworkPeerings: { + serializedName: "properties.virtualNetworkPeerings", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VirtualNetworkPeering" + } + } } }, - prefixType: { - serializedName: "properties.prefixType", + resourceGuid: { + serializedName: "properties.resourceGuid", + readOnly: true, type: { name: "String" } }, - ipamAllocationId: { - serializedName: "properties.ipamAllocationId", + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { name: "String" } }, - allocationTags: { - serializedName: "properties.allocationTags", + enableDdosProtection: { + defaultValue: false, + serializedName: "properties.enableDdosProtection", type: { - name: "Dictionary", - value: { type: { name: "String" } } + name: "Boolean" } - } - } - } -}; - -export const IpGroup: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "IpGroup", - modelProperties: { - ...Resource.type.modelProperties, - etag: { - serializedName: "etag", - readOnly: true, + }, + enableVmProtection: { + defaultValue: false, + serializedName: "properties.enableVmProtection", type: { - name: "String" + name: "Boolean" } }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + ddosProtectionPlan: { + serializedName: "properties.ddosProtectionPlan", type: { - name: "String" + name: "Composite", + className: "SubResource" } }, - ipAddresses: { - serializedName: "properties.ipAddresses", + bgpCommunities: { + serializedName: "properties.bgpCommunities", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Composite", + className: "VirtualNetworkBgpCommunities" } }, - firewalls: { - serializedName: "properties.firewalls", - readOnly: true, + encryption: { + serializedName: "properties.encryption", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SubResource" - } - } + name: "Composite", + className: "VirtualNetworkEncryption" } }, - firewallPolicies: { - serializedName: "properties.firewallPolicies", - readOnly: true, + ipAllocations: { + serializedName: "properties.ipAllocations", type: { name: "Sequence", element: { @@ -23944,10 +26024,27 @@ export const IpGroup: coreClient.CompositeMapper = { } }; -export const LoadBalancer: coreClient.CompositeMapper = { +export const NetworkIntentPolicy: coreClient.CompositeMapper = { type: { name: "Composite", - className: "LoadBalancer", + className: "NetworkIntentPolicy", + modelProperties: { + ...Resource.type.modelProperties, + etag: { + serializedName: "etag", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + +export const VirtualNetworkGateway: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualNetworkGateway", modelProperties: { ...Resource.type.modelProperties, extendedLocation: { @@ -23957,13 +26054,6 @@ export const LoadBalancer: coreClient.CompositeMapper = { className: "ExtendedLocation" } }, - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "LoadBalancerSku" - } - }, etag: { serializedName: "etag", readOnly: true, @@ -23971,88 +26061,93 @@ export const LoadBalancer: coreClient.CompositeMapper = { name: "String" } }, - frontendIPConfigurations: { - serializedName: "properties.frontendIPConfigurations", + ipConfigurations: { + serializedName: "properties.ipConfigurations", type: { name: "Sequence", element: { type: { name: "Composite", - className: "FrontendIPConfiguration" + className: "VirtualNetworkGatewayIPConfiguration" } } } }, - backendAddressPools: { - serializedName: "properties.backendAddressPools", + gatewayType: { + serializedName: "properties.gatewayType", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "BackendAddressPool" - } - } + name: "String" } }, - loadBalancingRules: { - serializedName: "properties.loadBalancingRules", + vpnType: { + serializedName: "properties.vpnType", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "LoadBalancingRule" - } - } + name: "String" } }, - probes: { - serializedName: "properties.probes", + vpnGatewayGeneration: { + serializedName: "properties.vpnGatewayGeneration", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Probe" - } - } + name: "String" } }, - inboundNatRules: { - serializedName: "properties.inboundNatRules", + enableBgp: { + serializedName: "properties.enableBgp", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "InboundNatRule" - } - } + name: "Boolean" } }, - inboundNatPools: { - serializedName: "properties.inboundNatPools", + enablePrivateIpAddress: { + serializedName: "properties.enablePrivateIpAddress", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "InboundNatPool" - } - } + name: "Boolean" } }, - outboundRules: { - serializedName: "properties.outboundRules", + active: { + serializedName: "properties.activeActive", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "OutboundRule" - } - } + name: "Boolean" + } + }, + disableIPSecReplayProtection: { + serializedName: "properties.disableIPSecReplayProtection", + type: { + name: "Boolean" + } + }, + gatewayDefaultSite: { + serializedName: "properties.gatewayDefaultSite", + type: { + name: "Composite", + className: "SubResource" + } + }, + sku: { + serializedName: "properties.sku", + type: { + name: "Composite", + className: "VirtualNetworkGatewaySku" + } + }, + vpnClientConfiguration: { + serializedName: "properties.vpnClientConfiguration", + type: { + name: "Composite", + className: "VpnClientConfiguration" + } + }, + bgpSettings: { + serializedName: "properties.bgpSettings", + type: { + name: "Composite", + className: "BgpSettings" + } + }, + customRoutes: { + serializedName: "properties.customRoutes", + type: { + name: "Composite", + className: "AddressSpace" } }, resourceGuid: { @@ -24068,80 +26163,54 @@ export const LoadBalancer: coreClient.CompositeMapper = { type: { name: "String" } - } - } - } -}; - -export const NetworkProfile: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "NetworkProfile", - modelProperties: { - ...Resource.type.modelProperties, - etag: { - serializedName: "etag", + }, + enableDnsForwarding: { + serializedName: "properties.enableDnsForwarding", + type: { + name: "Boolean" + } + }, + inboundDnsForwardingEndpoint: { + serializedName: "properties.inboundDnsForwardingEndpoint", readOnly: true, type: { name: "String" } }, - containerNetworkInterfaces: { - serializedName: "properties.containerNetworkInterfaces", - readOnly: true, + vNetExtendedLocationResourceId: { + serializedName: "properties.vNetExtendedLocationResourceId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ContainerNetworkInterface" - } - } + name: "String" } }, - containerNetworkInterfaceConfigurations: { - serializedName: "properties.containerNetworkInterfaceConfigurations", + natRules: { + serializedName: "properties.natRules", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ContainerNetworkInterfaceConfiguration" + className: "VirtualNetworkGatewayNatRule" } } } }, - resourceGuid: { - serializedName: "properties.resourceGuid", - readOnly: true, - type: { - name: "String" - } - }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + enableBgpRouteTranslationForNat: { + serializedName: "properties.enableBgpRouteTranslationForNat", type: { - name: "String" + name: "Boolean" } } } } }; -export const NetworkVirtualAppliance: coreClient.CompositeMapper = { +export const VirtualNetworkGatewayConnectionListEntity: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NetworkVirtualAppliance", + className: "VirtualNetworkGatewayConnectionListEntity", modelProperties: { ...Resource.type.modelProperties, - identity: { - serializedName: "identity", - type: { - name: "Composite", - className: "ManagedServiceIdentity" - } - }, etag: { serializedName: "etag", readOnly: true, @@ -24149,177 +26218,155 @@ export const NetworkVirtualAppliance: coreClient.CompositeMapper = { name: "String" } }, - nvaSku: { - serializedName: "properties.nvaSku", + authorizationKey: { + serializedName: "properties.authorizationKey", type: { - name: "Composite", - className: "VirtualApplianceSkuProperties" + name: "String" } }, - addressPrefix: { - serializedName: "properties.addressPrefix", - readOnly: true, + virtualNetworkGateway1: { + serializedName: "properties.virtualNetworkGateway1", type: { - name: "String" + name: "Composite", + className: "VirtualNetworkConnectionGatewayReference" } }, - bootStrapConfigurationBlobs: { - serializedName: "properties.bootStrapConfigurationBlobs", + virtualNetworkGateway2: { + serializedName: "properties.virtualNetworkGateway2", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Composite", + className: "VirtualNetworkConnectionGatewayReference" } }, - virtualHub: { - serializedName: "properties.virtualHub", + localNetworkGateway2: { + serializedName: "properties.localNetworkGateway2", type: { name: "Composite", - className: "SubResource" + className: "VirtualNetworkConnectionGatewayReference" } }, - cloudInitConfigurationBlobs: { - serializedName: "properties.cloudInitConfigurationBlobs", + connectionType: { + serializedName: "properties.connectionType", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - cloudInitConfiguration: { - serializedName: "properties.cloudInitConfiguration", + connectionProtocol: { + serializedName: "properties.connectionProtocol", type: { name: "String" } }, - virtualApplianceAsn: { - constraints: { - InclusiveMaximum: 4294967295, - InclusiveMinimum: 0 - }, - serializedName: "properties.virtualApplianceAsn", + routingWeight: { + serializedName: "properties.routingWeight", + type: { + name: "Number" + } + }, + connectionMode: { + serializedName: "properties.connectionMode", + type: { + name: "String" + } + }, + sharedKey: { + serializedName: "properties.sharedKey", type: { - name: "Number" + name: "String" } }, - sshPublicKey: { - serializedName: "properties.sshPublicKey", + connectionStatus: { + serializedName: "properties.connectionStatus", + readOnly: true, type: { name: "String" } }, - virtualApplianceNics: { - serializedName: "properties.virtualApplianceNics", + tunnelConnectionStatus: { + serializedName: "properties.tunnelConnectionStatus", readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "VirtualApplianceNicProperties" + className: "TunnelConnectionHealth" } } } }, - virtualApplianceSites: { - serializedName: "properties.virtualApplianceSites", + egressBytesTransferred: { + serializedName: "properties.egressBytesTransferred", readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SubResource" - } - } + name: "Number" } }, - inboundSecurityRules: { - serializedName: "properties.inboundSecurityRules", + ingressBytesTransferred: { + serializedName: "properties.ingressBytesTransferred", readOnly: true, + type: { + name: "Number" + } + }, + peer: { + serializedName: "properties.peer", + type: { + name: "Composite", + className: "SubResource" + } + }, + enableBgp: { + serializedName: "properties.enableBgp", + type: { + name: "Boolean" + } + }, + gatewayCustomBgpIpAddresses: { + serializedName: "properties.gatewayCustomBgpIpAddresses", type: { name: "Sequence", element: { type: { name: "Composite", - className: "SubResource" + className: "GatewayCustomBgpIpAddressIpConfiguration" } } } }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, - type: { - name: "String" - } - } - } - } -}; - -export const NetworkVirtualApplianceSku: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "NetworkVirtualApplianceSku", - modelProperties: { - ...Resource.type.modelProperties, - etag: { - serializedName: "etag", - readOnly: true, - type: { - name: "String" - } - }, - vendor: { - serializedName: "properties.vendor", - readOnly: true, + usePolicyBasedTrafficSelectors: { + serializedName: "properties.usePolicyBasedTrafficSelectors", type: { - name: "String" + name: "Boolean" } }, - availableVersions: { - serializedName: "properties.availableVersions", - readOnly: true, + ipsecPolicies: { + serializedName: "properties.ipsecPolicies", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "IpsecPolicy" } } } }, - availableScaleUnits: { - serializedName: "properties.availableScaleUnits", + trafficSelectorPolicies: { + serializedName: "properties.trafficSelectorPolicies", type: { name: "Sequence", element: { type: { name: "Composite", - className: "NetworkVirtualApplianceSkuInstances" + className: "TrafficSelectorPolicy" } } } - } - } - } -}; - -export const NetworkWatcher: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "NetworkWatcher", - modelProperties: { - ...Resource.type.modelProperties, - etag: { - serializedName: "etag", + }, + resourceGuid: { + serializedName: "properties.resourceGuid", readOnly: true, type: { name: "String" @@ -24331,31 +26378,23 @@ export const NetworkWatcher: coreClient.CompositeMapper = { type: { name: "String" } + }, + expressRouteGatewayBypass: { + serializedName: "properties.expressRouteGatewayBypass", + type: { + name: "Boolean" + } } } } }; -export const PublicIPPrefix: coreClient.CompositeMapper = { +export const LocalNetworkGateway: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PublicIPPrefix", + className: "LocalNetworkGateway", modelProperties: { ...Resource.type.modelProperties, - extendedLocation: { - serializedName: "extendedLocation", - type: { - name: "Composite", - className: "ExtendedLocation" - } - }, - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "PublicIPPrefixSku" - } - }, etag: { serializedName: "etag", readOnly: true, @@ -24363,73 +26402,30 @@ export const PublicIPPrefix: coreClient.CompositeMapper = { name: "String" } }, - zones: { - serializedName: "zones", + localNetworkAddressSpace: { + serializedName: "properties.localNetworkAddressSpace", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Composite", + className: "AddressSpace" } }, - publicIPAddressVersion: { - serializedName: "properties.publicIPAddressVersion", + gatewayIpAddress: { + serializedName: "properties.gatewayIpAddress", type: { name: "String" } }, - ipTags: { - serializedName: "properties.ipTags", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "IpTag" - } - } - } - }, - prefixLength: { - serializedName: "properties.prefixLength", - type: { - name: "Number" - } - }, - ipPrefix: { - serializedName: "properties.ipPrefix", - readOnly: true, + fqdn: { + serializedName: "properties.fqdn", type: { name: "String" } }, - publicIPAddresses: { - serializedName: "properties.publicIPAddresses", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ReferencedPublicIpAddress" - } - } - } - }, - loadBalancerFrontendIpConfiguration: { - serializedName: "properties.loadBalancerFrontendIpConfiguration", - type: { - name: "Composite", - className: "SubResource" - } - }, - customIPPrefix: { - serializedName: "properties.customIPPrefix", + bgpSettings: { + serializedName: "properties.bgpSettings", type: { name: "Composite", - className: "SubResource" + className: "BgpSettings" } }, resourceGuid: { @@ -24445,22 +26441,15 @@ export const PublicIPPrefix: coreClient.CompositeMapper = { type: { name: "String" } - }, - natGateway: { - serializedName: "properties.natGateway", - type: { - name: "Composite", - className: "NatGateway" - } } } } }; -export const RouteFilter: coreClient.CompositeMapper = { +export const VirtualNetworkGatewayConnection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RouteFilter", + className: "VirtualNetworkGatewayConnection", modelProperties: { ...Resource.type.modelProperties, etag: { @@ -24470,187 +26459,185 @@ export const RouteFilter: coreClient.CompositeMapper = { name: "String" } }, - rules: { - serializedName: "properties.rules", + authorizationKey: { + serializedName: "properties.authorizationKey", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RouteFilterRule" - } - } + name: "String" } }, - peerings: { - serializedName: "properties.peerings", - readOnly: true, + virtualNetworkGateway1: { + serializedName: "properties.virtualNetworkGateway1", + type: { + name: "Composite", + className: "VirtualNetworkGateway" + } + }, + virtualNetworkGateway2: { + serializedName: "properties.virtualNetworkGateway2", + type: { + name: "Composite", + className: "VirtualNetworkGateway" + } + }, + localNetworkGateway2: { + serializedName: "properties.localNetworkGateway2", + type: { + name: "Composite", + className: "LocalNetworkGateway" + } + }, + ingressNatRules: { + serializedName: "properties.ingressNatRules", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ExpressRouteCircuitPeering" + className: "SubResource" } } } }, - ipv6Peerings: { - serializedName: "properties.ipv6Peerings", - readOnly: true, + egressNatRules: { + serializedName: "properties.egressNatRules", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ExpressRouteCircuitPeering" + className: "SubResource" } } } }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + connectionType: { + serializedName: "properties.connectionType", + required: true, type: { name: "String" } - } - } - } -}; - -export const SecurityPartnerProvider: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "SecurityPartnerProvider", - modelProperties: { - ...Resource.type.modelProperties, - etag: { - serializedName: "etag", - readOnly: true, + }, + connectionProtocol: { + serializedName: "properties.connectionProtocol", type: { name: "String" } }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + routingWeight: { + serializedName: "properties.routingWeight", type: { - name: "String" + name: "Number" } }, - securityProviderName: { - serializedName: "properties.securityProviderName", + dpdTimeoutSeconds: { + serializedName: "properties.dpdTimeoutSeconds", type: { - name: "String" + name: "Number" } }, - connectionStatus: { - serializedName: "properties.connectionStatus", - readOnly: true, + connectionMode: { + serializedName: "properties.connectionMode", type: { name: "String" } }, - virtualHub: { - serializedName: "properties.virtualHub", + sharedKey: { + serializedName: "properties.sharedKey", type: { - name: "Composite", - className: "SubResource" + name: "String" } - } - } - } -}; - -export const BgpServiceCommunity: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "BgpServiceCommunity", - modelProperties: { - ...Resource.type.modelProperties, - serviceName: { - serializedName: "properties.serviceName", + }, + connectionStatus: { + serializedName: "properties.connectionStatus", + readOnly: true, type: { name: "String" } }, - bgpCommunities: { - serializedName: "properties.bgpCommunities", + tunnelConnectionStatus: { + serializedName: "properties.tunnelConnectionStatus", + readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "BGPCommunity" + className: "TunnelConnectionHealth" } } } - } - } - } -}; - -export const VirtualNetwork: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "VirtualNetwork", - modelProperties: { - ...Resource.type.modelProperties, - extendedLocation: { - serializedName: "extendedLocation", + }, + egressBytesTransferred: { + serializedName: "properties.egressBytesTransferred", + readOnly: true, type: { - name: "Composite", - className: "ExtendedLocation" + name: "Number" } }, - etag: { - serializedName: "etag", + ingressBytesTransferred: { + serializedName: "properties.ingressBytesTransferred", readOnly: true, type: { - name: "String" + name: "Number" } }, - addressSpace: { - serializedName: "properties.addressSpace", + peer: { + serializedName: "properties.peer", type: { name: "Composite", - className: "AddressSpace" + className: "SubResource" } }, - dhcpOptions: { - serializedName: "properties.dhcpOptions", + enableBgp: { + serializedName: "properties.enableBgp", type: { - name: "Composite", - className: "DhcpOptions" + name: "Boolean" } }, - flowTimeoutInMinutes: { - serializedName: "properties.flowTimeoutInMinutes", + gatewayCustomBgpIpAddresses: { + serializedName: "properties.gatewayCustomBgpIpAddresses", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "GatewayCustomBgpIpAddressIpConfiguration" + } + } } }, - subnets: { - serializedName: "properties.subnets", + useLocalAzureIpAddress: { + serializedName: "properties.useLocalAzureIpAddress", + type: { + name: "Boolean" + } + }, + usePolicyBasedTrafficSelectors: { + serializedName: "properties.usePolicyBasedTrafficSelectors", + type: { + name: "Boolean" + } + }, + ipsecPolicies: { + serializedName: "properties.ipsecPolicies", type: { name: "Sequence", element: { type: { name: "Composite", - className: "Subnet" + className: "IpsecPolicy" } } } }, - virtualNetworkPeerings: { - serializedName: "properties.virtualNetworkPeerings", + trafficSelectorPolicies: { + serializedName: "properties.trafficSelectorPolicies", type: { name: "Sequence", element: { type: { name: "Composite", - className: "VirtualNetworkPeering" + className: "TrafficSelectorPolicy" } } } @@ -24669,43 +26656,67 @@ export const VirtualNetwork: coreClient.CompositeMapper = { name: "String" } }, - enableDdosProtection: { - defaultValue: false, - serializedName: "properties.enableDdosProtection", + expressRouteGatewayBypass: { + serializedName: "properties.expressRouteGatewayBypass", type: { name: "Boolean" } + } + } + } +}; + +export const VirtualRouter: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualRouter", + modelProperties: { + ...Resource.type.modelProperties, + etag: { + serializedName: "etag", + readOnly: true, + type: { + name: "String" + } }, - enableVmProtection: { - defaultValue: false, - serializedName: "properties.enableVmProtection", + virtualRouterAsn: { + constraints: { + InclusiveMaximum: 4294967295, + InclusiveMinimum: 0 + }, + serializedName: "properties.virtualRouterAsn", type: { - name: "Boolean" + name: "Number" } }, - ddosProtectionPlan: { - serializedName: "properties.ddosProtectionPlan", + virtualRouterIps: { + serializedName: "properties.virtualRouterIps", type: { - name: "Composite", - className: "SubResource" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - bgpCommunities: { - serializedName: "properties.bgpCommunities", + hostedSubnet: { + serializedName: "properties.hostedSubnet", type: { name: "Composite", - className: "VirtualNetworkBgpCommunities" + className: "SubResource" } }, - encryption: { - serializedName: "properties.encryption", + hostedGateway: { + serializedName: "properties.hostedGateway", type: { name: "Composite", - className: "VirtualNetworkEncryption" + className: "SubResource" } }, - ipAllocations: { - serializedName: "properties.ipAllocations", + peerings: { + serializedName: "properties.peerings", + readOnly: true, type: { name: "Sequence", element: { @@ -24715,15 +26726,22 @@ export const VirtualNetwork: coreClient.CompositeMapper = { } } } + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + type: { + name: "String" + } } } } }; -export const NetworkIntentPolicy: coreClient.CompositeMapper = { +export const VirtualWAN: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NetworkIntentPolicy", + className: "VirtualWAN", modelProperties: { ...Resource.type.modelProperties, etag: { @@ -24732,125 +26750,126 @@ export const NetworkIntentPolicy: coreClient.CompositeMapper = { type: { name: "String" } - } - } - } -}; - -export const VirtualNetworkGateway: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "VirtualNetworkGateway", - modelProperties: { - ...Resource.type.modelProperties, - extendedLocation: { - serializedName: "extendedLocation", + }, + disableVpnEncryption: { + serializedName: "properties.disableVpnEncryption", type: { - name: "Composite", - className: "ExtendedLocation" + name: "Boolean" } }, - etag: { - serializedName: "etag", + virtualHubs: { + serializedName: "properties.virtualHubs", readOnly: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, - ipConfigurations: { - serializedName: "properties.ipConfigurations", + vpnSites: { + serializedName: "properties.vpnSites", + readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "VirtualNetworkGatewayIPConfiguration" + className: "SubResource" } } } }, - gatewayType: { - serializedName: "properties.gatewayType", + allowBranchToBranchTraffic: { + serializedName: "properties.allowBranchToBranchTraffic", type: { - name: "String" + name: "Boolean" } }, - vpnType: { - serializedName: "properties.vpnType", + allowVnetToVnetTraffic: { + serializedName: "properties.allowVnetToVnetTraffic", type: { - name: "String" + name: "Boolean" } }, - vpnGatewayGeneration: { - serializedName: "properties.vpnGatewayGeneration", + office365LocalBreakoutCategory: { + serializedName: "properties.office365LocalBreakoutCategory", + readOnly: true, type: { name: "String" } }, - enableBgp: { - serializedName: "properties.enableBgp", - type: { - name: "Boolean" - } - }, - enablePrivateIpAddress: { - serializedName: "properties.enablePrivateIpAddress", + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { - name: "Boolean" + name: "String" } }, - active: { - serializedName: "properties.activeActive", + typePropertiesType: { + serializedName: "properties.type", type: { - name: "Boolean" + name: "String" } - }, - disableIPSecReplayProtection: { - serializedName: "properties.disableIPSecReplayProtection", + } + } + } +}; + +export const VpnSite: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VpnSite", + modelProperties: { + ...Resource.type.modelProperties, + etag: { + serializedName: "etag", + readOnly: true, type: { - name: "Boolean" + name: "String" } }, - gatewayDefaultSite: { - serializedName: "properties.gatewayDefaultSite", + virtualWan: { + serializedName: "properties.virtualWan", type: { name: "Composite", className: "SubResource" } }, - sku: { - serializedName: "properties.sku", + deviceProperties: { + serializedName: "properties.deviceProperties", type: { name: "Composite", - className: "VirtualNetworkGatewaySku" + className: "DeviceProperties" } }, - vpnClientConfiguration: { - serializedName: "properties.vpnClientConfiguration", + ipAddress: { + serializedName: "properties.ipAddress", type: { - name: "Composite", - className: "VpnClientConfiguration" + name: "String" } }, - bgpSettings: { - serializedName: "properties.bgpSettings", + siteKey: { + serializedName: "properties.siteKey", type: { - name: "Composite", - className: "BgpSettings" + name: "String" } }, - customRoutes: { - serializedName: "properties.customRoutes", + addressSpace: { + serializedName: "properties.addressSpace", type: { name: "Composite", className: "AddressSpace" } }, - resourceGuid: { - serializedName: "properties.resourceGuid", - readOnly: true, + bgpProperties: { + serializedName: "properties.bgpProperties", type: { - name: "String" + name: "Composite", + className: "BgpSettings" } }, provisioningState: { @@ -24860,51 +26879,39 @@ export const VirtualNetworkGateway: coreClient.CompositeMapper = { name: "String" } }, - enableDnsForwarding: { - serializedName: "properties.enableDnsForwarding", + isSecuritySite: { + serializedName: "properties.isSecuritySite", type: { name: "Boolean" } }, - inboundDnsForwardingEndpoint: { - serializedName: "properties.inboundDnsForwardingEndpoint", - readOnly: true, - type: { - name: "String" - } - }, - vNetExtendedLocationResourceId: { - serializedName: "properties.vNetExtendedLocationResourceId", - type: { - name: "String" - } - }, - natRules: { - serializedName: "properties.natRules", + vpnSiteLinks: { + serializedName: "properties.vpnSiteLinks", type: { name: "Sequence", element: { type: { name: "Composite", - className: "VirtualNetworkGatewayNatRule" + className: "VpnSiteLink" } } } }, - enableBgpRouteTranslationForNat: { - serializedName: "properties.enableBgpRouteTranslationForNat", + o365Policy: { + serializedName: "properties.o365Policy", type: { - name: "Boolean" + name: "Composite", + className: "O365PolicyProperties" } } } } }; -export const VirtualNetworkGatewayConnectionListEntity: coreClient.CompositeMapper = { +export const P2SVpnGateway: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualNetworkGatewayConnectionListEntity", + className: "P2SVpnGateway", modelProperties: { ...Resource.type.modelProperties, etag: { @@ -24914,225 +26921,239 @@ export const VirtualNetworkGatewayConnectionListEntity: coreClient.CompositeMapp name: "String" } }, - authorizationKey: { - serializedName: "properties.authorizationKey", - type: { - name: "String" - } - }, - virtualNetworkGateway1: { - serializedName: "properties.virtualNetworkGateway1", - type: { - name: "Composite", - className: "VirtualNetworkConnectionGatewayReference" - } - }, - virtualNetworkGateway2: { - serializedName: "properties.virtualNetworkGateway2", - type: { - name: "Composite", - className: "VirtualNetworkConnectionGatewayReference" - } - }, - localNetworkGateway2: { - serializedName: "properties.localNetworkGateway2", + virtualHub: { + serializedName: "properties.virtualHub", type: { name: "Composite", - className: "VirtualNetworkConnectionGatewayReference" + className: "SubResource" } }, - connectionType: { - serializedName: "properties.connectionType", - required: true, + p2SConnectionConfigurations: { + serializedName: "properties.p2SConnectionConfigurations", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "P2SConnectionConfiguration" + } + } } }, - connectionProtocol: { - serializedName: "properties.connectionProtocol", + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { name: "String" } }, - routingWeight: { - serializedName: "properties.routingWeight", + vpnGatewayScaleUnit: { + serializedName: "properties.vpnGatewayScaleUnit", type: { name: "Number" } }, - connectionMode: { - serializedName: "properties.connectionMode", - type: { - name: "String" - } - }, - sharedKey: { - serializedName: "properties.sharedKey", + vpnServerConfiguration: { + serializedName: "properties.vpnServerConfiguration", type: { - name: "String" + name: "Composite", + className: "SubResource" } }, - connectionStatus: { - serializedName: "properties.connectionStatus", - readOnly: true, + vpnClientConnectionHealth: { + serializedName: "properties.vpnClientConnectionHealth", type: { - name: "String" + name: "Composite", + className: "VpnClientConnectionHealth" } }, - tunnelConnectionStatus: { - serializedName: "properties.tunnelConnectionStatus", - readOnly: true, + customDnsServers: { + serializedName: "properties.customDnsServers", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "TunnelConnectionHealth" + name: "String" } } } }, - egressBytesTransferred: { - serializedName: "properties.egressBytesTransferred", + isRoutingPreferenceInternet: { + serializedName: "properties.isRoutingPreferenceInternet", + type: { + name: "Boolean" + } + } + } + } +}; + +export const VpnServerConfiguration: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VpnServerConfiguration", + modelProperties: { + ...Resource.type.modelProperties, + etag: { + serializedName: "etag", readOnly: true, type: { - name: "Number" + name: "String" } }, - ingressBytesTransferred: { - serializedName: "properties.ingressBytesTransferred", - readOnly: true, + namePropertiesName: { + serializedName: "properties.name", type: { - name: "Number" + name: "String" } }, - peer: { - serializedName: "properties.peer", + vpnProtocols: { + serializedName: "properties.vpnProtocols", type: { - name: "Composite", - className: "SubResource" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - enableBgp: { - serializedName: "properties.enableBgp", + vpnAuthenticationTypes: { + serializedName: "properties.vpnAuthenticationTypes", type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - gatewayCustomBgpIpAddresses: { - serializedName: "properties.gatewayCustomBgpIpAddresses", + vpnClientRootCertificates: { + serializedName: "properties.vpnClientRootCertificates", type: { name: "Sequence", element: { type: { name: "Composite", - className: "GatewayCustomBgpIpAddressIpConfiguration" + className: "VpnServerConfigVpnClientRootCertificate" } } } }, - usePolicyBasedTrafficSelectors: { - serializedName: "properties.usePolicyBasedTrafficSelectors", + vpnClientRevokedCertificates: { + serializedName: "properties.vpnClientRevokedCertificates", type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VpnServerConfigVpnClientRevokedCertificate" + } + } } }, - ipsecPolicies: { - serializedName: "properties.ipsecPolicies", + radiusServerRootCertificates: { + serializedName: "properties.radiusServerRootCertificates", type: { name: "Sequence", element: { type: { name: "Composite", - className: "IpsecPolicy" + className: "VpnServerConfigRadiusServerRootCertificate" } } } }, - trafficSelectorPolicies: { - serializedName: "properties.trafficSelectorPolicies", + radiusClientRootCertificates: { + serializedName: "properties.radiusClientRootCertificates", type: { name: "Sequence", element: { type: { name: "Composite", - className: "TrafficSelectorPolicy" + className: "VpnServerConfigRadiusClientRootCertificate" } } } }, - resourceGuid: { - serializedName: "properties.resourceGuid", - readOnly: true, + vpnClientIpsecPolicies: { + serializedName: "properties.vpnClientIpsecPolicies", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IpsecPolicy" + } + } } }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + radiusServerAddress: { + serializedName: "properties.radiusServerAddress", type: { name: "String" } }, - expressRouteGatewayBypass: { - serializedName: "properties.expressRouteGatewayBypass", - type: { - name: "Boolean" - } - } - } - } -}; - -export const LocalNetworkGateway: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "LocalNetworkGateway", - modelProperties: { - ...Resource.type.modelProperties, - etag: { - serializedName: "etag", - readOnly: true, + radiusServerSecret: { + serializedName: "properties.radiusServerSecret", type: { name: "String" } }, - localNetworkAddressSpace: { - serializedName: "properties.localNetworkAddressSpace", + radiusServers: { + serializedName: "properties.radiusServers", type: { - name: "Composite", - className: "AddressSpace" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RadiusServer" + } + } } }, - gatewayIpAddress: { - serializedName: "properties.gatewayIpAddress", + aadAuthenticationParameters: { + serializedName: "properties.aadAuthenticationParameters", type: { - name: "String" + name: "Composite", + className: "AadAuthenticationParameters" } }, - fqdn: { - serializedName: "properties.fqdn", + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { name: "String" } }, - bgpSettings: { - serializedName: "properties.bgpSettings", + p2SVpnGateways: { + serializedName: "properties.p2SVpnGateways", + readOnly: true, type: { - name: "Composite", - className: "BgpSettings" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "P2SVpnGateway" + } + } } }, - resourceGuid: { - serializedName: "properties.resourceGuid", - readOnly: true, + configurationPolicyGroups: { + serializedName: "properties.configurationPolicyGroups", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VpnServerConfigurationPolicyGroup" + } + } } }, - provisioningState: { - serializedName: "properties.provisioningState", + etagPropertiesEtag: { + serializedName: "properties.etag", readOnly: true, type: { name: "String" @@ -25142,10 +27163,10 @@ export const LocalNetworkGateway: coreClient.CompositeMapper = { } }; -export const VirtualNetworkGatewayConnection: coreClient.CompositeMapper = { +export const VirtualHub: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualNetworkGatewayConnection", + className: "VirtualHub", modelProperties: { ...Resource.type.modelProperties, etag: { @@ -25155,217 +27176,186 @@ export const VirtualNetworkGatewayConnection: coreClient.CompositeMapper = { name: "String" } }, - authorizationKey: { - serializedName: "properties.authorizationKey", + kind: { + serializedName: "kind", + readOnly: true, type: { name: "String" } }, - virtualNetworkGateway1: { - serializedName: "properties.virtualNetworkGateway1", + virtualWan: { + serializedName: "properties.virtualWan", type: { name: "Composite", - className: "VirtualNetworkGateway" + className: "SubResource" } }, - virtualNetworkGateway2: { - serializedName: "properties.virtualNetworkGateway2", + vpnGateway: { + serializedName: "properties.vpnGateway", type: { name: "Composite", - className: "VirtualNetworkGateway" + className: "SubResource" } }, - localNetworkGateway2: { - serializedName: "properties.localNetworkGateway2", + p2SVpnGateway: { + serializedName: "properties.p2SVpnGateway", type: { name: "Composite", - className: "LocalNetworkGateway" + className: "SubResource" } }, - ingressNatRules: { - serializedName: "properties.ingressNatRules", + expressRouteGateway: { + serializedName: "properties.expressRouteGateway", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SubResource" - } - } + name: "Composite", + className: "SubResource" } }, - egressNatRules: { - serializedName: "properties.egressNatRules", + azureFirewall: { + serializedName: "properties.azureFirewall", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SubResource" - } - } + name: "Composite", + className: "SubResource" } }, - connectionType: { - serializedName: "properties.connectionType", - required: true, + securityPartnerProvider: { + serializedName: "properties.securityPartnerProvider", type: { - name: "String" + name: "Composite", + className: "SubResource" } }, - connectionProtocol: { - serializedName: "properties.connectionProtocol", + addressPrefix: { + serializedName: "properties.addressPrefix", type: { name: "String" } }, - routingWeight: { - serializedName: "properties.routingWeight", - type: { - name: "Number" - } - }, - dpdTimeoutSeconds: { - serializedName: "properties.dpdTimeoutSeconds", - type: { - name: "Number" - } - }, - connectionMode: { - serializedName: "properties.connectionMode", + routeTable: { + serializedName: "properties.routeTable", type: { - name: "String" + name: "Composite", + className: "VirtualHubRouteTable" } }, - sharedKey: { - serializedName: "properties.sharedKey", + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { name: "String" } }, - connectionStatus: { - serializedName: "properties.connectionStatus", - readOnly: true, + securityProviderName: { + serializedName: "properties.securityProviderName", type: { name: "String" } }, - tunnelConnectionStatus: { - serializedName: "properties.tunnelConnectionStatus", - readOnly: true, + virtualHubRouteTableV2S: { + serializedName: "properties.virtualHubRouteTableV2s", type: { name: "Sequence", element: { type: { name: "Composite", - className: "TunnelConnectionHealth" + className: "VirtualHubRouteTableV2" } } } }, - egressBytesTransferred: { - serializedName: "properties.egressBytesTransferred", - readOnly: true, - type: { - name: "Number" - } - }, - ingressBytesTransferred: { - serializedName: "properties.ingressBytesTransferred", - readOnly: true, - type: { - name: "Number" - } - }, - peer: { - serializedName: "properties.peer", + sku: { + serializedName: "properties.sku", type: { - name: "Composite", - className: "SubResource" + name: "String" } }, - enableBgp: { - serializedName: "properties.enableBgp", + routingState: { + serializedName: "properties.routingState", + readOnly: true, type: { - name: "Boolean" + name: "String" } }, - gatewayCustomBgpIpAddresses: { - serializedName: "properties.gatewayCustomBgpIpAddresses", + bgpConnections: { + serializedName: "properties.bgpConnections", + readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "GatewayCustomBgpIpAddressIpConfiguration" + className: "SubResource" } } } }, - useLocalAzureIpAddress: { - serializedName: "properties.useLocalAzureIpAddress", - type: { - name: "Boolean" - } - }, - usePolicyBasedTrafficSelectors: { - serializedName: "properties.usePolicyBasedTrafficSelectors", - type: { - name: "Boolean" - } - }, - ipsecPolicies: { - serializedName: "properties.ipsecPolicies", + ipConfigurations: { + serializedName: "properties.ipConfigurations", + readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "IpsecPolicy" + className: "SubResource" } } } }, - trafficSelectorPolicies: { - serializedName: "properties.trafficSelectorPolicies", + virtualRouterAsn: { + constraints: { + InclusiveMaximum: 4294967295, + InclusiveMinimum: 0 + }, + serializedName: "properties.virtualRouterAsn", + type: { + name: "Number" + } + }, + virtualRouterIps: { + serializedName: "properties.virtualRouterIps", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "TrafficSelectorPolicy" + name: "String" } } } }, - resourceGuid: { - serializedName: "properties.resourceGuid", - readOnly: true, + allowBranchToBranchTraffic: { + serializedName: "properties.allowBranchToBranchTraffic", + type: { + name: "Boolean" + } + }, + preferredRoutingGateway: { + serializedName: "properties.preferredRoutingGateway", type: { name: "String" } }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + hubRoutingPreference: { + serializedName: "properties.hubRoutingPreference", type: { name: "String" } }, - expressRouteGatewayBypass: { - serializedName: "properties.expressRouteGatewayBypass", + virtualRouterAutoScaleConfiguration: { + serializedName: "properties.virtualRouterAutoScaleConfiguration", type: { - name: "Boolean" + name: "Composite", + className: "VirtualRouterAutoScaleConfiguration" } } } } }; -export const VirtualRouter: coreClient.CompositeMapper = { +export const VpnGateway: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualRouter", + className: "VpnGateway", modelProperties: { ...Resource.type.modelProperties, etag: { @@ -25375,69 +27365,90 @@ export const VirtualRouter: coreClient.CompositeMapper = { name: "String" } }, - virtualRouterAsn: { - constraints: { - InclusiveMaximum: 4294967295, - InclusiveMinimum: 0 - }, - serializedName: "properties.virtualRouterAsn", + virtualHub: { + serializedName: "properties.virtualHub", type: { - name: "Number" + name: "Composite", + className: "SubResource" } }, - virtualRouterIps: { - serializedName: "properties.virtualRouterIps", + connections: { + serializedName: "properties.connections", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "VpnConnection" } } } }, - hostedSubnet: { - serializedName: "properties.hostedSubnet", + bgpSettings: { + serializedName: "properties.bgpSettings", type: { name: "Composite", - className: "SubResource" + className: "BgpSettings" } }, - hostedGateway: { - serializedName: "properties.hostedGateway", + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { - name: "Composite", - className: "SubResource" + name: "String" } }, - peerings: { - serializedName: "properties.peerings", + vpnGatewayScaleUnit: { + serializedName: "properties.vpnGatewayScaleUnit", + type: { + name: "Number" + } + }, + ipConfigurations: { + serializedName: "properties.ipConfigurations", readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "SubResource" + className: "VpnGatewayIpConfiguration" } } } }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + enableBgpRouteTranslationForNat: { + serializedName: "properties.enableBgpRouteTranslationForNat", type: { - name: "String" + name: "Boolean" + } + }, + isRoutingPreferenceInternet: { + serializedName: "properties.isRoutingPreferenceInternet", + type: { + name: "Boolean" + } + }, + natRules: { + serializedName: "properties.natRules", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VpnGatewayNatRule" + } + } } } } } }; -export const VirtualWAN: coreClient.CompositeMapper = { +export const ExpressRouteGateway: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualWAN", + className: "ExpressRouteGateway", modelProperties: { ...Resource.type.modelProperties, etag: { @@ -25447,57 +27458,25 @@ export const VirtualWAN: coreClient.CompositeMapper = { name: "String" } }, - disableVpnEncryption: { - serializedName: "properties.disableVpnEncryption", - type: { - name: "Boolean" - } - }, - virtualHubs: { - serializedName: "properties.virtualHubs", - readOnly: true, + autoScaleConfiguration: { + serializedName: "properties.autoScaleConfiguration", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SubResource" - } - } + name: "Composite", + className: "ExpressRouteGatewayPropertiesAutoScaleConfiguration" } }, - vpnSites: { - serializedName: "properties.vpnSites", - readOnly: true, + expressRouteConnections: { + serializedName: "properties.expressRouteConnections", type: { name: "Sequence", element: { type: { name: "Composite", - className: "SubResource" + className: "ExpressRouteConnection" } } } }, - allowBranchToBranchTraffic: { - serializedName: "properties.allowBranchToBranchTraffic", - type: { - name: "Boolean" - } - }, - allowVnetToVnetTraffic: { - serializedName: "properties.allowVnetToVnetTraffic", - type: { - name: "Boolean" - } - }, - office365LocalBreakoutCategory: { - serializedName: "properties.office365LocalBreakoutCategory", - readOnly: true, - type: { - name: "String" - } - }, provisioningState: { serializedName: "properties.provisioningState", readOnly: true, @@ -25505,20 +27484,21 @@ export const VirtualWAN: coreClient.CompositeMapper = { name: "String" } }, - typePropertiesType: { - serializedName: "properties.type", + virtualHub: { + serializedName: "properties.virtualHub", type: { - name: "String" + name: "Composite", + className: "VirtualHubId" } } } } }; -export const VpnSite: coreClient.CompositeMapper = { +export const WebApplicationFirewallPolicy: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VpnSite", + className: "WebApplicationFirewallPolicy", modelProperties: { ...Resource.type.modelProperties, etag: { @@ -25528,86 +27508,93 @@ export const VpnSite: coreClient.CompositeMapper = { name: "String" } }, - virtualWan: { - serializedName: "properties.virtualWan", + policySettings: { + serializedName: "properties.policySettings", type: { name: "Composite", - className: "SubResource" + className: "PolicySettings" } }, - deviceProperties: { - serializedName: "properties.deviceProperties", + customRules: { + serializedName: "properties.customRules", type: { - name: "Composite", - className: "DeviceProperties" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "WebApplicationFirewallCustomRule" + } + } } }, - ipAddress: { - serializedName: "properties.ipAddress", + applicationGateways: { + serializedName: "properties.applicationGateways", + readOnly: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ApplicationGateway" + } + } } }, - siteKey: { - serializedName: "properties.siteKey", + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { name: "String" } - }, - addressSpace: { - serializedName: "properties.addressSpace", - type: { - name: "Composite", - className: "AddressSpace" - } - }, - bgpProperties: { - serializedName: "properties.bgpProperties", - type: { - name: "Composite", - className: "BgpSettings" - } - }, - provisioningState: { - serializedName: "properties.provisioningState", + }, + resourceState: { + serializedName: "properties.resourceState", readOnly: true, type: { name: "String" } }, - isSecuritySite: { - serializedName: "properties.isSecuritySite", + managedRules: { + serializedName: "properties.managedRules", type: { - name: "Boolean" + name: "Composite", + className: "ManagedRulesDefinition" } }, - vpnSiteLinks: { - serializedName: "properties.vpnSiteLinks", + httpListeners: { + serializedName: "properties.httpListeners", + readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "VpnSiteLink" + className: "SubResource" } } } }, - o365Policy: { - serializedName: "properties.o365Policy", + pathBasedRules: { + serializedName: "properties.pathBasedRules", + readOnly: true, type: { - name: "Composite", - className: "O365PolicyProperties" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } } } } }; -export const P2SVpnGateway: coreClient.CompositeMapper = { +export const ExpressRouteProviderPort: coreClient.CompositeMapper = { type: { name: "Composite", - className: "P2SVpnGateway", + className: "ExpressRouteProviderPort", modelProperties: { ...Resource.type.modelProperties, etag: { @@ -25617,105 +27604,217 @@ export const P2SVpnGateway: coreClient.CompositeMapper = { name: "String" } }, - virtualHub: { - serializedName: "properties.virtualHub", + portPairDescriptor: { + serializedName: "properties.portPairDescriptor", + readOnly: true, type: { - name: "Composite", - className: "SubResource" + name: "String" } }, - p2SConnectionConfigurations: { - serializedName: "properties.p2SConnectionConfigurations", + primaryAzurePort: { + serializedName: "properties.primaryAzurePort", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "P2SConnectionConfiguration" - } - } + name: "String" } }, - provisioningState: { - serializedName: "properties.provisioningState", + secondaryAzurePort: { + serializedName: "properties.secondaryAzurePort", readOnly: true, type: { name: "String" } }, - vpnGatewayScaleUnit: { - serializedName: "properties.vpnGatewayScaleUnit", + peeringLocation: { + serializedName: "properties.peeringLocation", + type: { + name: "String" + } + }, + overprovisionFactor: { + serializedName: "properties.overprovisionFactor", type: { name: "Number" } }, - vpnServerConfiguration: { - serializedName: "properties.vpnServerConfiguration", + portBandwidthInMbps: { + serializedName: "properties.portBandwidthInMbps", + type: { + name: "Number" + } + }, + usedBandwidthInMbps: { + serializedName: "properties.usedBandwidthInMbps", + type: { + name: "Number" + } + }, + remainingBandwidthInMbps: { + serializedName: "properties.remainingBandwidthInMbps", + type: { + name: "Number" + } + } + } + } +}; + +export const PrivateLinkServicePropertiesVisibility: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateLinkServicePropertiesVisibility", + modelProperties: { + ...ResourceSet.type.modelProperties + } + } +}; + +export const PrivateLinkServicePropertiesAutoApproval: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateLinkServicePropertiesAutoApproval", + modelProperties: { + ...ResourceSet.type.modelProperties + } + } +}; + +export const FirewallPolicyNatRuleCollection: coreClient.CompositeMapper = { + serializedName: "FirewallPolicyNatRuleCollection", + type: { + name: "Composite", + className: "FirewallPolicyNatRuleCollection", + uberParent: "FirewallPolicyRuleCollection", + polymorphicDiscriminator: + FirewallPolicyRuleCollection.type.polymorphicDiscriminator, + modelProperties: { + ...FirewallPolicyRuleCollection.type.modelProperties, + action: { + serializedName: "action", type: { name: "Composite", - className: "SubResource" + className: "FirewallPolicyNatRuleCollectionAction" } }, - vpnClientConnectionHealth: { - serializedName: "properties.vpnClientConnectionHealth", + rules: { + serializedName: "rules", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "FirewallPolicyRule" + } + } + } + } + } + } +}; + +export const FirewallPolicyFilterRuleCollection: coreClient.CompositeMapper = { + serializedName: "FirewallPolicyFilterRuleCollection", + type: { + name: "Composite", + className: "FirewallPolicyFilterRuleCollection", + uberParent: "FirewallPolicyRuleCollection", + polymorphicDiscriminator: + FirewallPolicyRuleCollection.type.polymorphicDiscriminator, + modelProperties: { + ...FirewallPolicyRuleCollection.type.modelProperties, + action: { + serializedName: "action", type: { name: "Composite", - className: "VpnClientConnectionHealth" + className: "FirewallPolicyFilterRuleCollectionAction" } }, - customDnsServers: { - serializedName: "properties.customDnsServers", + rules: { + serializedName: "rules", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "FirewallPolicyRule" } } } + } + } + } +}; + +export const ActiveConnectivityConfiguration: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ActiveConnectivityConfiguration", + modelProperties: { + ...EffectiveConnectivityConfiguration.type.modelProperties, + commitTime: { + serializedName: "commitTime", + type: { + name: "DateTime" + } }, - isRoutingPreferenceInternet: { - serializedName: "properties.isRoutingPreferenceInternet", + region: { + serializedName: "region", type: { - name: "Boolean" + name: "String" } } } } }; -export const VpnServerConfiguration: coreClient.CompositeMapper = { +export const ActiveSecurityAdminRule: coreClient.CompositeMapper = { + serializedName: "Custom", type: { name: "Composite", - className: "VpnServerConfiguration", + className: "ActiveSecurityAdminRule", + uberParent: "ActiveBaseSecurityAdminRule", + polymorphicDiscriminator: + ActiveBaseSecurityAdminRule.type.polymorphicDiscriminator, modelProperties: { - ...Resource.type.modelProperties, - etag: { - serializedName: "etag", - readOnly: true, + ...ActiveBaseSecurityAdminRule.type.modelProperties, + description: { + serializedName: "properties.description", type: { name: "String" } }, - namePropertiesName: { - serializedName: "properties.name", + protocol: { + serializedName: "properties.protocol", type: { name: "String" } }, - vpnProtocols: { - serializedName: "properties.vpnProtocols", + sources: { + serializedName: "properties.sources", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "AddressPrefixItem" } } } }, - vpnAuthenticationTypes: { - serializedName: "properties.vpnAuthenticationTypes", + destinations: { + serializedName: "properties.destinations", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AddressPrefixItem" + } + } + } + }, + sourcePortRanges: { + serializedName: "properties.sourcePortRanges", type: { name: "Sequence", element: { @@ -25725,131 +27824,153 @@ export const VpnServerConfiguration: coreClient.CompositeMapper = { } } }, - vpnClientRootCertificates: { - serializedName: "properties.vpnClientRootCertificates", + destinationPortRanges: { + serializedName: "properties.destinationPortRanges", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "VpnServerConfigVpnClientRootCertificate" + name: "String" } } } }, - vpnClientRevokedCertificates: { - serializedName: "properties.vpnClientRevokedCertificates", + access: { + serializedName: "properties.access", + type: { + name: "String" + } + }, + priority: { + constraints: { + InclusiveMaximum: 4096, + InclusiveMinimum: 1 + }, + serializedName: "properties.priority", + type: { + name: "Number" + } + }, + direction: { + serializedName: "properties.direction", + type: { + name: "String" + } + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + +export const ActiveDefaultSecurityAdminRule: coreClient.CompositeMapper = { + serializedName: "Default", + type: { + name: "Composite", + className: "ActiveDefaultSecurityAdminRule", + uberParent: "ActiveBaseSecurityAdminRule", + polymorphicDiscriminator: + ActiveBaseSecurityAdminRule.type.polymorphicDiscriminator, + modelProperties: { + ...ActiveBaseSecurityAdminRule.type.modelProperties, + description: { + serializedName: "properties.description", + readOnly: true, + type: { + name: "String" + } + }, + flag: { + serializedName: "properties.flag", + type: { + name: "String" + } + }, + protocol: { + serializedName: "properties.protocol", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VpnServerConfigVpnClientRevokedCertificate" - } - } + name: "String" } }, - radiusServerRootCertificates: { - serializedName: "properties.radiusServerRootCertificates", + sources: { + serializedName: "properties.sources", + readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "VpnServerConfigRadiusServerRootCertificate" + className: "AddressPrefixItem" } } } }, - radiusClientRootCertificates: { - serializedName: "properties.radiusClientRootCertificates", + destinations: { + serializedName: "properties.destinations", + readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "VpnServerConfigRadiusClientRootCertificate" + className: "AddressPrefixItem" } } } }, - vpnClientIpsecPolicies: { - serializedName: "properties.vpnClientIpsecPolicies", + sourcePortRanges: { + serializedName: "properties.sourcePortRanges", + readOnly: true, type: { name: "Sequence", element: { type: { - name: "Composite", - className: "IpsecPolicy" + name: "String" } } } }, - radiusServerAddress: { - serializedName: "properties.radiusServerAddress", - type: { - name: "String" - } - }, - radiusServerSecret: { - serializedName: "properties.radiusServerSecret", - type: { - name: "String" - } - }, - radiusServers: { - serializedName: "properties.radiusServers", + destinationPortRanges: { + serializedName: "properties.destinationPortRanges", + readOnly: true, type: { name: "Sequence", element: { type: { - name: "Composite", - className: "RadiusServer" + name: "String" } } } }, - aadAuthenticationParameters: { - serializedName: "properties.aadAuthenticationParameters", - type: { - name: "Composite", - className: "AadAuthenticationParameters" - } - }, - provisioningState: { - serializedName: "properties.provisioningState", + access: { + serializedName: "properties.access", readOnly: true, type: { name: "String" } }, - p2SVpnGateways: { - serializedName: "properties.p2SVpnGateways", + priority: { + serializedName: "properties.priority", readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "P2SVpnGateway" - } - } + name: "Number" } }, - configurationPolicyGroups: { - serializedName: "properties.configurationPolicyGroups", + direction: { + serializedName: "properties.direction", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VpnServerConfigurationPolicyGroup" - } - } + name: "String" } }, - etagPropertiesEtag: { - serializedName: "properties.etag", + provisioningState: { + serializedName: "properties.provisioningState", readOnly: true, type: { name: "String" @@ -25859,180 +27980,173 @@ export const VpnServerConfiguration: coreClient.CompositeMapper = { } }; -export const VirtualHub: coreClient.CompositeMapper = { +export const NetworkManagerConnection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualHub", + className: "NetworkManagerConnection", modelProperties: { - ...Resource.type.modelProperties, - etag: { - serializedName: "etag", - readOnly: true, - type: { - name: "String" - } - }, - kind: { - serializedName: "kind", - readOnly: true, - type: { - name: "String" - } - }, - virtualWan: { - serializedName: "properties.virtualWan", - type: { - name: "Composite", - className: "SubResource" - } - }, - vpnGateway: { - serializedName: "properties.vpnGateway", - type: { - name: "Composite", - className: "SubResource" - } - }, - p2SVpnGateway: { - serializedName: "properties.p2SVpnGateway", - type: { - name: "Composite", - className: "SubResource" - } - }, - expressRouteGateway: { - serializedName: "properties.expressRouteGateway", + ...ChildResource.type.modelProperties, + systemData: { + serializedName: "systemData", type: { name: "Composite", - className: "SubResource" + className: "SystemData" } }, - azureFirewall: { - serializedName: "properties.azureFirewall", + networkManagerId: { + serializedName: "properties.networkManagerId", type: { - name: "Composite", - className: "SubResource" + name: "String" } }, - securityPartnerProvider: { - serializedName: "properties.securityPartnerProvider", + connectionState: { + serializedName: "properties.connectionState", + readOnly: true, type: { - name: "Composite", - className: "SubResource" + name: "String" } }, - addressPrefix: { - serializedName: "properties.addressPrefix", + description: { + serializedName: "properties.description", type: { name: "String" } - }, - routeTable: { - serializedName: "properties.routeTable", + } + } + } +}; + +export const ConnectivityConfiguration: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ConnectivityConfiguration", + modelProperties: { + ...ChildResource.type.modelProperties, + systemData: { + serializedName: "systemData", type: { name: "Composite", - className: "VirtualHubRouteTable" + className: "SystemData" } }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + description: { + serializedName: "properties.description", type: { name: "String" } }, - securityProviderName: { - serializedName: "properties.securityProviderName", + connectivityTopology: { + serializedName: "properties.connectivityTopology", type: { name: "String" } }, - virtualHubRouteTableV2S: { - serializedName: "properties.virtualHubRouteTableV2s", + hubs: { + serializedName: "properties.hubs", type: { name: "Sequence", element: { type: { name: "Composite", - className: "VirtualHubRouteTableV2" + className: "Hub" } } } }, - sku: { - serializedName: "properties.sku", - type: { - name: "String" - } - }, - routingState: { - serializedName: "properties.routingState", - readOnly: true, + isGlobal: { + serializedName: "properties.isGlobal", type: { name: "String" } }, - bgpConnections: { - serializedName: "properties.bgpConnections", - readOnly: true, + appliesToGroups: { + serializedName: "properties.appliesToGroups", type: { name: "Sequence", element: { type: { name: "Composite", - className: "SubResource" + className: "ConnectivityGroupItem" } } } }, - ipConfigurations: { - serializedName: "properties.ipConfigurations", + provisioningState: { + serializedName: "properties.provisioningState", readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SubResource" - } - } + name: "String" } }, - virtualRouterAsn: { - constraints: { - InclusiveMaximum: 4294967295, - InclusiveMinimum: 0 - }, - serializedName: "properties.virtualRouterAsn", + deleteExistingPeering: { + serializedName: "properties.deleteExistingPeering", type: { - name: "Number" + name: "String" + } + } + } + } +}; + +export const NetworkGroup: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "NetworkGroup", + modelProperties: { + ...ChildResource.type.modelProperties, + systemData: { + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData" } }, - virtualRouterIps: { - serializedName: "properties.virtualRouterIps", + description: { + serializedName: "properties.description", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - allowBranchToBranchTraffic: { - serializedName: "properties.allowBranchToBranchTraffic", + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { - name: "Boolean" + name: "String" + } + } + } + } +}; + +export const StaticMember: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "StaticMember", + modelProperties: { + ...ChildResource.type.modelProperties, + systemData: { + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData" } }, - preferredRoutingGateway: { - serializedName: "properties.preferredRoutingGateway", + resourceId: { + serializedName: "properties.resourceId", type: { name: "String" } }, - hubRoutingPreference: { - serializedName: "properties.hubRoutingPreference", + region: { + serializedName: "properties.region", + readOnly: true, + type: { + name: "String" + } + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { name: "String" } @@ -26041,127 +28155,116 @@ export const VirtualHub: coreClient.CompositeMapper = { } }; -export const VpnGateway: coreClient.CompositeMapper = { +export const ScopeConnection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VpnGateway", + className: "ScopeConnection", modelProperties: { - ...Resource.type.modelProperties, - etag: { - serializedName: "etag", - readOnly: true, - type: { - name: "String" - } - }, - virtualHub: { - serializedName: "properties.virtualHub", + ...ChildResource.type.modelProperties, + systemData: { + serializedName: "systemData", type: { name: "Composite", - className: "SubResource" + className: "SystemData" } }, - connections: { - serializedName: "properties.connections", + tenantId: { + serializedName: "properties.tenantId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VpnConnection" - } - } + name: "String" } }, - bgpSettings: { - serializedName: "properties.bgpSettings", + resourceId: { + serializedName: "properties.resourceId", type: { - name: "Composite", - className: "BgpSettings" + name: "String" } }, - provisioningState: { - serializedName: "properties.provisioningState", + connectionState: { + serializedName: "properties.connectionState", readOnly: true, type: { name: "String" } }, - vpnGatewayScaleUnit: { - serializedName: "properties.vpnGatewayScaleUnit", - type: { - name: "Number" - } - }, - ipConfigurations: { - serializedName: "properties.ipConfigurations", - readOnly: true, + description: { + serializedName: "properties.description", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VpnGatewayIpConfiguration" - } - } + name: "String" } - }, - enableBgpRouteTranslationForNat: { - serializedName: "properties.enableBgpRouteTranslationForNat", + } + } + } +}; + +export const SecurityAdminConfiguration: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SecurityAdminConfiguration", + modelProperties: { + ...ChildResource.type.modelProperties, + systemData: { + serializedName: "systemData", type: { - name: "Boolean" + name: "Composite", + className: "SystemData" } }, - isRoutingPreferenceInternet: { - serializedName: "properties.isRoutingPreferenceInternet", + description: { + serializedName: "properties.description", type: { - name: "Boolean" + name: "String" } }, - natRules: { - serializedName: "properties.natRules", + applyOnNetworkIntentPolicyBasedServices: { + serializedName: "properties.applyOnNetworkIntentPolicyBasedServices", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "VpnGatewayNatRule" + name: "String" } } } + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + type: { + name: "String" + } } } } }; -export const ExpressRouteGateway: coreClient.CompositeMapper = { +export const AdminRuleCollection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ExpressRouteGateway", + className: "AdminRuleCollection", modelProperties: { - ...Resource.type.modelProperties, - etag: { - serializedName: "etag", - readOnly: true, + ...ChildResource.type.modelProperties, + systemData: { + serializedName: "systemData", type: { - name: "String" + name: "Composite", + className: "SystemData" } }, - autoScaleConfiguration: { - serializedName: "properties.autoScaleConfiguration", + description: { + serializedName: "properties.description", type: { - name: "Composite", - className: "ExpressRouteGatewayPropertiesAutoScaleConfiguration" + name: "String" } }, - expressRouteConnections: { - serializedName: "properties.expressRouteConnections", + appliesToGroups: { + serializedName: "properties.appliesToGroups", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ExpressRouteConnection" + className: "NetworkManagerSecurityGroupItem" } } } @@ -26172,195 +28275,249 @@ export const ExpressRouteGateway: coreClient.CompositeMapper = { type: { name: "String" } + } + } + } +}; + +export const BaseAdminRule: coreClient.CompositeMapper = { + serializedName: "BaseAdminRule", + type: { + name: "Composite", + className: "BaseAdminRule", + uberParent: "ChildResource", + polymorphicDiscriminator: { + serializedName: "kind", + clientName: "kind" + }, + modelProperties: { + ...ChildResource.type.modelProperties, + kind: { + serializedName: "kind", + required: true, + type: { + name: "String" + } }, - virtualHub: { - serializedName: "properties.virtualHub", + systemData: { + serializedName: "systemData", type: { name: "Composite", - className: "VirtualHubId" + className: "SystemData" } } } } }; -export const WebApplicationFirewallPolicy: coreClient.CompositeMapper = { +export const EffectiveSecurityAdminRule: coreClient.CompositeMapper = { + serializedName: "Custom", type: { name: "Composite", - className: "WebApplicationFirewallPolicy", + className: "EffectiveSecurityAdminRule", + uberParent: "EffectiveBaseSecurityAdminRule", + polymorphicDiscriminator: + EffectiveBaseSecurityAdminRule.type.polymorphicDiscriminator, modelProperties: { - ...Resource.type.modelProperties, - etag: { - serializedName: "etag", - readOnly: true, + ...EffectiveBaseSecurityAdminRule.type.modelProperties, + description: { + serializedName: "properties.description", type: { name: "String" } }, - policySettings: { - serializedName: "properties.policySettings", + protocol: { + serializedName: "properties.protocol", type: { - name: "Composite", - className: "PolicySettings" + name: "String" } }, - customRules: { - serializedName: "properties.customRules", + sources: { + serializedName: "properties.sources", type: { name: "Sequence", element: { type: { name: "Composite", - className: "WebApplicationFirewallCustomRule" + className: "AddressPrefixItem" } } } }, - applicationGateways: { - serializedName: "properties.applicationGateways", - readOnly: true, + destinations: { + serializedName: "properties.destinations", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ApplicationGateway" + className: "AddressPrefixItem" } } } }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + sourcePortRanges: { + serializedName: "properties.sourcePortRanges", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - resourceState: { - serializedName: "properties.resourceState", - readOnly: true, + destinationPortRanges: { + serializedName: "properties.destinationPortRanges", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + access: { + serializedName: "properties.access", type: { name: "String" } }, - managedRules: { - serializedName: "properties.managedRules", + priority: { + constraints: { + InclusiveMaximum: 4096, + InclusiveMinimum: 1 + }, + serializedName: "properties.priority", type: { - name: "Composite", - className: "ManagedRulesDefinition" + name: "Number" } }, - httpListeners: { - serializedName: "properties.httpListeners", - readOnly: true, + direction: { + serializedName: "properties.direction", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SubResource" - } - } + name: "String" } }, - pathBasedRules: { - serializedName: "properties.pathBasedRules", + provisioningState: { + serializedName: "properties.provisioningState", readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SubResource" - } - } + name: "String" } } } } }; -export const PrivateLinkServicePropertiesVisibility: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PrivateLinkServicePropertiesVisibility", - modelProperties: { - ...ResourceSet.type.modelProperties - } - } -}; - -export const PrivateLinkServicePropertiesAutoApproval: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PrivateLinkServicePropertiesAutoApproval", - modelProperties: { - ...ResourceSet.type.modelProperties - } - } -}; - -export const FirewallPolicyNatRuleCollection: coreClient.CompositeMapper = { - serializedName: "FirewallPolicyNatRuleCollection", +export const EffectiveDefaultSecurityAdminRule: coreClient.CompositeMapper = { + serializedName: "Default", type: { name: "Composite", - className: "FirewallPolicyNatRuleCollection", - uberParent: "FirewallPolicyRuleCollection", + className: "EffectiveDefaultSecurityAdminRule", + uberParent: "EffectiveBaseSecurityAdminRule", polymorphicDiscriminator: - FirewallPolicyRuleCollection.type.polymorphicDiscriminator, + EffectiveBaseSecurityAdminRule.type.polymorphicDiscriminator, modelProperties: { - ...FirewallPolicyRuleCollection.type.modelProperties, - action: { - serializedName: "action", + ...EffectiveBaseSecurityAdminRule.type.modelProperties, + description: { + serializedName: "properties.description", + readOnly: true, + type: { + name: "String" + } + }, + flag: { + serializedName: "properties.flag", + type: { + name: "String" + } + }, + protocol: { + serializedName: "properties.protocol", + readOnly: true, + type: { + name: "String" + } + }, + sources: { + serializedName: "properties.sources", + readOnly: true, type: { - name: "Composite", - className: "FirewallPolicyNatRuleCollectionAction" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AddressPrefixItem" + } + } } }, - rules: { - serializedName: "rules", + destinations: { + serializedName: "properties.destinations", + readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "FirewallPolicyRule" + className: "AddressPrefixItem" } } } - } - } - } -}; - -export const FirewallPolicyFilterRuleCollection: coreClient.CompositeMapper = { - serializedName: "FirewallPolicyFilterRuleCollection", - type: { - name: "Composite", - className: "FirewallPolicyFilterRuleCollection", - uberParent: "FirewallPolicyRuleCollection", - polymorphicDiscriminator: - FirewallPolicyRuleCollection.type.polymorphicDiscriminator, - modelProperties: { - ...FirewallPolicyRuleCollection.type.modelProperties, - action: { - serializedName: "action", + }, + sourcePortRanges: { + serializedName: "properties.sourcePortRanges", + readOnly: true, type: { - name: "Composite", - className: "FirewallPolicyFilterRuleCollectionAction" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - rules: { - serializedName: "rules", + destinationPortRanges: { + serializedName: "properties.destinationPortRanges", + readOnly: true, type: { name: "Sequence", element: { type: { - name: "Composite", - className: "FirewallPolicyRule" + name: "String" } } } + }, + access: { + serializedName: "properties.access", + readOnly: true, + type: { + name: "String" + } + }, + priority: { + serializedName: "properties.priority", + readOnly: true, + type: { + name: "Number" + } + }, + direction: { + serializedName: "properties.direction", + readOnly: true, + type: { + name: "String" + } + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + type: { + name: "String" + } } } } @@ -26533,35 +28690,225 @@ export const NatRule: coreClient.CompositeMapper = { serializedName: "NatRule", type: { name: "Composite", - className: "NatRule", - uberParent: "FirewallPolicyRule", - polymorphicDiscriminator: FirewallPolicyRule.type.polymorphicDiscriminator, + className: "NatRule", + uberParent: "FirewallPolicyRule", + polymorphicDiscriminator: FirewallPolicyRule.type.polymorphicDiscriminator, + modelProperties: { + ...FirewallPolicyRule.type.modelProperties, + ipProtocols: { + serializedName: "ipProtocols", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + sourceAddresses: { + serializedName: "sourceAddresses", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + destinationAddresses: { + serializedName: "destinationAddresses", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + destinationPorts: { + serializedName: "destinationPorts", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + translatedAddress: { + serializedName: "translatedAddress", + type: { + name: "String" + } + }, + translatedPort: { + serializedName: "translatedPort", + type: { + name: "String" + } + }, + sourceIpGroups: { + serializedName: "sourceIpGroups", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + translatedFqdn: { + serializedName: "translatedFqdn", + type: { + name: "String" + } + } + } + } +}; + +export const NetworkRule: coreClient.CompositeMapper = { + serializedName: "NetworkRule", + type: { + name: "Composite", + className: "NetworkRule", + uberParent: "FirewallPolicyRule", + polymorphicDiscriminator: FirewallPolicyRule.type.polymorphicDiscriminator, + modelProperties: { + ...FirewallPolicyRule.type.modelProperties, + ipProtocols: { + serializedName: "ipProtocols", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + sourceAddresses: { + serializedName: "sourceAddresses", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + destinationAddresses: { + serializedName: "destinationAddresses", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + destinationPorts: { + serializedName: "destinationPorts", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + sourceIpGroups: { + serializedName: "sourceIpGroups", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + destinationIpGroups: { + serializedName: "destinationIpGroups", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + destinationFqdns: { + serializedName: "destinationFqdns", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const AdminRule: coreClient.CompositeMapper = { + serializedName: "Custom", + type: { + name: "Composite", + className: "AdminRule", + uberParent: "ChildResource", + polymorphicDiscriminator: ChildResource.type.polymorphicDiscriminator, modelProperties: { - ...FirewallPolicyRule.type.modelProperties, - ipProtocols: { - serializedName: "ipProtocols", + ...BaseAdminRule.type.modelProperties, + description: { + serializedName: "properties.description", + type: { + name: "String" + } + }, + protocol: { + serializedName: "properties.protocol", + type: { + name: "String" + } + }, + sources: { + serializedName: "properties.sources", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "AddressPrefixItem" } } } }, - sourceAddresses: { - serializedName: "sourceAddresses", + destinations: { + serializedName: "properties.destinations", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "AddressPrefixItem" } } } }, - destinationAddresses: { - serializedName: "destinationAddresses", + sourcePortRanges: { + serializedName: "properties.sourcePortRanges", type: { name: "Sequence", element: { @@ -26571,8 +28918,8 @@ export const NatRule: coreClient.CompositeMapper = { } } }, - destinationPorts: { - serializedName: "destinationPorts", + destinationPortRanges: { + serializedName: "properties.destinationPortRanges", type: { name: "Sequence", element: { @@ -26582,31 +28929,31 @@ export const NatRule: coreClient.CompositeMapper = { } } }, - translatedAddress: { - serializedName: "translatedAddress", + access: { + serializedName: "properties.access", type: { name: "String" } }, - translatedPort: { - serializedName: "translatedPort", + priority: { + constraints: { + InclusiveMaximum: 4096, + InclusiveMinimum: 1 + }, + serializedName: "properties.priority", type: { - name: "String" + name: "Number" } }, - sourceIpGroups: { - serializedName: "sourceIpGroups", + direction: { + serializedName: "properties.direction", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - translatedFqdn: { - serializedName: "translatedFqdn", + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { name: "String" } @@ -26615,72 +28962,64 @@ export const NatRule: coreClient.CompositeMapper = { } }; -export const NetworkRule: coreClient.CompositeMapper = { - serializedName: "NetworkRule", +export const DefaultAdminRule: coreClient.CompositeMapper = { + serializedName: "Default", type: { name: "Composite", - className: "NetworkRule", - uberParent: "FirewallPolicyRule", - polymorphicDiscriminator: FirewallPolicyRule.type.polymorphicDiscriminator, + className: "DefaultAdminRule", + uberParent: "ChildResource", + polymorphicDiscriminator: ChildResource.type.polymorphicDiscriminator, modelProperties: { - ...FirewallPolicyRule.type.modelProperties, - ipProtocols: { - serializedName: "ipProtocols", + ...BaseAdminRule.type.modelProperties, + description: { + serializedName: "properties.description", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - sourceAddresses: { - serializedName: "sourceAddresses", + flag: { + serializedName: "properties.flag", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - destinationAddresses: { - serializedName: "destinationAddresses", + protocol: { + serializedName: "properties.protocol", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - destinationPorts: { - serializedName: "destinationPorts", + sources: { + serializedName: "properties.sources", + readOnly: true, type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "AddressPrefixItem" } } } }, - sourceIpGroups: { - serializedName: "sourceIpGroups", + destinations: { + serializedName: "properties.destinations", + readOnly: true, type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "AddressPrefixItem" } } } }, - destinationIpGroups: { - serializedName: "destinationIpGroups", + sourcePortRanges: { + serializedName: "properties.sourcePortRanges", + readOnly: true, type: { name: "Sequence", element: { @@ -26690,8 +29029,9 @@ export const NetworkRule: coreClient.CompositeMapper = { } } }, - destinationFqdns: { - serializedName: "destinationFqdns", + destinationPortRanges: { + serializedName: "properties.destinationPortRanges", + readOnly: true, type: { name: "Sequence", element: { @@ -26700,6 +29040,154 @@ export const NetworkRule: coreClient.CompositeMapper = { } } } + }, + access: { + serializedName: "properties.access", + readOnly: true, + type: { + name: "String" + } + }, + priority: { + serializedName: "properties.priority", + readOnly: true, + type: { + name: "Number" + } + }, + direction: { + serializedName: "properties.direction", + readOnly: true, + type: { + name: "String" + } + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + +export const NetworkManagersDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "NetworkManagersDeleteHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String" + } + } + } + } +}; + +export const NetworkManagerCommitsPostHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "NetworkManagerCommitsPostHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String" + } + } + } + } +}; + +export const ConnectivityConfigurationsDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ConnectivityConfigurationsDeleteHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String" + } + } + } + } +}; + +export const NetworkGroupsCreateOrUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "NetworkGroupsCreateOrUpdateHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + +export const NetworkGroupsDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "NetworkGroupsDeleteHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String" + } + } + } + } +}; + +export const SecurityAdminConfigurationsDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SecurityAdminConfigurationsDeleteHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String" + } + } + } + } +}; + +export const AdminRuleCollectionsDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AdminRuleCollectionsDeleteHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String" + } + } + } + } +}; + +export const AdminRulesDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AdminRulesDeleteHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String" + } } } } @@ -26707,10 +29195,19 @@ export const NetworkRule: coreClient.CompositeMapper = { export let discriminators = { FirewallPolicyRuleCollection: FirewallPolicyRuleCollection, + ActiveBaseSecurityAdminRule: ActiveBaseSecurityAdminRule, + EffectiveBaseSecurityAdminRule: EffectiveBaseSecurityAdminRule, FirewallPolicyRule: FirewallPolicyRule, "FirewallPolicyRuleCollection.FirewallPolicyNatRuleCollection": FirewallPolicyNatRuleCollection, "FirewallPolicyRuleCollection.FirewallPolicyFilterRuleCollection": FirewallPolicyFilterRuleCollection, + "ActiveBaseSecurityAdminRule.Custom": ActiveSecurityAdminRule, + "ActiveBaseSecurityAdminRule.Default": ActiveDefaultSecurityAdminRule, + "ChildResource.BaseAdminRule": BaseAdminRule, + "EffectiveBaseSecurityAdminRule.Custom": EffectiveSecurityAdminRule, + "EffectiveBaseSecurityAdminRule.Default": EffectiveDefaultSecurityAdminRule, "FirewallPolicyRule.ApplicationRule": ApplicationRule, "FirewallPolicyRule.NatRule": NatRule, - "FirewallPolicyRule.NetworkRule": NetworkRule + "FirewallPolicyRule.NetworkRule": NetworkRule, + "ChildResource.Custom": AdminRule, + "ChildResource.Default": DefaultAdminRule }; diff --git a/sdk/network/arm-network/src/models/parameters.ts b/sdk/network/arm-network/src/models/parameters.ts index a3603e3291f1..1eebb225da5b 100644 --- a/sdk/network/arm-network/src/models/parameters.ts +++ b/sdk/network/arm-network/src/models/parameters.ts @@ -21,6 +21,8 @@ import { BastionHost as BastionHostMapper, BastionShareableLinkListRequest as BastionShareableLinkListRequestMapper, SessionIds as SessionIdsMapper, + ActiveConfigurationParameter as ActiveConfigurationParameterMapper, + QueryRequestOptions as QueryRequestOptionsMapper, VirtualWanVpnProfileParameters as VirtualWanVpnProfileParametersMapper, NetworkInterface as NetworkInterfaceMapper, PublicIPAddress as PublicIPAddressMapper, @@ -51,6 +53,18 @@ import { InboundNatRule as InboundNatRuleMapper, NatGateway as NatGatewayMapper, NetworkInterfaceTapConfiguration as NetworkInterfaceTapConfigurationMapper, + NetworkManager as NetworkManagerMapper, + PatchObject as PatchObjectMapper, + NetworkManagerCommit as NetworkManagerCommitMapper, + NetworkManagerDeploymentStatusParameter as NetworkManagerDeploymentStatusParameterMapper, + NetworkManagerConnection as NetworkManagerConnectionMapper, + ConnectivityConfiguration as ConnectivityConfigurationMapper, + NetworkGroup as NetworkGroupMapper, + StaticMember as StaticMemberMapper, + ScopeConnection as ScopeConnectionMapper, + SecurityAdminConfiguration as SecurityAdminConfigurationMapper, + AdminRuleCollection as AdminRuleCollectionMapper, + BaseAdminRule as BaseAdminRuleMapper, NetworkProfile as NetworkProfileMapper, NetworkSecurityGroup as NetworkSecurityGroupMapper, SecurityRule as SecurityRuleMapper, @@ -183,7 +197,7 @@ export const applicationGatewayName: OperationURLParameter = { export const apiVersion: OperationQueryParameter = { parameterPath: "apiVersion", mapper: { - defaultValue: "2021-08-01", + defaultValue: "2022-01-01", isConstant: true, serializedName: "api-version", type: { @@ -385,6 +399,38 @@ export const domainNameLabel: OperationQueryParameter = { } }; +export const parameters6: OperationParameter = { + parameterPath: "parameters", + mapper: ActiveConfigurationParameterMapper +}; + +export const networkManagerName: OperationURLParameter = { + parameterPath: "networkManagerName", + mapper: { + serializedName: "networkManagerName", + required: true, + type: { + name: "String" + } + } +}; + +export const parameters7: OperationParameter = { + parameterPath: "parameters", + mapper: QueryRequestOptionsMapper +}; + +export const virtualNetworkName: OperationURLParameter = { + parameterPath: "virtualNetworkName", + mapper: { + serializedName: "virtualNetworkName", + required: true, + type: { + name: "String" + } + } +}; + export const virtualWANName: OperationURLParameter = { parameterPath: "virtualWANName", mapper: { @@ -401,6 +447,17 @@ export const vpnClientParams: OperationParameter = { mapper: VirtualWanVpnProfileParametersMapper }; +export const providerport: OperationURLParameter = { + parameterPath: "providerport", + mapper: { + serializedName: "providerport", + required: true, + type: { + name: "String" + } + } +}; + export const cloudServiceName: OperationURLParameter = { parameterPath: "cloudServiceName", mapper: { @@ -434,7 +491,7 @@ export const networkInterfaceName: OperationURLParameter = { } }; -export const parameters6: OperationParameter = { +export const parameters8: OperationParameter = { parameterPath: "parameters", mapper: NetworkInterfaceMapper }; @@ -461,6 +518,18 @@ export const virtualmachineIndex: OperationURLParameter = { } }; +export const apiVersion1: OperationQueryParameter = { + parameterPath: "apiVersion", + mapper: { + defaultValue: "2018-10-01", + isConstant: true, + serializedName: "api-version", + type: { + name: "String" + } + } +}; + export const ipConfigurationName: OperationURLParameter = { parameterPath: "ipConfigurationName", mapper: { @@ -483,7 +552,7 @@ export const publicIpAddressName: OperationURLParameter = { } }; -export const parameters7: OperationParameter = { +export const parameters9: OperationParameter = { parameterPath: "parameters", mapper: PublicIPAddressMapper }; @@ -499,7 +568,7 @@ export const customIpPrefixName: OperationURLParameter = { } }; -export const parameters8: OperationParameter = { +export const parameters10: OperationParameter = { parameterPath: "parameters", mapper: CustomIpPrefixMapper }; @@ -515,7 +584,7 @@ export const ddosCustomPolicyName: OperationURLParameter = { } }; -export const parameters9: OperationParameter = { +export const parameters11: OperationParameter = { parameterPath: "parameters", mapper: DdosCustomPolicyMapper }; @@ -531,12 +600,12 @@ export const ddosProtectionPlanName: OperationURLParameter = { } }; -export const parameters10: OperationParameter = { +export const parameters12: OperationParameter = { parameterPath: "parameters", mapper: DdosProtectionPlanMapper }; -export const parameters11: OperationParameter = { +export const parameters13: OperationParameter = { parameterPath: "parameters", mapper: DscpConfigurationMapper }; @@ -600,7 +669,7 @@ export const expressRouteCircuitConnectionParameters: OperationParameter = { mapper: ExpressRouteCircuitConnectionMapper }; -export const parameters12: OperationParameter = { +export const parameters14: OperationParameter = { parameterPath: "parameters", mapper: ExpressRouteCircuitMapper }; @@ -627,7 +696,7 @@ export const crossConnectionName: OperationURLParameter = { } }; -export const parameters13: OperationParameter = { +export const parameters15: OperationParameter = { parameterPath: "parameters", mapper: ExpressRouteCrossConnectionMapper }; @@ -664,7 +733,7 @@ export const expressRoutePortName: OperationURLParameter = { } }; -export const parameters14: OperationParameter = { +export const parameters16: OperationParameter = { parameterPath: "parameters", mapper: ExpressRoutePortMapper }; @@ -701,7 +770,7 @@ export const firewallPolicyName: OperationURLParameter = { } }; -export const parameters15: OperationParameter = { +export const parameters17: OperationParameter = { parameterPath: "parameters", mapper: FirewallPolicyMapper }; @@ -717,22 +786,22 @@ export const ruleCollectionGroupName: OperationURLParameter = { } }; -export const parameters16: OperationParameter = { +export const parameters18: OperationParameter = { parameterPath: "parameters", mapper: FirewallPolicyRuleCollectionGroupMapper }; -export const parameters17: OperationParameter = { +export const parameters19: OperationParameter = { parameterPath: "parameters", mapper: IdpsQueryObjectMapper }; -export const parameters18: OperationParameter = { +export const parameters20: OperationParameter = { parameterPath: "parameters", mapper: SignaturesOverridesMapper }; -export const parameters19: OperationParameter = { +export const parameters21: OperationParameter = { parameterPath: "parameters", mapper: SignatureOverridesFilterValuesQueryMapper }; @@ -748,7 +817,7 @@ export const ipAllocationName: OperationURLParameter = { } }; -export const parameters20: OperationParameter = { +export const parameters22: OperationParameter = { parameterPath: "parameters", mapper: IpAllocationMapper }; @@ -764,7 +833,7 @@ export const ipGroupsName: OperationURLParameter = { } }; -export const parameters21: OperationParameter = { +export const parameters23: OperationParameter = { parameterPath: "parameters", mapper: IpGroupMapper }; @@ -780,17 +849,17 @@ export const loadBalancerName: OperationURLParameter = { } }; -export const parameters22: OperationParameter = { +export const parameters24: OperationParameter = { parameterPath: "parameters", mapper: LoadBalancerMapper }; -export const parameters23: OperationParameter = { +export const parameters25: OperationParameter = { parameterPath: "parameters", mapper: LoadBalancerVipSwapRequestMapper }; -export const parameters24: OperationParameter = { +export const parameters26: OperationParameter = { parameterPath: "parameters", mapper: QueryInboundNatRulePortMappingRequestMapper }; @@ -828,7 +897,7 @@ export const backendAddressPoolName: OperationURLParameter = { } }; -export const parameters25: OperationParameter = { +export const parameters27: OperationParameter = { parameterPath: "parameters", mapper: BackendAddressPoolMapper }; @@ -904,7 +973,7 @@ export const natGatewayName: OperationURLParameter = { } }; -export const parameters26: OperationParameter = { +export const parameters28: OperationParameter = { parameterPath: "parameters", mapper: NatGatewayMapper }; @@ -925,6 +994,198 @@ export const tapConfigurationParameters: OperationParameter = { mapper: NetworkInterfaceTapConfigurationMapper }; +export const parameters29: OperationParameter = { + parameterPath: "parameters", + mapper: NetworkManagerMapper +}; + +export const force: OperationQueryParameter = { + parameterPath: ["options", "force"], + mapper: { + serializedName: "force", + type: { + name: "Boolean" + } + } +}; + +export const parameters30: OperationParameter = { + parameterPath: "parameters", + mapper: PatchObjectMapper +}; + +export const top: OperationQueryParameter = { + parameterPath: ["options", "top"], + mapper: { + constraints: { + InclusiveMaximum: 20, + InclusiveMinimum: 1 + }, + serializedName: "$top", + type: { + name: "Number" + } + } +}; + +export const skipToken: OperationQueryParameter = { + parameterPath: ["options", "skipToken"], + mapper: { + serializedName: "$skipToken", + type: { + name: "String" + } + } +}; + +export const parameters31: OperationParameter = { + parameterPath: "parameters", + mapper: NetworkManagerCommitMapper +}; + +export const parameters32: OperationParameter = { + parameterPath: "parameters", + mapper: NetworkManagerDeploymentStatusParameterMapper +}; + +export const parameters33: OperationParameter = { + parameterPath: "parameters", + mapper: NetworkManagerConnectionMapper +}; + +export const networkManagerConnectionName: OperationURLParameter = { + parameterPath: "networkManagerConnectionName", + mapper: { + serializedName: "networkManagerConnectionName", + required: true, + type: { + name: "String" + } + } +}; + +export const managementGroupId: OperationURLParameter = { + parameterPath: "managementGroupId", + mapper: { + serializedName: "managementGroupId", + required: true, + type: { + name: "String" + } + } +}; + +export const configurationName: OperationURLParameter = { + parameterPath: "configurationName", + mapper: { + serializedName: "configurationName", + required: true, + type: { + name: "String" + } + } +}; + +export const connectivityConfiguration: OperationParameter = { + parameterPath: "connectivityConfiguration", + mapper: ConnectivityConfigurationMapper +}; + +export const networkGroupName: OperationURLParameter = { + parameterPath: "networkGroupName", + mapper: { + serializedName: "networkGroupName", + required: true, + type: { + name: "String" + } + } +}; + +export const parameters34: OperationParameter = { + parameterPath: "parameters", + mapper: NetworkGroupMapper +}; + +export const ifMatch: OperationParameter = { + parameterPath: ["options", "ifMatch"], + mapper: { + serializedName: "If-Match", + type: { + name: "String" + } + } +}; + +export const staticMemberName: OperationURLParameter = { + parameterPath: "staticMemberName", + mapper: { + serializedName: "staticMemberName", + required: true, + type: { + name: "String" + } + } +}; + +export const parameters35: OperationParameter = { + parameterPath: "parameters", + mapper: StaticMemberMapper +}; + +export const parameters36: OperationParameter = { + parameterPath: "parameters", + mapper: ScopeConnectionMapper +}; + +export const scopeConnectionName: OperationURLParameter = { + parameterPath: "scopeConnectionName", + mapper: { + serializedName: "scopeConnectionName", + required: true, + type: { + name: "String" + } + } +}; + +export const securityAdminConfiguration: OperationParameter = { + parameterPath: "securityAdminConfiguration", + mapper: SecurityAdminConfigurationMapper +}; + +export const ruleCollectionName: OperationURLParameter = { + parameterPath: "ruleCollectionName", + mapper: { + serializedName: "ruleCollectionName", + required: true, + type: { + name: "String" + } + } +}; + +export const ruleCollection: OperationParameter = { + parameterPath: "ruleCollection", + mapper: AdminRuleCollectionMapper +}; + +export const ruleName: OperationURLParameter = { + parameterPath: "ruleName", + mapper: { + serializedName: "ruleName", + required: true, + type: { + name: "String" + } + } +}; + +export const adminRule: OperationParameter = { + parameterPath: "adminRule", + mapper: BaseAdminRuleMapper +}; + export const networkProfileName: OperationURLParameter = { parameterPath: "networkProfileName", mapper: { @@ -936,7 +1197,7 @@ export const networkProfileName: OperationURLParameter = { } }; -export const parameters27: OperationParameter = { +export const parameters37: OperationParameter = { parameterPath: "parameters", mapper: NetworkProfileMapper }; @@ -952,7 +1213,7 @@ export const networkSecurityGroupName: OperationURLParameter = { } }; -export const parameters28: OperationParameter = { +export const parameters38: OperationParameter = { parameterPath: "parameters", mapper: NetworkSecurityGroupMapper }; @@ -995,7 +1256,7 @@ export const networkVirtualApplianceName: OperationURLParameter = { } }; -export const parameters29: OperationParameter = { +export const parameters39: OperationParameter = { parameterPath: "parameters", mapper: NetworkVirtualApplianceMapper }; @@ -1011,7 +1272,7 @@ export const siteName: OperationURLParameter = { } }; -export const parameters30: OperationParameter = { +export const parameters40: OperationParameter = { parameterPath: "parameters", mapper: VirtualApplianceSiteMapper }; @@ -1027,23 +1288,12 @@ export const skuName: OperationURLParameter = { } }; -export const parameters31: OperationParameter = { +export const parameters41: OperationParameter = { parameterPath: "parameters", mapper: InboundSecurityRuleMapper }; -export const ruleCollectionName: OperationURLParameter = { - parameterPath: "ruleCollectionName", - mapper: { - serializedName: "ruleCollectionName", - required: true, - type: { - name: "String" - } - } -}; - -export const parameters32: OperationParameter = { +export const parameters42: OperationParameter = { parameterPath: "parameters", mapper: NetworkWatcherMapper }; @@ -1059,67 +1309,67 @@ export const networkWatcherName: OperationURLParameter = { } }; -export const parameters33: OperationParameter = { +export const parameters43: OperationParameter = { parameterPath: "parameters", mapper: TopologyParametersMapper }; -export const parameters34: OperationParameter = { +export const parameters44: OperationParameter = { parameterPath: "parameters", mapper: VerificationIPFlowParametersMapper }; -export const parameters35: OperationParameter = { +export const parameters45: OperationParameter = { parameterPath: "parameters", mapper: NextHopParametersMapper }; -export const parameters36: OperationParameter = { +export const parameters46: OperationParameter = { parameterPath: "parameters", mapper: SecurityGroupViewParametersMapper }; -export const parameters37: OperationParameter = { +export const parameters47: OperationParameter = { parameterPath: "parameters", mapper: TroubleshootingParametersMapper }; -export const parameters38: OperationParameter = { +export const parameters48: OperationParameter = { parameterPath: "parameters", mapper: QueryTroubleshootingParametersMapper }; -export const parameters39: OperationParameter = { +export const parameters49: OperationParameter = { parameterPath: "parameters", mapper: FlowLogInformationMapper }; -export const parameters40: OperationParameter = { +export const parameters50: OperationParameter = { parameterPath: "parameters", mapper: FlowLogStatusParametersMapper }; -export const parameters41: OperationParameter = { +export const parameters51: OperationParameter = { parameterPath: "parameters", mapper: ConnectivityParametersMapper }; -export const parameters42: OperationParameter = { +export const parameters52: OperationParameter = { parameterPath: "parameters", mapper: AzureReachabilityReportParametersMapper }; -export const parameters43: OperationParameter = { +export const parameters53: OperationParameter = { parameterPath: "parameters", mapper: AvailableProvidersListParametersMapper }; -export const parameters44: OperationParameter = { +export const parameters54: OperationParameter = { parameterPath: "parameters", mapper: NetworkConfigurationDiagnosticParametersMapper }; -export const parameters45: OperationParameter = { +export const parameters55: OperationParameter = { parameterPath: "parameters", mapper: PacketCaptureMapper }; @@ -1135,7 +1385,7 @@ export const packetCaptureName: OperationURLParameter = { } }; -export const parameters46: OperationParameter = { +export const parameters56: OperationParameter = { parameterPath: "parameters", mapper: ConnectionMonitorMapper }; @@ -1161,7 +1411,7 @@ export const migrate: OperationQueryParameter = { } }; -export const parameters47: OperationParameter = { +export const parameters57: OperationParameter = { parameterPath: "parameters", mapper: FlowLogMapper }; @@ -1188,7 +1438,7 @@ export const privateEndpointName: OperationURLParameter = { } }; -export const parameters48: OperationParameter = { +export const parameters58: OperationParameter = { parameterPath: "parameters", mapper: PrivateEndpointMapper }; @@ -1204,7 +1454,7 @@ export const privateDnsZoneGroupName: OperationURLParameter = { } }; -export const parameters49: OperationParameter = { +export const parameters59: OperationParameter = { parameterPath: "parameters", mapper: PrivateDnsZoneGroupMapper }; @@ -1220,7 +1470,7 @@ export const serviceName: OperationURLParameter = { } }; -export const parameters50: OperationParameter = { +export const parameters60: OperationParameter = { parameterPath: "parameters", mapper: PrivateLinkServiceMapper }; @@ -1236,12 +1486,12 @@ export const peConnectionName: OperationURLParameter = { } }; -export const parameters51: OperationParameter = { +export const parameters61: OperationParameter = { parameterPath: "parameters", mapper: PrivateEndpointConnectionMapper }; -export const parameters52: OperationParameter = { +export const parameters62: OperationParameter = { parameterPath: "parameters", mapper: CheckPrivateLinkServiceVisibilityRequestMapper }; @@ -1257,7 +1507,7 @@ export const publicIpPrefixName: OperationURLParameter = { } }; -export const parameters53: OperationParameter = { +export const parameters63: OperationParameter = { parameterPath: "parameters", mapper: PublicIPPrefixMapper }; @@ -1278,17 +1528,6 @@ export const routeFilterParameters: OperationParameter = { mapper: RouteFilterMapper }; -export const ruleName: OperationURLParameter = { - parameterPath: "ruleName", - mapper: { - serializedName: "ruleName", - required: true, - type: { - name: "String" - } - } -}; - export const routeFilterRuleParameters: OperationParameter = { parameterPath: "routeFilterRuleParameters", mapper: RouteFilterRuleMapper @@ -1305,7 +1544,7 @@ export const routeTableName: OperationURLParameter = { } }; -export const parameters54: OperationParameter = { +export const parameters64: OperationParameter = { parameterPath: "parameters", mapper: RouteTableMapper }; @@ -1337,7 +1576,7 @@ export const securityPartnerProviderName: OperationURLParameter = { } }; -export const parameters55: OperationParameter = { +export const parameters65: OperationParameter = { parameterPath: "parameters", mapper: SecurityPartnerProviderMapper }; @@ -1353,7 +1592,7 @@ export const serviceEndpointPolicyName: OperationURLParameter = { } }; -export const parameters56: OperationParameter = { +export const parameters66: OperationParameter = { parameterPath: "parameters", mapper: ServiceEndpointPolicyMapper }; @@ -1408,18 +1647,7 @@ export const location1: OperationURLParameter = { } }; -export const virtualNetworkName: OperationURLParameter = { - parameterPath: "virtualNetworkName", - mapper: { - serializedName: "virtualNetworkName", - required: true, - type: { - name: "String" - } - } -}; - -export const parameters57: OperationParameter = { +export const parameters67: OperationParameter = { parameterPath: "parameters", mapper: VirtualNetworkMapper }; @@ -1487,7 +1715,7 @@ export const syncRemoteAddressSpace: OperationQueryParameter = { } }; -export const parameters58: OperationParameter = { +export const parameters68: OperationParameter = { parameterPath: "parameters", mapper: VirtualNetworkGatewayMapper }; @@ -1513,7 +1741,7 @@ export const gatewayVip: OperationQueryParameter = { } }; -export const parameters59: OperationParameter = { +export const parameters69: OperationParameter = { parameterPath: "parameters", mapper: VpnClientParametersMapper }; @@ -1544,7 +1772,7 @@ export const vpnclientIpsecParams: OperationParameter = { mapper: VpnClientIPsecParametersMapper }; -export const parameters60: OperationParameter = { +export const parameters70: OperationParameter = { parameterPath: "parameters", mapper: VpnDeviceScriptParametersMapper }; @@ -1560,12 +1788,12 @@ export const virtualNetworkGatewayConnectionName: OperationURLParameter = { } }; -export const parameters61: OperationParameter = { +export const parameters71: OperationParameter = { parameterPath: ["options", "parameters"], mapper: VpnPacketCaptureStartParametersMapper }; -export const parameters62: OperationParameter = { +export const parameters72: OperationParameter = { parameterPath: "parameters", mapper: VpnPacketCaptureStopParametersMapper }; @@ -1575,22 +1803,22 @@ export const request1: OperationParameter = { mapper: P2SVpnConnectionRequestMapper }; -export const parameters63: OperationParameter = { +export const parameters73: OperationParameter = { parameterPath: "parameters", mapper: VirtualNetworkGatewayConnectionMapper }; -export const parameters64: OperationParameter = { +export const parameters74: OperationParameter = { parameterPath: "parameters", mapper: ConnectionSharedKeyMapper }; -export const parameters65: OperationParameter = { +export const parameters75: OperationParameter = { parameterPath: "parameters", mapper: ConnectionResetSharedKeyMapper }; -export const parameters66: OperationParameter = { +export const parameters76: OperationParameter = { parameterPath: "parameters", mapper: LocalNetworkGatewayMapper }; @@ -1636,7 +1864,7 @@ export const tapName: OperationURLParameter = { } }; -export const parameters67: OperationParameter = { +export const parameters77: OperationParameter = { parameterPath: "parameters", mapper: VirtualNetworkTapMapper }; @@ -1657,12 +1885,12 @@ export const virtualRouterName: OperationURLParameter = { } }; -export const parameters68: OperationParameter = { +export const parameters78: OperationParameter = { parameterPath: "parameters", mapper: VirtualRouterMapper }; -export const parameters69: OperationParameter = { +export const parameters79: OperationParameter = { parameterPath: "parameters", mapper: VirtualRouterPeeringMapper }; @@ -1814,12 +2042,12 @@ export const vpnGatewayParameters1: OperationParameter = { mapper: TagsObjectMapper }; -export const parameters70: OperationParameter = { +export const parameters80: OperationParameter = { parameterPath: ["options", "parameters"], mapper: VpnGatewayPacketCaptureStartParametersMapper }; -export const parameters71: OperationParameter = { +export const parameters81: OperationParameter = { parameterPath: ["options", "parameters"], mapper: VpnGatewayPacketCaptureStopParametersMapper }; @@ -1840,7 +2068,7 @@ export const vpnConnectionParameters: OperationParameter = { mapper: VpnConnectionMapper }; -export const parameters72: OperationParameter = { +export const parameters82: OperationParameter = { parameterPath: ["options", "parameters"], mapper: VpnConnectionPacketCaptureStartParametersMapper }; @@ -1856,7 +2084,7 @@ export const vpnConnectionName: OperationURLParameter = { } }; -export const parameters73: OperationParameter = { +export const parameters83: OperationParameter = { parameterPath: ["options", "parameters"], mapper: VpnConnectionPacketCaptureStopParametersMapper }; @@ -1876,7 +2104,7 @@ export const p2SVpnGatewayParameters1: OperationParameter = { mapper: TagsObjectMapper }; -export const parameters74: OperationParameter = { +export const parameters84: OperationParameter = { parameterPath: "parameters", mapper: P2SVpnProfileParametersMapper }; @@ -1928,7 +2156,7 @@ export const putExpressRouteConnectionParameters: OperationParameter = { mapper: ExpressRouteConnectionMapper }; -export const parameters75: OperationParameter = { +export const parameters85: OperationParameter = { parameterPath: "parameters", mapper: BgpConnectionMapper }; @@ -1955,7 +2183,7 @@ export const ipConfigName: OperationURLParameter = { } }; -export const parameters76: OperationParameter = { +export const parameters86: OperationParameter = { parameterPath: "parameters", mapper: HubIpConfigurationMapper }; @@ -1995,7 +2223,17 @@ export const policyName: OperationURLParameter = { } }; -export const parameters77: OperationParameter = { +export const parameters87: OperationParameter = { parameterPath: "parameters", mapper: WebApplicationFirewallPolicyMapper }; + +export const filter: OperationQueryParameter = { + parameterPath: ["options", "filter"], + mapper: { + serializedName: "$filter", + type: { + name: "String" + } + } +}; diff --git a/sdk/network/arm-network/src/networkManagementClient.ts b/sdk/network/arm-network/src/networkManagementClient.ts index 437567d7cb7b..ff6bd04a6a4e 100644 --- a/sdk/network/arm-network/src/networkManagementClient.ts +++ b/sdk/network/arm-network/src/networkManagementClient.ts @@ -62,6 +62,18 @@ import { NetworkInterfaceIPConfigurationsImpl, NetworkInterfaceLoadBalancersImpl, NetworkInterfaceTapConfigurationsImpl, + NetworkManagersImpl, + NetworkManagerCommitsImpl, + NetworkManagerDeploymentStatusOperationsImpl, + SubscriptionNetworkManagerConnectionsImpl, + ManagementGroupNetworkManagerConnectionsImpl, + ConnectivityConfigurationsImpl, + NetworkGroupsImpl, + StaticMembersImpl, + ScopeConnectionsImpl, + SecurityAdminConfigurationsImpl, + AdminRuleCollectionsImpl, + AdminRulesImpl, NetworkProfilesImpl, NetworkSecurityGroupsImpl, SecurityRulesImpl, @@ -126,7 +138,8 @@ import { VirtualHubIpConfigurationImpl, HubRouteTablesImpl, RoutingIntentOperationsImpl, - WebApplicationFirewallPoliciesImpl + WebApplicationFirewallPoliciesImpl, + ExpressRouteProviderPortsLocationImpl } from "./operations"; import { ApplicationGateways, @@ -178,6 +191,18 @@ import { NetworkInterfaceIPConfigurations, NetworkInterfaceLoadBalancers, NetworkInterfaceTapConfigurations, + NetworkManagers, + NetworkManagerCommits, + NetworkManagerDeploymentStatusOperations, + SubscriptionNetworkManagerConnections, + ManagementGroupNetworkManagerConnections, + ConnectivityConfigurations, + NetworkGroups, + StaticMembers, + ScopeConnections, + SecurityAdminConfigurations, + AdminRuleCollections, + AdminRules, NetworkProfiles, NetworkSecurityGroups, SecurityRules, @@ -242,7 +267,8 @@ import { VirtualHubIpConfiguration, HubRouteTables, RoutingIntentOperations, - WebApplicationFirewallPolicies + WebApplicationFirewallPolicies, + ExpressRouteProviderPortsLocation } from "./operationsInterfaces"; import * as Parameters from "./models/parameters"; import * as Mappers from "./models/mappers"; @@ -268,11 +294,23 @@ import { DisconnectActiveSessionsResponse, CheckDnsNameAvailabilityOptionalParams, CheckDnsNameAvailabilityResponse, + ActiveConfigurationParameter, + ListActiveConnectivityConfigurationsOptionalParams, + ListActiveConnectivityConfigurationsResponse, + ListActiveSecurityAdminRulesOptionalParams, + ListActiveSecurityAdminRulesResponse, + QueryRequestOptions, + ListNetworkManagerEffectiveConnectivityConfigurationsOptionalParams, + ListNetworkManagerEffectiveConnectivityConfigurationsResponse, + ListNetworkManagerEffectiveSecurityAdminRulesOptionalParams, + ListNetworkManagerEffectiveSecurityAdminRulesResponse, SupportedSecurityProvidersOptionalParams, SupportedSecurityProvidersResponse, VirtualWanVpnProfileParameters, GeneratevirtualwanvpnserverconfigurationvpnprofileOptionalParams, GeneratevirtualwanvpnserverconfigurationvpnprofileResponse, + ExpressRouteProviderPortOptionalParams, + ExpressRouteProviderPortResponse, PutBastionShareableLinkNextResponse, GetBastionShareableLinkNextResponse, GetActiveSessionsNextResponse, @@ -282,7 +320,6 @@ import { /// export class NetworkManagementClient extends coreClient.ServiceClient { $host: string; - apiVersion: string; subscriptionId: string; /** @@ -313,7 +350,7 @@ export class NetworkManagementClient extends coreClient.ServiceClient { credential: credentials }; - const packageDetails = `azsdk-js-arm-network/28.0.1`; + const packageDetails = `azsdk-js-arm-network/29.0.0`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` @@ -360,7 +397,6 @@ export class NetworkManagementClient extends coreClient.ServiceClient { // Assigning values to Constant parameters this.$host = options.$host || "https://management.azure.com"; - this.apiVersion = options.apiVersion || "2021-08-01"; this.applicationGateways = new ApplicationGatewaysImpl(this); this.applicationGatewayPrivateLinkResources = new ApplicationGatewayPrivateLinkResourcesImpl( this @@ -456,6 +492,26 @@ export class NetworkManagementClient extends coreClient.ServiceClient { this.networkInterfaceTapConfigurations = new NetworkInterfaceTapConfigurationsImpl( this ); + this.networkManagers = new NetworkManagersImpl(this); + this.networkManagerCommits = new NetworkManagerCommitsImpl(this); + this.networkManagerDeploymentStatusOperations = new NetworkManagerDeploymentStatusOperationsImpl( + this + ); + this.subscriptionNetworkManagerConnections = new SubscriptionNetworkManagerConnectionsImpl( + this + ); + this.managementGroupNetworkManagerConnections = new ManagementGroupNetworkManagerConnectionsImpl( + this + ); + this.connectivityConfigurations = new ConnectivityConfigurationsImpl(this); + this.networkGroups = new NetworkGroupsImpl(this); + this.staticMembers = new StaticMembersImpl(this); + this.scopeConnections = new ScopeConnectionsImpl(this); + this.securityAdminConfigurations = new SecurityAdminConfigurationsImpl( + this + ); + this.adminRuleCollections = new AdminRuleCollectionsImpl(this); + this.adminRules = new AdminRulesImpl(this); this.networkProfiles = new NetworkProfilesImpl(this); this.networkSecurityGroups = new NetworkSecurityGroupsImpl(this); this.securityRules = new SecurityRulesImpl(this); @@ -539,6 +595,9 @@ export class NetworkManagementClient extends coreClient.ServiceClient { this.webApplicationFirewallPolicies = new WebApplicationFirewallPoliciesImpl( this ); + this.expressRouteProviderPortsLocation = new ExpressRouteProviderPortsLocationImpl( + this + ); } /** @@ -1138,6 +1197,82 @@ export class NetworkManagementClient extends coreClient.ServiceClient { ); } + /** + * Lists active connectivity configurations in a network manager. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param parameters Active Configuration Parameter. + * @param options The options parameters. + */ + listActiveConnectivityConfigurations( + resourceGroupName: string, + networkManagerName: string, + parameters: ActiveConfigurationParameter, + options?: ListActiveConnectivityConfigurationsOptionalParams + ): Promise { + return this.sendOperationRequest( + { resourceGroupName, networkManagerName, parameters, options }, + listActiveConnectivityConfigurationsOperationSpec + ); + } + + /** + * Lists active security admin rules in a network manager. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param parameters Active Configuration Parameter. + * @param options The options parameters. + */ + listActiveSecurityAdminRules( + resourceGroupName: string, + networkManagerName: string, + parameters: ActiveConfigurationParameter, + options?: ListActiveSecurityAdminRulesOptionalParams + ): Promise { + return this.sendOperationRequest( + { resourceGroupName, networkManagerName, parameters, options }, + listActiveSecurityAdminRulesOperationSpec + ); + } + + /** + * List all effective connectivity configurations applied on a virtual network. + * @param resourceGroupName The name of the resource group. + * @param virtualNetworkName The name of the virtual network. + * @param parameters Parameters supplied to list correct page. + * @param options The options parameters. + */ + listNetworkManagerEffectiveConnectivityConfigurations( + resourceGroupName: string, + virtualNetworkName: string, + parameters: QueryRequestOptions, + options?: ListNetworkManagerEffectiveConnectivityConfigurationsOptionalParams + ): Promise { + return this.sendOperationRequest( + { resourceGroupName, virtualNetworkName, parameters, options }, + listNetworkManagerEffectiveConnectivityConfigurationsOperationSpec + ); + } + + /** + * List all effective security admin rules applied on a virtual network. + * @param resourceGroupName The name of the resource group. + * @param virtualNetworkName The name of the virtual network. + * @param parameters Parameters supplied to list correct page. + * @param options The options parameters. + */ + listNetworkManagerEffectiveSecurityAdminRules( + resourceGroupName: string, + virtualNetworkName: string, + parameters: QueryRequestOptions, + options?: ListNetworkManagerEffectiveSecurityAdminRulesOptionalParams + ): Promise { + return this.sendOperationRequest( + { resourceGroupName, virtualNetworkName, parameters, options }, + listNetworkManagerEffectiveSecurityAdminRulesOperationSpec + ); + } + /** * Gives the supported security providers for the virtual wan. * @param resourceGroupName The resource group name. @@ -1254,6 +1389,21 @@ export class NetworkManagementClient extends coreClient.ServiceClient { return poller.pollUntilDone(); } + /** + * Retrieves detail of a provider port. + * @param providerport The name of the provider port. + * @param options The options parameters. + */ + expressRouteProviderPort( + providerport: string, + options?: ExpressRouteProviderPortOptionalParams + ): Promise { + return this.sendOperationRequest( + { providerport, options }, + expressRouteProviderPortOperationSpec + ); + } + /** * PutBastionShareableLinkNext * @param resourceGroupName The name of the resource group. @@ -1388,6 +1538,18 @@ export class NetworkManagementClient extends coreClient.ServiceClient { networkInterfaceIPConfigurations: NetworkInterfaceIPConfigurations; networkInterfaceLoadBalancers: NetworkInterfaceLoadBalancers; networkInterfaceTapConfigurations: NetworkInterfaceTapConfigurations; + networkManagers: NetworkManagers; + networkManagerCommits: NetworkManagerCommits; + networkManagerDeploymentStatusOperations: NetworkManagerDeploymentStatusOperations; + subscriptionNetworkManagerConnections: SubscriptionNetworkManagerConnections; + managementGroupNetworkManagerConnections: ManagementGroupNetworkManagerConnections; + connectivityConfigurations: ConnectivityConfigurations; + networkGroups: NetworkGroups; + staticMembers: StaticMembers; + scopeConnections: ScopeConnections; + securityAdminConfigurations: SecurityAdminConfigurations; + adminRuleCollections: AdminRuleCollections; + adminRules: AdminRules; networkProfiles: NetworkProfiles; networkSecurityGroups: NetworkSecurityGroups; securityRules: SecurityRules; @@ -1453,6 +1615,7 @@ export class NetworkManagementClient extends coreClient.ServiceClient { hubRouteTables: HubRouteTables; routingIntentOperations: RoutingIntentOperations; webApplicationFirewallPolicies: WebApplicationFirewallPolicies; + expressRouteProviderPortsLocation: ExpressRouteProviderPortsLocation; } // Operation Specifications const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); @@ -1615,6 +1778,103 @@ const checkDnsNameAvailabilityOperationSpec: coreClient.OperationSpec = { headerParameters: [Parameters.accept], serializer }; +const listActiveConnectivityConfigurationsOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/listActiveConnectivityConfigurations", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.ActiveConnectivityConfigurationsListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + requestBody: Parameters.parameters6, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.networkManagerName + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const listActiveSecurityAdminRulesOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/listActiveSecurityAdminRules", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.ActiveSecurityAdminRulesListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + requestBody: Parameters.parameters6, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.networkManagerName + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const listNetworkManagerEffectiveConnectivityConfigurationsOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/listNetworkManagerEffectiveConnectivityConfigurations", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: + Mappers.NetworkManagerEffectiveConnectivityConfigurationListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + requestBody: Parameters.parameters7, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.virtualNetworkName + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const listNetworkManagerEffectiveSecurityAdminRulesOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/listNetworkManagerEffectiveSecurityAdminRules", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.NetworkManagerEffectiveSecurityAdminRulesListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + requestBody: Parameters.parameters7, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.virtualNetworkName + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; const supportedSecurityProvidersOperationSpec: coreClient.OperationSpec = { path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/supportedSecurityProviders", @@ -1670,6 +1930,27 @@ const generatevirtualwanvpnserverconfigurationvpnprofileOperationSpec: coreClien mediaType: "json", serializer }; +const expressRouteProviderPortOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts/{providerport}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ExpressRouteProviderPort + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.providerport + ], + headerParameters: [Parameters.accept], + serializer +}; const putBastionShareableLinkNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", diff --git a/sdk/network/arm-network/src/operations/adminRuleCollections.ts b/sdk/network/arm-network/src/operations/adminRuleCollections.ts new file mode 100644 index 000000000000..083b2319da43 --- /dev/null +++ b/sdk/network/arm-network/src/operations/adminRuleCollections.ts @@ -0,0 +1,459 @@ +/* + * 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 { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { AdminRuleCollections } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { NetworkManagementClient } from "../networkManagementClient"; +import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; +import { LroImpl } from "../lroImpl"; +import { + AdminRuleCollection, + AdminRuleCollectionsListNextOptionalParams, + AdminRuleCollectionsListOptionalParams, + AdminRuleCollectionsListResponse, + AdminRuleCollectionsGetOptionalParams, + AdminRuleCollectionsGetResponse, + AdminRuleCollectionsCreateOrUpdateOptionalParams, + AdminRuleCollectionsCreateOrUpdateResponse, + AdminRuleCollectionsDeleteOptionalParams, + AdminRuleCollectionsListNextResponse +} from "../models"; + +/// +/** Class containing AdminRuleCollections operations. */ +export class AdminRuleCollectionsImpl implements AdminRuleCollections { + private readonly client: NetworkManagementClient; + + /** + * Initialize a new instance of the class AdminRuleCollections class. + * @param client Reference to the service client + */ + constructor(client: NetworkManagementClient) { + this.client = client; + } + + /** + * Lists all the rule collections in a security admin configuration, in a paginated format. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + networkManagerName: string, + configurationName: string, + options?: AdminRuleCollectionsListOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll( + resourceGroupName, + networkManagerName, + configurationName, + options + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: () => { + return this.listPagingPage( + resourceGroupName, + networkManagerName, + configurationName, + options + ); + } + }; + } + + private async *listPagingPage( + resourceGroupName: string, + networkManagerName: string, + configurationName: string, + options?: AdminRuleCollectionsListOptionalParams + ): AsyncIterableIterator { + let result = await this._list( + resourceGroupName, + networkManagerName, + configurationName, + options + ); + yield result.value || []; + let continuationToken = result.nextLink; + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + networkManagerName, + configurationName, + continuationToken, + options + ); + continuationToken = result.nextLink; + yield result.value || []; + } + } + + private async *listPagingAll( + resourceGroupName: string, + networkManagerName: string, + configurationName: string, + options?: AdminRuleCollectionsListOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + networkManagerName, + configurationName, + options + )) { + yield* page; + } + } + + /** + * Lists all the rule collections in a security admin configuration, in a paginated format. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + networkManagerName: string, + configurationName: string, + options?: AdminRuleCollectionsListOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, networkManagerName, configurationName, options }, + listOperationSpec + ); + } + + /** + * Gets a network manager security admin configuration rule collection. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param ruleCollectionName The name of the network manager security Configuration rule collection. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + networkManagerName: string, + configurationName: string, + ruleCollectionName: string, + options?: AdminRuleCollectionsGetOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + networkManagerName, + configurationName, + ruleCollectionName, + options + }, + getOperationSpec + ); + } + + /** + * Creates or updates an admin rule collection. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param ruleCollectionName The name of the network manager security Configuration rule collection. + * @param ruleCollection The Rule Collection to create or update + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + networkManagerName: string, + configurationName: string, + ruleCollectionName: string, + ruleCollection: AdminRuleCollection, + options?: AdminRuleCollectionsCreateOrUpdateOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + networkManagerName, + configurationName, + ruleCollectionName, + ruleCollection, + options + }, + createOrUpdateOperationSpec + ); + } + + /** + * Deletes an admin rule collection. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param ruleCollectionName The name of the network manager security Configuration rule collection. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + networkManagerName: string, + configurationName: string, + ruleCollectionName: string, + options?: AdminRuleCollectionsDeleteOptionalParams + ): Promise, void>> { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ) => { + let currentRawResponse: + | coreClient.FullOperationResponse + | undefined = undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback + } + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON() + } + }; + }; + + const lro = new LroImpl( + sendOperation, + { + resourceGroupName, + networkManagerName, + configurationName, + ruleCollectionName, + options + }, + deleteOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "location" + }); + await poller.poll(); + return poller; + } + + /** + * Deletes an admin rule collection. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param ruleCollectionName The name of the network manager security Configuration rule collection. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + networkManagerName: string, + configurationName: string, + ruleCollectionName: string, + options?: AdminRuleCollectionsDeleteOptionalParams + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + networkManagerName, + configurationName, + ruleCollectionName, + options + ); + return poller.pollUntilDone(); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + networkManagerName: string, + configurationName: string, + nextLink: string, + options?: AdminRuleCollectionsListNextOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + networkManagerName, + configurationName, + nextLink, + options + }, + listNextOperationSpec + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.AdminRuleCollectionListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.top, + Parameters.skipToken + ], + urlParameters: [ + Parameters.$host, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.networkManagerName, + Parameters.configurationName + ], + headerParameters: [Parameters.accept], + serializer +}; +const getOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.AdminRuleCollection + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.networkManagerName, + Parameters.configurationName, + Parameters.ruleCollectionName + ], + headerParameters: [Parameters.accept], + serializer +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.AdminRuleCollection + }, + 201: { + bodyMapper: Mappers.AdminRuleCollection + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + requestBody: Parameters.ruleCollection, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.networkManagerName, + Parameters.configurationName, + Parameters.ruleCollectionName + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}", + httpMethod: "DELETE", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [Parameters.apiVersion, Parameters.force], + urlParameters: [ + Parameters.$host, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.networkManagerName, + Parameters.configurationName, + Parameters.ruleCollectionName + ], + headerParameters: [Parameters.accept], + serializer +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.AdminRuleCollectionListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.top, + Parameters.skipToken + ], + urlParameters: [ + Parameters.$host, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.nextLink, + Parameters.networkManagerName, + Parameters.configurationName + ], + headerParameters: [Parameters.accept], + serializer +}; diff --git a/sdk/network/arm-network/src/operations/adminRules.ts b/sdk/network/arm-network/src/operations/adminRules.ts new file mode 100644 index 000000000000..bb39ed83604a --- /dev/null +++ b/sdk/network/arm-network/src/operations/adminRules.ts @@ -0,0 +1,496 @@ +/* + * 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 { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { AdminRules } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { NetworkManagementClient } from "../networkManagementClient"; +import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; +import { LroImpl } from "../lroImpl"; +import { + BaseAdminRuleUnion, + AdminRulesListNextOptionalParams, + AdminRulesListOptionalParams, + AdminRulesListResponse, + AdminRulesGetOptionalParams, + AdminRulesGetResponse, + AdminRulesCreateOrUpdateOptionalParams, + AdminRulesCreateOrUpdateResponse, + AdminRulesDeleteOptionalParams, + AdminRulesListNextResponse +} from "../models"; + +/// +/** Class containing AdminRules operations. */ +export class AdminRulesImpl implements AdminRules { + private readonly client: NetworkManagementClient; + + /** + * Initialize a new instance of the class AdminRules class. + * @param client Reference to the service client + */ + constructor(client: NetworkManagementClient) { + this.client = client; + } + + /** + * List all network manager security configuration admin rules. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param ruleCollectionName The name of the network manager security Configuration rule collection. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + networkManagerName: string, + configurationName: string, + ruleCollectionName: string, + options?: AdminRulesListOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll( + resourceGroupName, + networkManagerName, + configurationName, + ruleCollectionName, + options + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: () => { + return this.listPagingPage( + resourceGroupName, + networkManagerName, + configurationName, + ruleCollectionName, + options + ); + } + }; + } + + private async *listPagingPage( + resourceGroupName: string, + networkManagerName: string, + configurationName: string, + ruleCollectionName: string, + options?: AdminRulesListOptionalParams + ): AsyncIterableIterator { + let result = await this._list( + resourceGroupName, + networkManagerName, + configurationName, + ruleCollectionName, + options + ); + yield result.value || []; + let continuationToken = result.nextLink; + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + networkManagerName, + configurationName, + ruleCollectionName, + continuationToken, + options + ); + continuationToken = result.nextLink; + yield result.value || []; + } + } + + private async *listPagingAll( + resourceGroupName: string, + networkManagerName: string, + configurationName: string, + ruleCollectionName: string, + options?: AdminRulesListOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + networkManagerName, + configurationName, + ruleCollectionName, + options + )) { + yield* page; + } + } + + /** + * List all network manager security configuration admin rules. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param ruleCollectionName The name of the network manager security Configuration rule collection. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + networkManagerName: string, + configurationName: string, + ruleCollectionName: string, + options?: AdminRulesListOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + networkManagerName, + configurationName, + ruleCollectionName, + options + }, + listOperationSpec + ); + } + + /** + * Gets a network manager security configuration admin rule. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param ruleCollectionName The name of the network manager security Configuration rule collection. + * @param ruleName The name of the rule. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + networkManagerName: string, + configurationName: string, + ruleCollectionName: string, + ruleName: string, + options?: AdminRulesGetOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + networkManagerName, + configurationName, + ruleCollectionName, + ruleName, + options + }, + getOperationSpec + ); + } + + /** + * Creates or updates an admin rule. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param ruleCollectionName The name of the network manager security Configuration rule collection. + * @param ruleName The name of the rule. + * @param adminRule The admin rule to create or update + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + networkManagerName: string, + configurationName: string, + ruleCollectionName: string, + ruleName: string, + adminRule: BaseAdminRuleUnion, + options?: AdminRulesCreateOrUpdateOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + networkManagerName, + configurationName, + ruleCollectionName, + ruleName, + adminRule, + options + }, + createOrUpdateOperationSpec + ); + } + + /** + * Deletes an admin rule. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param ruleCollectionName The name of the network manager security Configuration rule collection. + * @param ruleName The name of the rule. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + networkManagerName: string, + configurationName: string, + ruleCollectionName: string, + ruleName: string, + options?: AdminRulesDeleteOptionalParams + ): Promise, void>> { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ) => { + let currentRawResponse: + | coreClient.FullOperationResponse + | undefined = undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback + } + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON() + } + }; + }; + + const lro = new LroImpl( + sendOperation, + { + resourceGroupName, + networkManagerName, + configurationName, + ruleCollectionName, + ruleName, + options + }, + deleteOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "location" + }); + await poller.poll(); + return poller; + } + + /** + * Deletes an admin rule. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param ruleCollectionName The name of the network manager security Configuration rule collection. + * @param ruleName The name of the rule. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + networkManagerName: string, + configurationName: string, + ruleCollectionName: string, + ruleName: string, + options?: AdminRulesDeleteOptionalParams + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + networkManagerName, + configurationName, + ruleCollectionName, + ruleName, + options + ); + return poller.pollUntilDone(); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param ruleCollectionName The name of the network manager security Configuration rule collection. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + networkManagerName: string, + configurationName: string, + ruleCollectionName: string, + nextLink: string, + options?: AdminRulesListNextOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + networkManagerName, + configurationName, + ruleCollectionName, + nextLink, + options + }, + listNextOperationSpec + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.AdminRuleListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.top, + Parameters.skipToken + ], + urlParameters: [ + Parameters.$host, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.networkManagerName, + Parameters.configurationName, + Parameters.ruleCollectionName + ], + headerParameters: [Parameters.accept], + serializer +}; +const getOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules/{ruleName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.BaseAdminRule + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.networkManagerName, + Parameters.configurationName, + Parameters.ruleCollectionName, + Parameters.ruleName + ], + headerParameters: [Parameters.accept], + serializer +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules/{ruleName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.BaseAdminRule + }, + 201: { + bodyMapper: Mappers.BaseAdminRule + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + requestBody: Parameters.adminRule, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.networkManagerName, + Parameters.configurationName, + Parameters.ruleCollectionName, + Parameters.ruleName + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules/{ruleName}", + httpMethod: "DELETE", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [Parameters.apiVersion, Parameters.force], + urlParameters: [ + Parameters.$host, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.networkManagerName, + Parameters.configurationName, + Parameters.ruleCollectionName, + Parameters.ruleName + ], + headerParameters: [Parameters.accept], + serializer +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.AdminRuleListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.top, + Parameters.skipToken + ], + urlParameters: [ + Parameters.$host, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.nextLink, + Parameters.networkManagerName, + Parameters.configurationName, + Parameters.ruleCollectionName + ], + headerParameters: [Parameters.accept], + serializer +}; diff --git a/sdk/network/arm-network/src/operations/azureFirewalls.ts b/sdk/network/arm-network/src/operations/azureFirewalls.ts index bc0390138685..661a8b948585 100644 --- a/sdk/network/arm-network/src/operations/azureFirewalls.ts +++ b/sdk/network/arm-network/src/operations/azureFirewalls.ts @@ -30,6 +30,8 @@ import { AzureFirewallsUpdateTagsResponse, AzureFirewallsListResponse, AzureFirewallsListAllResponse, + AzureFirewallsListLearnedPrefixesOptionalParams, + AzureFirewallsListLearnedPrefixesResponse, AzureFirewallsListNextResponse, AzureFirewallsListAllNextResponse } from "../models"; @@ -450,6 +452,94 @@ export class AzureFirewallsImpl implements AzureFirewalls { return this.client.sendOperationRequest({ options }, listAllOperationSpec); } + /** + * Retrieves a list of all IP prefixes that azure firewall has learned to not SNAT. + * @param resourceGroupName The name of the resource group. + * @param azureFirewallName The name of the azure firewall. + * @param options The options parameters. + */ + async beginListLearnedPrefixes( + resourceGroupName: string, + azureFirewallName: string, + options?: AzureFirewallsListLearnedPrefixesOptionalParams + ): Promise< + PollerLike< + PollOperationState, + AzureFirewallsListLearnedPrefixesResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ) => { + let currentRawResponse: + | coreClient.FullOperationResponse + | undefined = undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback + } + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON() + } + }; + }; + + const lro = new LroImpl( + sendOperation, + { resourceGroupName, azureFirewallName, options }, + listLearnedPrefixesOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "location" + }); + await poller.poll(); + return poller; + } + + /** + * Retrieves a list of all IP prefixes that azure firewall has learned to not SNAT. + * @param resourceGroupName The name of the resource group. + * @param azureFirewallName The name of the azure firewall. + * @param options The options parameters. + */ + async beginListLearnedPrefixesAndWait( + resourceGroupName: string, + azureFirewallName: string, + options?: AzureFirewallsListLearnedPrefixesOptionalParams + ): Promise { + const poller = await this.beginListLearnedPrefixes( + resourceGroupName, + azureFirewallName, + options + ); + return poller.pollUntilDone(); + } + /** * ListNext * @param resourceGroupName The name of the resource group. @@ -634,6 +724,37 @@ const listAllOperationSpec: coreClient.OperationSpec = { headerParameters: [Parameters.accept], serializer }; +const listLearnedPrefixesOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}/learnedIPPrefixes", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.IPPrefixesList + }, + 201: { + bodyMapper: Mappers.IPPrefixesList + }, + 202: { + bodyMapper: Mappers.IPPrefixesList + }, + 204: { + bodyMapper: Mappers.IPPrefixesList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.azureFirewallName + ], + headerParameters: [Parameters.accept], + serializer +}; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", diff --git a/sdk/network/arm-network/src/operations/connectionMonitors.ts b/sdk/network/arm-network/src/operations/connectionMonitors.ts index 39e8bd51b004..dd088d7ea68a 100644 --- a/sdk/network/arm-network/src/operations/connectionMonitors.ts +++ b/sdk/network/arm-network/src/operations/connectionMonitors.ts @@ -654,7 +654,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters46, + requestBody: Parameters.parameters56, queryParameters: [Parameters.apiVersion, Parameters.migrate], urlParameters: [ Parameters.$host, diff --git a/sdk/network/arm-network/src/operations/connectivityConfigurations.ts b/sdk/network/arm-network/src/operations/connectivityConfigurations.ts new file mode 100644 index 000000000000..6deef050e682 --- /dev/null +++ b/sdk/network/arm-network/src/operations/connectivityConfigurations.ts @@ -0,0 +1,418 @@ +/* + * 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 { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { ConnectivityConfigurations } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { NetworkManagementClient } from "../networkManagementClient"; +import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; +import { LroImpl } from "../lroImpl"; +import { + ConnectivityConfiguration, + ConnectivityConfigurationsListNextOptionalParams, + ConnectivityConfigurationsListOptionalParams, + ConnectivityConfigurationsGetOptionalParams, + ConnectivityConfigurationsGetResponse, + ConnectivityConfigurationsCreateOrUpdateOptionalParams, + ConnectivityConfigurationsCreateOrUpdateResponse, + ConnectivityConfigurationsDeleteOptionalParams, + ConnectivityConfigurationsListResponse, + ConnectivityConfigurationsListNextResponse +} from "../models"; + +/// +/** Class containing ConnectivityConfigurations operations. */ +export class ConnectivityConfigurationsImpl + implements ConnectivityConfigurations { + private readonly client: NetworkManagementClient; + + /** + * Initialize a new instance of the class ConnectivityConfigurations class. + * @param client Reference to the service client + */ + constructor(client: NetworkManagementClient) { + this.client = client; + } + + /** + * Lists all the network manager connectivity configuration in a specified network manager. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + networkManagerName: string, + options?: ConnectivityConfigurationsListOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll( + resourceGroupName, + networkManagerName, + options + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: () => { + return this.listPagingPage( + resourceGroupName, + networkManagerName, + options + ); + } + }; + } + + private async *listPagingPage( + resourceGroupName: string, + networkManagerName: string, + options?: ConnectivityConfigurationsListOptionalParams + ): AsyncIterableIterator { + let result = await this._list( + resourceGroupName, + networkManagerName, + options + ); + yield result.value || []; + let continuationToken = result.nextLink; + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + networkManagerName, + continuationToken, + options + ); + continuationToken = result.nextLink; + yield result.value || []; + } + } + + private async *listPagingAll( + resourceGroupName: string, + networkManagerName: string, + options?: ConnectivityConfigurationsListOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + networkManagerName, + options + )) { + yield* page; + } + } + + /** + * Gets a Network Connectivity Configuration, specified by the resource group, network manager name, + * and connectivity Configuration name + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager connectivity configuration. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + networkManagerName: string, + configurationName: string, + options?: ConnectivityConfigurationsGetOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, networkManagerName, configurationName, options }, + getOperationSpec + ); + } + + /** + * Creates/Updates a new network manager connectivity configuration + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager connectivity configuration. + * @param connectivityConfiguration Parameters supplied to create/update a network manager connectivity + * configuration + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + networkManagerName: string, + configurationName: string, + connectivityConfiguration: ConnectivityConfiguration, + options?: ConnectivityConfigurationsCreateOrUpdateOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + networkManagerName, + configurationName, + connectivityConfiguration, + options + }, + createOrUpdateOperationSpec + ); + } + + /** + * Deletes a network manager connectivity configuration, specified by the resource group, network + * manager name, and connectivity configuration name + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager connectivity configuration. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + networkManagerName: string, + configurationName: string, + options?: ConnectivityConfigurationsDeleteOptionalParams + ): Promise, void>> { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ) => { + let currentRawResponse: + | coreClient.FullOperationResponse + | undefined = undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback + } + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON() + } + }; + }; + + const lro = new LroImpl( + sendOperation, + { resourceGroupName, networkManagerName, configurationName, options }, + deleteOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "location" + }); + await poller.poll(); + return poller; + } + + /** + * Deletes a network manager connectivity configuration, specified by the resource group, network + * manager name, and connectivity configuration name + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager connectivity configuration. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + networkManagerName: string, + configurationName: string, + options?: ConnectivityConfigurationsDeleteOptionalParams + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + networkManagerName, + configurationName, + options + ); + return poller.pollUntilDone(); + } + + /** + * Lists all the network manager connectivity configuration in a specified network manager. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + networkManagerName: string, + options?: ConnectivityConfigurationsListOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, networkManagerName, options }, + listOperationSpec + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + networkManagerName: string, + nextLink: string, + options?: ConnectivityConfigurationsListNextOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, networkManagerName, nextLink, options }, + listNextOperationSpec + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const getOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/connectivityConfigurations/{configurationName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ConnectivityConfiguration + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.networkManagerName, + Parameters.configurationName + ], + headerParameters: [Parameters.accept], + serializer +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/connectivityConfigurations/{configurationName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.ConnectivityConfiguration + }, + 201: { + bodyMapper: Mappers.ConnectivityConfiguration + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + requestBody: Parameters.connectivityConfiguration, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.networkManagerName, + Parameters.configurationName + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/connectivityConfigurations/{configurationName}", + httpMethod: "DELETE", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [Parameters.apiVersion, Parameters.force], + urlParameters: [ + Parameters.$host, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.networkManagerName, + Parameters.configurationName + ], + headerParameters: [Parameters.accept], + serializer +}; +const listOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/connectivityConfigurations", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ConnectivityConfigurationListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.top, + Parameters.skipToken + ], + urlParameters: [ + Parameters.$host, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.networkManagerName + ], + headerParameters: [Parameters.accept], + serializer +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ConnectivityConfigurationListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.top, + Parameters.skipToken + ], + urlParameters: [ + Parameters.$host, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.nextLink, + Parameters.networkManagerName + ], + headerParameters: [Parameters.accept], + serializer +}; diff --git a/sdk/network/arm-network/src/operations/customIPPrefixes.ts b/sdk/network/arm-network/src/operations/customIPPrefixes.ts index 437cb6076b35..9be6c6bba5f6 100644 --- a/sdk/network/arm-network/src/operations/customIPPrefixes.ts +++ b/sdk/network/arm-network/src/operations/customIPPrefixes.ts @@ -477,7 +477,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters8, + requestBody: Parameters.parameters10, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/network/arm-network/src/operations/ddosCustomPolicies.ts b/sdk/network/arm-network/src/operations/ddosCustomPolicies.ts index 09575ca1a195..0cf33945eb1d 100644 --- a/sdk/network/arm-network/src/operations/ddosCustomPolicies.ts +++ b/sdk/network/arm-network/src/operations/ddosCustomPolicies.ts @@ -318,7 +318,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters9, + requestBody: Parameters.parameters11, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/network/arm-network/src/operations/ddosProtectionPlans.ts b/sdk/network/arm-network/src/operations/ddosProtectionPlans.ts index edb6a1a108b4..390c711c3ecb 100644 --- a/sdk/network/arm-network/src/operations/ddosProtectionPlans.ts +++ b/sdk/network/arm-network/src/operations/ddosProtectionPlans.ts @@ -480,7 +480,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters10, + requestBody: Parameters.parameters12, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/network/arm-network/src/operations/dscpConfigurationOperations.ts b/sdk/network/arm-network/src/operations/dscpConfigurationOperations.ts index 9000598445b0..8f227c96aa10 100644 --- a/sdk/network/arm-network/src/operations/dscpConfigurationOperations.ts +++ b/sdk/network/arm-network/src/operations/dscpConfigurationOperations.ts @@ -411,7 +411,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters11, + requestBody: Parameters.parameters13, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/network/arm-network/src/operations/expressRouteCircuits.ts b/sdk/network/arm-network/src/operations/expressRouteCircuits.ts index 13f08a45597e..a07cc7e1e05b 100644 --- a/sdk/network/arm-network/src/operations/expressRouteCircuits.ts +++ b/sdk/network/arm-network/src/operations/expressRouteCircuits.ts @@ -823,7 +823,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters12, + requestBody: Parameters.parameters14, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/network/arm-network/src/operations/expressRouteCrossConnections.ts b/sdk/network/arm-network/src/operations/expressRouteCrossConnections.ts index 7f7e974f73c4..f24bb52b8479 100644 --- a/sdk/network/arm-network/src/operations/expressRouteCrossConnections.ts +++ b/sdk/network/arm-network/src/operations/expressRouteCrossConnections.ts @@ -741,7 +741,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters13, + requestBody: Parameters.parameters15, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/network/arm-network/src/operations/expressRoutePorts.ts b/sdk/network/arm-network/src/operations/expressRoutePorts.ts index 4ec44e6be8c0..2ee4bcd10658 100644 --- a/sdk/network/arm-network/src/operations/expressRoutePorts.ts +++ b/sdk/network/arm-network/src/operations/expressRoutePorts.ts @@ -502,7 +502,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters14, + requestBody: Parameters.parameters16, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/network/arm-network/src/operations/expressRouteProviderPortsLocation.ts b/sdk/network/arm-network/src/operations/expressRouteProviderPortsLocation.ts new file mode 100644 index 000000000000..d23c32ec08c4 --- /dev/null +++ b/sdk/network/arm-network/src/operations/expressRouteProviderPortsLocation.ts @@ -0,0 +1,61 @@ +/* + * 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 { ExpressRouteProviderPortsLocation } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { NetworkManagementClient } from "../networkManagementClient"; +import { + ExpressRouteProviderPortsLocationListOptionalParams, + ExpressRouteProviderPortsLocationListResponse +} from "../models"; + +/** Class containing ExpressRouteProviderPortsLocation operations. */ +export class ExpressRouteProviderPortsLocationImpl + implements ExpressRouteProviderPortsLocation { + private readonly client: NetworkManagementClient; + + /** + * Initialize a new instance of the class ExpressRouteProviderPortsLocation class. + * @param client Reference to the service client + */ + constructor(client: NetworkManagementClient) { + this.client = client; + } + + /** + * Retrieves all the ExpressRouteProviderPorts in a subscription. + * @param options The options parameters. + */ + list( + options?: ExpressRouteProviderPortsLocationListOptionalParams + ): Promise { + return this.client.sendOperationRequest({ options }, listOperationSpec); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ExpressRouteProviderPortListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [Parameters.apiVersion, Parameters.filter], + urlParameters: [Parameters.$host, Parameters.subscriptionId], + headerParameters: [Parameters.accept], + serializer +}; diff --git a/sdk/network/arm-network/src/operations/firewallPolicies.ts b/sdk/network/arm-network/src/operations/firewallPolicies.ts index 22a03fc74877..d54864352f62 100644 --- a/sdk/network/arm-network/src/operations/firewallPolicies.ts +++ b/sdk/network/arm-network/src/operations/firewallPolicies.ts @@ -477,7 +477,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters15, + requestBody: Parameters.parameters17, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/network/arm-network/src/operations/firewallPolicyIdpsSignatures.ts b/sdk/network/arm-network/src/operations/firewallPolicyIdpsSignatures.ts index 1fd4d65faf52..d639be61ca16 100644 --- a/sdk/network/arm-network/src/operations/firewallPolicyIdpsSignatures.ts +++ b/sdk/network/arm-network/src/operations/firewallPolicyIdpsSignatures.ts @@ -64,7 +64,7 @@ const listOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters17, + requestBody: Parameters.parameters19, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/network/arm-network/src/operations/firewallPolicyIdpsSignaturesFilterValues.ts b/sdk/network/arm-network/src/operations/firewallPolicyIdpsSignaturesFilterValues.ts index 177f613e982a..7cfa1c8a42bd 100644 --- a/sdk/network/arm-network/src/operations/firewallPolicyIdpsSignaturesFilterValues.ts +++ b/sdk/network/arm-network/src/operations/firewallPolicyIdpsSignaturesFilterValues.ts @@ -64,7 +64,7 @@ const listOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters19, + requestBody: Parameters.parameters21, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/network/arm-network/src/operations/firewallPolicyIdpsSignaturesOverrides.ts b/sdk/network/arm-network/src/operations/firewallPolicyIdpsSignaturesOverrides.ts index 3b54c928ae02..908d37926111 100644 --- a/sdk/network/arm-network/src/operations/firewallPolicyIdpsSignaturesOverrides.ts +++ b/sdk/network/arm-network/src/operations/firewallPolicyIdpsSignaturesOverrides.ts @@ -123,7 +123,7 @@ const patchOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters18, + requestBody: Parameters.parameters20, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -147,7 +147,7 @@ const putOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters18, + requestBody: Parameters.parameters20, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/network/arm-network/src/operations/firewallPolicyRuleCollectionGroups.ts b/sdk/network/arm-network/src/operations/firewallPolicyRuleCollectionGroups.ts index 53968e272441..9bf1a202b4ea 100644 --- a/sdk/network/arm-network/src/operations/firewallPolicyRuleCollectionGroups.ts +++ b/sdk/network/arm-network/src/operations/firewallPolicyRuleCollectionGroups.ts @@ -444,7 +444,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters16, + requestBody: Parameters.parameters18, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/network/arm-network/src/operations/flowLogs.ts b/sdk/network/arm-network/src/operations/flowLogs.ts index bda189d91f08..ddbe31e090a6 100644 --- a/sdk/network/arm-network/src/operations/flowLogs.ts +++ b/sdk/network/arm-network/src/operations/flowLogs.ts @@ -412,7 +412,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters47, + requestBody: Parameters.parameters57, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/network/arm-network/src/operations/inboundSecurityRuleOperations.ts b/sdk/network/arm-network/src/operations/inboundSecurityRuleOperations.ts index 9f50fa277c10..297a81f5aac1 100644 --- a/sdk/network/arm-network/src/operations/inboundSecurityRuleOperations.ts +++ b/sdk/network/arm-network/src/operations/inboundSecurityRuleOperations.ts @@ -162,14 +162,14 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters31, + requestBody: Parameters.parameters41, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, Parameters.subscriptionId, - Parameters.networkVirtualApplianceName, - Parameters.ruleCollectionName + Parameters.ruleCollectionName, + Parameters.networkVirtualApplianceName ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", diff --git a/sdk/network/arm-network/src/operations/index.ts b/sdk/network/arm-network/src/operations/index.ts index 75a18887f6c2..341ddad691ea 100644 --- a/sdk/network/arm-network/src/operations/index.ts +++ b/sdk/network/arm-network/src/operations/index.ts @@ -55,6 +55,18 @@ export * from "./natGateways"; export * from "./networkInterfaceIPConfigurations"; export * from "./networkInterfaceLoadBalancers"; export * from "./networkInterfaceTapConfigurations"; +export * from "./networkManagers"; +export * from "./networkManagerCommits"; +export * from "./networkManagerDeploymentStatusOperations"; +export * from "./subscriptionNetworkManagerConnections"; +export * from "./managementGroupNetworkManagerConnections"; +export * from "./connectivityConfigurations"; +export * from "./networkGroups"; +export * from "./staticMembers"; +export * from "./scopeConnections"; +export * from "./securityAdminConfigurations"; +export * from "./adminRuleCollections"; +export * from "./adminRules"; export * from "./networkProfiles"; export * from "./networkSecurityGroups"; export * from "./securityRules"; @@ -120,3 +132,4 @@ export * from "./virtualHubIpConfiguration"; export * from "./hubRouteTables"; export * from "./routingIntentOperations"; export * from "./webApplicationFirewallPolicies"; +export * from "./expressRouteProviderPortsLocation"; diff --git a/sdk/network/arm-network/src/operations/ipAllocations.ts b/sdk/network/arm-network/src/operations/ipAllocations.ts index 091e9dee445b..a8cf3d6c996b 100644 --- a/sdk/network/arm-network/src/operations/ipAllocations.ts +++ b/sdk/network/arm-network/src/operations/ipAllocations.ts @@ -480,7 +480,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters20, + requestBody: Parameters.parameters22, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/network/arm-network/src/operations/ipGroups.ts b/sdk/network/arm-network/src/operations/ipGroups.ts index aa0cdd5ad483..3bd36fdf5351 100644 --- a/sdk/network/arm-network/src/operations/ipGroups.ts +++ b/sdk/network/arm-network/src/operations/ipGroups.ts @@ -457,7 +457,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorModel } }, - requestBody: Parameters.parameters21, + requestBody: Parameters.parameters23, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/network/arm-network/src/operations/loadBalancerBackendAddressPools.ts b/sdk/network/arm-network/src/operations/loadBalancerBackendAddressPools.ts index 4250585d8d88..f8bd10eab7b8 100644 --- a/sdk/network/arm-network/src/operations/loadBalancerBackendAddressPools.ts +++ b/sdk/network/arm-network/src/operations/loadBalancerBackendAddressPools.ts @@ -426,7 +426,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters25, + requestBody: Parameters.parameters27, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/network/arm-network/src/operations/loadBalancers.ts b/sdk/network/arm-network/src/operations/loadBalancers.ts index 8433abb6ef55..5cd39c83a534 100644 --- a/sdk/network/arm-network/src/operations/loadBalancers.ts +++ b/sdk/network/arm-network/src/operations/loadBalancers.ts @@ -663,7 +663,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters22, + requestBody: Parameters.parameters24, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -750,7 +750,7 @@ const swapPublicIpAddressesOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters23, + requestBody: Parameters.parameters25, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -782,7 +782,7 @@ const listInboundNatRulePortMappingsOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters24, + requestBody: Parameters.parameters26, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/network/arm-network/src/operations/localNetworkGateways.ts b/sdk/network/arm-network/src/operations/localNetworkGateways.ts index 6391bef34088..203b7ec0ebb0 100644 --- a/sdk/network/arm-network/src/operations/localNetworkGateways.ts +++ b/sdk/network/arm-network/src/operations/localNetworkGateways.ts @@ -361,7 +361,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters66, + requestBody: Parameters.parameters76, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/network/arm-network/src/operations/managementGroupNetworkManagerConnections.ts b/sdk/network/arm-network/src/operations/managementGroupNetworkManagerConnections.ts new file mode 100644 index 000000000000..1596aae282ee --- /dev/null +++ b/sdk/network/arm-network/src/operations/managementGroupNetworkManagerConnections.ts @@ -0,0 +1,297 @@ +/* + * 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 { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { ManagementGroupNetworkManagerConnections } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { NetworkManagementClient } from "../networkManagementClient"; +import { + NetworkManagerConnection, + ManagementGroupNetworkManagerConnectionsListNextOptionalParams, + ManagementGroupNetworkManagerConnectionsListOptionalParams, + ManagementGroupNetworkManagerConnectionsCreateOrUpdateOptionalParams, + ManagementGroupNetworkManagerConnectionsCreateOrUpdateResponse, + ManagementGroupNetworkManagerConnectionsGetOptionalParams, + ManagementGroupNetworkManagerConnectionsGetResponse, + ManagementGroupNetworkManagerConnectionsDeleteOptionalParams, + ManagementGroupNetworkManagerConnectionsListResponse, + ManagementGroupNetworkManagerConnectionsListNextResponse +} from "../models"; + +/// +/** Class containing ManagementGroupNetworkManagerConnections operations. */ +export class ManagementGroupNetworkManagerConnectionsImpl + implements ManagementGroupNetworkManagerConnections { + private readonly client: NetworkManagementClient; + + /** + * Initialize a new instance of the class ManagementGroupNetworkManagerConnections class. + * @param client Reference to the service client + */ + constructor(client: NetworkManagementClient) { + this.client = client; + } + + /** + * List all network manager connections created by this management group. + * @param managementGroupId The management group Id which uniquely identify the Microsoft Azure + * management group. + * @param options The options parameters. + */ + public list( + managementGroupId: string, + options?: ManagementGroupNetworkManagerConnectionsListOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(managementGroupId, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: () => { + return this.listPagingPage(managementGroupId, options); + } + }; + } + + private async *listPagingPage( + managementGroupId: string, + options?: ManagementGroupNetworkManagerConnectionsListOptionalParams + ): AsyncIterableIterator { + let result = await this._list(managementGroupId, options); + yield result.value || []; + let continuationToken = result.nextLink; + while (continuationToken) { + result = await this._listNext( + managementGroupId, + continuationToken, + options + ); + continuationToken = result.nextLink; + yield result.value || []; + } + } + + private async *listPagingAll( + managementGroupId: string, + options?: ManagementGroupNetworkManagerConnectionsListOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listPagingPage(managementGroupId, options)) { + yield* page; + } + } + + /** + * Create a network manager connection on this management group. + * @param managementGroupId The management group Id which uniquely identify the Microsoft Azure + * management group. + * @param networkManagerConnectionName Name for the network manager connection. + * @param parameters Network manager connection to be created/updated. + * @param options The options parameters. + */ + createOrUpdate( + managementGroupId: string, + networkManagerConnectionName: string, + parameters: NetworkManagerConnection, + options?: ManagementGroupNetworkManagerConnectionsCreateOrUpdateOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { managementGroupId, networkManagerConnectionName, parameters, options }, + createOrUpdateOperationSpec + ); + } + + /** + * Get a specified connection created by this management group. + * @param managementGroupId The management group Id which uniquely identify the Microsoft Azure + * management group. + * @param networkManagerConnectionName Name for the network manager connection. + * @param options The options parameters. + */ + get( + managementGroupId: string, + networkManagerConnectionName: string, + options?: ManagementGroupNetworkManagerConnectionsGetOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { managementGroupId, networkManagerConnectionName, options }, + getOperationSpec + ); + } + + /** + * Delete specified pending connection created by this management group. + * @param managementGroupId The management group Id which uniquely identify the Microsoft Azure + * management group. + * @param networkManagerConnectionName Name for the network manager connection. + * @param options The options parameters. + */ + delete( + managementGroupId: string, + networkManagerConnectionName: string, + options?: ManagementGroupNetworkManagerConnectionsDeleteOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { managementGroupId, networkManagerConnectionName, options }, + deleteOperationSpec + ); + } + + /** + * List all network manager connections created by this management group. + * @param managementGroupId The management group Id which uniquely identify the Microsoft Azure + * management group. + * @param options The options parameters. + */ + private _list( + managementGroupId: string, + options?: ManagementGroupNetworkManagerConnectionsListOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { managementGroupId, options }, + listOperationSpec + ); + } + + /** + * ListNext + * @param managementGroupId The management group Id which uniquely identify the Microsoft Azure + * management group. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + managementGroupId: string, + nextLink: string, + options?: ManagementGroupNetworkManagerConnectionsListNextOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { managementGroupId, nextLink, options }, + listNextOperationSpec + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: + "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.NetworkManagerConnection + }, + 201: { + bodyMapper: Mappers.NetworkManagerConnection + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + requestBody: Parameters.parameters33, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.networkManagerConnectionName, + Parameters.managementGroupId + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const getOperationSpec: coreClient.OperationSpec = { + path: + "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.NetworkManagerConnection + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.networkManagerConnectionName, + Parameters.managementGroupId + ], + headerParameters: [Parameters.accept], + serializer +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: + "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}", + httpMethod: "DELETE", + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.networkManagerConnectionName, + Parameters.managementGroupId + ], + headerParameters: [Parameters.accept], + serializer +}; +const listOperationSpec: coreClient.OperationSpec = { + path: + "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Network/networkManagerConnections", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.NetworkManagerConnectionListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.top, + Parameters.skipToken + ], + urlParameters: [Parameters.$host, Parameters.managementGroupId], + headerParameters: [Parameters.accept], + serializer +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.NetworkManagerConnectionListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.top, + Parameters.skipToken + ], + urlParameters: [ + Parameters.$host, + Parameters.nextLink, + Parameters.managementGroupId + ], + headerParameters: [Parameters.accept], + serializer +}; diff --git a/sdk/network/arm-network/src/operations/natGateways.ts b/sdk/network/arm-network/src/operations/natGateways.ts index ec8a9b8645f5..e3feffaf8d3b 100644 --- a/sdk/network/arm-network/src/operations/natGateways.ts +++ b/sdk/network/arm-network/src/operations/natGateways.ts @@ -477,7 +477,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters26, + requestBody: Parameters.parameters28, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/network/arm-network/src/operations/networkGroups.ts b/sdk/network/arm-network/src/operations/networkGroups.ts new file mode 100644 index 000000000000..8d0e5e258f32 --- /dev/null +++ b/sdk/network/arm-network/src/operations/networkGroups.ts @@ -0,0 +1,419 @@ +/* + * 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 { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { NetworkGroups } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { NetworkManagementClient } from "../networkManagementClient"; +import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; +import { LroImpl } from "../lroImpl"; +import { + NetworkGroup, + NetworkGroupsListNextOptionalParams, + NetworkGroupsListOptionalParams, + NetworkGroupsGetOptionalParams, + NetworkGroupsGetResponse, + NetworkGroupsCreateOrUpdateOptionalParams, + NetworkGroupsCreateOrUpdateResponse, + NetworkGroupsDeleteOptionalParams, + NetworkGroupsListResponse, + NetworkGroupsListNextResponse +} from "../models"; + +/// +/** Class containing NetworkGroups operations. */ +export class NetworkGroupsImpl implements NetworkGroups { + private readonly client: NetworkManagementClient; + + /** + * Initialize a new instance of the class NetworkGroups class. + * @param client Reference to the service client + */ + constructor(client: NetworkManagementClient) { + this.client = client; + } + + /** + * Lists the specified network group. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + networkManagerName: string, + options?: NetworkGroupsListOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll( + resourceGroupName, + networkManagerName, + options + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: () => { + return this.listPagingPage( + resourceGroupName, + networkManagerName, + options + ); + } + }; + } + + private async *listPagingPage( + resourceGroupName: string, + networkManagerName: string, + options?: NetworkGroupsListOptionalParams + ): AsyncIterableIterator { + let result = await this._list( + resourceGroupName, + networkManagerName, + options + ); + yield result.value || []; + let continuationToken = result.nextLink; + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + networkManagerName, + continuationToken, + options + ); + continuationToken = result.nextLink; + yield result.value || []; + } + } + + private async *listPagingAll( + resourceGroupName: string, + networkManagerName: string, + options?: NetworkGroupsListOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + networkManagerName, + options + )) { + yield* page; + } + } + + /** + * Gets the specified network group. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param networkGroupName The name of the network group. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + networkManagerName: string, + networkGroupName: string, + options?: NetworkGroupsGetOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, networkManagerName, networkGroupName, options }, + getOperationSpec + ); + } + + /** + * Creates or updates a network group. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param networkGroupName The name of the network group. + * @param parameters Parameters supplied to the specify which network group need to create + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + networkManagerName: string, + networkGroupName: string, + parameters: NetworkGroup, + options?: NetworkGroupsCreateOrUpdateOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + networkManagerName, + networkGroupName, + parameters, + options + }, + createOrUpdateOperationSpec + ); + } + + /** + * Deletes a network group. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param networkGroupName The name of the network group. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + networkManagerName: string, + networkGroupName: string, + options?: NetworkGroupsDeleteOptionalParams + ): Promise, void>> { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ) => { + let currentRawResponse: + | coreClient.FullOperationResponse + | undefined = undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback + } + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON() + } + }; + }; + + const lro = new LroImpl( + sendOperation, + { resourceGroupName, networkManagerName, networkGroupName, options }, + deleteOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "location" + }); + await poller.poll(); + return poller; + } + + /** + * Deletes a network group. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param networkGroupName The name of the network group. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + networkManagerName: string, + networkGroupName: string, + options?: NetworkGroupsDeleteOptionalParams + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + networkManagerName, + networkGroupName, + options + ); + return poller.pollUntilDone(); + } + + /** + * Lists the specified network group. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + networkManagerName: string, + options?: NetworkGroupsListOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, networkManagerName, options }, + listOperationSpec + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + networkManagerName: string, + nextLink: string, + options?: NetworkGroupsListNextOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, networkManagerName, nextLink, options }, + listNextOperationSpec + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const getOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.NetworkGroup + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.networkManagerName, + Parameters.networkGroupName + ], + headerParameters: [Parameters.accept], + serializer +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.NetworkGroup, + headersMapper: Mappers.NetworkGroupsCreateOrUpdateHeaders + }, + 201: { + bodyMapper: Mappers.NetworkGroup, + headersMapper: Mappers.NetworkGroupsCreateOrUpdateHeaders + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + requestBody: Parameters.parameters34, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.networkManagerName, + Parameters.networkGroupName + ], + headerParameters: [ + Parameters.accept, + Parameters.contentType, + Parameters.ifMatch + ], + mediaType: "json", + serializer +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}", + httpMethod: "DELETE", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [Parameters.apiVersion, Parameters.force], + urlParameters: [ + Parameters.$host, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.networkManagerName, + Parameters.networkGroupName + ], + headerParameters: [Parameters.accept], + serializer +}; +const listOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.NetworkGroupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.top, + Parameters.skipToken + ], + urlParameters: [ + Parameters.$host, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.networkManagerName + ], + headerParameters: [Parameters.accept], + serializer +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.NetworkGroupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.top, + Parameters.skipToken + ], + urlParameters: [ + Parameters.$host, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.nextLink, + Parameters.networkManagerName + ], + headerParameters: [Parameters.accept], + serializer +}; diff --git a/sdk/network/arm-network/src/operations/networkInterfaces.ts b/sdk/network/arm-network/src/operations/networkInterfaces.ts index 6ff0e34ae7ea..b0fbccf2f32d 100644 --- a/sdk/network/arm-network/src/operations/networkInterfaces.ts +++ b/sdk/network/arm-network/src/operations/networkInterfaces.ts @@ -1481,7 +1481,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters6, + requestBody: Parameters.parameters8, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -1629,7 +1629,7 @@ const listVirtualMachineScaleSetVMNetworkInterfacesOperationSpec: coreClient.Ope bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion1], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -1652,7 +1652,7 @@ const listVirtualMachineScaleSetNetworkInterfacesOperationSpec: coreClient.Opera bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion1], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -1674,7 +1674,7 @@ const getVirtualMachineScaleSetNetworkInterfaceOperationSpec: coreClient.Operati bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.expand], + queryParameters: [Parameters.expand, Parameters.apiVersion1], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -1698,7 +1698,7 @@ const listVirtualMachineScaleSetIpConfigurationsOperationSpec: coreClient.Operat bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.expand], + queryParameters: [Parameters.expand, Parameters.apiVersion1], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -1722,7 +1722,7 @@ const getVirtualMachineScaleSetIpConfigurationOperationSpec: coreClient.Operatio bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.expand], + queryParameters: [Parameters.expand, Parameters.apiVersion1], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -1832,7 +1832,7 @@ const listVirtualMachineScaleSetVMNetworkInterfacesNextOperationSpec: coreClient bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion1], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -1855,7 +1855,7 @@ const listVirtualMachineScaleSetNetworkInterfacesNextOperationSpec: coreClient.O bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion1], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -1877,7 +1877,7 @@ const listVirtualMachineScaleSetIpConfigurationsNextOperationSpec: coreClient.Op bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.expand], + queryParameters: [Parameters.expand, Parameters.apiVersion1], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/networkManagerCommits.ts b/sdk/network/arm-network/src/operations/networkManagerCommits.ts new file mode 100644 index 000000000000..0acce4b8b3d0 --- /dev/null +++ b/sdk/network/arm-network/src/operations/networkManagerCommits.ts @@ -0,0 +1,162 @@ +/* + * 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 { NetworkManagerCommits } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { NetworkManagementClient } from "../networkManagementClient"; +import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; +import { LroImpl } from "../lroImpl"; +import { + NetworkManagerCommit, + NetworkManagerCommitsPostOptionalParams, + NetworkManagerCommitsPostResponse +} from "../models"; + +/** Class containing NetworkManagerCommits operations. */ +export class NetworkManagerCommitsImpl implements NetworkManagerCommits { + private readonly client: NetworkManagementClient; + + /** + * Initialize a new instance of the class NetworkManagerCommits class. + * @param client Reference to the service client + */ + constructor(client: NetworkManagementClient) { + this.client = client; + } + + /** + * Post a Network Manager Commit. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param parameters Parameters supplied to specify which Managed Network commit is. + * @param options The options parameters. + */ + async beginPost( + resourceGroupName: string, + networkManagerName: string, + parameters: NetworkManagerCommit, + options?: NetworkManagerCommitsPostOptionalParams + ): Promise< + PollerLike< + PollOperationState, + NetworkManagerCommitsPostResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ) => { + let currentRawResponse: + | coreClient.FullOperationResponse + | undefined = undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback + } + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON() + } + }; + }; + + const lro = new LroImpl( + sendOperation, + { resourceGroupName, networkManagerName, parameters, options }, + postOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "location" + }); + await poller.poll(); + return poller; + } + + /** + * Post a Network Manager Commit. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param parameters Parameters supplied to specify which Managed Network commit is. + * @param options The options parameters. + */ + async beginPostAndWait( + resourceGroupName: string, + networkManagerName: string, + parameters: NetworkManagerCommit, + options?: NetworkManagerCommitsPostOptionalParams + ): Promise { + const poller = await this.beginPost( + resourceGroupName, + networkManagerName, + parameters, + options + ); + return poller.pollUntilDone(); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const postOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/commit", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.NetworkManagerCommit + }, + 201: { + bodyMapper: Mappers.NetworkManagerCommit + }, + 202: { + bodyMapper: Mappers.NetworkManagerCommit + }, + 204: { + bodyMapper: Mappers.NetworkManagerCommit + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + requestBody: Parameters.parameters31, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.networkManagerName + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; diff --git a/sdk/network/arm-network/src/operations/networkManagerDeploymentStatusOperations.ts b/sdk/network/arm-network/src/operations/networkManagerDeploymentStatusOperations.ts new file mode 100644 index 000000000000..a6ae51feb443 --- /dev/null +++ b/sdk/network/arm-network/src/operations/networkManagerDeploymentStatusOperations.ts @@ -0,0 +1,78 @@ +/* + * 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 { NetworkManagerDeploymentStatusOperations } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { NetworkManagementClient } from "../networkManagementClient"; +import { + NetworkManagerDeploymentStatusParameter, + NetworkManagerDeploymentStatusListOptionalParams, + NetworkManagerDeploymentStatusListResponse +} from "../models"; + +/** Class containing NetworkManagerDeploymentStatusOperations operations. */ +export class NetworkManagerDeploymentStatusOperationsImpl + implements NetworkManagerDeploymentStatusOperations { + private readonly client: NetworkManagementClient; + + /** + * Initialize a new instance of the class NetworkManagerDeploymentStatusOperations class. + * @param client Reference to the service client + */ + constructor(client: NetworkManagementClient) { + this.client = client; + } + + /** + * Post to List of Network Manager Deployment Status. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param parameters Parameters supplied to specify which Managed Network deployment status is. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + networkManagerName: string, + parameters: NetworkManagerDeploymentStatusParameter, + options?: NetworkManagerDeploymentStatusListOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, networkManagerName, parameters, options }, + listOperationSpec + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/listDeploymentStatus", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.NetworkManagerDeploymentStatusListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + requestBody: Parameters.parameters32, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.networkManagerName + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; diff --git a/sdk/network/arm-network/src/operations/networkManagers.ts b/sdk/network/arm-network/src/operations/networkManagers.ts new file mode 100644 index 000000000000..a36dba1c9423 --- /dev/null +++ b/sdk/network/arm-network/src/operations/networkManagers.ts @@ -0,0 +1,533 @@ +/* + * 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 { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { NetworkManagers } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { NetworkManagementClient } from "../networkManagementClient"; +import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; +import { LroImpl } from "../lroImpl"; +import { + NetworkManager, + NetworkManagersListBySubscriptionNextOptionalParams, + NetworkManagersListBySubscriptionOptionalParams, + NetworkManagersListNextOptionalParams, + NetworkManagersListOptionalParams, + NetworkManagersGetOptionalParams, + NetworkManagersGetResponse, + NetworkManagersCreateOrUpdateOptionalParams, + NetworkManagersCreateOrUpdateResponse, + NetworkManagersDeleteOptionalParams, + PatchObject, + NetworkManagersPatchOptionalParams, + NetworkManagersPatchResponse, + NetworkManagersListBySubscriptionResponse, + NetworkManagersListResponse, + NetworkManagersListBySubscriptionNextResponse, + NetworkManagersListNextResponse +} from "../models"; + +/// +/** Class containing NetworkManagers operations. */ +export class NetworkManagersImpl implements NetworkManagers { + private readonly client: NetworkManagementClient; + + /** + * Initialize a new instance of the class NetworkManagers class. + * @param client Reference to the service client + */ + constructor(client: NetworkManagementClient) { + this.client = client; + } + + /** + * List all network managers in a subscription. + * @param options The options parameters. + */ + public listBySubscription( + options?: NetworkManagersListBySubscriptionOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listBySubscriptionPagingAll(options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: () => { + return this.listBySubscriptionPagingPage(options); + } + }; + } + + private async *listBySubscriptionPagingPage( + options?: NetworkManagersListBySubscriptionOptionalParams + ): AsyncIterableIterator { + let result = await this._listBySubscription(options); + yield result.value || []; + let continuationToken = result.nextLink; + while (continuationToken) { + result = await this._listBySubscriptionNext(continuationToken, options); + continuationToken = result.nextLink; + yield result.value || []; + } + } + + private async *listBySubscriptionPagingAll( + options?: NetworkManagersListBySubscriptionOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listBySubscriptionPagingPage(options)) { + yield* page; + } + } + + /** + * List network managers in a resource group. + * @param resourceGroupName The name of the resource group. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + options?: NetworkManagersListOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(resourceGroupName, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: () => { + return this.listPagingPage(resourceGroupName, options); + } + }; + } + + private async *listPagingPage( + resourceGroupName: string, + options?: NetworkManagersListOptionalParams + ): AsyncIterableIterator { + let result = await this._list(resourceGroupName, options); + yield result.value || []; + let continuationToken = result.nextLink; + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + continuationToken, + options + ); + continuationToken = result.nextLink; + yield result.value || []; + } + } + + private async *listPagingAll( + resourceGroupName: string, + options?: NetworkManagersListOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listPagingPage(resourceGroupName, options)) { + yield* page; + } + } + + /** + * Gets the specified Network Manager. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + networkManagerName: string, + options?: NetworkManagersGetOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, networkManagerName, options }, + getOperationSpec + ); + } + + /** + * Creates or updates a Network Manager. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param parameters Parameters supplied to specify which network manager is. + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + networkManagerName: string, + parameters: NetworkManager, + options?: NetworkManagersCreateOrUpdateOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, networkManagerName, parameters, options }, + createOrUpdateOperationSpec + ); + } + + /** + * Deletes a network manager. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + networkManagerName: string, + options?: NetworkManagersDeleteOptionalParams + ): Promise, void>> { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ) => { + let currentRawResponse: + | coreClient.FullOperationResponse + | undefined = undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback + } + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON() + } + }; + }; + + const lro = new LroImpl( + sendOperation, + { resourceGroupName, networkManagerName, options }, + deleteOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "location" + }); + await poller.poll(); + return poller; + } + + /** + * Deletes a network manager. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + networkManagerName: string, + options?: NetworkManagersDeleteOptionalParams + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + networkManagerName, + options + ); + return poller.pollUntilDone(); + } + + /** + * Patch NetworkManager. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param parameters Parameters supplied to specify which network manager is. + * @param options The options parameters. + */ + patch( + resourceGroupName: string, + networkManagerName: string, + parameters: PatchObject, + options?: NetworkManagersPatchOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, networkManagerName, parameters, options }, + patchOperationSpec + ); + } + + /** + * List all network managers in a subscription. + * @param options The options parameters. + */ + private _listBySubscription( + options?: NetworkManagersListBySubscriptionOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { options }, + listBySubscriptionOperationSpec + ); + } + + /** + * List network managers in a resource group. + * @param resourceGroupName The name of the resource group. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + options?: NetworkManagersListOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, options }, + listOperationSpec + ); + } + + /** + * ListBySubscriptionNext + * @param nextLink The nextLink from the previous successful call to the ListBySubscription method. + * @param options The options parameters. + */ + private _listBySubscriptionNext( + nextLink: string, + options?: NetworkManagersListBySubscriptionNextOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { nextLink, options }, + listBySubscriptionNextOperationSpec + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + nextLink: string, + options?: NetworkManagersListNextOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, nextLink, options }, + listNextOperationSpec + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const getOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.NetworkManager + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.networkManagerName + ], + headerParameters: [Parameters.accept], + serializer +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.NetworkManager + }, + 201: { + bodyMapper: Mappers.NetworkManager + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + requestBody: Parameters.parameters29, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.networkManagerName + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}", + httpMethod: "DELETE", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [Parameters.apiVersion, Parameters.force], + urlParameters: [ + Parameters.$host, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.networkManagerName + ], + headerParameters: [Parameters.accept], + serializer +}; +const patchOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}", + httpMethod: "PATCH", + responses: { + 200: { + bodyMapper: Mappers.NetworkManager + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + requestBody: Parameters.parameters30, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.networkManagerName + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const listBySubscriptionOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagers", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.NetworkManagerListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.top, + Parameters.skipToken + ], + urlParameters: [Parameters.$host, Parameters.subscriptionId], + headerParameters: [Parameters.accept], + serializer +}; +const listOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.NetworkManagerListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.top, + Parameters.skipToken + ], + urlParameters: [ + Parameters.$host, + Parameters.resourceGroupName, + Parameters.subscriptionId + ], + headerParameters: [Parameters.accept], + serializer +}; +const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.NetworkManagerListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.top, + Parameters.skipToken + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.nextLink + ], + headerParameters: [Parameters.accept], + serializer +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.NetworkManagerListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.top, + Parameters.skipToken + ], + urlParameters: [ + Parameters.$host, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.nextLink + ], + headerParameters: [Parameters.accept], + serializer +}; diff --git a/sdk/network/arm-network/src/operations/networkProfiles.ts b/sdk/network/arm-network/src/operations/networkProfiles.ts index 5265e2470994..a0cd334e91b4 100644 --- a/sdk/network/arm-network/src/operations/networkProfiles.ts +++ b/sdk/network/arm-network/src/operations/networkProfiles.ts @@ -397,7 +397,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters27, + requestBody: Parameters.parameters37, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/network/arm-network/src/operations/networkSecurityGroups.ts b/sdk/network/arm-network/src/operations/networkSecurityGroups.ts index d2efe16f1ea3..f66000208534 100644 --- a/sdk/network/arm-network/src/operations/networkSecurityGroups.ts +++ b/sdk/network/arm-network/src/operations/networkSecurityGroups.ts @@ -477,7 +477,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters28, + requestBody: Parameters.parameters38, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/network/arm-network/src/operations/networkVirtualAppliances.ts b/sdk/network/arm-network/src/operations/networkVirtualAppliances.ts index 91eca3c65260..45d47271f79e 100644 --- a/sdk/network/arm-network/src/operations/networkVirtualAppliances.ts +++ b/sdk/network/arm-network/src/operations/networkVirtualAppliances.ts @@ -504,7 +504,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters29, + requestBody: Parameters.parameters39, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/network/arm-network/src/operations/networkWatchers.ts b/sdk/network/arm-network/src/operations/networkWatchers.ts index 3df1caeac22b..7f1d906da13e 100644 --- a/sdk/network/arm-network/src/operations/networkWatchers.ts +++ b/sdk/network/arm-network/src/operations/networkWatchers.ts @@ -1396,7 +1396,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters32, + requestBody: Parameters.parameters42, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -1527,7 +1527,7 @@ const getTopologyOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters33, + requestBody: Parameters.parameters43, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -1560,7 +1560,7 @@ const verifyIPFlowOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters34, + requestBody: Parameters.parameters44, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -1593,7 +1593,7 @@ const getNextHopOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters35, + requestBody: Parameters.parameters45, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -1626,7 +1626,7 @@ const getVMSecurityRulesOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters36, + requestBody: Parameters.parameters46, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -1659,7 +1659,7 @@ const getTroubleshootingOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters37, + requestBody: Parameters.parameters47, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -1692,7 +1692,7 @@ const getTroubleshootingResultOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters38, + requestBody: Parameters.parameters48, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -1725,7 +1725,7 @@ const setFlowLogConfigurationOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters39, + requestBody: Parameters.parameters49, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -1758,7 +1758,7 @@ const getFlowLogStatusOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters40, + requestBody: Parameters.parameters50, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -1791,7 +1791,7 @@ const checkConnectivityOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters41, + requestBody: Parameters.parameters51, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -1824,7 +1824,7 @@ const getAzureReachabilityReportOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters42, + requestBody: Parameters.parameters52, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -1857,7 +1857,7 @@ const listAvailableProvidersOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters43, + requestBody: Parameters.parameters53, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -1890,7 +1890,7 @@ const getNetworkConfigurationDiagnosticOperationSpec: coreClient.OperationSpec = bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters44, + requestBody: Parameters.parameters54, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/network/arm-network/src/operations/p2SVpnGateways.ts b/sdk/network/arm-network/src/operations/p2SVpnGateways.ts index d0b2f215f99c..f206cb12b443 100644 --- a/sdk/network/arm-network/src/operations/p2SVpnGateways.ts +++ b/sdk/network/arm-network/src/operations/p2SVpnGateways.ts @@ -1159,7 +1159,7 @@ const generateVpnProfileOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters74, + requestBody: Parameters.parameters84, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/network/arm-network/src/operations/packetCaptures.ts b/sdk/network/arm-network/src/operations/packetCaptures.ts index 8a1aefe9e047..b1ba639f0680 100644 --- a/sdk/network/arm-network/src/operations/packetCaptures.ts +++ b/sdk/network/arm-network/src/operations/packetCaptures.ts @@ -535,7 +535,7 @@ const createOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters45, + requestBody: Parameters.parameters55, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/network/arm-network/src/operations/privateDnsZoneGroups.ts b/sdk/network/arm-network/src/operations/privateDnsZoneGroups.ts index 162d8bed3d2c..2201a24d1e85 100644 --- a/sdk/network/arm-network/src/operations/privateDnsZoneGroups.ts +++ b/sdk/network/arm-network/src/operations/privateDnsZoneGroups.ts @@ -439,7 +439,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters49, + requestBody: Parameters.parameters59, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/network/arm-network/src/operations/privateEndpoints.ts b/sdk/network/arm-network/src/operations/privateEndpoints.ts index f8a72292f49c..ed388104be76 100644 --- a/sdk/network/arm-network/src/operations/privateEndpoints.ts +++ b/sdk/network/arm-network/src/operations/privateEndpoints.ts @@ -458,7 +458,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorModel } }, - requestBody: Parameters.parameters48, + requestBody: Parameters.parameters58, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/network/arm-network/src/operations/privateLinkServices.ts b/sdk/network/arm-network/src/operations/privateLinkServices.ts index b5dd86ba6625..cc8bf8e94ed3 100644 --- a/sdk/network/arm-network/src/operations/privateLinkServices.ts +++ b/sdk/network/arm-network/src/operations/privateLinkServices.ts @@ -1119,7 +1119,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorModel } }, - requestBody: Parameters.parameters50, + requestBody: Parameters.parameters60, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -1204,7 +1204,7 @@ const updatePrivateEndpointConnectionOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorModel } }, - requestBody: Parameters.parameters51, + requestBody: Parameters.parameters61, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -1284,7 +1284,7 @@ const checkPrivateLinkServiceVisibilityOperationSpec: coreClient.OperationSpec = bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters52, + requestBody: Parameters.parameters62, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -1316,7 +1316,7 @@ const checkPrivateLinkServiceVisibilityByResourceGroupOperationSpec: coreClient. bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters52, + requestBody: Parameters.parameters62, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/network/arm-network/src/operations/publicIPAddresses.ts b/sdk/network/arm-network/src/operations/publicIPAddresses.ts index 8e4bac6fec69..353a22328ff2 100644 --- a/sdk/network/arm-network/src/operations/publicIPAddresses.ts +++ b/sdk/network/arm-network/src/operations/publicIPAddresses.ts @@ -1194,7 +1194,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters7, + requestBody: Parameters.parameters9, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -1280,7 +1280,7 @@ const listVirtualMachineScaleSetPublicIPAddressesOperationSpec: coreClient.Opera bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion1], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -1302,7 +1302,7 @@ const listVirtualMachineScaleSetVMPublicIPAddressesOperationSpec: coreClient.Ope bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion1], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -1327,7 +1327,7 @@ const getVirtualMachineScaleSetPublicIPAddressOperationSpec: coreClient.Operatio bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.expand], + queryParameters: [Parameters.expand, Parameters.apiVersion1], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -1440,7 +1440,7 @@ const listVirtualMachineScaleSetPublicIPAddressesNextOperationSpec: coreClient.O bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion1], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, @@ -1462,7 +1462,7 @@ const listVirtualMachineScaleSetVMPublicIPAddressesNextOperationSpec: coreClient bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion1], urlParameters: [ Parameters.$host, Parameters.resourceGroupName, diff --git a/sdk/network/arm-network/src/operations/publicIPPrefixes.ts b/sdk/network/arm-network/src/operations/publicIPPrefixes.ts index 32a360407ca2..99912da6101b 100644 --- a/sdk/network/arm-network/src/operations/publicIPPrefixes.ts +++ b/sdk/network/arm-network/src/operations/publicIPPrefixes.ts @@ -477,7 +477,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters53, + requestBody: Parameters.parameters63, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/network/arm-network/src/operations/routeFilterRules.ts b/sdk/network/arm-network/src/operations/routeFilterRules.ts index d46f01547ef6..6acc46598d17 100644 --- a/sdk/network/arm-network/src/operations/routeFilterRules.ts +++ b/sdk/network/arm-network/src/operations/routeFilterRules.ts @@ -381,8 +381,8 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.resourceGroupName, Parameters.subscriptionId, - Parameters.routeFilterName, - Parameters.ruleName + Parameters.ruleName, + Parameters.routeFilterName ], headerParameters: [Parameters.accept], serializer @@ -404,8 +404,8 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.resourceGroupName, Parameters.subscriptionId, - Parameters.routeFilterName, - Parameters.ruleName + Parameters.ruleName, + Parameters.routeFilterName ], headerParameters: [Parameters.accept], serializer @@ -437,8 +437,8 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.resourceGroupName, Parameters.subscriptionId, - Parameters.routeFilterName, - Parameters.ruleName + Parameters.ruleName, + Parameters.routeFilterName ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", diff --git a/sdk/network/arm-network/src/operations/routeTables.ts b/sdk/network/arm-network/src/operations/routeTables.ts index ce781769c86e..84bb2a386673 100644 --- a/sdk/network/arm-network/src/operations/routeTables.ts +++ b/sdk/network/arm-network/src/operations/routeTables.ts @@ -477,7 +477,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters54, + requestBody: Parameters.parameters64, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/network/arm-network/src/operations/scopeConnections.ts b/sdk/network/arm-network/src/operations/scopeConnections.ts new file mode 100644 index 000000000000..cb5a1ad61b42 --- /dev/null +++ b/sdk/network/arm-network/src/operations/scopeConnections.ts @@ -0,0 +1,340 @@ +/* + * 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 { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { ScopeConnections } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { NetworkManagementClient } from "../networkManagementClient"; +import { + ScopeConnection, + ScopeConnectionsListNextOptionalParams, + ScopeConnectionsListOptionalParams, + ScopeConnectionsCreateOrUpdateOptionalParams, + ScopeConnectionsCreateOrUpdateResponse, + ScopeConnectionsGetOptionalParams, + ScopeConnectionsGetResponse, + ScopeConnectionsDeleteOptionalParams, + ScopeConnectionsListResponse, + ScopeConnectionsListNextResponse +} from "../models"; + +/// +/** Class containing ScopeConnections operations. */ +export class ScopeConnectionsImpl implements ScopeConnections { + private readonly client: NetworkManagementClient; + + /** + * Initialize a new instance of the class ScopeConnections class. + * @param client Reference to the service client + */ + constructor(client: NetworkManagementClient) { + this.client = client; + } + + /** + * List all scope connections created by this network manager. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + networkManagerName: string, + options?: ScopeConnectionsListOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll( + resourceGroupName, + networkManagerName, + options + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: () => { + return this.listPagingPage( + resourceGroupName, + networkManagerName, + options + ); + } + }; + } + + private async *listPagingPage( + resourceGroupName: string, + networkManagerName: string, + options?: ScopeConnectionsListOptionalParams + ): AsyncIterableIterator { + let result = await this._list( + resourceGroupName, + networkManagerName, + options + ); + yield result.value || []; + let continuationToken = result.nextLink; + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + networkManagerName, + continuationToken, + options + ); + continuationToken = result.nextLink; + yield result.value || []; + } + } + + private async *listPagingAll( + resourceGroupName: string, + networkManagerName: string, + options?: ScopeConnectionsListOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + networkManagerName, + options + )) { + yield* page; + } + } + + /** + * Creates or updates scope connection from Network Manager + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param scopeConnectionName Name for the cross-tenant connection. + * @param parameters Scope connection to be created/updated. + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + networkManagerName: string, + scopeConnectionName: string, + parameters: ScopeConnection, + options?: ScopeConnectionsCreateOrUpdateOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + networkManagerName, + scopeConnectionName, + parameters, + options + }, + createOrUpdateOperationSpec + ); + } + + /** + * Get specified scope connection created by this Network Manager. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param scopeConnectionName Name for the cross-tenant connection. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + networkManagerName: string, + scopeConnectionName: string, + options?: ScopeConnectionsGetOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, networkManagerName, scopeConnectionName, options }, + getOperationSpec + ); + } + + /** + * Delete the pending scope connection created by this network manager. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param scopeConnectionName Name for the cross-tenant connection. + * @param options The options parameters. + */ + delete( + resourceGroupName: string, + networkManagerName: string, + scopeConnectionName: string, + options?: ScopeConnectionsDeleteOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, networkManagerName, scopeConnectionName, options }, + deleteOperationSpec + ); + } + + /** + * List all scope connections created by this network manager. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + networkManagerName: string, + options?: ScopeConnectionsListOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, networkManagerName, options }, + listOperationSpec + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + networkManagerName: string, + nextLink: string, + options?: ScopeConnectionsListNextOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, networkManagerName, nextLink, options }, + listNextOperationSpec + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/scopeConnections/{scopeConnectionName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.ScopeConnection + }, + 201: { + bodyMapper: Mappers.ScopeConnection + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + requestBody: Parameters.parameters36, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.networkManagerName, + Parameters.scopeConnectionName + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const getOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/scopeConnections/{scopeConnectionName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ScopeConnection + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.networkManagerName, + Parameters.scopeConnectionName + ], + headerParameters: [Parameters.accept], + serializer +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/scopeConnections/{scopeConnectionName}", + httpMethod: "DELETE", + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.networkManagerName, + Parameters.scopeConnectionName + ], + headerParameters: [Parameters.accept], + serializer +}; +const listOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/scopeConnections", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ScopeConnectionListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.top, + Parameters.skipToken + ], + urlParameters: [ + Parameters.$host, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.networkManagerName + ], + headerParameters: [Parameters.accept], + serializer +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ScopeConnectionListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.top, + Parameters.skipToken + ], + urlParameters: [ + Parameters.$host, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.nextLink, + Parameters.networkManagerName + ], + headerParameters: [Parameters.accept], + serializer +}; diff --git a/sdk/network/arm-network/src/operations/securityAdminConfigurations.ts b/sdk/network/arm-network/src/operations/securityAdminConfigurations.ts new file mode 100644 index 000000000000..d844420eefd5 --- /dev/null +++ b/sdk/network/arm-network/src/operations/securityAdminConfigurations.ts @@ -0,0 +1,416 @@ +/* + * 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 { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { SecurityAdminConfigurations } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { NetworkManagementClient } from "../networkManagementClient"; +import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; +import { LroImpl } from "../lroImpl"; +import { + SecurityAdminConfiguration, + SecurityAdminConfigurationsListNextOptionalParams, + SecurityAdminConfigurationsListOptionalParams, + SecurityAdminConfigurationsListResponse, + SecurityAdminConfigurationsGetOptionalParams, + SecurityAdminConfigurationsGetResponse, + SecurityAdminConfigurationsCreateOrUpdateOptionalParams, + SecurityAdminConfigurationsCreateOrUpdateResponse, + SecurityAdminConfigurationsDeleteOptionalParams, + SecurityAdminConfigurationsListNextResponse +} from "../models"; + +/// +/** Class containing SecurityAdminConfigurations operations. */ +export class SecurityAdminConfigurationsImpl + implements SecurityAdminConfigurations { + private readonly client: NetworkManagementClient; + + /** + * Initialize a new instance of the class SecurityAdminConfigurations class. + * @param client Reference to the service client + */ + constructor(client: NetworkManagementClient) { + this.client = client; + } + + /** + * Lists all the network manager security admin configurations in a network manager, in a paginated + * format. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + networkManagerName: string, + options?: SecurityAdminConfigurationsListOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll( + resourceGroupName, + networkManagerName, + options + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: () => { + return this.listPagingPage( + resourceGroupName, + networkManagerName, + options + ); + } + }; + } + + private async *listPagingPage( + resourceGroupName: string, + networkManagerName: string, + options?: SecurityAdminConfigurationsListOptionalParams + ): AsyncIterableIterator { + let result = await this._list( + resourceGroupName, + networkManagerName, + options + ); + yield result.value || []; + let continuationToken = result.nextLink; + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + networkManagerName, + continuationToken, + options + ); + continuationToken = result.nextLink; + yield result.value || []; + } + } + + private async *listPagingAll( + resourceGroupName: string, + networkManagerName: string, + options?: SecurityAdminConfigurationsListOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + networkManagerName, + options + )) { + yield* page; + } + } + + /** + * Lists all the network manager security admin configurations in a network manager, in a paginated + * format. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + networkManagerName: string, + options?: SecurityAdminConfigurationsListOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, networkManagerName, options }, + listOperationSpec + ); + } + + /** + * Retrieves a network manager security admin configuration. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + networkManagerName: string, + configurationName: string, + options?: SecurityAdminConfigurationsGetOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, networkManagerName, configurationName, options }, + getOperationSpec + ); + } + + /** + * Creates or updates a network manager security admin configuration. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param securityAdminConfiguration The security admin configuration to create or update + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + networkManagerName: string, + configurationName: string, + securityAdminConfiguration: SecurityAdminConfiguration, + options?: SecurityAdminConfigurationsCreateOrUpdateOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + networkManagerName, + configurationName, + securityAdminConfiguration, + options + }, + createOrUpdateOperationSpec + ); + } + + /** + * Deletes a network manager security admin configuration. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + networkManagerName: string, + configurationName: string, + options?: SecurityAdminConfigurationsDeleteOptionalParams + ): Promise, void>> { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ) => { + let currentRawResponse: + | coreClient.FullOperationResponse + | undefined = undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback + } + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON() + } + }; + }; + + const lro = new LroImpl( + sendOperation, + { resourceGroupName, networkManagerName, configurationName, options }, + deleteOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "location" + }); + await poller.poll(); + return poller; + } + + /** + * Deletes a network manager security admin configuration. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + networkManagerName: string, + configurationName: string, + options?: SecurityAdminConfigurationsDeleteOptionalParams + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + networkManagerName, + configurationName, + options + ); + return poller.pollUntilDone(); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + networkManagerName: string, + nextLink: string, + options?: SecurityAdminConfigurationsListNextOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, networkManagerName, nextLink, options }, + listNextOperationSpec + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.SecurityAdminConfigurationListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.top, + Parameters.skipToken + ], + urlParameters: [ + Parameters.$host, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.networkManagerName + ], + headerParameters: [Parameters.accept], + serializer +}; +const getOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.SecurityAdminConfiguration + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.networkManagerName, + Parameters.configurationName + ], + headerParameters: [Parameters.accept], + serializer +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.SecurityAdminConfiguration + }, + 201: { + bodyMapper: Mappers.SecurityAdminConfiguration + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + requestBody: Parameters.securityAdminConfiguration, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.networkManagerName, + Parameters.configurationName + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}", + httpMethod: "DELETE", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [Parameters.apiVersion, Parameters.force], + urlParameters: [ + Parameters.$host, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.networkManagerName, + Parameters.configurationName + ], + headerParameters: [Parameters.accept], + serializer +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.SecurityAdminConfigurationListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.top, + Parameters.skipToken + ], + urlParameters: [ + Parameters.$host, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.nextLink, + Parameters.networkManagerName + ], + headerParameters: [Parameters.accept], + serializer +}; diff --git a/sdk/network/arm-network/src/operations/securityPartnerProviders.ts b/sdk/network/arm-network/src/operations/securityPartnerProviders.ts index 04ccdb46b8d0..cd97f9af8bbb 100644 --- a/sdk/network/arm-network/src/operations/securityPartnerProviders.ts +++ b/sdk/network/arm-network/src/operations/securityPartnerProviders.ts @@ -480,7 +480,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters55, + requestBody: Parameters.parameters65, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/network/arm-network/src/operations/serviceEndpointPolicies.ts b/sdk/network/arm-network/src/operations/serviceEndpointPolicies.ts index 1eab047fd1df..3cf8c8fe6351 100644 --- a/sdk/network/arm-network/src/operations/serviceEndpointPolicies.ts +++ b/sdk/network/arm-network/src/operations/serviceEndpointPolicies.ts @@ -480,7 +480,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters56, + requestBody: Parameters.parameters66, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/network/arm-network/src/operations/staticMembers.ts b/sdk/network/arm-network/src/operations/staticMembers.ts new file mode 100644 index 000000000000..1b64ad846c21 --- /dev/null +++ b/sdk/network/arm-network/src/operations/staticMembers.ts @@ -0,0 +1,383 @@ +/* + * 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 { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { StaticMembers } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { NetworkManagementClient } from "../networkManagementClient"; +import { + StaticMember, + StaticMembersListNextOptionalParams, + StaticMembersListOptionalParams, + StaticMembersGetOptionalParams, + StaticMembersGetResponse, + StaticMembersCreateOrUpdateOptionalParams, + StaticMembersCreateOrUpdateResponse, + StaticMembersDeleteOptionalParams, + StaticMembersListResponse, + StaticMembersListNextResponse +} from "../models"; + +/// +/** Class containing StaticMembers operations. */ +export class StaticMembersImpl implements StaticMembers { + private readonly client: NetworkManagementClient; + + /** + * Initialize a new instance of the class StaticMembers class. + * @param client Reference to the service client + */ + constructor(client: NetworkManagementClient) { + this.client = client; + } + + /** + * Lists the specified static member. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param networkGroupName The name of the network group. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + networkManagerName: string, + networkGroupName: string, + options?: StaticMembersListOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll( + resourceGroupName, + networkManagerName, + networkGroupName, + options + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: () => { + return this.listPagingPage( + resourceGroupName, + networkManagerName, + networkGroupName, + options + ); + } + }; + } + + private async *listPagingPage( + resourceGroupName: string, + networkManagerName: string, + networkGroupName: string, + options?: StaticMembersListOptionalParams + ): AsyncIterableIterator { + let result = await this._list( + resourceGroupName, + networkManagerName, + networkGroupName, + options + ); + yield result.value || []; + let continuationToken = result.nextLink; + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + networkManagerName, + networkGroupName, + continuationToken, + options + ); + continuationToken = result.nextLink; + yield result.value || []; + } + } + + private async *listPagingAll( + resourceGroupName: string, + networkManagerName: string, + networkGroupName: string, + options?: StaticMembersListOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + networkManagerName, + networkGroupName, + options + )) { + yield* page; + } + } + + /** + * Gets the specified static member. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param networkGroupName The name of the network group. + * @param staticMemberName The name of the static member. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + networkManagerName: string, + networkGroupName: string, + staticMemberName: string, + options?: StaticMembersGetOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + networkManagerName, + networkGroupName, + staticMemberName, + options + }, + getOperationSpec + ); + } + + /** + * Creates or updates a static member. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param networkGroupName The name of the network group. + * @param staticMemberName The name of the static member. + * @param parameters Parameters supplied to the specify the static member to create + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + networkManagerName: string, + networkGroupName: string, + staticMemberName: string, + parameters: StaticMember, + options?: StaticMembersCreateOrUpdateOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + networkManagerName, + networkGroupName, + staticMemberName, + parameters, + options + }, + createOrUpdateOperationSpec + ); + } + + /** + * Deletes a static member. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param networkGroupName The name of the network group. + * @param staticMemberName The name of the static member. + * @param options The options parameters. + */ + delete( + resourceGroupName: string, + networkManagerName: string, + networkGroupName: string, + staticMemberName: string, + options?: StaticMembersDeleteOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + networkManagerName, + networkGroupName, + staticMemberName, + options + }, + deleteOperationSpec + ); + } + + /** + * Lists the specified static member. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param networkGroupName The name of the network group. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + networkManagerName: string, + networkGroupName: string, + options?: StaticMembersListOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, networkManagerName, networkGroupName, options }, + listOperationSpec + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param networkGroupName The name of the network group. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + networkManagerName: string, + networkGroupName: string, + nextLink: string, + options?: StaticMembersListNextOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + networkManagerName, + networkGroupName, + nextLink, + options + }, + listNextOperationSpec + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const getOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}/staticMembers/{staticMemberName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.StaticMember + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.networkManagerName, + Parameters.networkGroupName, + Parameters.staticMemberName + ], + headerParameters: [Parameters.accept], + serializer +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}/staticMembers/{staticMemberName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.StaticMember + }, + 201: { + bodyMapper: Mappers.StaticMember + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + requestBody: Parameters.parameters35, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.networkManagerName, + Parameters.networkGroupName, + Parameters.staticMemberName + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}/staticMembers/{staticMemberName}", + httpMethod: "DELETE", + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.networkManagerName, + Parameters.networkGroupName, + Parameters.staticMemberName + ], + headerParameters: [Parameters.accept], + serializer +}; +const listOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}/staticMembers", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.StaticMemberListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.top, + Parameters.skipToken + ], + urlParameters: [ + Parameters.$host, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.networkManagerName, + Parameters.networkGroupName + ], + headerParameters: [Parameters.accept], + serializer +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.StaticMemberListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.top, + Parameters.skipToken + ], + urlParameters: [ + Parameters.$host, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.nextLink, + Parameters.networkManagerName, + Parameters.networkGroupName + ], + headerParameters: [Parameters.accept], + serializer +}; diff --git a/sdk/network/arm-network/src/operations/subscriptionNetworkManagerConnections.ts b/sdk/network/arm-network/src/operations/subscriptionNetworkManagerConnections.ts new file mode 100644 index 000000000000..6a785a120898 --- /dev/null +++ b/sdk/network/arm-network/src/operations/subscriptionNetworkManagerConnections.ts @@ -0,0 +1,270 @@ +/* + * 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 { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { SubscriptionNetworkManagerConnections } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { NetworkManagementClient } from "../networkManagementClient"; +import { + NetworkManagerConnection, + SubscriptionNetworkManagerConnectionsListNextOptionalParams, + SubscriptionNetworkManagerConnectionsListOptionalParams, + SubscriptionNetworkManagerConnectionsCreateOrUpdateOptionalParams, + SubscriptionNetworkManagerConnectionsCreateOrUpdateResponse, + SubscriptionNetworkManagerConnectionsGetOptionalParams, + SubscriptionNetworkManagerConnectionsGetResponse, + SubscriptionNetworkManagerConnectionsDeleteOptionalParams, + SubscriptionNetworkManagerConnectionsListResponse, + SubscriptionNetworkManagerConnectionsListNextResponse +} from "../models"; + +/// +/** Class containing SubscriptionNetworkManagerConnections operations. */ +export class SubscriptionNetworkManagerConnectionsImpl + implements SubscriptionNetworkManagerConnections { + private readonly client: NetworkManagementClient; + + /** + * Initialize a new instance of the class SubscriptionNetworkManagerConnections class. + * @param client Reference to the service client + */ + constructor(client: NetworkManagementClient) { + this.client = client; + } + + /** + * List all network manager connections created by this subscription. + * @param options The options parameters. + */ + public list( + options?: SubscriptionNetworkManagerConnectionsListOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: () => { + return this.listPagingPage(options); + } + }; + } + + private async *listPagingPage( + options?: SubscriptionNetworkManagerConnectionsListOptionalParams + ): AsyncIterableIterator { + let result = await this._list(options); + yield result.value || []; + let continuationToken = result.nextLink; + while (continuationToken) { + result = await this._listNext(continuationToken, options); + continuationToken = result.nextLink; + yield result.value || []; + } + } + + private async *listPagingAll( + options?: SubscriptionNetworkManagerConnectionsListOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listPagingPage(options)) { + yield* page; + } + } + + /** + * Create a network manager connection on this subscription. + * @param networkManagerConnectionName Name for the network manager connection. + * @param parameters Network manager connection to be created/updated. + * @param options The options parameters. + */ + createOrUpdate( + networkManagerConnectionName: string, + parameters: NetworkManagerConnection, + options?: SubscriptionNetworkManagerConnectionsCreateOrUpdateOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { networkManagerConnectionName, parameters, options }, + createOrUpdateOperationSpec + ); + } + + /** + * Get a specified connection created by this subscription. + * @param networkManagerConnectionName Name for the network manager connection. + * @param options The options parameters. + */ + get( + networkManagerConnectionName: string, + options?: SubscriptionNetworkManagerConnectionsGetOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { networkManagerConnectionName, options }, + getOperationSpec + ); + } + + /** + * Delete specified connection created by this subscription. + * @param networkManagerConnectionName Name for the network manager connection. + * @param options The options parameters. + */ + delete( + networkManagerConnectionName: string, + options?: SubscriptionNetworkManagerConnectionsDeleteOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { networkManagerConnectionName, options }, + deleteOperationSpec + ); + } + + /** + * List all network manager connections created by this subscription. + * @param options The options parameters. + */ + private _list( + options?: SubscriptionNetworkManagerConnectionsListOptionalParams + ): Promise { + return this.client.sendOperationRequest({ options }, listOperationSpec); + } + + /** + * ListNext + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + nextLink: string, + options?: SubscriptionNetworkManagerConnectionsListNextOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { nextLink, options }, + listNextOperationSpec + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.NetworkManagerConnection + }, + 201: { + bodyMapper: Mappers.NetworkManagerConnection + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + requestBody: Parameters.parameters33, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.networkManagerConnectionName + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const getOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.NetworkManagerConnection + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.networkManagerConnectionName + ], + headerParameters: [Parameters.accept], + serializer +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}", + httpMethod: "DELETE", + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.networkManagerConnectionName + ], + headerParameters: [Parameters.accept], + serializer +}; +const listOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagerConnections", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.NetworkManagerConnectionListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.top, + Parameters.skipToken + ], + urlParameters: [Parameters.$host, Parameters.subscriptionId], + headerParameters: [Parameters.accept], + serializer +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.NetworkManagerConnectionListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.top, + Parameters.skipToken + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.nextLink + ], + headerParameters: [Parameters.accept], + serializer +}; diff --git a/sdk/network/arm-network/src/operations/virtualApplianceSites.ts b/sdk/network/arm-network/src/operations/virtualApplianceSites.ts index fd1048914b60..8efa45500615 100644 --- a/sdk/network/arm-network/src/operations/virtualApplianceSites.ts +++ b/sdk/network/arm-network/src/operations/virtualApplianceSites.ts @@ -431,7 +431,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters30, + requestBody: Parameters.parameters40, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/network/arm-network/src/operations/virtualHubBgpConnection.ts b/sdk/network/arm-network/src/operations/virtualHubBgpConnection.ts index ed9622531710..24986f77cbc4 100644 --- a/sdk/network/arm-network/src/operations/virtualHubBgpConnection.ts +++ b/sdk/network/arm-network/src/operations/virtualHubBgpConnection.ts @@ -294,7 +294,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters75, + requestBody: Parameters.parameters85, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/network/arm-network/src/operations/virtualHubIpConfiguration.ts b/sdk/network/arm-network/src/operations/virtualHubIpConfiguration.ts index 971aa835fd0c..0bac3b70fee5 100644 --- a/sdk/network/arm-network/src/operations/virtualHubIpConfiguration.ts +++ b/sdk/network/arm-network/src/operations/virtualHubIpConfiguration.ts @@ -390,7 +390,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters76, + requestBody: Parameters.parameters86, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/network/arm-network/src/operations/virtualNetworkGatewayConnections.ts b/sdk/network/arm-network/src/operations/virtualNetworkGatewayConnections.ts index 559f32c6317a..5940f9fed67d 100644 --- a/sdk/network/arm-network/src/operations/virtualNetworkGatewayConnections.ts +++ b/sdk/network/arm-network/src/operations/virtualNetworkGatewayConnections.ts @@ -1063,7 +1063,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters63, + requestBody: Parameters.parameters73, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -1174,7 +1174,7 @@ const setSharedKeyOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters64, + requestBody: Parameters.parameters74, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -1250,7 +1250,7 @@ const resetSharedKeyOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters65, + requestBody: Parameters.parameters75, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -1283,7 +1283,7 @@ const startPacketCaptureOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorModel } }, - requestBody: Parameters.parameters61, + requestBody: Parameters.parameters71, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -1316,7 +1316,7 @@ const stopPacketCaptureOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorModel } }, - requestBody: Parameters.parameters62, + requestBody: Parameters.parameters72, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/network/arm-network/src/operations/virtualNetworkGateways.ts b/sdk/network/arm-network/src/operations/virtualNetworkGateways.ts index 817d2a9b56aa..22a3fdcdd971 100644 --- a/sdk/network/arm-network/src/operations/virtualNetworkGateways.ts +++ b/sdk/network/arm-network/src/operations/virtualNetworkGateways.ts @@ -1915,7 +1915,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters58, + requestBody: Parameters.parameters68, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -2123,7 +2123,7 @@ const generatevpnclientpackageOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters59, + requestBody: Parameters.parameters69, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -2156,7 +2156,7 @@ const generateVpnProfileOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters59, + requestBody: Parameters.parameters69, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -2390,7 +2390,7 @@ const vpnDeviceConfigurationScriptOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters60, + requestBody: Parameters.parameters70, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -2423,7 +2423,7 @@ const startPacketCaptureOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorModel } }, - requestBody: Parameters.parameters61, + requestBody: Parameters.parameters71, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -2456,7 +2456,7 @@ const stopPacketCaptureOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorModel } }, - requestBody: Parameters.parameters62, + requestBody: Parameters.parameters72, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/network/arm-network/src/operations/virtualNetworkTaps.ts b/sdk/network/arm-network/src/operations/virtualNetworkTaps.ts index 5ad53762b8ba..58c1b9298266 100644 --- a/sdk/network/arm-network/src/operations/virtualNetworkTaps.ts +++ b/sdk/network/arm-network/src/operations/virtualNetworkTaps.ts @@ -476,7 +476,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters67, + requestBody: Parameters.parameters77, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/network/arm-network/src/operations/virtualNetworks.ts b/sdk/network/arm-network/src/operations/virtualNetworks.ts index c1c69320b801..5d1c802650db 100644 --- a/sdk/network/arm-network/src/operations/virtualNetworks.ts +++ b/sdk/network/arm-network/src/operations/virtualNetworks.ts @@ -610,7 +610,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters57, + requestBody: Parameters.parameters67, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/network/arm-network/src/operations/virtualRouterPeerings.ts b/sdk/network/arm-network/src/operations/virtualRouterPeerings.ts index 47dfb703792c..08be37846989 100644 --- a/sdk/network/arm-network/src/operations/virtualRouterPeerings.ts +++ b/sdk/network/arm-network/src/operations/virtualRouterPeerings.ts @@ -429,7 +429,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorModel } }, - requestBody: Parameters.parameters69, + requestBody: Parameters.parameters79, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/network/arm-network/src/operations/virtualRouters.ts b/sdk/network/arm-network/src/operations/virtualRouters.ts index d48ccfb6f228..a3d1f2bd4bcf 100644 --- a/sdk/network/arm-network/src/operations/virtualRouters.ts +++ b/sdk/network/arm-network/src/operations/virtualRouters.ts @@ -458,7 +458,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorModel } }, - requestBody: Parameters.parameters68, + requestBody: Parameters.parameters78, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/network/arm-network/src/operations/vpnConnections.ts b/sdk/network/arm-network/src/operations/vpnConnections.ts index ad0e083414ee..943ef59d6a9a 100644 --- a/sdk/network/arm-network/src/operations/vpnConnections.ts +++ b/sdk/network/arm-network/src/operations/vpnConnections.ts @@ -655,7 +655,7 @@ const startPacketCaptureOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters72, + requestBody: Parameters.parameters82, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -689,7 +689,7 @@ const stopPacketCaptureOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters73, + requestBody: Parameters.parameters83, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/network/arm-network/src/operations/vpnGateways.ts b/sdk/network/arm-network/src/operations/vpnGateways.ts index 0828d388c206..57517f266630 100644 --- a/sdk/network/arm-network/src/operations/vpnGateways.ts +++ b/sdk/network/arm-network/src/operations/vpnGateways.ts @@ -921,7 +921,7 @@ const startPacketCaptureOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters70, + requestBody: Parameters.parameters80, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -954,7 +954,7 @@ const stopPacketCaptureOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters71, + requestBody: Parameters.parameters81, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/network/arm-network/src/operations/webApplicationFirewallPolicies.ts b/sdk/network/arm-network/src/operations/webApplicationFirewallPolicies.ts index 2b3ca81b0e30..2a6f60339890 100644 --- a/sdk/network/arm-network/src/operations/webApplicationFirewallPolicies.ts +++ b/sdk/network/arm-network/src/operations/webApplicationFirewallPolicies.ts @@ -391,7 +391,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - requestBody: Parameters.parameters77, + requestBody: Parameters.parameters87, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/network/arm-network/src/operationsInterfaces/adminRuleCollections.ts b/sdk/network/arm-network/src/operationsInterfaces/adminRuleCollections.ts new file mode 100644 index 000000000000..2c75a7c7cc31 --- /dev/null +++ b/sdk/network/arm-network/src/operationsInterfaces/adminRuleCollections.ts @@ -0,0 +1,99 @@ +/* + * 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 { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { PollerLike, PollOperationState } from "@azure/core-lro"; +import { + AdminRuleCollection, + AdminRuleCollectionsListOptionalParams, + AdminRuleCollectionsGetOptionalParams, + AdminRuleCollectionsGetResponse, + AdminRuleCollectionsCreateOrUpdateOptionalParams, + AdminRuleCollectionsCreateOrUpdateResponse, + AdminRuleCollectionsDeleteOptionalParams +} from "../models"; + +/// +/** Interface representing a AdminRuleCollections. */ +export interface AdminRuleCollections { + /** + * Lists all the rule collections in a security admin configuration, in a paginated format. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + networkManagerName: string, + configurationName: string, + options?: AdminRuleCollectionsListOptionalParams + ): PagedAsyncIterableIterator; + /** + * Gets a network manager security admin configuration rule collection. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param ruleCollectionName The name of the network manager security Configuration rule collection. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + networkManagerName: string, + configurationName: string, + ruleCollectionName: string, + options?: AdminRuleCollectionsGetOptionalParams + ): Promise; + /** + * Creates or updates an admin rule collection. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param ruleCollectionName The name of the network manager security Configuration rule collection. + * @param ruleCollection The Rule Collection to create or update + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + networkManagerName: string, + configurationName: string, + ruleCollectionName: string, + ruleCollection: AdminRuleCollection, + options?: AdminRuleCollectionsCreateOrUpdateOptionalParams + ): Promise; + /** + * Deletes an admin rule collection. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param ruleCollectionName The name of the network manager security Configuration rule collection. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + networkManagerName: string, + configurationName: string, + ruleCollectionName: string, + options?: AdminRuleCollectionsDeleteOptionalParams + ): Promise, void>>; + /** + * Deletes an admin rule collection. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param ruleCollectionName The name of the network manager security Configuration rule collection. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + networkManagerName: string, + configurationName: string, + ruleCollectionName: string, + options?: AdminRuleCollectionsDeleteOptionalParams + ): Promise; +} diff --git a/sdk/network/arm-network/src/operationsInterfaces/adminRules.ts b/sdk/network/arm-network/src/operationsInterfaces/adminRules.ts new file mode 100644 index 000000000000..f2334b00616f --- /dev/null +++ b/sdk/network/arm-network/src/operationsInterfaces/adminRules.ts @@ -0,0 +1,109 @@ +/* + * 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 { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { PollerLike, PollOperationState } from "@azure/core-lro"; +import { + BaseAdminRuleUnion, + AdminRulesListOptionalParams, + AdminRulesGetOptionalParams, + AdminRulesGetResponse, + AdminRulesCreateOrUpdateOptionalParams, + AdminRulesCreateOrUpdateResponse, + AdminRulesDeleteOptionalParams +} from "../models"; + +/// +/** Interface representing a AdminRules. */ +export interface AdminRules { + /** + * List all network manager security configuration admin rules. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param ruleCollectionName The name of the network manager security Configuration rule collection. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + networkManagerName: string, + configurationName: string, + ruleCollectionName: string, + options?: AdminRulesListOptionalParams + ): PagedAsyncIterableIterator; + /** + * Gets a network manager security configuration admin rule. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param ruleCollectionName The name of the network manager security Configuration rule collection. + * @param ruleName The name of the rule. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + networkManagerName: string, + configurationName: string, + ruleCollectionName: string, + ruleName: string, + options?: AdminRulesGetOptionalParams + ): Promise; + /** + * Creates or updates an admin rule. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param ruleCollectionName The name of the network manager security Configuration rule collection. + * @param ruleName The name of the rule. + * @param adminRule The admin rule to create or update + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + networkManagerName: string, + configurationName: string, + ruleCollectionName: string, + ruleName: string, + adminRule: BaseAdminRuleUnion, + options?: AdminRulesCreateOrUpdateOptionalParams + ): Promise; + /** + * Deletes an admin rule. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param ruleCollectionName The name of the network manager security Configuration rule collection. + * @param ruleName The name of the rule. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + networkManagerName: string, + configurationName: string, + ruleCollectionName: string, + ruleName: string, + options?: AdminRulesDeleteOptionalParams + ): Promise, void>>; + /** + * Deletes an admin rule. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param ruleCollectionName The name of the network manager security Configuration rule collection. + * @param ruleName The name of the rule. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + networkManagerName: string, + configurationName: string, + ruleCollectionName: string, + ruleName: string, + options?: AdminRulesDeleteOptionalParams + ): Promise; +} diff --git a/sdk/network/arm-network/src/operationsInterfaces/azureFirewalls.ts b/sdk/network/arm-network/src/operationsInterfaces/azureFirewalls.ts index d63bd2959aad..b8b7124992cd 100644 --- a/sdk/network/arm-network/src/operationsInterfaces/azureFirewalls.ts +++ b/sdk/network/arm-network/src/operationsInterfaces/azureFirewalls.ts @@ -19,7 +19,9 @@ import { AzureFirewallsCreateOrUpdateResponse, TagsObject, AzureFirewallsUpdateTagsOptionalParams, - AzureFirewallsUpdateTagsResponse + AzureFirewallsUpdateTagsResponse, + AzureFirewallsListLearnedPrefixesOptionalParams, + AzureFirewallsListLearnedPrefixesResponse } from "../models"; /// @@ -136,4 +138,31 @@ export interface AzureFirewalls { parameters: TagsObject, options?: AzureFirewallsUpdateTagsOptionalParams ): Promise; + /** + * Retrieves a list of all IP prefixes that azure firewall has learned to not SNAT. + * @param resourceGroupName The name of the resource group. + * @param azureFirewallName The name of the azure firewall. + * @param options The options parameters. + */ + beginListLearnedPrefixes( + resourceGroupName: string, + azureFirewallName: string, + options?: AzureFirewallsListLearnedPrefixesOptionalParams + ): Promise< + PollerLike< + PollOperationState, + AzureFirewallsListLearnedPrefixesResponse + > + >; + /** + * Retrieves a list of all IP prefixes that azure firewall has learned to not SNAT. + * @param resourceGroupName The name of the resource group. + * @param azureFirewallName The name of the azure firewall. + * @param options The options parameters. + */ + beginListLearnedPrefixesAndWait( + resourceGroupName: string, + azureFirewallName: string, + options?: AzureFirewallsListLearnedPrefixesOptionalParams + ): Promise; } diff --git a/sdk/network/arm-network/src/operationsInterfaces/connectivityConfigurations.ts b/sdk/network/arm-network/src/operationsInterfaces/connectivityConfigurations.ts new file mode 100644 index 000000000000..a5930b0d8ad9 --- /dev/null +++ b/sdk/network/arm-network/src/operationsInterfaces/connectivityConfigurations.ts @@ -0,0 +1,93 @@ +/* + * 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 { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { PollerLike, PollOperationState } from "@azure/core-lro"; +import { + ConnectivityConfiguration, + ConnectivityConfigurationsListOptionalParams, + ConnectivityConfigurationsGetOptionalParams, + ConnectivityConfigurationsGetResponse, + ConnectivityConfigurationsCreateOrUpdateOptionalParams, + ConnectivityConfigurationsCreateOrUpdateResponse, + ConnectivityConfigurationsDeleteOptionalParams +} from "../models"; + +/// +/** Interface representing a ConnectivityConfigurations. */ +export interface ConnectivityConfigurations { + /** + * Lists all the network manager connectivity configuration in a specified network manager. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + networkManagerName: string, + options?: ConnectivityConfigurationsListOptionalParams + ): PagedAsyncIterableIterator; + /** + * Gets a Network Connectivity Configuration, specified by the resource group, network manager name, + * and connectivity Configuration name + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager connectivity configuration. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + networkManagerName: string, + configurationName: string, + options?: ConnectivityConfigurationsGetOptionalParams + ): Promise; + /** + * Creates/Updates a new network manager connectivity configuration + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager connectivity configuration. + * @param connectivityConfiguration Parameters supplied to create/update a network manager connectivity + * configuration + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + networkManagerName: string, + configurationName: string, + connectivityConfiguration: ConnectivityConfiguration, + options?: ConnectivityConfigurationsCreateOrUpdateOptionalParams + ): Promise; + /** + * Deletes a network manager connectivity configuration, specified by the resource group, network + * manager name, and connectivity configuration name + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager connectivity configuration. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + networkManagerName: string, + configurationName: string, + options?: ConnectivityConfigurationsDeleteOptionalParams + ): Promise, void>>; + /** + * Deletes a network manager connectivity configuration, specified by the resource group, network + * manager name, and connectivity configuration name + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager connectivity configuration. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + networkManagerName: string, + configurationName: string, + options?: ConnectivityConfigurationsDeleteOptionalParams + ): Promise; +} diff --git a/sdk/network/arm-network/src/operationsInterfaces/expressRouteProviderPortsLocation.ts b/sdk/network/arm-network/src/operationsInterfaces/expressRouteProviderPortsLocation.ts new file mode 100644 index 000000000000..500e4f2d8a07 --- /dev/null +++ b/sdk/network/arm-network/src/operationsInterfaces/expressRouteProviderPortsLocation.ts @@ -0,0 +1,23 @@ +/* + * 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 { + ExpressRouteProviderPortsLocationListOptionalParams, + ExpressRouteProviderPortsLocationListResponse +} from "../models"; + +/** Interface representing a ExpressRouteProviderPortsLocation. */ +export interface ExpressRouteProviderPortsLocation { + /** + * Retrieves all the ExpressRouteProviderPorts in a subscription. + * @param options The options parameters. + */ + list( + options?: ExpressRouteProviderPortsLocationListOptionalParams + ): Promise; +} diff --git a/sdk/network/arm-network/src/operationsInterfaces/index.ts b/sdk/network/arm-network/src/operationsInterfaces/index.ts index 75a18887f6c2..341ddad691ea 100644 --- a/sdk/network/arm-network/src/operationsInterfaces/index.ts +++ b/sdk/network/arm-network/src/operationsInterfaces/index.ts @@ -55,6 +55,18 @@ export * from "./natGateways"; export * from "./networkInterfaceIPConfigurations"; export * from "./networkInterfaceLoadBalancers"; export * from "./networkInterfaceTapConfigurations"; +export * from "./networkManagers"; +export * from "./networkManagerCommits"; +export * from "./networkManagerDeploymentStatusOperations"; +export * from "./subscriptionNetworkManagerConnections"; +export * from "./managementGroupNetworkManagerConnections"; +export * from "./connectivityConfigurations"; +export * from "./networkGroups"; +export * from "./staticMembers"; +export * from "./scopeConnections"; +export * from "./securityAdminConfigurations"; +export * from "./adminRuleCollections"; +export * from "./adminRules"; export * from "./networkProfiles"; export * from "./networkSecurityGroups"; export * from "./securityRules"; @@ -120,3 +132,4 @@ export * from "./virtualHubIpConfiguration"; export * from "./hubRouteTables"; export * from "./routingIntentOperations"; export * from "./webApplicationFirewallPolicies"; +export * from "./expressRouteProviderPortsLocation"; diff --git a/sdk/network/arm-network/src/operationsInterfaces/managementGroupNetworkManagerConnections.ts b/sdk/network/arm-network/src/operationsInterfaces/managementGroupNetworkManagerConnections.ts new file mode 100644 index 000000000000..883692675d0d --- /dev/null +++ b/sdk/network/arm-network/src/operationsInterfaces/managementGroupNetworkManagerConnections.ts @@ -0,0 +1,71 @@ +/* + * 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 { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { + NetworkManagerConnection, + ManagementGroupNetworkManagerConnectionsListOptionalParams, + ManagementGroupNetworkManagerConnectionsCreateOrUpdateOptionalParams, + ManagementGroupNetworkManagerConnectionsCreateOrUpdateResponse, + ManagementGroupNetworkManagerConnectionsGetOptionalParams, + ManagementGroupNetworkManagerConnectionsGetResponse, + ManagementGroupNetworkManagerConnectionsDeleteOptionalParams +} from "../models"; + +/// +/** Interface representing a ManagementGroupNetworkManagerConnections. */ +export interface ManagementGroupNetworkManagerConnections { + /** + * List all network manager connections created by this management group. + * @param managementGroupId The management group Id which uniquely identify the Microsoft Azure + * management group. + * @param options The options parameters. + */ + list( + managementGroupId: string, + options?: ManagementGroupNetworkManagerConnectionsListOptionalParams + ): PagedAsyncIterableIterator; + /** + * Create a network manager connection on this management group. + * @param managementGroupId The management group Id which uniquely identify the Microsoft Azure + * management group. + * @param networkManagerConnectionName Name for the network manager connection. + * @param parameters Network manager connection to be created/updated. + * @param options The options parameters. + */ + createOrUpdate( + managementGroupId: string, + networkManagerConnectionName: string, + parameters: NetworkManagerConnection, + options?: ManagementGroupNetworkManagerConnectionsCreateOrUpdateOptionalParams + ): Promise; + /** + * Get a specified connection created by this management group. + * @param managementGroupId The management group Id which uniquely identify the Microsoft Azure + * management group. + * @param networkManagerConnectionName Name for the network manager connection. + * @param options The options parameters. + */ + get( + managementGroupId: string, + networkManagerConnectionName: string, + options?: ManagementGroupNetworkManagerConnectionsGetOptionalParams + ): Promise; + /** + * Delete specified pending connection created by this management group. + * @param managementGroupId The management group Id which uniquely identify the Microsoft Azure + * management group. + * @param networkManagerConnectionName Name for the network manager connection. + * @param options The options parameters. + */ + delete( + managementGroupId: string, + networkManagerConnectionName: string, + options?: ManagementGroupNetworkManagerConnectionsDeleteOptionalParams + ): Promise; +} diff --git a/sdk/network/arm-network/src/operationsInterfaces/networkGroups.ts b/sdk/network/arm-network/src/operationsInterfaces/networkGroups.ts new file mode 100644 index 000000000000..7aa593f8dced --- /dev/null +++ b/sdk/network/arm-network/src/operationsInterfaces/networkGroups.ts @@ -0,0 +1,89 @@ +/* + * 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 { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { PollerLike, PollOperationState } from "@azure/core-lro"; +import { + NetworkGroup, + NetworkGroupsListOptionalParams, + NetworkGroupsGetOptionalParams, + NetworkGroupsGetResponse, + NetworkGroupsCreateOrUpdateOptionalParams, + NetworkGroupsCreateOrUpdateResponse, + NetworkGroupsDeleteOptionalParams +} from "../models"; + +/// +/** Interface representing a NetworkGroups. */ +export interface NetworkGroups { + /** + * Lists the specified network group. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + networkManagerName: string, + options?: NetworkGroupsListOptionalParams + ): PagedAsyncIterableIterator; + /** + * Gets the specified network group. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param networkGroupName The name of the network group. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + networkManagerName: string, + networkGroupName: string, + options?: NetworkGroupsGetOptionalParams + ): Promise; + /** + * Creates or updates a network group. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param networkGroupName The name of the network group. + * @param parameters Parameters supplied to the specify which network group need to create + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + networkManagerName: string, + networkGroupName: string, + parameters: NetworkGroup, + options?: NetworkGroupsCreateOrUpdateOptionalParams + ): Promise; + /** + * Deletes a network group. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param networkGroupName The name of the network group. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + networkManagerName: string, + networkGroupName: string, + options?: NetworkGroupsDeleteOptionalParams + ): Promise, void>>; + /** + * Deletes a network group. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param networkGroupName The name of the network group. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + networkManagerName: string, + networkGroupName: string, + options?: NetworkGroupsDeleteOptionalParams + ): Promise; +} diff --git a/sdk/network/arm-network/src/operationsInterfaces/networkManagerCommits.ts b/sdk/network/arm-network/src/operationsInterfaces/networkManagerCommits.ts new file mode 100644 index 000000000000..84e304d7cf34 --- /dev/null +++ b/sdk/network/arm-network/src/operationsInterfaces/networkManagerCommits.ts @@ -0,0 +1,49 @@ +/* + * 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 { PollerLike, PollOperationState } from "@azure/core-lro"; +import { + NetworkManagerCommit, + NetworkManagerCommitsPostOptionalParams, + NetworkManagerCommitsPostResponse +} from "../models"; + +/** Interface representing a NetworkManagerCommits. */ +export interface NetworkManagerCommits { + /** + * Post a Network Manager Commit. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param parameters Parameters supplied to specify which Managed Network commit is. + * @param options The options parameters. + */ + beginPost( + resourceGroupName: string, + networkManagerName: string, + parameters: NetworkManagerCommit, + options?: NetworkManagerCommitsPostOptionalParams + ): Promise< + PollerLike< + PollOperationState, + NetworkManagerCommitsPostResponse + > + >; + /** + * Post a Network Manager Commit. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param parameters Parameters supplied to specify which Managed Network commit is. + * @param options The options parameters. + */ + beginPostAndWait( + resourceGroupName: string, + networkManagerName: string, + parameters: NetworkManagerCommit, + options?: NetworkManagerCommitsPostOptionalParams + ): Promise; +} diff --git a/sdk/network/arm-network/src/operationsInterfaces/networkManagerDeploymentStatusOperations.ts b/sdk/network/arm-network/src/operationsInterfaces/networkManagerDeploymentStatusOperations.ts new file mode 100644 index 000000000000..99adba953014 --- /dev/null +++ b/sdk/network/arm-network/src/operationsInterfaces/networkManagerDeploymentStatusOperations.ts @@ -0,0 +1,30 @@ +/* + * 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 { + NetworkManagerDeploymentStatusParameter, + NetworkManagerDeploymentStatusListOptionalParams, + NetworkManagerDeploymentStatusListResponse +} from "../models"; + +/** Interface representing a NetworkManagerDeploymentStatusOperations. */ +export interface NetworkManagerDeploymentStatusOperations { + /** + * Post to List of Network Manager Deployment Status. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param parameters Parameters supplied to specify which Managed Network deployment status is. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + networkManagerName: string, + parameters: NetworkManagerDeploymentStatusParameter, + options?: NetworkManagerDeploymentStatusListOptionalParams + ): Promise; +} diff --git a/sdk/network/arm-network/src/operationsInterfaces/networkManagers.ts b/sdk/network/arm-network/src/operationsInterfaces/networkManagers.ts new file mode 100644 index 000000000000..ab5d4d88ed66 --- /dev/null +++ b/sdk/network/arm-network/src/operationsInterfaces/networkManagers.ts @@ -0,0 +1,103 @@ +/* + * 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 { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { PollerLike, PollOperationState } from "@azure/core-lro"; +import { + NetworkManager, + NetworkManagersListBySubscriptionOptionalParams, + NetworkManagersListOptionalParams, + NetworkManagersGetOptionalParams, + NetworkManagersGetResponse, + NetworkManagersCreateOrUpdateOptionalParams, + NetworkManagersCreateOrUpdateResponse, + NetworkManagersDeleteOptionalParams, + PatchObject, + NetworkManagersPatchOptionalParams, + NetworkManagersPatchResponse +} from "../models"; + +/// +/** Interface representing a NetworkManagers. */ +export interface NetworkManagers { + /** + * List all network managers in a subscription. + * @param options The options parameters. + */ + listBySubscription( + options?: NetworkManagersListBySubscriptionOptionalParams + ): PagedAsyncIterableIterator; + /** + * List network managers in a resource group. + * @param resourceGroupName The name of the resource group. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + options?: NetworkManagersListOptionalParams + ): PagedAsyncIterableIterator; + /** + * Gets the specified Network Manager. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + networkManagerName: string, + options?: NetworkManagersGetOptionalParams + ): Promise; + /** + * Creates or updates a Network Manager. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param parameters Parameters supplied to specify which network manager is. + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + networkManagerName: string, + parameters: NetworkManager, + options?: NetworkManagersCreateOrUpdateOptionalParams + ): Promise; + /** + * Deletes a network manager. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + networkManagerName: string, + options?: NetworkManagersDeleteOptionalParams + ): Promise, void>>; + /** + * Deletes a network manager. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + networkManagerName: string, + options?: NetworkManagersDeleteOptionalParams + ): Promise; + /** + * Patch NetworkManager. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param parameters Parameters supplied to specify which network manager is. + * @param options The options parameters. + */ + patch( + resourceGroupName: string, + networkManagerName: string, + parameters: PatchObject, + options?: NetworkManagersPatchOptionalParams + ): Promise; +} diff --git a/sdk/network/arm-network/src/operationsInterfaces/scopeConnections.ts b/sdk/network/arm-network/src/operationsInterfaces/scopeConnections.ts new file mode 100644 index 000000000000..c810b66c6a7c --- /dev/null +++ b/sdk/network/arm-network/src/operationsInterfaces/scopeConnections.ts @@ -0,0 +1,75 @@ +/* + * 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 { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { + ScopeConnection, + ScopeConnectionsListOptionalParams, + ScopeConnectionsCreateOrUpdateOptionalParams, + ScopeConnectionsCreateOrUpdateResponse, + ScopeConnectionsGetOptionalParams, + ScopeConnectionsGetResponse, + ScopeConnectionsDeleteOptionalParams +} from "../models"; + +/// +/** Interface representing a ScopeConnections. */ +export interface ScopeConnections { + /** + * List all scope connections created by this network manager. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + networkManagerName: string, + options?: ScopeConnectionsListOptionalParams + ): PagedAsyncIterableIterator; + /** + * Creates or updates scope connection from Network Manager + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param scopeConnectionName Name for the cross-tenant connection. + * @param parameters Scope connection to be created/updated. + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + networkManagerName: string, + scopeConnectionName: string, + parameters: ScopeConnection, + options?: ScopeConnectionsCreateOrUpdateOptionalParams + ): Promise; + /** + * Get specified scope connection created by this Network Manager. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param scopeConnectionName Name for the cross-tenant connection. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + networkManagerName: string, + scopeConnectionName: string, + options?: ScopeConnectionsGetOptionalParams + ): Promise; + /** + * Delete the pending scope connection created by this network manager. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param scopeConnectionName Name for the cross-tenant connection. + * @param options The options parameters. + */ + delete( + resourceGroupName: string, + networkManagerName: string, + scopeConnectionName: string, + options?: ScopeConnectionsDeleteOptionalParams + ): Promise; +} diff --git a/sdk/network/arm-network/src/operationsInterfaces/securityAdminConfigurations.ts b/sdk/network/arm-network/src/operationsInterfaces/securityAdminConfigurations.ts new file mode 100644 index 000000000000..2f4d76480f10 --- /dev/null +++ b/sdk/network/arm-network/src/operationsInterfaces/securityAdminConfigurations.ts @@ -0,0 +1,90 @@ +/* + * 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 { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { PollerLike, PollOperationState } from "@azure/core-lro"; +import { + SecurityAdminConfiguration, + SecurityAdminConfigurationsListOptionalParams, + SecurityAdminConfigurationsGetOptionalParams, + SecurityAdminConfigurationsGetResponse, + SecurityAdminConfigurationsCreateOrUpdateOptionalParams, + SecurityAdminConfigurationsCreateOrUpdateResponse, + SecurityAdminConfigurationsDeleteOptionalParams +} from "../models"; + +/// +/** Interface representing a SecurityAdminConfigurations. */ +export interface SecurityAdminConfigurations { + /** + * Lists all the network manager security admin configurations in a network manager, in a paginated + * format. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + networkManagerName: string, + options?: SecurityAdminConfigurationsListOptionalParams + ): PagedAsyncIterableIterator; + /** + * Retrieves a network manager security admin configuration. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + networkManagerName: string, + configurationName: string, + options?: SecurityAdminConfigurationsGetOptionalParams + ): Promise; + /** + * Creates or updates a network manager security admin configuration. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param securityAdminConfiguration The security admin configuration to create or update + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + networkManagerName: string, + configurationName: string, + securityAdminConfiguration: SecurityAdminConfiguration, + options?: SecurityAdminConfigurationsCreateOrUpdateOptionalParams + ): Promise; + /** + * Deletes a network manager security admin configuration. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + networkManagerName: string, + configurationName: string, + options?: SecurityAdminConfigurationsDeleteOptionalParams + ): Promise, void>>; + /** + * Deletes a network manager security admin configuration. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + networkManagerName: string, + configurationName: string, + options?: SecurityAdminConfigurationsDeleteOptionalParams + ): Promise; +} diff --git a/sdk/network/arm-network/src/operationsInterfaces/staticMembers.ts b/sdk/network/arm-network/src/operationsInterfaces/staticMembers.ts new file mode 100644 index 000000000000..7fe9d035a1f7 --- /dev/null +++ b/sdk/network/arm-network/src/operationsInterfaces/staticMembers.ts @@ -0,0 +1,83 @@ +/* + * 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 { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { + StaticMember, + StaticMembersListOptionalParams, + StaticMembersGetOptionalParams, + StaticMembersGetResponse, + StaticMembersCreateOrUpdateOptionalParams, + StaticMembersCreateOrUpdateResponse, + StaticMembersDeleteOptionalParams +} from "../models"; + +/// +/** Interface representing a StaticMembers. */ +export interface StaticMembers { + /** + * Lists the specified static member. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param networkGroupName The name of the network group. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + networkManagerName: string, + networkGroupName: string, + options?: StaticMembersListOptionalParams + ): PagedAsyncIterableIterator; + /** + * Gets the specified static member. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param networkGroupName The name of the network group. + * @param staticMemberName The name of the static member. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + networkManagerName: string, + networkGroupName: string, + staticMemberName: string, + options?: StaticMembersGetOptionalParams + ): Promise; + /** + * Creates or updates a static member. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param networkGroupName The name of the network group. + * @param staticMemberName The name of the static member. + * @param parameters Parameters supplied to the specify the static member to create + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + networkManagerName: string, + networkGroupName: string, + staticMemberName: string, + parameters: StaticMember, + options?: StaticMembersCreateOrUpdateOptionalParams + ): Promise; + /** + * Deletes a static member. + * @param resourceGroupName The name of the resource group. + * @param networkManagerName The name of the network manager. + * @param networkGroupName The name of the network group. + * @param staticMemberName The name of the static member. + * @param options The options parameters. + */ + delete( + resourceGroupName: string, + networkManagerName: string, + networkGroupName: string, + staticMemberName: string, + options?: StaticMembersDeleteOptionalParams + ): Promise; +} diff --git a/sdk/network/arm-network/src/operationsInterfaces/subscriptionNetworkManagerConnections.ts b/sdk/network/arm-network/src/operationsInterfaces/subscriptionNetworkManagerConnections.ts new file mode 100644 index 000000000000..c885f89662c8 --- /dev/null +++ b/sdk/network/arm-network/src/operationsInterfaces/subscriptionNetworkManagerConnections.ts @@ -0,0 +1,59 @@ +/* + * 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 { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { + NetworkManagerConnection, + SubscriptionNetworkManagerConnectionsListOptionalParams, + SubscriptionNetworkManagerConnectionsCreateOrUpdateOptionalParams, + SubscriptionNetworkManagerConnectionsCreateOrUpdateResponse, + SubscriptionNetworkManagerConnectionsGetOptionalParams, + SubscriptionNetworkManagerConnectionsGetResponse, + SubscriptionNetworkManagerConnectionsDeleteOptionalParams +} from "../models"; + +/// +/** Interface representing a SubscriptionNetworkManagerConnections. */ +export interface SubscriptionNetworkManagerConnections { + /** + * List all network manager connections created by this subscription. + * @param options The options parameters. + */ + list( + options?: SubscriptionNetworkManagerConnectionsListOptionalParams + ): PagedAsyncIterableIterator; + /** + * Create a network manager connection on this subscription. + * @param networkManagerConnectionName Name for the network manager connection. + * @param parameters Network manager connection to be created/updated. + * @param options The options parameters. + */ + createOrUpdate( + networkManagerConnectionName: string, + parameters: NetworkManagerConnection, + options?: SubscriptionNetworkManagerConnectionsCreateOrUpdateOptionalParams + ): Promise; + /** + * Get a specified connection created by this subscription. + * @param networkManagerConnectionName Name for the network manager connection. + * @param options The options parameters. + */ + get( + networkManagerConnectionName: string, + options?: SubscriptionNetworkManagerConnectionsGetOptionalParams + ): Promise; + /** + * Delete specified connection created by this subscription. + * @param networkManagerConnectionName Name for the network manager connection. + * @param options The options parameters. + */ + delete( + networkManagerConnectionName: string, + options?: SubscriptionNetworkManagerConnectionsDeleteOptionalParams + ): Promise; +} diff --git a/sdk/network/arm-network/test/sampleTest.ts b/sdk/network/arm-network/test/sampleTest.ts new file mode 100644 index 000000000000..25aeb3ebcc36 --- /dev/null +++ b/sdk/network/arm-network/test/sampleTest.ts @@ -0,0 +1,43 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { + Recorder, + RecorderStartOptions, + env +} from "@azure-tools/test-recorder"; +import { assert } from "chai"; +import { Context } from "mocha"; + +const replaceableVariables: Record = { + AZURE_CLIENT_ID: "azure_client_id", + AZURE_CLIENT_SECRET: "azure_client_secret", + AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888", + SUBSCRIPTION_ID: "azure_subscription_id" +}; + +const recorderOptions: RecorderStartOptions = { + envSetupForPlayback: replaceableVariables +}; + +describe("My test", () => { + let recorder: Recorder; + + beforeEach(async function(this: Context) { + recorder = new Recorder(this.currentTest); + await recorder.start(recorderOptions); + }); + + afterEach(async function() { + await recorder.stop(); + }); + + it("sample test", async function() { + console.log("Hi, I'm a test!"); + }); +}); diff --git a/sdk/network/arm-network/tsconfig.json b/sdk/network/arm-network/tsconfig.json index 094dfbf3dbe3..3e6ae96443f3 100644 --- a/sdk/network/arm-network/tsconfig.json +++ b/sdk/network/arm-network/tsconfig.json @@ -15,17 +15,11 @@ ], "declaration": true, "outDir": "./dist-esm", - "importHelpers": true, - "paths": { - "@azure/arm-network": [ - "./src/index" - ] - } + "importHelpers": true }, "include": [ "./src/**/*.ts", - "./test/**/*.ts", - "samples-dev/**/*.ts" + "./test/**/*.ts" ], "exclude": [ "node_modules"