/// <summary>
 /// Initializes a new instance of the ExpressRouteCircuitPeeringInner
 /// class.
 /// </summary>
 /// <param name="peeringType">The peering type. Possible values
 /// include: 'AzurePublicPeering', 'AzurePrivatePeering',
 /// 'MicrosoftPeering'</param>
 /// <param name="state">The peering state. Possible values include:
 /// 'Disabled', 'Enabled'</param>
 /// <param name="azureASN">The Azure ASN.</param>
 /// <param name="peerASN">The peer ASN.</param>
 /// <param name="primaryPeerAddressPrefix">The primary address
 /// prefix.</param>
 /// <param name="secondaryPeerAddressPrefix">The secondary address
 /// prefix.</param>
 /// <param name="primaryAzurePort">The primary port.</param>
 /// <param name="secondaryAzurePort">The secondary port.</param>
 /// <param name="sharedKey">The shared key.</param>
 /// <param name="vlanId">The VLAN ID.</param>
 /// <param name="microsoftPeeringConfig">The Microsoft peering
 /// configuration.</param>
 /// <param name="stats">Gets peering stats.</param>
 /// <param name="provisioningState">Gets the provisioning state of the
 /// public IP resource. Possible values are: 'Updating', 'Deleting',
 /// and 'Failed'.</param>
 /// <param name="gatewayManagerEtag">The GatewayManager Etag.</param>
 /// <param name="lastModifiedBy">Gets whether the provider or the
 /// customer last modified the peering.</param>
 /// <param name="routeFilter">The reference of the RouteFilter
 /// resource.</param>
 /// <param name="ipv6PeeringConfig">The IPv6 peering
 /// configuration.</param>
 /// <param name="connections">The list of circuit connections
 /// associated with Azure Private Peering for this circuit.</param>
 /// <param name="name">Gets name of the resource that is unique within
 /// a resource group. This name can be used to access the
 /// resource.</param>
 /// <param name="etag">A unique read-only string that changes whenever
 /// the resource is updated.</param>
 public ExpressRouteCircuitPeeringInner(string id = default(string), ExpressRoutePeeringType peeringType = default(ExpressRoutePeeringType), ExpressRoutePeeringState state = default(ExpressRoutePeeringState), int?azureASN = default(int?), long?peerASN = default(long?), string primaryPeerAddressPrefix = default(string), string secondaryPeerAddressPrefix = default(string), string primaryAzurePort = default(string), string secondaryAzurePort = default(string), string sharedKey = default(string), int?vlanId = default(int?), ExpressRouteCircuitPeeringConfig microsoftPeeringConfig = default(ExpressRouteCircuitPeeringConfig), ExpressRouteCircuitStatsInner stats = default(ExpressRouteCircuitStatsInner), string provisioningState = default(string), string gatewayManagerEtag = default(string), string lastModifiedBy = default(string), Management.ResourceManager.Fluent.SubResource routeFilter = default(Management.ResourceManager.Fluent.SubResource), Ipv6ExpressRouteCircuitPeeringConfig ipv6PeeringConfig = default(Ipv6ExpressRouteCircuitPeeringConfig), IList <ExpressRouteCircuitConnectionInner> connections = default(IList <ExpressRouteCircuitConnectionInner>), string name = default(string), string etag = default(string))
     : base(id)
 {
     PeeringType = peeringType;
     State       = state;
     AzureASN    = azureASN;
     PeerASN     = peerASN;
     PrimaryPeerAddressPrefix   = primaryPeerAddressPrefix;
     SecondaryPeerAddressPrefix = secondaryPeerAddressPrefix;
     PrimaryAzurePort           = primaryAzurePort;
     SecondaryAzurePort         = secondaryAzurePort;
     SharedKey = sharedKey;
     VlanId    = vlanId;
     MicrosoftPeeringConfig = microsoftPeeringConfig;
     Stats              = stats;
     ProvisioningState  = provisioningState;
     GatewayManagerEtag = gatewayManagerEtag;
     LastModifiedBy     = lastModifiedBy;
     RouteFilter        = routeFilter;
     Ipv6PeeringConfig  = ipv6PeeringConfig;
     Connections        = connections;
     Name = name;
     Etag = etag;
     CustomInit();
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the
 /// ExpressRouteCrossConnectionPeeringInner class.
 /// </summary>
 /// <param name="peeringType">The peering type. Possible values
 /// include: 'AzurePublicPeering', 'AzurePrivatePeering',
 /// 'MicrosoftPeering'</param>
 /// <param name="state">The peering state. Possible values include:
 /// 'Disabled', 'Enabled'</param>
 /// <param name="azureASN">The Azure ASN.</param>
 /// <param name="peerASN">The peer ASN.</param>
 /// <param name="primaryPeerAddressPrefix">The primary address
 /// prefix.</param>
 /// <param name="secondaryPeerAddressPrefix">The secondary address
 /// prefix.</param>
 /// <param name="primaryAzurePort">The primary port.</param>
 /// <param name="secondaryAzurePort">The secondary port.</param>
 /// <param name="sharedKey">The shared key.</param>
 /// <param name="vlanId">The VLAN ID.</param>
 /// <param name="microsoftPeeringConfig">The Microsoft peering
 /// configuration.</param>
 /// <param name="provisioningState">The provisioning state of the
 /// express route cross connection peering resource. Possible values
 /// include: 'Succeeded', 'Updating', 'Deleting', 'Failed'</param>
 /// <param name="gatewayManagerEtag">The GatewayManager Etag.</param>
 /// <param name="lastModifiedBy">Who was the last to modify the
 /// peering.</param>
 /// <param name="ipv6PeeringConfig">The IPv6 peering
 /// configuration.</param>
 /// <param name="name">The name of the resource that is unique within a
 /// resource group. This name can be used to access the
 /// resource.</param>
 /// <param name="etag">A unique read-only string that changes whenever
 /// the resource is updated.</param>
 public ExpressRouteCrossConnectionPeeringInner(string id = default(string), ExpressRoutePeeringType peeringType = default(ExpressRoutePeeringType), ExpressRoutePeeringState state = default(ExpressRoutePeeringState), int?azureASN = default(int?), long?peerASN = default(long?), string primaryPeerAddressPrefix = default(string), string secondaryPeerAddressPrefix = default(string), string primaryAzurePort = default(string), string secondaryAzurePort = default(string), string sharedKey = default(string), int?vlanId = default(int?), ExpressRouteCircuitPeeringConfig microsoftPeeringConfig = default(ExpressRouteCircuitPeeringConfig), ProvisioningState provisioningState = default(ProvisioningState), string gatewayManagerEtag = default(string), string lastModifiedBy = default(string), Ipv6ExpressRouteCircuitPeeringConfig ipv6PeeringConfig = default(Ipv6ExpressRouteCircuitPeeringConfig), string name = default(string), string etag = default(string))
     : base(id)
 {
     PeeringType = peeringType;
     State       = state;
     AzureASN    = azureASN;
     PeerASN     = peerASN;
     PrimaryPeerAddressPrefix   = primaryPeerAddressPrefix;
     SecondaryPeerAddressPrefix = secondaryPeerAddressPrefix;
     PrimaryAzurePort           = primaryAzurePort;
     SecondaryAzurePort         = secondaryAzurePort;
     SharedKey = sharedKey;
     VlanId    = vlanId;
     MicrosoftPeeringConfig = microsoftPeeringConfig;
     ProvisioningState      = provisioningState;
     GatewayManagerEtag     = gatewayManagerEtag;
     LastModifiedBy         = lastModifiedBy;
     Ipv6PeeringConfig      = ipv6PeeringConfig;
     Name = name;
     Etag = etag;
     CustomInit();
 }