Skip to content

Commit 4f6142c

Browse files
karthik-gumpuKarthik Gumpu (from Dev Box)
andauthored
Feature nsp 2025 03 01 (#1)
* updated nsp ps sdk * Update nsp tests --------- Co-authored-by: Karthik Gumpu (from Dev Box) <karthikgumpu@microsoft.com>
1 parent 7dc279f commit 4f6142c

File tree

65 files changed

+1819
-1681
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+1819
-1681
lines changed

src/Network/Network.sln

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Storage", "..\..\generat
9393
EndProject
9494
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "NetworkSecurityPerimeter.Autorest", "NetworkSecurityPerimeter.Autorest", "{3812C005-6816-54B0-F21E-A6FE92A91FD4}"
9595
EndProject
96-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.NetworkSecurityPerimeter", "..\..\generated\Network\NetworkSecurityPerimeter.Autorest\Az.NetworkSecurityPerimeter.csproj", "{53A0BF1E-21FC-43D5-A287-6BE6F904BF10}"
96+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.NetworkSecurityPerimeter", "..\..\generated\Network\NetworkSecurityPerimeter.Autorest\Az.NetworkSecurityPerimeter.csproj", "{AF3538BE-E6D2-4BCA-859E-C46732BE32A4}"
9797
EndProject
9898
Global
9999
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -597,18 +597,18 @@ Global
597597
{1203D821-7447-4DB5-B256-626ABA776459}.Release|x64.Build.0 = Release|Any CPU
598598
{1203D821-7447-4DB5-B256-626ABA776459}.Release|x86.ActiveCfg = Release|Any CPU
599599
{1203D821-7447-4DB5-B256-626ABA776459}.Release|x86.Build.0 = Release|Any CPU
600-
{53A0BF1E-21FC-43D5-A287-6BE6F904BF10}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
601-
{53A0BF1E-21FC-43D5-A287-6BE6F904BF10}.Debug|Any CPU.Build.0 = Debug|Any CPU
602-
{53A0BF1E-21FC-43D5-A287-6BE6F904BF10}.Debug|x64.ActiveCfg = Debug|Any CPU
603-
{53A0BF1E-21FC-43D5-A287-6BE6F904BF10}.Debug|x64.Build.0 = Debug|Any CPU
604-
{53A0BF1E-21FC-43D5-A287-6BE6F904BF10}.Debug|x86.ActiveCfg = Debug|Any CPU
605-
{53A0BF1E-21FC-43D5-A287-6BE6F904BF10}.Debug|x86.Build.0 = Debug|Any CPU
606-
{53A0BF1E-21FC-43D5-A287-6BE6F904BF10}.Release|Any CPU.ActiveCfg = Release|Any CPU
607-
{53A0BF1E-21FC-43D5-A287-6BE6F904BF10}.Release|Any CPU.Build.0 = Release|Any CPU
608-
{53A0BF1E-21FC-43D5-A287-6BE6F904BF10}.Release|x64.ActiveCfg = Release|Any CPU
609-
{53A0BF1E-21FC-43D5-A287-6BE6F904BF10}.Release|x64.Build.0 = Release|Any CPU
610-
{53A0BF1E-21FC-43D5-A287-6BE6F904BF10}.Release|x86.ActiveCfg = Release|Any CPU
611-
{53A0BF1E-21FC-43D5-A287-6BE6F904BF10}.Release|x86.Build.0 = Release|Any CPU
600+
{AF3538BE-E6D2-4BCA-859E-C46732BE32A4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
601+
{AF3538BE-E6D2-4BCA-859E-C46732BE32A4}.Debug|Any CPU.Build.0 = Debug|Any CPU
602+
{AF3538BE-E6D2-4BCA-859E-C46732BE32A4}.Debug|x64.ActiveCfg = Debug|Any CPU
603+
{AF3538BE-E6D2-4BCA-859E-C46732BE32A4}.Debug|x64.Build.0 = Debug|Any CPU
604+
{AF3538BE-E6D2-4BCA-859E-C46732BE32A4}.Debug|x86.ActiveCfg = Debug|Any CPU
605+
{AF3538BE-E6D2-4BCA-859E-C46732BE32A4}.Debug|x86.Build.0 = Debug|Any CPU
606+
{AF3538BE-E6D2-4BCA-859E-C46732BE32A4}.Release|Any CPU.ActiveCfg = Release|Any CPU
607+
{AF3538BE-E6D2-4BCA-859E-C46732BE32A4}.Release|Any CPU.Build.0 = Release|Any CPU
608+
{AF3538BE-E6D2-4BCA-859E-C46732BE32A4}.Release|x64.ActiveCfg = Release|Any CPU
609+
{AF3538BE-E6D2-4BCA-859E-C46732BE32A4}.Release|x64.Build.0 = Release|Any CPU
610+
{AF3538BE-E6D2-4BCA-859E-C46732BE32A4}.Release|x86.ActiveCfg = Release|Any CPU
611+
{AF3538BE-E6D2-4BCA-859E-C46732BE32A4}.Release|x86.Build.0 = Release|Any CPU
612612
EndGlobalSection
613613
GlobalSection(SolutionProperties) = preSolution
614614
HideSolutionNode = FALSE
@@ -641,6 +641,6 @@ Global
641641
{66BD1E20-2B2A-415C-80E0-8DAEFF9A4E36} = {64E7C944-C1C6-401E-AF80-F7B1C94C45D2}
642642
{2CFDC89F-326F-4E90-BB35-97763282B447} = {64E7C944-C1C6-401E-AF80-F7B1C94C45D2}
643643
{794AED8B-5574-477B-B332-0730A0DF4DA8} = {64E7C944-C1C6-401E-AF80-F7B1C94C45D2}
644-
{53A0BF1E-21FC-43D5-A287-6BE6F904BF10} = {3812C005-6816-54B0-F21E-A6FE92A91FD4}
644+
{AF3538BE-E6D2-4BCA-859E-C46732BE32A4} = {3812C005-6816-54B0-F21E-A6FE92A91FD4}
645645
EndGlobalSection
646646
EndGlobal

src/Network/Network/Az.Network.psd1

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Microsoft Corporation
55
#
6-
# Generated on: 10/29/2025
6+
# Generated on: 11/13/2025
77
#
88

99
@{
@@ -61,10 +61,10 @@ RequiredAssemblies = 'Microsoft.Azure.PowerShell.AutoMapper.dll',
6161
'NetworkSecurityPerimeter.Autorest/bin/Az.NetworkSecurityPerimeter.private.dll'
6262

6363
# Script files (.ps1) that are run in the caller's environment prior to importing this module.
64-
# ScriptsToProcess = @()
64+
ScriptsToProcess = @()
6565

6666
# Type files (.ps1xml) to be loaded when importing this module
67-
# TypesToProcess = @()
67+
TypesToProcess = @()
6868

6969
# Format files (.ps1xml) to be loaded when importing this module
7070
FormatsToProcess = 'Network.generated.format.ps1xml',
@@ -481,11 +481,10 @@ CmdletsToExport = 'Add-AzApplicationGatewayAuthenticationCertificate',
481481
'New-AzNetworkWatcherNetworkConfigurationDiagnosticProfile',
482482
'New-AzNetworkWatcherPacketCapture',
483483
'New-AzNetworkWatcherPacketCaptureV2',
484-
'New-AzNetworkWatcherProtocolConfiguration',
485-
'New-AzNvaInterfaceConfiguration',
486-
'New-AzO365PolicyProperty', 'New-AzOffice365PolicyProperty',
487-
'New-AzP2sVpnGateway', 'New-AzPacketCaptureFilterConfig',
488-
'New-AzPacketCaptureScopeConfig',
484+
'New-AzNetworkWatcherProtocolConfiguration',
485+
'New-AzNvaInterfaceConfiguration', 'New-AzO365PolicyProperty',
486+
'New-AzOffice365PolicyProperty', 'New-AzP2sVpnGateway',
487+
'New-AzPacketCaptureFilterConfig', 'New-AzPacketCaptureScopeConfig',
489488
'New-AzPacketCaptureSettingsConfig', 'New-AzPrivateDnsZoneConfig',
490489
'New-AzPrivateDnsZoneGroup', 'New-AzPrivateEndpoint',
491490
'New-AzPrivateEndpointIpConfiguration', 'New-AzPrivateLinkService',
@@ -799,7 +798,7 @@ PrivateData = @{
799798
PSData = @{
800799

801800
# Tags applied to this module. These help with module discovery in online galleries.
802-
Tags = 'Azure','ResourceManager','ARM','Network','VirtualNetwork'
801+
Tags = 'Azure', 'ResourceManager', 'ARM', 'Network', 'VirtualNetwork'
803802

804803
# A URL to the license for this module.
805804
LicenseUri = 'https://aka.ms/azps-license'
@@ -825,7 +824,7 @@ PrivateData = @{
825824

826825
} # End of PSData hashtable
827826

828-
} # End of PrivateData hashtable
827+
} # End of PrivateData hashtable
829828

830829
# HelpInfo URI of this module
831830
# HelpInfoURI = ''

src/Network/Network/help/Add-AzApplicationGatewayBackendSetting.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ Adds back-end TCP\TLS settings to an application gateway.
1616
Add-AzApplicationGatewayBackendSetting -ApplicationGateway <PSApplicationGateway> -Name <String> -Port <Int32>
1717
-Protocol <String> [-Timeout <Int32>] [-ProbeId <String>] [-Probe <PSApplicationGatewayProbe>]
1818
[-TrustedRootCertificate <PSApplicationGatewayTrustedRootCertificate[]>] [-PickHostNameFromBackendAddress]
19-
[-HostName <String>] [-DefaultProfile <IAzureContextContainer>]
20-
[-EnableL4ClientIpPreservation <Boolean>]
19+
[-HostName <String>] [-EnableL4ClientIpPreservation <Boolean>] [-DefaultProfile <IAzureContextContainer>]
2120
[<CommonParameters>]
2221
```
2322

@@ -67,6 +66,21 @@ Accept pipeline input: False
6766
Accept wildcard characters: False
6867
```
6968
69+
### -EnableL4ClientIpPreservation
70+
Whether to send Proxy Protocol header to backend servers over TCP or TLS protocols. Default value is false.
71+
72+
```yaml
73+
Type: System.Nullable`1[System.Boolean]
74+
Parameter Sets: (All)
75+
Aliases:
76+
77+
Required: False
78+
Position: Named
79+
Default value: False
80+
Accept pipeline input: False
81+
Accept wildcard characters: False
82+
```
83+
7084
### -HostName
7185
Sets host header to be sent to the backend servers.
7286
@@ -203,20 +217,6 @@ Default value: None
203217
Accept pipeline input: False
204218
Accept wildcard characters: False
205219
```
206-
### -EnableL4ClientIpPreservation
207-
Whether to send Proxy Protocol header to backend servers over TCP or TLS protocols. Default value is false.
208-
209-
```yaml
210-
Type: System.Boolean
211-
Parameter Sets: (All)
212-
Aliases:
213-
214-
Required: False
215-
Position: Named
216-
Default value: False
217-
Accept pipeline input: False
218-
Accept wildcard characters: False
219-
```
220220
221221
### CommonParameters
222222
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).

src/Network/Network/help/Add-AzApplicationGatewayProbeConfig.md

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@ Adds a health probe to an Application Gateway.
1616
Add-AzApplicationGatewayProbeConfig -ApplicationGateway <PSApplicationGateway> -Name <String>
1717
-Protocol <String> [-HostName <String>] [-Path <String>] -Interval <Int32> -Timeout <Int32>
1818
-UnhealthyThreshold <Int32> [-PickHostNameFromBackendHttpSettings] [-MinServers <Int32>] [-Port <Int32>]
19-
[-Match <PSApplicationGatewayProbeHealthResponseMatch>] [-DefaultProfile <IAzureContextContainer>]
20-
[-EnableProbeProxyProtocolHeader <Boolean>]
21-
[<CommonParameters>]
19+
[-EnableProbeProxyProtocolHeader <Boolean>] [-Match <PSApplicationGatewayProbeHealthResponseMatch>]
20+
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
2221
```
2322

2423
## DESCRIPTION
@@ -66,6 +65,21 @@ Accept pipeline input: False
6665
Accept wildcard characters: False
6766
```
6867
68+
### -EnableProbeProxyProtocolHeader
69+
Whether to send Proxy Protocol header along with the Health Probe over TCP or TLS protocol. Default value is false.
70+
71+
```yaml
72+
Type: System.Nullable`1[System.Boolean]
73+
Parameter Sets: (All)
74+
Aliases:
75+
76+
Required: False
77+
Position: Named
78+
Default value: False
79+
Accept pipeline input: False
80+
Accept wildcard characters: False
81+
```
82+
6983
### -HostName
7084
Specifies the host name that this cmdlet sends the probe to.
7185
@@ -178,21 +192,6 @@ Accept pipeline input: False
178192
Accept wildcard characters: False
179193
```
180194
181-
### -EnableProbeProxyProtocolHeader
182-
Whether to send Proxy Protocol header along with the Health Probe over TCP or TLS protocol. Default value is false.
183-
184-
```yaml
185-
Type: System.Boolean
186-
Parameter Sets: (All)
187-
Aliases:
188-
189-
Required: False
190-
Position: Named
191-
Default value: False
192-
Accept pipeline input: False
193-
Accept wildcard characters: False
194-
```
195-
196195
### -Port
197196
Port that is used for probing the backend server
198197

src/Network/Network/help/Approve-AzPrivateEndpointConnection.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ The private link resource type.
9191
Type: System.String
9292
Parameter Sets: ByResource
9393
Aliases:
94-
Accepted values: Microsoft.AgFoodPlatform/farmBeats, Microsoft.ApiManagement/service, Microsoft.AppConfiguration/configurationStores, Microsoft.Attestation/attestationProviders, Microsoft.Authorization/resourceManagementPrivateLinks, Microsoft.Automation/automationAccounts, Microsoft.Batch/batchAccounts, Microsoft.Cache/Redis, Microsoft.Cache/redisEnterprise, Microsoft.CognitiveServices/accounts, Microsoft.Compute/diskAccesses, Microsoft.ContainerRegistry/registries, Microsoft.ContainerService/managedClusters, Microsoft.Databricks/workspaces, Microsoft.DataFactory/factories, Microsoft.DBforMariaDB/servers, Microsoft.DBforMySQL/servers, Microsoft.DBforPostgreSQL/servers, Microsoft.DesktopVirtualization/hostpools, Microsoft.DesktopVirtualization/workspaces, Microsoft.Devices/IotHubs, Microsoft.Devices/ProvisioningServices, Microsoft.DeviceUpdate/accounts, Microsoft.DigitalTwins/digitalTwinsInstances, Microsoft.DocumentDB/databaseAccounts, Microsoft.DocumentDB/mongoClusters, Microsoft.ElasticSan/elasticSans, Microsoft.EventGrid/topics, Microsoft.EventGrid/domains, Microsoft.EventGrid/partnerNamespaces, Microsoft.EventGrid/namespaces, Microsoft.EventHub/namespaces, Microsoft.HardwareSecurityModules/cloudHsmClusters, Microsoft.HealthcareApis/services, Microsoft.HealthDataAIServices/deidServices, Microsoft.HDInsight/clusters, Microsoft.HybridCompute/privateLinkScopes, Microsoft.Insights/privateLinkScopes, Microsoft.KeyVault/vaults, Microsoft.Keyvault/managedHSMs, Microsoft.MachineLearningServices/workspaces, Microsoft.MachineLearningServices/registries, Microsoft.Maps/accounts, Microsoft.Media/mediaservices, Microsoft.Media/videoanalyzers, Microsoft.Migrate/assessmentProjects, Microsoft.Migrate/migrateProjects, Microsoft.Monitor/accounts, Microsoft.Network/applicationgateways, Microsoft.Network/privateLinkServices, Microsoft.OffAzure/masterSites, Microsoft.PowerBI/privateLinkServicesForPowerBI, Microsoft.Purview/accounts, Microsoft.RecoveryServices/vaults, Microsoft.Relay/namespaces, Microsoft.Search/searchServices, Microsoft.ServiceBus/namespaces, Microsoft.SignalRService/signalr, Microsoft.SignalRService/webPubSub, Microsoft.Sql/servers, Microsoft.Storage/storageAccounts, Microsoft.StorageSync/storageSyncServices, Microsoft.Synapse/privateLinkHubs, Microsoft.Synapse/workspaces, Microsoft.Web/sites, Microsoft.Web/staticSites, Microsoft.Web/hostingEnvironments, Microsoft.BotService/botServices, Microsoft.OpenEnergyPlatform/energyServices, Microsoft.DBforMySQL/flexibleServers, Microsoft.DBforPostgreSQL/flexibleServers, Microsoft.App/managedEnvironments, Microsoft.VideoIndexer/accounts, Microsoft.FluidRelay/fluidRelayServers, Microsoft.FileShares/fileShares
94+
Accepted values: Microsoft.AgFoodPlatform/farmBeats, Microsoft.ApiManagement/service, Microsoft.AppConfiguration/configurationStores, Microsoft.Attestation/attestationProviders, Microsoft.Authorization/resourceManagementPrivateLinks, Microsoft.Automation/automationAccounts, Microsoft.Batch/batchAccounts, Microsoft.Cache/Redis, Microsoft.Cache/redisEnterprise, Microsoft.CognitiveServices/accounts, Microsoft.Compute/diskAccesses, Microsoft.ContainerRegistry/registries, Microsoft.ContainerService/managedClusters, Microsoft.Databricks/workspaces, Microsoft.DataFactory/factories, Microsoft.DBforMariaDB/servers, Microsoft.DBforMySQL/servers, Microsoft.DBforPostgreSQL/servers, Microsoft.DesktopVirtualization/hostpools, Microsoft.DesktopVirtualization/workspaces, Microsoft.Devices/IotHubs, Microsoft.Devices/ProvisioningServices, Microsoft.DeviceUpdate/accounts, Microsoft.DigitalTwins/digitalTwinsInstances, Microsoft.DocumentDB/databaseAccounts, Microsoft.DocumentDB/mongoClusters, Microsoft.ElasticSan/elasticSans, Microsoft.EventGrid/topics, Microsoft.EventGrid/domains, Microsoft.EventGrid/partnerNamespaces, Microsoft.EventGrid/namespaces, Microsoft.EventHub/namespaces, Microsoft.HardwareSecurityModules/cloudHsmClusters, Microsoft.HealthcareApis/services, Microsoft.HealthDataAIServices/deidServices, Microsoft.HDInsight/clusters, Microsoft.HybridCompute/privateLinkScopes, Microsoft.Insights/privateLinkScopes, Microsoft.KeyVault/vaults, Microsoft.Keyvault/managedHSMs, Microsoft.MachineLearningServices/workspaces, Microsoft.MachineLearningServices/registries, Microsoft.Maps/accounts, Microsoft.Media/mediaservices, Microsoft.Media/videoanalyzers, Microsoft.Migrate/assessmentProjects, Microsoft.Migrate/migrateProjects, Microsoft.Monitor/accounts, Microsoft.Network/applicationgateways, Microsoft.Network/privateLinkServices, Microsoft.OffAzure/masterSites, Microsoft.PowerBI/privateLinkServicesForPowerBI, Microsoft.Purview/accounts, Microsoft.RecoveryServices/vaults, Microsoft.Relay/namespaces, Microsoft.Search/searchServices, Microsoft.ServiceBus/namespaces, Microsoft.SignalRService/signalr, Microsoft.SignalRService/webPubSub, Microsoft.Sql/servers, Microsoft.Storage/storageAccounts, Microsoft.StorageSync/storageSyncServices, Microsoft.Synapse/privateLinkHubs, Microsoft.Synapse/workspaces, Microsoft.Web/sites, Microsoft.Web/staticSites, Microsoft.Web/hostingEnvironments, Microsoft.BotService/botServices, Microsoft.OpenEnergyPlatform/energyServices, Microsoft.DBforMySQL/flexibleServers, Microsoft.DBforPostgreSQL/flexibleServers, Microsoft.App/managedEnvironments, Microsoft.VideoIndexer/accounts, Microsoft.FluidRelay/fluidRelayServers, Microsoft.FileShares/fileShares, Microsoft.Security/privateLinks
9595

9696
Required: True
9797
Position: Named

src/Network/Network/help/Az.Network.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1460,6 +1460,9 @@ V2 Version of Packet Capture Cmdlet which creates a new packet capture resource
14601460
### [New-AzNetworkWatcherProtocolConfiguration](New-AzNetworkWatcherProtocolConfiguration.md)
14611461
Creates a new protocol configuration object.
14621462

1463+
### [New-AzNvaInterfaceConfiguration](New-AzNvaInterfaceConfiguration.md)
1464+
Create a NVA Interface configuration
1465+
14631466
### [New-AzO365PolicyProperty](New-AzO365PolicyProperty.md)
14641467
Create an office 365 traffic breakout policy object.
14651468

@@ -1616,6 +1619,9 @@ Creates a virtual network.
16161619
### [New-AzVirtualNetworkGateway](New-AzVirtualNetworkGateway.md)
16171620
Creates a Virtual Network Gateway
16181621

1622+
### [New-AzVirtualNetworkGatewayCertificateAuthentication](New-AzVirtualNetworkGatewayCertificateAuthentication.md)
1623+
Creates a certificate authentication configuration object for VPN gateway connections.
1624+
16191625
### [New-AzVirtualNetworkGatewayConnection](New-AzVirtualNetworkGatewayConnection.md)
16201626
Creates the Site-to-Site VPN connection between the virtual network gateway and the on-prem VPN device.
16211627

0 commit comments

Comments
 (0)