/// <summary>
 /// Initializes a new instance of the VirtualNetworkInner class.
 /// </summary>
 /// <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
 /// PublicIP resource. Possible values are: 'Updating', 'Deleting', and
 /// 'Failed'.</param>
 /// <param name="etag">Gets a unique read-only string that changes
 /// whenever the resource is updated.</param>
 public VirtualNetworkInner(string location = default(string), string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), AddressSpace addressSpace = default(AddressSpace), DhcpOptions dhcpOptions = default(DhcpOptions), IList <SubnetInner> subnets = default(IList <SubnetInner>), IList <VirtualNetworkPeeringInner> virtualNetworkPeerings = default(IList <VirtualNetworkPeeringInner>), string resourceGuid = default(string), string provisioningState = default(string), string etag = default(string))
     : base(location, id, name, type, tags)
 {
     AddressSpace           = addressSpace;
     DhcpOptions            = dhcpOptions;
     Subnets                = subnets;
     VirtualNetworkPeerings = virtualNetworkPeerings;
     ResourceGuid           = resourceGuid;
     ProvisioningState      = provisioningState;
     Etag = etag;
     CustomInit();
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the VirtualNetworkInner class.
 /// </summary>
 /// <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
 /// PublicIP resource. Possible values are: 'Updating', 'Deleting', and
 /// '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">Gets a unique read-only string that changes
 /// whenever the resource is updated.</param>
 public VirtualNetworkInner(string location = default(string), string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), AddressSpace addressSpace = default(AddressSpace), DhcpOptions dhcpOptions = default(DhcpOptions), IList <SubnetInner> subnets = default(IList <SubnetInner>), IList <VirtualNetworkPeeringInner> virtualNetworkPeerings = default(IList <VirtualNetworkPeeringInner>), string resourceGuid = default(string), string provisioningState = default(string), bool?enableDdosProtection = default(bool?), bool?enableVmProtection = default(bool?), Management.ResourceManager.Fluent.SubResource ddosProtectionPlan = default(Management.ResourceManager.Fluent.SubResource), string etag = default(string))
     : base(location, id, name, type, tags)
 {
     AddressSpace           = addressSpace;
     DhcpOptions            = dhcpOptions;
     Subnets                = subnets;
     VirtualNetworkPeerings = virtualNetworkPeerings;
     ResourceGuid           = resourceGuid;
     ProvisioningState      = provisioningState;
     EnableDdosProtection   = enableDdosProtection;
     EnableVmProtection     = enableVmProtection;
     DdosProtectionPlan     = ddosProtectionPlan;
     Etag = etag;
     CustomInit();
 }