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]