ArmTrafficManagerModelFactory.TrafficManagerRegion Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.TrafficManager.Models.TrafficManagerRegion TrafficManagerRegion(string code = default, string name = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.TrafficManager.Models.TrafficManagerRegion> regions = default);
static member TrafficManagerRegion : string * string * seq<Azure.ResourceManager.TrafficManager.Models.TrafficManagerRegion> -> Azure.ResourceManager.TrafficManager.Models.TrafficManagerRegion
Public Shared Function TrafficManagerRegion (Optional code As String = Nothing, Optional name As String = Nothing, Optional regions As IEnumerable(Of TrafficManagerRegion) = Nothing) As TrafficManagerRegion
Parameters
- code
- String
The code of the region.
- name
- String
The name of the region.
- regions
- IEnumerable<TrafficManagerRegion>
The list of Regions grouped under this Region in the Geographic Hierarchy.
Returns
A new TrafficManagerRegion instance for mocking.