Example #1
0
 /// <summary>
 /// Initializes a new instance of the
 /// ApplicationGatewayBackendHealthServer class.
 /// </summary>
 /// <param name="address">IP address or FQDN of backend server.</param>
 /// <param name="ipConfiguration">Reference of IP configuration of
 /// backend server.</param>
 /// <param name="health">Health of backend server. Possible values
 /// include: 'Unknown', 'Up', 'Down', 'Partial', 'Draining'</param>
 public ApplicationGatewayBackendHealthServer(string address = default(string), NetworkInterfaceIPConfiguration ipConfiguration = default(NetworkInterfaceIPConfiguration), string health = default(string))
 {
     Address         = address;
     IpConfiguration = ipConfiguration;
     Health          = health;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the LoadBalancerBackendAddress class.
 /// </summary>
 /// <param name="virtualNetwork">Reference to an existing virtual
 /// network.</param>
 /// <param name="ipAddress">IP Address belonging to the referenced
 /// virtual network.</param>
 /// <param name="networkInterfaceIPConfiguration">Reference to IP
 /// address defined in network interfaces.</param>
 /// <param name="name">Name of the backend address.</param>
 public LoadBalancerBackendAddress(VirtualNetwork virtualNetwork = default(VirtualNetwork), string ipAddress = default(string), NetworkInterfaceIPConfiguration networkInterfaceIPConfiguration = default(NetworkInterfaceIPConfiguration), string name = default(string))
 {
     VirtualNetwork = virtualNetwork;
     IpAddress      = ipAddress;
     NetworkInterfaceIPConfiguration = networkInterfaceIPConfiguration;
     Name = name;
     CustomInit();
 }
Example #3
0
 /// <summary>
 /// Initializes a new instance of the VirtualNetworkTap 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="networkInterfaceTapConfigurations">Specifies the list
 /// of resource IDs for the network interface IP configuration that
 /// needs to be tapped.</param>
 /// <param name="resourceGuid">The resource GUID property of the
 /// virtual network tap resource.</param>
 /// <param name="provisioningState">The provisioning state of the
 /// virtual network tap resource. Possible values include: 'Succeeded',
 /// 'Updating', 'Deleting', 'Failed'</param>
 /// <param name="destinationNetworkInterfaceIPConfiguration">The
 /// reference to the private IP Address of the collector nic that will
 /// receive the tap.</param>
 /// <param name="destinationLoadBalancerFrontEndIPConfiguration">The
 /// reference to the private IP address on the internal Load Balancer
 /// that will receive the tap.</param>
 /// <param name="destinationPort">The VXLAN destination port that will
 /// receive the tapped traffic.</param>
 /// <param name="etag">A unique read-only string that changes whenever
 /// the resource is updated.</param>
 public VirtualNetworkTap(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), IList <NetworkInterfaceTapConfiguration> networkInterfaceTapConfigurations = default(IList <NetworkInterfaceTapConfiguration>), string resourceGuid = default(string), string provisioningState = default(string), NetworkInterfaceIPConfiguration destinationNetworkInterfaceIPConfiguration = default(NetworkInterfaceIPConfiguration), FrontendIPConfiguration destinationLoadBalancerFrontEndIPConfiguration = default(FrontendIPConfiguration), int?destinationPort = default(int?), string etag = default(string))
     : base(id, name, type, location, tags)
 {
     NetworkInterfaceTapConfigurations = networkInterfaceTapConfigurations;
     ResourceGuid      = resourceGuid;
     ProvisioningState = provisioningState;
     DestinationNetworkInterfaceIPConfiguration     = destinationNetworkInterfaceIPConfiguration;
     DestinationLoadBalancerFrontEndIPConfiguration = destinationLoadBalancerFrontEndIPConfiguration;
     DestinationPort = destinationPort;
     Etag            = etag;
     CustomInit();
 }
Example #4
0
 /// <summary>
 /// Initializes a new instance of the InboundNatRule class.
 /// </summary>
 public InboundNatRule(string name = default(string), string etag = default(string), SubResource frontendIPConfiguration = default(SubResource), NetworkInterfaceIPConfiguration backendIPConfiguration = default(NetworkInterfaceIPConfiguration), string protocol = default(string), int?frontendPort = default(int?), int?backendPort = default(int?), int?idleTimeoutInMinutes = default(int?), bool?enableFloatingIP = default(bool?), string provisioningState = default(string))
 {
     Name = name;
     Etag = etag;
     FrontendIPConfiguration = frontendIPConfiguration;
     BackendIPConfiguration  = backendIPConfiguration;
     Protocol             = protocol;
     FrontendPort         = frontendPort;
     BackendPort          = backendPort;
     IdleTimeoutInMinutes = idleTimeoutInMinutes;
     EnableFloatingIP     = enableFloatingIP;
     ProvisioningState    = provisioningState;
 }
