コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the VirtualNetwork class.
 /// </summary>
 public VirtualNetwork(string etag = default(string), AddressSpace addressSpace = default(AddressSpace), DhcpOptions dhcpOptions = default(DhcpOptions), IList <Subnet> subnets = default(IList <Subnet>), string resourceGuid = default(string), string provisioningState = default(string))
 {
     Etag              = etag;
     AddressSpace      = addressSpace;
     DhcpOptions       = dhcpOptions;
     Subnets           = subnets;
     ResourceGuid      = resourceGuid;
     ProvisioningState = provisioningState;
 }
コード例 #2
0
ファイル: VirtualNetwork.cs プロジェクト: QITIE/ADLSTool
 /// <summary>
 /// Initializes a new instance of the VirtualNetwork class.
 /// </summary>
 public VirtualNetwork(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), AddressSpace addressSpace = default(AddressSpace), DhcpOptions dhcpOptions = default(DhcpOptions), IList <Subnet> subnets = default(IList <Subnet>), IList <VirtualNetworkPeering> virtualNetworkPeerings = default(IList <VirtualNetworkPeering>), string resourceGuid = default(string), string provisioningState = default(string), string etag = default(string))
     : base(id, name, type, location, tags)
 {
     AddressSpace           = addressSpace;
     DhcpOptions            = dhcpOptions;
     Subnets                = subnets;
     VirtualNetworkPeerings = virtualNetworkPeerings;
     ResourceGuid           = resourceGuid;
     ProvisioningState      = provisioningState;
     Etag = etag;
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the VirtualNetwork 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="addressSpace">The AddressSpace that contains an array
 /// of IP address ranges that can be used by subnets.</param>
 /// <param name="dhcpOptions">The dhcpOptions that contains an array of
 /// DNS servers available to VMs deployed in the virtual
 /// network.</param>
 /// <param name="subnets">A list of subnets in a Virtual
 /// Network.</param>
 /// <param name="virtualNetworkPeerings">A list of peerings in a
 /// Virtual Network.</param>
 /// <param name="resourceGuid">The resourceGuid property of the Virtual
 /// Network resource.</param>
 /// <param name="provisioningState">The provisioning state of the
 /// virtual network resource. Possible values include: 'Succeeded',
 /// 'Updating', 'Deleting', 'Failed'</param>
 /// <param name="enableDdosProtection">Indicates if DDoS protection is
 /// enabled for all the protected resources in the virtual network. It
 /// requires a DDoS protection plan associated with the
 /// resource.</param>
 /// <param name="enableVmProtection">Indicates if VM protection is
 /// enabled for all the subnets in the virtual network.</param>
 /// <param name="ddosProtectionPlan">The DDoS protection plan
 /// associated with the virtual network.</param>
 /// <param name="etag">A unique read-only string that changes whenever
 /// the resource is updated.</param>
 public VirtualNetwork(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), AddressSpace addressSpace = default(AddressSpace), DhcpOptions dhcpOptions = default(DhcpOptions), IList <Subnet> subnets = default(IList <Subnet>), IList <VirtualNetworkPeering> virtualNetworkPeerings = default(IList <VirtualNetworkPeering>), string resourceGuid = default(string), string provisioningState = default(string), bool?enableDdosProtection = default(bool?), bool?enableVmProtection = default(bool?), SubResource ddosProtectionPlan = default(SubResource), string etag = default(string))
     : base(id, name, type, location, tags)
 {
     AddressSpace           = addressSpace;
     DhcpOptions            = dhcpOptions;
     Subnets                = subnets;
     VirtualNetworkPeerings = virtualNetworkPeerings;
     ResourceGuid           = resourceGuid;
     ProvisioningState      = provisioningState;
     EnableDdosProtection   = enableDdosProtection;
     EnableVmProtection     = enableVmProtection;
     DdosProtectionPlan     = ddosProtectionPlan;
     Etag = etag;
     CustomInit();
 }
コード例 #4
0
 /// <summary>
 /// Initializes a new instance of the VirtualNetwork 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="extendedLocation">The extended location of the virtual
 /// network.</param>
 /// <param name="addressSpace">The AddressSpace that contains an array
 /// of IP address ranges that can be used by subnets.</param>
 /// <param name="dhcpOptions">The dhcpOptions that contains an array of
 /// DNS servers available to VMs deployed in the virtual
 /// network.</param>
 /// <param name="flowTimeoutInMinutes">The FlowTimeout value (in
 /// minutes) for the Virtual Network</param>
 /// <param name="subnets">A list of subnets in a Virtual
 /// Network.</param>
 /// <param name="virtualNetworkPeerings">A list of peerings in a
 /// Virtual Network.</param>
 /// <param name="resourceGuid">The resourceGuid property of the Virtual
 /// Network resource.</param>
 /// <param name="provisioningState">The provisioning state of the
 /// virtual network resource. Possible values include: 'Succeeded',
 /// 'Updating', 'Deleting', 'Failed'</param>
 /// <param name="enableDdosProtection">Indicates if DDoS protection is
 /// enabled for all the protected resources in the virtual network. It
 /// requires a DDoS protection plan associated with the
 /// resource.</param>
 /// <param name="enableVmProtection">Indicates if VM protection is
 /// enabled for all the subnets in the virtual network.</param>
 /// <param name="ddosProtectionPlan">The DDoS protection plan
 /// associated with the virtual network.</param>
 /// <param name="bgpCommunities">Bgp Communities sent over ExpressRoute
 /// with each route corresponding to a prefix in this VNET.</param>
 /// <param name="ipAllocations">Array of IpAllocation which reference
 /// this VNET.</param>
 /// <param name="etag">A unique read-only string that changes whenever
 /// the resource is updated.</param>
 public VirtualNetwork(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), ExtendedLocation extendedLocation = default(ExtendedLocation), AddressSpace addressSpace = default(AddressSpace), DhcpOptions dhcpOptions = default(DhcpOptions), int?flowTimeoutInMinutes = default(int?), IList <Subnet> subnets = default(IList <Subnet>), IList <VirtualNetworkPeering> virtualNetworkPeerings = default(IList <VirtualNetworkPeering>), string resourceGuid = default(string), string provisioningState = default(string), bool?enableDdosProtection = default(bool?), bool?enableVmProtection = default(bool?), SubResource ddosProtectionPlan = default(SubResource), VirtualNetworkBgpCommunities bgpCommunities = default(VirtualNetworkBgpCommunities), IList <SubResource> ipAllocations = default(IList <SubResource>), string etag = default(string))
     : base(id, name, type, location, tags)
 {
     ExtendedLocation     = extendedLocation;
     AddressSpace         = addressSpace;
     DhcpOptions          = dhcpOptions;
     FlowTimeoutInMinutes = flowTimeoutInMinutes;
     Subnets = subnets;
     VirtualNetworkPeerings = virtualNetworkPeerings;
     ResourceGuid           = resourceGuid;
     ProvisioningState      = provisioningState;
     EnableDdosProtection   = enableDdosProtection;
     EnableVmProtection     = enableVmProtection;
     DdosProtectionPlan     = ddosProtectionPlan;
     BgpCommunities         = bgpCommunities;
     IpAllocations          = ipAllocations;
     Etag = etag;
     CustomInit();
 }