コード例 #1
0
ファイル: RouteTable.cs プロジェクト: halasznandras/migAz
        public RouteTable(Arm.RouteTable source, TargetSettings targetSettings) : base(ArmConst.MicrosoftNetwork, ArmConst.RouteTables)
        {
            _SourceRouteTable = source;
            this.SetTargetName(source.Name, targetSettings);

            foreach (Arm.Route route in source.Routes)
            {
                _Routes.Add(new Route(route, targetSettings));
            }
        }
コード例 #2
0
        public RouteTable(Arm.RouteTable source, TargetSettings targetSettings)
        {
            _SourceRouteTable = source;
            this.SetTargetName(source.Name, targetSettings);

            foreach (Arm.Route route in source.Routes)
            {
                _Routes.Add(new Route(route, targetSettings));
            }
        }
コード例 #3
0
ファイル: RouteTable.cs プロジェクト: flyingoverclouds/migAz
        public RouteTable(AzureContext azureContext, Arm.RouteTable source)
        {
            _AzureContext     = azureContext;
            _SourceRouteTable = source;
            this.TargetName   = source.Name;

            foreach (Arm.Route route in source.Routes)
            {
                _Routes.Add(new Route(route));
            }
        }