Пример #1
0
 /// <summary>
 /// Initializes a new instance of the ApplicationGatewayInner class.
 /// </summary>
 /// <param name="sku">SKU of the application gateway resource.</param>
 /// <param name="sslPolicy">SSL policy of the application gateway
 /// resource.</param>
 /// <param name="operationalState">Operational state of the application
 /// gateway resource. Possible values include: 'Stopped', 'Starting',
 /// 'Running', 'Stopping'</param>
 /// <param name="gatewayIPConfigurations">Subnets of the application
 /// gateway resource. For default limits, see [Application Gateway
 /// limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).</param>
 /// <param name="authenticationCertificates">Authentication
 /// certificates of the application gateway resource. For default
 /// limits, see [Application Gateway
 /// limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).</param>
 /// <param name="trustedRootCertificates">Trusted Root certificates of
 /// the application gateway resource. For default limits, see
 /// [Application Gateway
 /// limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).</param>
 /// <param name="sslCertificates">SSL certificates of the application
 /// gateway resource. For default limits, see [Application Gateway
 /// limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).</param>
 /// <param name="frontendIPConfigurations">Frontend IP addresses of the
 /// application gateway resource. For default limits, see [Application
 /// Gateway
 /// limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).</param>
 /// <param name="frontendPorts">Frontend ports of the application
 /// gateway resource. For default limits, see [Application Gateway
 /// limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).</param>
 /// <param name="probes">Probes of the application gateway
 /// resource.</param>
 /// <param name="backendAddressPools">Backend address pool of the
 /// application gateway resource. For default limits, see [Application
 /// Gateway
 /// limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).</param>
 /// <param name="backendHttpSettingsCollection">Backend http settings
 /// of the application gateway resource. For default limits, see
 /// [Application Gateway
 /// limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).</param>
 /// <param name="httpListeners">Http listeners of the application
 /// gateway resource. For default limits, see [Application Gateway
 /// limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).</param>
 /// <param name="urlPathMaps">URL path map of the application gateway
 /// resource. For default limits, see [Application Gateway
 /// limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).</param>
 /// <param name="requestRoutingRules">Request routing rules of the
 /// application gateway resource.</param>
 /// <param name="rewriteRuleSets">Rewrite rules for the application
 /// gateway resource.</param>
 /// <param name="redirectConfigurations">Redirect configurations of the
 /// application gateway resource. For default limits, see [Application
 /// Gateway
 /// limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).</param>
 /// <param name="webApplicationFirewallConfiguration">Web application
 /// firewall configuration.</param>
 /// <param name="firewallPolicy">Reference of the FirewallPolicy
 /// resource.</param>
 /// <param name="enableHttp2">Whether HTTP2 is enabled on the
 /// application gateway resource.</param>
 /// <param name="enableFips">Whether FIPS is enabled on the application
 /// gateway resource.</param>
 /// <param name="autoscaleConfiguration">Autoscale
 /// Configuration.</param>
 /// <param name="resourceGuid">The resource GUID property of the
 /// application gateway resource.</param>
 /// <param name="provisioningState">The provisioning state of the
 /// application gateway resource. Possible values include: 'Succeeded',
 /// 'Updating', 'Deleting', 'Failed'</param>
 /// <param name="customErrorConfigurations">Custom error configurations
 /// of the application gateway resource.</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 where the
 /// resource needs to come from.</param>
 /// <param name="identity">The identity of the application gateway, if
 /// configured.</param>
 public ApplicationGatewayInner(string location = default(string), string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), ApplicationGatewaySku sku = default(ApplicationGatewaySku), ApplicationGatewaySslPolicy sslPolicy = default(ApplicationGatewaySslPolicy), ApplicationGatewayOperationalState operationalState = default(ApplicationGatewayOperationalState), IList <ApplicationGatewayIPConfigurationInner> gatewayIPConfigurations = default(IList <ApplicationGatewayIPConfigurationInner>), IList <ApplicationGatewayAuthenticationCertificateInner> authenticationCertificates = default(IList <ApplicationGatewayAuthenticationCertificateInner>), IList <ApplicationGatewayTrustedRootCertificateInner> trustedRootCertificates = default(IList <ApplicationGatewayTrustedRootCertificateInner>), IList <ApplicationGatewaySslCertificateInner> sslCertificates = default(IList <ApplicationGatewaySslCertificateInner>), IList <ApplicationGatewayFrontendIPConfigurationInner> frontendIPConfigurations = default(IList <ApplicationGatewayFrontendIPConfigurationInner>), IList <ApplicationGatewayFrontendPortInner> frontendPorts = default(IList <ApplicationGatewayFrontendPortInner>), IList <ApplicationGatewayProbeInner> probes = default(IList <ApplicationGatewayProbeInner>), IList <ApplicationGatewayBackendAddressPoolInner> backendAddressPools = default(IList <ApplicationGatewayBackendAddressPoolInner>), IList <ApplicationGatewayBackendHttpSettingsInner> backendHttpSettingsCollection = default(IList <ApplicationGatewayBackendHttpSettingsInner>), IList <ApplicationGatewayHttpListenerInner> httpListeners = default(IList <ApplicationGatewayHttpListenerInner>), IList <ApplicationGatewayUrlPathMapInner> urlPathMaps = default(IList <ApplicationGatewayUrlPathMapInner>), IList <ApplicationGatewayRequestRoutingRuleInner> requestRoutingRules = default(IList <ApplicationGatewayRequestRoutingRuleInner>), IList <ApplicationGatewayRewriteRuleSetInner> rewriteRuleSets = default(IList <ApplicationGatewayRewriteRuleSetInner>), IList <ApplicationGatewayRedirectConfigurationInner> redirectConfigurations = default(IList <ApplicationGatewayRedirectConfigurationInner>), ApplicationGatewayWebApplicationFirewallConfiguration webApplicationFirewallConfiguration = default(ApplicationGatewayWebApplicationFirewallConfiguration), Management.ResourceManager.Fluent.SubResource firewallPolicy = default(Management.ResourceManager.Fluent.SubResource), bool?enableHttp2 = default(bool?), bool?enableFips = default(bool?), ApplicationGatewayAutoscaleConfiguration autoscaleConfiguration = default(ApplicationGatewayAutoscaleConfiguration), string resourceGuid = default(string), ProvisioningState provisioningState = default(ProvisioningState), IList <ApplicationGatewayCustomError> customErrorConfigurations = default(IList <ApplicationGatewayCustomError>), string etag = default(string), IList <string> zones = default(IList <string>), ManagedServiceIdentity identity = default(ManagedServiceIdentity))
     : base(location, id, name, type, tags)
 {
     Sku                                 = sku;
     SslPolicy                           = sslPolicy;
     OperationalState                    = operationalState;
     GatewayIPConfigurations             = gatewayIPConfigurations;
     AuthenticationCertificates          = authenticationCertificates;
     TrustedRootCertificates             = trustedRootCertificates;
     SslCertificates                     = sslCertificates;
     FrontendIPConfigurations            = frontendIPConfigurations;
     FrontendPorts                       = frontendPorts;
     Probes                              = probes;
     BackendAddressPools                 = backendAddressPools;
     BackendHttpSettingsCollection       = backendHttpSettingsCollection;
     HttpListeners                       = httpListeners;
     UrlPathMaps                         = urlPathMaps;
     RequestRoutingRules                 = requestRoutingRules;
     RewriteRuleSets                     = rewriteRuleSets;
     RedirectConfigurations              = redirectConfigurations;
     WebApplicationFirewallConfiguration = webApplicationFirewallConfiguration;
     FirewallPolicy                      = firewallPolicy;
     EnableHttp2                         = enableHttp2;
     EnableFips                          = enableFips;
     AutoscaleConfiguration              = autoscaleConfiguration;
     ResourceGuid                        = resourceGuid;
     ProvisioningState                   = provisioningState;
     CustomErrorConfigurations           = customErrorConfigurations;
     Etag                                = etag;
     Zones                               = zones;
     Identity                            = identity;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the ExpressRoutePortInner class.
 /// </summary>
 /// <param name="peeringLocation">The name of the peering location that
 /// the ExpressRoutePort is mapped to physically.</param>
 /// <param name="bandwidthInGbps">Bandwidth of procured ports in
 /// Gbps.</param>
 /// <param name="provisionedBandwidthInGbps">Aggregate Gbps of
 /// associated circuit bandwidths.</param>
 /// <param name="mtu">Maximum transmission unit of the physical port
 /// pair(s).</param>
 /// <param name="encapsulation">Encapsulation method on physical ports.
 /// Possible values include: 'Dot1Q', 'QinQ'</param>
 /// <param name="etherType">Ether type of the physical port.</param>
 /// <param name="allocationDate">Date of the physical port allocation
 /// to be used in Letter of Authorization.</param>
 /// <param name="links">ExpressRouteLink Sub-Resources</param>
 /// <param name="circuits">Reference the ExpressRoute circuit(s) that
 /// are provisioned on this ExpressRoutePort resource.</param>
 /// <param name="provisioningState">The provisioning state of the
 /// express route port resource. Possible values include: 'Succeeded',
 /// 'Updating', 'Deleting', 'Failed'</param>
 /// <param name="resourceGuid">The resource GUID property of the
 /// express route port resource.</param>
 /// <param name="etag">A unique read-only string that changes whenever
 /// the resource is updated.</param>
 /// <param name="identity">The identity of ExpressRoutePort, if
 /// configured.</param>
 public ExpressRoutePortInner(string location = default(string), string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), string peeringLocation = default(string), int?bandwidthInGbps = default(int?), double?provisionedBandwidthInGbps = default(double?), string mtu = default(string), ExpressRoutePortsEncapsulation encapsulation = default(ExpressRoutePortsEncapsulation), string etherType = default(string), string allocationDate = default(string), IList <ExpressRouteLinkInner> links = default(IList <ExpressRouteLinkInner>), IList <Management.ResourceManager.Fluent.SubResource> circuits = default(IList <Management.ResourceManager.Fluent.SubResource>), ProvisioningState provisioningState = default(ProvisioningState), string resourceGuid = default(string), string etag = default(string), ManagedServiceIdentity identity = default(ManagedServiceIdentity))
     : base(location, id, name, type, tags)
 {
     PeeringLocation            = peeringLocation;
     BandwidthInGbps            = bandwidthInGbps;
     ProvisionedBandwidthInGbps = provisionedBandwidthInGbps;
     Mtu               = mtu;
     Encapsulation     = encapsulation;
     EtherType         = etherType;
     AllocationDate    = allocationDate;
     Links             = links;
     Circuits          = circuits;
     ProvisioningState = provisioningState;
     ResourceGuid      = resourceGuid;
     Etag              = etag;
     Identity          = identity;
     CustomInit();
 }