Example #5
0
 /// <summary>
 /// Initializes a new instance of the InboundNatRule class.
 /// </summary>
 /// <param name="id">Resource ID.</param>
 /// <param name="frontendIPConfiguration">A reference to frontend IP
 /// addresses.</param>
 /// <param name="backendIPConfiguration">A reference to a private IP
 /// address defined on a network interface of a VM. Traffic sent to the
 /// frontend port of each of the frontend IP configurations is
 /// forwarded to the backend IP.</param>
 /// <param name="protocol">The reference to the transport protocol used
 /// by the load balancing rule. Possible values include: 'Udp', 'Tcp',
 /// 'All'</param>
 /// <param name="frontendPort">The port for the external endpoint. Port
 /// numbers for each rule must be unique within the Load Balancer.
 /// Acceptable values range from 1 to 65534.</param>
 /// <param name="backendPort">The port used for the internal endpoint.
 /// Acceptable values range from 1 to 65535.</param>
 /// <param name="idleTimeoutInMinutes">The timeout for the TCP idle
 /// connection. The value can be set between 4 and 30 minutes. The
 /// default value is 4 minutes. This element is only used when the
 /// protocol is set to TCP.</param>
 /// <param name="enableFloatingIP">Configures a virtual machine's
 /// endpoint for the floating IP capability required to configure a SQL
 /// AlwaysOn Availability Group. This setting is required when using
 /// the SQL AlwaysOn Availability Groups in SQL server. This setting
 /// can't be changed after you create the endpoint.</param>
 /// <param name="enableTcpReset">Receive bidirectional TCP Reset on TCP
 /// flow idle timeout or unexpected connection termination. This
 /// element is only used when the protocol is set to TCP.</param>
 /// <param name="frontendPortRangeStart">The port range start for the
 /// external endpoint. This property is used together with
 /// BackendAddressPool and FrontendPortRangeEnd. Individual inbound NAT
 /// rule port mappings will be created for each backend address from
 /// BackendAddressPool. Acceptable values range from 1 to
 /// 65534.</param>
 /// <param name="frontendPortRangeEnd">The port range end for the
 /// external endpoint. This property is used together with
 /// BackendAddressPool and FrontendPortRangeStart. Individual inbound
 /// NAT rule port mappings will be created for each backend address
 /// from BackendAddressPool. Acceptable values range from 1 to
 /// 65534.</param>
 /// <param name="backendAddressPool">A reference to backendAddressPool
 /// resource.</param>
 /// <param name="provisioningState">The provisioning state of the
 /// inbound NAT rule resource. Possible values include: 'Succeeded',
 /// 'Updating', 'Deleting', 'Failed'</param>
 /// <param name="name">The name of the resource that is unique within
 /// the set of inbound NAT rules used by the load balancer. 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>
 /// <param name="type">Type of the resource.</param>
 public InboundNatRule(string id = default(string), SubResource frontendIPConfiguration = default(SubResource), NetworkInterfaceIPConfiguration backendIPConfiguration = default(NetworkInterfaceIPConfiguration), string protocol = default(string), int?frontendPort = default(int?), int?backendPort = default(int?), int?idleTimeoutInMinutes = default(int?), bool?enableFloatingIP = default(bool?), bool?enableTcpReset = default(bool?), int?frontendPortRangeStart = default(int?), int?frontendPortRangeEnd = default(int?), SubResource backendAddressPool = default(SubResource), string provisioningState = default(string), string name = default(string), string etag = default(string), string type = default(string))
     : base(id)
 {
     FrontendIPConfiguration = frontendIPConfiguration;
     BackendIPConfiguration  = backendIPConfiguration;
     Protocol               = protocol;
     FrontendPort           = frontendPort;
     BackendPort            = backendPort;
     IdleTimeoutInMinutes   = idleTimeoutInMinutes;
     EnableFloatingIP       = enableFloatingIP;
     EnableTcpReset         = enableTcpReset;
     FrontendPortRangeStart = frontendPortRangeStart;
     FrontendPortRangeEnd   = frontendPortRangeEnd;
     BackendAddressPool     = backendAddressPool;
     ProvisioningState      = provisioningState;
     Name = name;
     Etag = etag;
     Type = type;
     CustomInit();
 }