/// <summary> /// Initializes a new instance of the ExpressRouteConnection class. /// </summary> /// <param name="expressRouteCircuitPeering">The ExpressRoute circuit /// peering.</param> /// <param name="name">The name of the resource.</param> /// <param name="id">Resource ID.</param> /// <param name="provisioningState">The provisioning state of the /// resource. Possible values include: 'Succeeded', 'Updating', /// 'Deleting', 'Failed'</param> /// <param name="authorizationKey">Authorization key to establish the /// connection.</param> /// <param name="routingWeight">The routing weight associated to the /// connection.</param> public ExpressRouteConnection(ExpressRouteCircuitPeeringId expressRouteCircuitPeering, string name, string id = default(string), string provisioningState = default(string), string authorizationKey = default(string), int?routingWeight = default(int?)) : base(id) { ProvisioningState = provisioningState; ExpressRouteCircuitPeering = expressRouteCircuitPeering; AuthorizationKey = authorizationKey; RoutingWeight = routingWeight; Name = name; CustomInit(); }
/// <summary> /// Initializes a new instance of the ExpressRouteConnection class. /// </summary> /// <param name="expressRouteCircuitPeering">The ExpressRoute circuit /// peering.</param> /// <param name="name">The name of the resource.</param> /// <param name="id">Resource ID.</param> /// <param name="provisioningState">The provisioning state of the /// express route connection resource. Possible values include: /// 'Succeeded', 'Updating', 'Deleting', 'Failed'</param> /// <param name="authorizationKey">Authorization key to establish the /// connection.</param> /// <param name="routingWeight">The routing weight associated to the /// connection.</param> /// <param name="enableInternetSecurity">Enable internet /// security.</param> /// <param name="routingConfiguration">The Routing Configuration /// indicating the associated and propagated route tables on this /// connection.</param> public ExpressRouteConnection(ExpressRouteCircuitPeeringId expressRouteCircuitPeering, string name, string id = default(string), string provisioningState = default(string), string authorizationKey = default(string), int?routingWeight = default(int?), bool?enableInternetSecurity = default(bool?), RoutingConfiguration routingConfiguration = default(RoutingConfiguration)) : base(id) { ProvisioningState = provisioningState; ExpressRouteCircuitPeering = expressRouteCircuitPeering; AuthorizationKey = authorizationKey; RoutingWeight = routingWeight; EnableInternetSecurity = enableInternetSecurity; RoutingConfiguration = routingConfiguration; Name = name; CustomInit(); }