Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the VirtualHub class.
 /// </summary>
 /// <param name="id">Resource ID.</param>
 /// <param name="name">Resource name.</param>
 /// <param name="type">Resource type.</param>
 /// <param name="location">Resource location.</param>
 /// <param name="tags">Resource tags.</param>
 /// <param name="virtualWan">The VirtualWAN to which the VirtualHub
 /// belongs.</param>
 /// <param name="vpnGateway">The VpnGateway associated with this
 /// VirtualHub.</param>
 /// <param name="p2SVpnGateway">The P2SVpnGateway associated with this
 /// VirtualHub.</param>
 /// <param name="expressRouteGateway">The expressRouteGateway
 /// associated with this VirtualHub.</param>
 /// <param name="azureFirewall">The azureFirewall associated with this
 /// VirtualHub.</param>
 /// <param name="securityPartnerProvider">The securityPartnerProvider
 /// associated with this VirtualHub.</param>
 /// <param name="addressPrefix">Address-prefix for this
 /// VirtualHub.</param>
 /// <param name="routeTable">The routeTable associated with this
 /// virtual hub.</param>
 /// <param name="provisioningState">The provisioning state of the
 /// virtual hub resource. Possible values include: 'Succeeded',
 /// 'Updating', 'Deleting', 'Failed'</param>
 /// <param name="securityProviderName">The Security Provider
 /// name.</param>
 /// <param name="virtualHubRouteTableV2s">List of all virtual hub route
 /// table v2s associated with this VirtualHub.</param>
 /// <param name="sku">The sku of this VirtualHub.</param>
 /// <param name="routingState">The routing state. Possible values
 /// include: 'None', 'Provisioned', 'Provisioning', 'Failed'</param>
 /// <param name="bgpConnections">List of references to Bgp
 /// Connections.</param>
 /// <param name="ipConfigurations">List of references to
 /// IpConfigurations.</param>
 /// <param name="virtualRouterAsn">VirtualRouter ASN.</param>
 /// <param name="virtualRouterIps">VirtualRouter IPs.</param>
 /// <param name="allowBranchToBranchTraffic">Flag to control transit
 /// for VirtualRouter hub.</param>
 /// <param name="preferredRoutingGateway">The preferred gateway to
 /// route on-prem traffic. Possible values include: 'ExpressRoute',
 /// 'VpnGateway', 'None'</param>
 /// <param name="etag">A unique read-only string that changes whenever
 /// the resource is updated.</param>
 public VirtualHub(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), SubResource virtualWan = default(SubResource), SubResource vpnGateway = default(SubResource), SubResource p2SVpnGateway = default(SubResource), SubResource expressRouteGateway = default(SubResource), SubResource azureFirewall = default(SubResource), SubResource securityPartnerProvider = default(SubResource), string addressPrefix = default(string), VirtualHubRouteTable routeTable = default(VirtualHubRouteTable), string provisioningState = default(string), string securityProviderName = default(string), IList <VirtualHubRouteTableV2> virtualHubRouteTableV2s = default(IList <VirtualHubRouteTableV2>), string sku = default(string), string routingState = default(string), IList <SubResource> bgpConnections = default(IList <SubResource>), IList <SubResource> ipConfigurations = default(IList <SubResource>), long?virtualRouterAsn = default(long?), IList <string> virtualRouterIps = default(IList <string>), bool?allowBranchToBranchTraffic = default(bool?), string preferredRoutingGateway = default(string), string etag = default(string))
     : base(id, name, type, location, tags)
 {
     VirtualWan              = virtualWan;
     VpnGateway              = vpnGateway;
     P2SVpnGateway           = p2SVpnGateway;
     ExpressRouteGateway     = expressRouteGateway;
     AzureFirewall           = azureFirewall;
     SecurityPartnerProvider = securityPartnerProvider;
     AddressPrefix           = addressPrefix;
     RouteTable              = routeTable;
     ProvisioningState       = provisioningState;
     SecurityProviderName    = securityProviderName;
     VirtualHubRouteTableV2s = virtualHubRouteTableV2s;
     Sku                        = sku;
     RoutingState               = routingState;
     BgpConnections             = bgpConnections;
     IpConfigurations           = ipConfigurations;
     VirtualRouterAsn           = virtualRouterAsn;
     VirtualRouterIps           = virtualRouterIps;
     AllowBranchToBranchTraffic = allowBranchToBranchTraffic;
     PreferredRoutingGateway    = preferredRoutingGateway;
     Etag                       = etag;
     CustomInit();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the VirtualHub class.
 /// </summary>
 /// <param name="id">Resource ID.</param>
 /// <param name="name">Resource name.</param>
 /// <param name="type">Resource type.</param>
 /// <param name="location">Resource location.</param>
 /// <param name="tags">Resource tags.</param>
 /// <param name="virtualWan">The VirtualWAN to which the VirtualHub
 /// belongs.</param>
 /// <param name="vpnGateway">The VpnGateway associated with this
 /// VirtualHub.</param>
 /// <param name="p2SVpnGateway">The P2SVpnGateway associated with this
 /// VirtualHub.</param>
 /// <param name="expressRouteGateway">The expressRouteGateway
 /// associated with this VirtualHub.</param>
 /// <param name="virtualNetworkConnections">List of all vnet
 /// connections with this VirtualHub.</param>
 /// <param name="addressPrefix">Address-prefix for this
 /// VirtualHub.</param>
 /// <param name="routeTable">The routeTable associated with this
 /// virtual hub.</param>
 /// <param name="provisioningState">The provisioning state of the
 /// virtual hub resource. Possible values include: 'Succeeded',
 /// 'Updating', 'Deleting', 'Failed'</param>
 /// <param name="etag">A unique read-only string that changes whenever
 /// the resource is updated.</param>
 public VirtualHub(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), SubResource virtualWan = default(SubResource), SubResource vpnGateway = default(SubResource), SubResource p2SVpnGateway = default(SubResource), SubResource expressRouteGateway = default(SubResource), IList <HubVirtualNetworkConnection> virtualNetworkConnections = default(IList <HubVirtualNetworkConnection>), string addressPrefix = default(string), VirtualHubRouteTable routeTable = default(VirtualHubRouteTable), string provisioningState = default(string), string etag = default(string))
     : base(id, name, type, location, tags)
 {
     VirtualWan                = virtualWan;
     VpnGateway                = vpnGateway;
     P2SVpnGateway             = p2SVpnGateway;
     ExpressRouteGateway       = expressRouteGateway;
     VirtualNetworkConnections = virtualNetworkConnections;
     AddressPrefix             = addressPrefix;
     RouteTable                = routeTable;
     ProvisioningState         = provisioningState;
     Etag = etag;
     CustomInit();
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the VirtualHub class.
 /// </summary>
 /// <param name="id">Resource ID.</param>
 /// <param name="name">Resource name.</param>
 /// <param name="type">Resource type.</param>
 /// <param name="location">Resource location.</param>
 /// <param name="tags">Resource tags.</param>
 /// <param name="virtualWan">The VirtualWAN to which the VirtualHub
 /// belongs.</param>
 /// <param name="vpnGateway">The VpnGateway associated with this
 /// VirtualHub.</param>
 /// <param name="p2SVpnGateway">The P2SVpnGateway associated with this
 /// VirtualHub.</param>
 /// <param name="expressRouteGateway">The expressRouteGateway
 /// associated with this VirtualHub.</param>
 /// <param name="azureFirewall">The azureFirewall associated with this
 /// VirtualHub.</param>
 /// <param name="securityPartnerProvider">The securityPartnerProvider
 /// associated with this VirtualHub.</param>
 /// <param name="virtualNetworkConnections">List of all vnet
 /// connections with this VirtualHub.</param>
 /// <param name="addressPrefix">Address-prefix for this
 /// VirtualHub.</param>
 /// <param name="routeTable">The routeTable associated with this
 /// virtual hub.</param>
 /// <param name="provisioningState">The provisioning state of the
 /// virtual hub resource. Possible values include: 'Succeeded',
 /// 'Updating', 'Deleting', 'Failed'</param>
 /// <param name="securityProviderName">The Security Provider
 /// name.</param>
 /// <param name="virtualHubRouteTableV2s">List of all virtual hub route
 /// table v2s associated with this VirtualHub.</param>
 /// <param name="sku">The sku of this VirtualHub.</param>
 /// <param name="etag">A unique read-only string that changes whenever
 /// the resource is updated.</param>
 public VirtualHub(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), SubResource virtualWan = default(SubResource), SubResource vpnGateway = default(SubResource), SubResource p2SVpnGateway = default(SubResource), SubResource expressRouteGateway = default(SubResource), SubResource azureFirewall = default(SubResource), SubResource securityPartnerProvider = default(SubResource), IList <HubVirtualNetworkConnection> virtualNetworkConnections = default(IList <HubVirtualNetworkConnection>), string addressPrefix = default(string), VirtualHubRouteTable routeTable = default(VirtualHubRouteTable), string provisioningState = default(string), string securityProviderName = default(string), IList <VirtualHubRouteTableV2> virtualHubRouteTableV2s = default(IList <VirtualHubRouteTableV2>), string sku = default(string), string etag = default(string))
     : base(id, name, type, location, tags)
 {
     VirtualWan                = virtualWan;
     VpnGateway                = vpnGateway;
     P2SVpnGateway             = p2SVpnGateway;
     ExpressRouteGateway       = expressRouteGateway;
     AzureFirewall             = azureFirewall;
     SecurityPartnerProvider   = securityPartnerProvider;
     VirtualNetworkConnections = virtualNetworkConnections;
     AddressPrefix             = addressPrefix;
     RouteTable                = routeTable;
     ProvisioningState         = provisioningState;
     SecurityProviderName      = securityProviderName;
     VirtualHubRouteTableV2s   = virtualHubRouteTableV2s;
     Sku  = sku;
     Etag = etag;
     CustomInit();
 }