/// <summary>
 /// Initializes a new instance of the PublicIPAddress 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 public
 /// ip address.</param>
 /// <param name="sku">The public IP address SKU.</param>
 /// <param name="publicIPAllocationMethod">The public IP address
 /// allocation method. Possible values include: 'Static',
 /// 'Dynamic'</param>
 /// <param name="publicIPAddressVersion">The public IP address version.
 /// Possible values include: 'IPv4', 'IPv6'</param>
 /// <param name="ipConfiguration">The IP configuration associated with
 /// the public IP address.</param>
 /// <param name="dnsSettings">The FQDN of the DNS record associated
 /// with the public IP address.</param>
 /// <param name="ddosSettings">The DDoS protection custom policy
 /// associated with the public IP address.</param>
 /// <param name="ipTags">The list of tags associated with the public IP
 /// address.</param>
 /// <param name="ipAddress">The IP address associated with the public
 /// IP address resource.</param>
 /// <param name="publicIPPrefix">The Public IP Prefix this Public IP
 /// Address should be allocated from.</param>
 /// <param name="idleTimeoutInMinutes">The idle timeout of the public
 /// IP address.</param>
 /// <param name="resourceGuid">The resource GUID property of the public
 /// IP address resource.</param>
 /// <param name="provisioningState">The provisioning state of the
 /// public IP address 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>
 /// <param name="zones">A list of availability zones denoting the IP
 /// allocated for the resource needs to come from.</param>
 public PublicIPAddress(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), PublicIPAddressSku sku = default(PublicIPAddressSku), string publicIPAllocationMethod = default(string), string publicIPAddressVersion = default(string), IPConfiguration ipConfiguration = default(IPConfiguration), PublicIPAddressDnsSettings dnsSettings = default(PublicIPAddressDnsSettings), DdosSettings ddosSettings = default(DdosSettings), IList <IpTag> ipTags = default(IList <IpTag>), string ipAddress = default(string), SubResource publicIPPrefix = default(SubResource), int?idleTimeoutInMinutes = default(int?), string resourceGuid = default(string), string provisioningState = default(string), string etag = default(string), IList <string> zones = default(IList <string>))
     : base(id, name, type, location, tags)
 {
     ExtendedLocation = extendedLocation;
     Sku = sku;
     PublicIPAllocationMethod = publicIPAllocationMethod;
     PublicIPAddressVersion   = publicIPAddressVersion;
     IpConfiguration          = ipConfiguration;
     DnsSettings          = dnsSettings;
     DdosSettings         = ddosSettings;
     IpTags               = ipTags;
     IpAddress            = ipAddress;
     PublicIPPrefix       = publicIPPrefix;
     IdleTimeoutInMinutes = idleTimeoutInMinutes;
     ResourceGuid         = resourceGuid;
     ProvisioningState    = provisioningState;
     Etag  = etag;
     Zones = zones;
     CustomInit();
 }
Example #2
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="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), 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;
     Subnets                = subnets;
     VirtualNetworkPeerings = virtualNetworkPeerings;
     ResourceGuid           = resourceGuid;
     ProvisioningState      = provisioningState;
     EnableDdosProtection   = enableDdosProtection;
     EnableVmProtection     = enableVmProtection;
     DdosProtectionPlan     = ddosProtectionPlan;
     BgpCommunities         = bgpCommunities;
     IpAllocations          = ipAllocations;
     Etag = etag;
     CustomInit();
 }