Skip to main content

NetworkConfiguration

Properties

NameTypeDescriptionNotes
Range[]StringThe collection of ip ranges.[optional]
Geolocation[]StringThe collection of country codes.[optional]
WhitelistedBooleanDenotes whether the provided lists are whitelisted or blacklisted for geo location.[optional] [default to $false]

Examples

  • Prepare the resource
$NetworkConfiguration = Initialize-NetworkConfiguration  -Range ["1.3.7.2","255.255.255.252/30"] `
-Geolocation ["CA","FR","HT"] `
-Whitelisted true
  • Convert the resource to JSON
$NetworkConfiguration | ConvertTo-JSON

[Back to top]