///GENMHASH:F1FF74FECF7AD81993920CCBF4D96B40:34F765B181E581705C5B1FEB895758A1
 internal ExpressRouteCircuitPeeringImpl(ExpressRouteCircuitImpl parent, ExpressRouteCircuitPeeringInner innerObject, IExpressRouteCircuitPeeringsOperations client, ExpressRouteCircuitPeeringType type)
     : base(type.Value, innerObject, parent.Manager)
 {
     this.client       = client;
     this.parent       = parent;
     stats             = new ExpressRouteCircuitStatsImpl(innerObject.Stats);
     Inner.PeeringType = type.Value;
 }
 ///GENMHASH:0202A00A1DCF248D2647DBDBEF2CA865:4FC30E0F6EB4AA975F91CB9D7C798AFE
 protected override async Task <Microsoft.Azure.Management.Network.Fluent.IExpressRouteCircuitPeering> CreateChildResourceAsync(CancellationToken cancellationToken = default(CancellationToken))
 {
     SetInner(await client.CreateOrUpdateAsync(parent.ResourceGroupName, parent.Name, this.Name, Inner));
     stats = new ExpressRouteCircuitStatsImpl(Inner.Stats);
     if (parent != null)
     {
         await parent.RefreshAsync(cancellationToken);
     }
     return(this);
 }