/// <summary>
 /// Initializes a new instance of the
 /// ApplicationGatewayBackendHttpSettings class.
 /// </summary>
 /// <param name="id">Resource ID.</param>
 /// <param name="port">Port</param>
 /// <param name="protocol">Protocol. Possible values are: 'Http' and
 /// 'Https'. Possible values include: 'Http', 'Https'</param>
 /// <param name="cookieBasedAffinity">Cookie based affinity. Possible
 /// values are: 'Enabled' and 'Disabled'. Possible values include:
 /// 'Enabled', 'Disabled'</param>
 /// <param name="requestTimeout">Request timeout in seconds.
 /// Application Gateway will fail the request if response is not
 /// received within RequestTimeout. Acceptable values are from 1 second
 /// to 86400 seconds.</param>
 /// <param name="probe">Probe resource of an application
 /// gateway.</param>
 /// <param name="authenticationCertificates">Array of references to
 /// application gateway authentication certificates.</param>
 /// <param name="provisioningState">Provisioning state of the backend
 /// http settings resource. Possible values are: 'Updating',
 /// 'Deleting', and 'Failed'.</param>
 /// <param name="connectionDraining">Connection draining of the backend
 /// http settings resource.</param>
 /// <param name="name">Name of the resource that is unique within a
 /// resource group. 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>
 public ApplicationGatewayBackendHttpSettings(string id = default(string), int?port = default(int?), string protocol = default(string), string cookieBasedAffinity = default(string), int?requestTimeout = default(int?), SubResource probe = default(SubResource), IList <SubResource> authenticationCertificates = default(IList <SubResource>), string provisioningState = default(string), ApplicationGatewayConnectionDraining connectionDraining = default(ApplicationGatewayConnectionDraining), string name = default(string), string etag = default(string))
     : base(id)
 {
     Port                       = port;
     Protocol                   = protocol;
     CookieBasedAffinity        = cookieBasedAffinity;
     RequestTimeout             = requestTimeout;
     Probe                      = probe;
     AuthenticationCertificates = authenticationCertificates;
     ProvisioningState          = provisioningState;
     ConnectionDraining         = connectionDraining;
     Name                       = name;
     Etag                       = etag;
     CustomInit();
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the ApplicationGatewayHttpListener
 /// class.
 /// </summary>
 /// <param name="id">Resource ID.</param>
 /// <param name="frontendIPConfiguration">Frontend IP configuration
 /// resource of an application gateway.</param>
 /// <param name="frontendPort">Frontend port resource of an application
 /// gateway.</param>
 /// <param name="protocol">Protocol. Possible values are: 'Http' and
 /// 'Https'. Possible values include: 'Http', 'Https'</param>
 /// <param name="hostName">Host name of HTTP listener.</param>
 /// <param name="sslCertificate">SSL certificate resource of an
 /// application gateway.</param>
 /// <param name="requireServerNameIndication">Applicable only if
 /// protocol is https. Enables SNI for multi-hosting.</param>
 /// <param name="provisioningState">Provisioning state of the HTTP
 /// listener resource. Possible values are: 'Updating', 'Deleting', and
 /// 'Failed'.</param>
 /// <param name="name">Name of the resource that is unique within a
 /// resource group. 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>
 public ApplicationGatewayHttpListener(string id = default(string), SubResource frontendIPConfiguration = default(SubResource), SubResource frontendPort = default(SubResource), string protocol = default(string), string hostName = default(string), SubResource sslCertificate = default(SubResource), bool?requireServerNameIndication = default(bool?), string provisioningState = default(string), string name = default(string), string etag = default(string))
     : base(id)
 {
     FrontendIPConfiguration = frontendIPConfiguration;
     FrontendPort            = frontendPort;
     Protocol       = protocol;
     HostName       = hostName;
     SslCertificate = sslCertificate;
     RequireServerNameIndication = requireServerNameIndication;
     ProvisioningState           = provisioningState;
     Name = name;
     Etag = etag;
     CustomInit();
 }
示例#3
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 are:
 /// 'Unknown', 'Up', 'Down', and 'Partial'. Possible values include:
 /// 'Unknown', 'Up', 'Down', 'Partial'</param>
 public ApplicationGatewayBackendHealthServer(string address = default(string), SubResource ipConfiguration = default(SubResource), string health = default(string))
 {
     Address         = address;
     IpConfiguration = ipConfiguration;
     Health          = health;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the VirtualNetworkGateway 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="ipConfigurations">IP configurations for virtual
 /// network gateway.</param>
 /// <param name="gatewayType">The type of this virtual network gateway.
 /// Possible values are: 'Vpn' and 'ExpressRoute'. Possible values
 /// include: 'Vpn', 'ExpressRoute'</param>
 /// <param name="vpnType">The type of this virtual network gateway.
 /// Possible values are: 'PolicyBased' and 'RouteBased'. Possible
 /// values include: 'PolicyBased', 'RouteBased'</param>
 /// <param name="enableBgp">Whether BGP is enabled for this virtual
 /// network gateway or not.</param>
 /// <param name="activeActive">ActiveActive flag</param>
 /// <param name="gatewayDefaultSite">The reference of the
 /// LocalNetworkGateway resource which represents local network site
 /// having default routes. Assign Null value in case of removing
 /// existing default site setting.</param>
 /// <param name="sku">The reference of the VirtualNetworkGatewaySku
 /// resource which represents the SKU selected for Virtual network
 /// gateway.</param>
 /// <param name="vpnClientConfiguration">The reference of the
 /// VpnClientConfiguration resource which represents the P2S VpnClient
 /// configurations.</param>
 /// <param name="bgpSettings">Virtual network gateway's BGP speaker
 /// settings.</param>
 /// <param name="resourceGuid">The resource GUID property of the
 /// VirtualNetworkGateway resource.</param>
 /// <param name="provisioningState">The provisioning state of the
 /// VirtualNetworkGateway 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 VirtualNetworkGateway(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 <VirtualNetworkGatewayIPConfiguration> ipConfigurations = default(IList <VirtualNetworkGatewayIPConfiguration>), string gatewayType = default(string), string vpnType = default(string), bool?enableBgp = default(bool?), bool?activeActive = default(bool?), SubResource gatewayDefaultSite = default(SubResource), VirtualNetworkGatewaySku sku = default(VirtualNetworkGatewaySku), VpnClientConfiguration vpnClientConfiguration = default(VpnClientConfiguration), BgpSettings bgpSettings = default(BgpSettings), string resourceGuid = default(string), string provisioningState = default(string), string etag = default(string))
     : base(id, name, type, location, tags)
 {
     IpConfigurations   = ipConfigurations;
     GatewayType        = gatewayType;
     VpnType            = vpnType;
     EnableBgp          = enableBgp;
     ActiveActive       = activeActive;
     GatewayDefaultSite = gatewayDefaultSite;
     Sku = sku;
     VpnClientConfiguration = vpnClientConfiguration;
     BgpSettings            = bgpSettings;
     ResourceGuid           = resourceGuid;
     ProvisioningState      = provisioningState;
     Etag = etag;
     CustomInit();
 }
示例#5
0
 /// <summary>
 /// Initializes a new instance of the LoadBalancingRule class.
 /// </summary>
 /// <param name="protocol">The transport protocol for the external
 /// endpoint. Possible values are 'Udp' or 'Tcp'. Possible values
 /// include: 'Udp', 'Tcp'</param>
 /// <param name="frontendPort">The port for the external endpoint. Port
 /// numbers for each Rule must be unique within the Load Balancer.
 /// Acceptable values are between 1 and 65534.</param>
 /// <param name="id">Resource ID.</param>
 /// <param name="frontendIPConfiguration">A reference to frontend IP
 /// addresses.</param>
 /// <param name="backendAddressPool">A reference to a pool of DIPs.
 /// Inbound traffic is randomly load balanced across IPs in the backend
 /// IPs.</param>
 /// <param name="probe">The reference of the load balancer probe used
 /// by the load balancing rule.</param>
 /// <param name="loadDistribution">The load distribution policy for
 /// this rule. Possible values are 'Default', 'SourceIP', and
 /// 'SourceIPProtocol'. Possible values include: 'Default', 'SourceIP',
 /// 'SourceIPProtocol'</param>
 /// <param name="backendPort">The port used for internal connections on
 /// the endpoint. Acceptable values are between 1 and 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="provisioningState">Gets the provisioning state of the
 /// PublicIP resource. Possible values are: 'Updating', 'Deleting', and
 /// 'Failed'.</param>
 /// <param name="name">The name of the resource that is unique within a
 /// resource group. 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>
 public LoadBalancingRule(string protocol, int frontendPort, string id = default(string), SubResource frontendIPConfiguration = default(SubResource), SubResource backendAddressPool = default(SubResource), SubResource probe = default(SubResource), string loadDistribution = default(string), int?backendPort = default(int?), int?idleTimeoutInMinutes = default(int?), bool?enableFloatingIP = default(bool?), string provisioningState = default(string), string name = default(string), string etag = default(string))
     : base(id)
 {
     FrontendIPConfiguration = frontendIPConfiguration;
     BackendAddressPool      = backendAddressPool;
     Probe                = probe;
     Protocol             = protocol;
     LoadDistribution     = loadDistribution;
     FrontendPort         = frontendPort;
     BackendPort          = backendPort;
     IdleTimeoutInMinutes = idleTimeoutInMinutes;
     EnableFloatingIP     = enableFloatingIP;
     ProvisioningState    = provisioningState;
     Name = name;
     Etag = etag;
     CustomInit();
 }
示例#6
0
 /// <summary>
 /// Initializes a new instance of the VirtualNetworkGatewayConnection
 /// class.
 /// </summary>
 /// <param name="connectionType">Gateway connection type. Possible
 /// values are: 'Ipsec','Vnet2Vnet','ExpressRoute', and 'VPNClient.
 /// Possible values include: 'IPsec', 'Vnet2Vnet', 'ExpressRoute',
 /// 'VPNClient'</param>
 /// <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="authorizationKey">The authorizationKey.</param>
 /// <param name="routingWeight">The routing weight.</param>
 /// <param name="sharedKey">The IPSec shared key.</param>
 /// <param name="connectionStatus">Virtual network Gateway connection
 /// status. Possible values are 'Unknown', 'Connecting', 'Connected'
 /// and 'NotConnected'. Possible values include: 'Unknown',
 /// 'Connecting', 'Connected', 'NotConnected'</param>
 /// <param name="tunnelConnectionStatus">Collection of all tunnels'
 /// connection health status.</param>
 /// <param name="egressBytesTransferred">The egress bytes transferred
 /// in this connection.</param>
 /// <param name="ingressBytesTransferred">The ingress bytes transferred
 /// in this connection.</param>
 /// <param name="peer">The reference to peerings resource.</param>
 /// <param name="enableBgp">EnableBgp flag</param>
 /// <param name="resourceGuid">The resource GUID property of the
 /// VirtualNetworkGatewayConnection resource.</param>
 /// <param name="provisioningState">The provisioning state of the
 /// VirtualNetworkGatewayConnection 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 VirtualNetworkGatewayConnection(VirtualNetworkGateway virtualNetworkGateway1, string connectionType, string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), string authorizationKey = default(string), VirtualNetworkGateway virtualNetworkGateway2 = default(VirtualNetworkGateway), LocalNetworkGateway localNetworkGateway2 = default(LocalNetworkGateway), int?routingWeight = default(int?), string sharedKey = default(string), string connectionStatus = default(string), IList <TunnelConnectionHealth> tunnelConnectionStatus = default(IList <TunnelConnectionHealth>), long?egressBytesTransferred = default(long?), long?ingressBytesTransferred = default(long?), SubResource peer = default(SubResource), bool?enableBgp = default(bool?), string resourceGuid = default(string), string provisioningState = default(string), string etag = default(string))
     : base(id, name, type, location, tags)
 {
     AuthorizationKey       = authorizationKey;
     VirtualNetworkGateway1 = virtualNetworkGateway1;
     VirtualNetworkGateway2 = virtualNetworkGateway2;
     LocalNetworkGateway2   = localNetworkGateway2;
     ConnectionType         = connectionType;
     RoutingWeight          = routingWeight;
     SharedKey               = sharedKey;
     ConnectionStatus        = connectionStatus;
     TunnelConnectionStatus  = tunnelConnectionStatus;
     EgressBytesTransferred  = egressBytesTransferred;
     IngressBytesTransferred = ingressBytesTransferred;
     Peer              = peer;
     EnableBgp         = enableBgp;
     ResourceGuid      = resourceGuid;
     ProvisioningState = provisioningState;
     Etag              = etag;
     CustomInit();
 }
示例#7
0
 /// <summary>
 /// Initializes a new instance of the NetworkInterface 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="virtualMachine">The reference of a virtual
 /// machine.</param>
 /// <param name="networkSecurityGroup">The reference of the
 /// NetworkSecurityGroup resource.</param>
 /// <param name="ipConfigurations">A list of IPConfigurations of the
 /// network interface.</param>
 /// <param name="dnsSettings">The DNS settings in network
 /// interface.</param>
 /// <param name="macAddress">The MAC address of the network
 /// interface.</param>
 /// <param name="primary">Gets whether this is a primary network
 /// interface on a virtual machine.</param>
 /// <param name="enableAcceleratedNetworking">If the network interface
 /// is accelerated networking enabled.</param>
 /// <param name="enableIPForwarding">Indicates whether IP forwarding is
 /// enabled on this network interface.</param>
 /// <param name="resourceGuid">The resource GUID property of the
 /// network interface resource.</param>
 /// <param name="provisioningState">The provisioning state of the
 /// public IP resource. Possible values are: 'Updating', 'Deleting',
 /// and 'Failed'.</param>
 /// <param name="etag">A unique read-only string that changes whenever
 /// the resource is updated.</param>
 public NetworkInterface(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 virtualMachine = default(SubResource), NetworkSecurityGroup networkSecurityGroup = default(NetworkSecurityGroup), IList <NetworkInterfaceIPConfiguration> ipConfigurations = default(IList <NetworkInterfaceIPConfiguration>), NetworkInterfaceDnsSettings dnsSettings = default(NetworkInterfaceDnsSettings), string macAddress = default(string), bool?primary = default(bool?), bool?enableAcceleratedNetworking = default(bool?), bool?enableIPForwarding = default(bool?), string resourceGuid = default(string), string provisioningState = default(string), string etag = default(string))
     : base(id, name, type, location, tags)
 {
     VirtualMachine       = virtualMachine;
     NetworkSecurityGroup = networkSecurityGroup;
     IpConfigurations     = ipConfigurations;
     DnsSettings          = dnsSettings;
     MacAddress           = macAddress;
     Primary = primary;
     EnableAcceleratedNetworking = enableAcceleratedNetworking;
     EnableIPForwarding          = enableIPForwarding;
     ResourceGuid      = resourceGuid;
     ProvisioningState = provisioningState;
     Etag = etag;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the ApplicationGatewayUrlPathMap
 /// class.
 /// </summary>
 /// <param name="id">Resource ID.</param>
 /// <param name="defaultBackendAddressPool">Default backend address
 /// pool resource of URL path map.</param>
 /// <param name="defaultBackendHttpSettings">Default backend http
 /// settings resource of URL path map.</param>
 /// <param name="pathRules">Path rule of URL path map resource.</param>
 /// <param name="provisioningState">Provisioning state of the backend
 /// http settings resource. Possible values are: 'Updating',
 /// 'Deleting', and 'Failed'.</param>
 /// <param name="name">Name of the resource that is unique within a
 /// resource group. 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>
 public ApplicationGatewayUrlPathMap(string id = default(string), SubResource defaultBackendAddressPool = default(SubResource), SubResource defaultBackendHttpSettings = default(SubResource), IList <ApplicationGatewayPathRule> pathRules = default(IList <ApplicationGatewayPathRule>), string provisioningState = default(string), string name = default(string), string etag = default(string))
     : base(id)
 {
     DefaultBackendAddressPool  = defaultBackendAddressPool;
     DefaultBackendHttpSettings = defaultBackendHttpSettings;
     PathRules         = pathRules;
     ProvisioningState = provisioningState;
     Name = name;
     Etag = etag;
     CustomInit();
 }