Class ApplicationGatewayInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.network.fluent.models.ApplicationGatewayInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>

public final class ApplicationGatewayInner extends com.azure.core.management.Resource
Application gateway resource.
  • Constructor Details

    • ApplicationGatewayInner

      public ApplicationGatewayInner()
      Creates an instance of ApplicationGatewayInner class.
  • Method Details

    • etag

      public String etag()
      Get the etag property: A unique read-only string that changes whenever the resource is updated.
      Returns:
      the etag value.
    • zones

      public List<String> zones()
      Get the zones property: A list of availability zones denoting where the resource needs to come from.
      Returns:
      the zones value.
    • withZones

      public ApplicationGatewayInner withZones(List<String> zones)
      Set the zones property: A list of availability zones denoting where the resource needs to come from.
      Parameters:
      zones - the zones value to set.
      Returns:
      the ApplicationGatewayInner object itself.
    • identity

      public ManagedServiceIdentity identity()
      Get the identity property: The identity of the application gateway, if configured.
      Returns:
      the identity value.
    • withIdentity

      public ApplicationGatewayInner withIdentity(ManagedServiceIdentity identity)
      Set the identity property: The identity of the application gateway, if configured.
      Parameters:
      identity - the identity value to set.
      Returns:
      the ApplicationGatewayInner object itself.
    • id

      public String id()
      Get the id property: Resource ID.
      Overrides:
      id in class com.azure.core.management.ProxyResource
      Returns:
      the id value.
    • withId

      public ApplicationGatewayInner withId(String id)
      Set the id property: Resource ID.
      Parameters:
      id - the id value to set.
      Returns:
      the ApplicationGatewayInner object itself.
    • type

      public String type()
      Get the type property: The type of the resource.
      Overrides:
      type in class com.azure.core.management.ProxyResource
      Returns:
      the type value.
    • name

      public String name()
      Get the name property: The name of the resource.
      Overrides:
      name in class com.azure.core.management.ProxyResource
      Returns:
      the name value.
    • withLocation

      public ApplicationGatewayInner withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      public ApplicationGatewayInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • sku

      public ApplicationGatewaySku sku()
      Get the sku property: SKU of the application gateway resource.
      Returns:
      the sku value.
    • withSku

      Set the sku property: SKU of the application gateway resource.
      Parameters:
      sku - the sku value to set.
      Returns:
      the ApplicationGatewayInner object itself.
    • sslPolicy

      public ApplicationGatewaySslPolicy sslPolicy()
      Get the sslPolicy property: SSL policy of the application gateway resource.
      Returns:
      the sslPolicy value.
    • withSslPolicy

      public ApplicationGatewayInner withSslPolicy(ApplicationGatewaySslPolicy sslPolicy)
      Set the sslPolicy property: SSL policy of the application gateway resource.
      Parameters:
      sslPolicy - the sslPolicy value to set.
      Returns:
      the ApplicationGatewayInner object itself.
    • operationalState

      public ApplicationGatewayOperationalState operationalState()
      Get the operationalState property: Operational state of the application gateway resource.
      Returns:
      the operationalState value.
    • gatewayIpConfigurations

      public List<ApplicationGatewayIpConfigurationInner> gatewayIpConfigurations()
      Get the gatewayIpConfigurations property: 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).
      Returns:
      the gatewayIpConfigurations value.
    • withGatewayIpConfigurations

      public ApplicationGatewayInner withGatewayIpConfigurations(List<ApplicationGatewayIpConfigurationInner> gatewayIpConfigurations)
      Set the gatewayIpConfigurations property: 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).
      Parameters:
      gatewayIpConfigurations - the gatewayIpConfigurations value to set.
      Returns:
      the ApplicationGatewayInner object itself.
    • authenticationCertificates

      public List<ApplicationGatewayAuthenticationCertificateInner> authenticationCertificates()
      Get the authenticationCertificates property: 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).
      Returns:
      the authenticationCertificates value.
    • withAuthenticationCertificates

      public ApplicationGatewayInner withAuthenticationCertificates(List<ApplicationGatewayAuthenticationCertificateInner> authenticationCertificates)
      Set the authenticationCertificates property: 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).
      Parameters:
      authenticationCertificates - the authenticationCertificates value to set.
      Returns:
      the ApplicationGatewayInner object itself.
    • trustedRootCertificates

      public List<ApplicationGatewayTrustedRootCertificate> trustedRootCertificates()
      Get the trustedRootCertificates property: 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).
      Returns:
      the trustedRootCertificates value.
    • withTrustedRootCertificates

      public ApplicationGatewayInner withTrustedRootCertificates(List<ApplicationGatewayTrustedRootCertificate> trustedRootCertificates)
      Set the trustedRootCertificates property: 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).
      Parameters:
      trustedRootCertificates - the trustedRootCertificates value to set.
      Returns:
      the ApplicationGatewayInner object itself.
    • trustedClientCertificates

      public List<ApplicationGatewayTrustedClientCertificate> trustedClientCertificates()
      Get the trustedClientCertificates property: Trusted client 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).
      Returns:
      the trustedClientCertificates value.
    • withTrustedClientCertificates

      public ApplicationGatewayInner withTrustedClientCertificates(List<ApplicationGatewayTrustedClientCertificate> trustedClientCertificates)
      Set the trustedClientCertificates property: Trusted client 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).
      Parameters:
      trustedClientCertificates - the trustedClientCertificates value to set.
      Returns:
      the ApplicationGatewayInner object itself.
    • sslCertificates

      public List<ApplicationGatewaySslCertificateInner> sslCertificates()
      Get the sslCertificates property: 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).
      Returns:
      the sslCertificates value.
    • withSslCertificates

      public ApplicationGatewayInner withSslCertificates(List<ApplicationGatewaySslCertificateInner> sslCertificates)
      Set the sslCertificates property: 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).
      Parameters:
      sslCertificates - the sslCertificates value to set.
      Returns:
      the ApplicationGatewayInner object itself.
    • frontendIpConfigurations

      public List<ApplicationGatewayFrontendIpConfiguration> frontendIpConfigurations()
      Get the frontendIpConfigurations property: 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).
      Returns:
      the frontendIpConfigurations value.
    • withFrontendIpConfigurations

      public ApplicationGatewayInner withFrontendIpConfigurations(List<ApplicationGatewayFrontendIpConfiguration> frontendIpConfigurations)
      Set the frontendIpConfigurations property: 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).
      Parameters:
      frontendIpConfigurations - the frontendIpConfigurations value to set.
      Returns:
      the ApplicationGatewayInner object itself.
    • frontendPorts

      public List<ApplicationGatewayFrontendPort> frontendPorts()
      Get the frontendPorts property: 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).
      Returns:
      the frontendPorts value.
    • withFrontendPorts

      public ApplicationGatewayInner withFrontendPorts(List<ApplicationGatewayFrontendPort> frontendPorts)
      Set the frontendPorts property: 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).
      Parameters:
      frontendPorts - the frontendPorts value to set.
      Returns:
      the ApplicationGatewayInner object itself.
    • probes

      Get the probes property: Probes of the application gateway resource.
      Returns:
      the probes value.
    • withProbes

      Set the probes property: Probes of the application gateway resource.
      Parameters:
      probes - the probes value to set.
      Returns:
      the ApplicationGatewayInner object itself.
    • backendAddressPools

      public List<ApplicationGatewayBackendAddressPool> backendAddressPools()
      Get the backendAddressPools property: 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).
      Returns:
      the backendAddressPools value.
    • withBackendAddressPools

      public ApplicationGatewayInner withBackendAddressPools(List<ApplicationGatewayBackendAddressPool> backendAddressPools)
      Set the backendAddressPools property: 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).
      Parameters:
      backendAddressPools - the backendAddressPools value to set.
      Returns:
      the ApplicationGatewayInner object itself.
    • backendHttpSettingsCollection

      public List<ApplicationGatewayBackendHttpSettings> backendHttpSettingsCollection()
      Get the backendHttpSettingsCollection property: 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).
      Returns:
      the backendHttpSettingsCollection value.
    • withBackendHttpSettingsCollection

      public ApplicationGatewayInner withBackendHttpSettingsCollection(List<ApplicationGatewayBackendHttpSettings> backendHttpSettingsCollection)
      Set the backendHttpSettingsCollection property: 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).
      Parameters:
      backendHttpSettingsCollection - the backendHttpSettingsCollection value to set.
      Returns:
      the ApplicationGatewayInner object itself.
    • backendSettingsCollection

      public List<ApplicationGatewayBackendSettings> backendSettingsCollection()
      Get the backendSettingsCollection property: Backend 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).
      Returns:
      the backendSettingsCollection value.
    • withBackendSettingsCollection

      public ApplicationGatewayInner withBackendSettingsCollection(List<ApplicationGatewayBackendSettings> backendSettingsCollection)
      Set the backendSettingsCollection property: Backend 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).
      Parameters:
      backendSettingsCollection - the backendSettingsCollection value to set.
      Returns:
      the ApplicationGatewayInner object itself.
    • httpListeners

      public List<ApplicationGatewayHttpListener> httpListeners()
      Get the httpListeners property: 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).
      Returns:
      the httpListeners value.
    • withHttpListeners

      public ApplicationGatewayInner withHttpListeners(List<ApplicationGatewayHttpListener> httpListeners)
      Set the httpListeners property: 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).
      Parameters:
      httpListeners - the httpListeners value to set.
      Returns:
      the ApplicationGatewayInner object itself.
    • listeners

      Get the listeners property: 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).
      Returns:
      the listeners value.
    • withListeners

      Set the listeners property: 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).
      Parameters:
      listeners - the listeners value to set.
      Returns:
      the ApplicationGatewayInner object itself.
    • sslProfiles

      public List<ApplicationGatewaySslProfile> sslProfiles()
      Get the sslProfiles property: SSL profiles of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
      Returns:
      the sslProfiles value.
    • withSslProfiles

      public ApplicationGatewayInner withSslProfiles(List<ApplicationGatewaySslProfile> sslProfiles)
      Set the sslProfiles property: SSL profiles of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
      Parameters:
      sslProfiles - the sslProfiles value to set.
      Returns:
      the ApplicationGatewayInner object itself.
    • urlPathMaps

      public List<ApplicationGatewayUrlPathMapInner> urlPathMaps()
      Get the urlPathMaps property: 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).
      Returns:
      the urlPathMaps value.
    • withUrlPathMaps

      public ApplicationGatewayInner withUrlPathMaps(List<ApplicationGatewayUrlPathMapInner> urlPathMaps)
      Set the urlPathMaps property: 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).
      Parameters:
      urlPathMaps - the urlPathMaps value to set.
      Returns:
      the ApplicationGatewayInner object itself.
    • requestRoutingRules

      public List<ApplicationGatewayRequestRoutingRuleInner> requestRoutingRules()
      Get the requestRoutingRules property: Request routing rules of the application gateway resource.
      Returns:
      the requestRoutingRules value.
    • withRequestRoutingRules

      public ApplicationGatewayInner withRequestRoutingRules(List<ApplicationGatewayRequestRoutingRuleInner> requestRoutingRules)
      Set the requestRoutingRules property: Request routing rules of the application gateway resource.
      Parameters:
      requestRoutingRules - the requestRoutingRules value to set.
      Returns:
      the ApplicationGatewayInner object itself.
    • routingRules

      public List<ApplicationGatewayRoutingRule> routingRules()
      Get the routingRules property: Routing rules of the application gateway resource.
      Returns:
      the routingRules value.
    • withRoutingRules

      public ApplicationGatewayInner withRoutingRules(List<ApplicationGatewayRoutingRule> routingRules)
      Set the routingRules property: Routing rules of the application gateway resource.
      Parameters:
      routingRules - the routingRules value to set.
      Returns:
      the ApplicationGatewayInner object itself.
    • rewriteRuleSets

      public List<ApplicationGatewayRewriteRuleSet> rewriteRuleSets()
      Get the rewriteRuleSets property: Rewrite rules for the application gateway resource.
      Returns:
      the rewriteRuleSets value.
    • withRewriteRuleSets

      public ApplicationGatewayInner withRewriteRuleSets(List<ApplicationGatewayRewriteRuleSet> rewriteRuleSets)
      Set the rewriteRuleSets property: Rewrite rules for the application gateway resource.
      Parameters:
      rewriteRuleSets - the rewriteRuleSets value to set.
      Returns:
      the ApplicationGatewayInner object itself.
    • redirectConfigurations

      public List<ApplicationGatewayRedirectConfigurationInner> redirectConfigurations()
      Get the redirectConfigurations property: 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).
      Returns:
      the redirectConfigurations value.
    • withRedirectConfigurations

      public ApplicationGatewayInner withRedirectConfigurations(List<ApplicationGatewayRedirectConfigurationInner> redirectConfigurations)
      Set the redirectConfigurations property: 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).
      Parameters:
      redirectConfigurations - the redirectConfigurations value to set.
      Returns:
      the ApplicationGatewayInner object itself.
    • webApplicationFirewallConfiguration

      public ApplicationGatewayWebApplicationFirewallConfiguration webApplicationFirewallConfiguration()
      Get the webApplicationFirewallConfiguration property: Web application firewall configuration.
      Returns:
      the webApplicationFirewallConfiguration value.
    • withWebApplicationFirewallConfiguration

      public ApplicationGatewayInner withWebApplicationFirewallConfiguration(ApplicationGatewayWebApplicationFirewallConfiguration webApplicationFirewallConfiguration)
      Set the webApplicationFirewallConfiguration property: Web application firewall configuration.
      Parameters:
      webApplicationFirewallConfiguration - the webApplicationFirewallConfiguration value to set.
      Returns:
      the ApplicationGatewayInner object itself.
    • firewallPolicy

      public com.azure.core.management.SubResource firewallPolicy()
      Get the firewallPolicy property: Reference to the FirewallPolicy resource.
      Returns:
      the firewallPolicy value.
    • withFirewallPolicy

      public ApplicationGatewayInner withFirewallPolicy(com.azure.core.management.SubResource firewallPolicy)
      Set the firewallPolicy property: Reference to the FirewallPolicy resource.
      Parameters:
      firewallPolicy - the firewallPolicy value to set.
      Returns:
      the ApplicationGatewayInner object itself.
    • enableHttp2

      public Boolean enableHttp2()
      Get the enableHttp2 property: Whether HTTP2 is enabled on the application gateway resource.
      Returns:
      the enableHttp2 value.
    • withEnableHttp2

      public ApplicationGatewayInner withEnableHttp2(Boolean enableHttp2)
      Set the enableHttp2 property: Whether HTTP2 is enabled on the application gateway resource.
      Parameters:
      enableHttp2 - the enableHttp2 value to set.
      Returns:
      the ApplicationGatewayInner object itself.
    • enableFips

      public Boolean enableFips()
      Get the enableFips property: Whether FIPS is enabled on the application gateway resource.
      Returns:
      the enableFips value.
    • withEnableFips

      public ApplicationGatewayInner withEnableFips(Boolean enableFips)
      Set the enableFips property: Whether FIPS is enabled on the application gateway resource.
      Parameters:
      enableFips - the enableFips value to set.
      Returns:
      the ApplicationGatewayInner object itself.
    • autoscaleConfiguration

      public ApplicationGatewayAutoscaleConfiguration autoscaleConfiguration()
      Get the autoscaleConfiguration property: Autoscale Configuration.
      Returns:
      the autoscaleConfiguration value.
    • withAutoscaleConfiguration

      public ApplicationGatewayInner withAutoscaleConfiguration(ApplicationGatewayAutoscaleConfiguration autoscaleConfiguration)
      Set the autoscaleConfiguration property: Autoscale Configuration.
      Parameters:
      autoscaleConfiguration - the autoscaleConfiguration value to set.
      Returns:
      the ApplicationGatewayInner object itself.
    • privateLinkConfigurations

      public List<ApplicationGatewayPrivateLinkConfiguration> privateLinkConfigurations()
      Get the privateLinkConfigurations property: PrivateLink configurations on application gateway.
      Returns:
      the privateLinkConfigurations value.
    • withPrivateLinkConfigurations

      public ApplicationGatewayInner withPrivateLinkConfigurations(List<ApplicationGatewayPrivateLinkConfiguration> privateLinkConfigurations)
      Set the privateLinkConfigurations property: PrivateLink configurations on application gateway.
      Parameters:
      privateLinkConfigurations - the privateLinkConfigurations value to set.
      Returns:
      the ApplicationGatewayInner object itself.
    • privateEndpointConnections

      public List<ApplicationGatewayPrivateEndpointConnectionInner> privateEndpointConnections()
      Get the privateEndpointConnections property: Private Endpoint connections on application gateway.
      Returns:
      the privateEndpointConnections value.
    • resourceGuid

      public String resourceGuid()
      Get the resourceGuid property: The resource GUID property of the application gateway resource.
      Returns:
      the resourceGuid value.
    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: The provisioning state of the application gateway resource.
      Returns:
      the provisioningState value.
    • customErrorConfigurations

      public List<ApplicationGatewayCustomError> customErrorConfigurations()
      Get the customErrorConfigurations property: Custom error configurations of the application gateway resource.
      Returns:
      the customErrorConfigurations value.
    • withCustomErrorConfigurations

      public ApplicationGatewayInner withCustomErrorConfigurations(List<ApplicationGatewayCustomError> customErrorConfigurations)
      Set the customErrorConfigurations property: Custom error configurations of the application gateway resource.
      Parameters:
      customErrorConfigurations - the customErrorConfigurations value to set.
      Returns:
      the ApplicationGatewayInner object itself.
    • forceFirewallPolicyAssociation

      public Boolean forceFirewallPolicyAssociation()
      Get the forceFirewallPolicyAssociation property: If true, associates a firewall policy with an application gateway regardless whether the policy differs from the WAF Config.
      Returns:
      the forceFirewallPolicyAssociation value.
    • withForceFirewallPolicyAssociation

      public ApplicationGatewayInner withForceFirewallPolicyAssociation(Boolean forceFirewallPolicyAssociation)
      Set the forceFirewallPolicyAssociation property: If true, associates a firewall policy with an application gateway regardless whether the policy differs from the WAF Config.
      Parameters:
      forceFirewallPolicyAssociation - the forceFirewallPolicyAssociation value to set.
      Returns:
      the ApplicationGatewayInner object itself.
    • loadDistributionPolicies

      public List<ApplicationGatewayLoadDistributionPolicy> loadDistributionPolicies()
      Get the loadDistributionPolicies property: Load distribution policies of the application gateway resource.
      Returns:
      the loadDistributionPolicies value.
    • withLoadDistributionPolicies

      public ApplicationGatewayInner withLoadDistributionPolicies(List<ApplicationGatewayLoadDistributionPolicy> loadDistributionPolicies)
      Set the loadDistributionPolicies property: Load distribution policies of the application gateway resource.
      Parameters:
      loadDistributionPolicies - the loadDistributionPolicies value to set.
      Returns:
      the ApplicationGatewayInner object itself.
    • globalConfiguration

      public ApplicationGatewayGlobalConfiguration globalConfiguration()
      Get the globalConfiguration property: Global Configuration.
      Returns:
      the globalConfiguration value.
    • withGlobalConfiguration

      public ApplicationGatewayInner withGlobalConfiguration(ApplicationGatewayGlobalConfiguration globalConfiguration)
      Set the globalConfiguration property: Global Configuration.
      Parameters:
      globalConfiguration - the globalConfiguration value to set.
      Returns:
      the ApplicationGatewayInner object itself.
    • defaultPredefinedSslPolicy

      public ApplicationGatewaySslPolicyName defaultPredefinedSslPolicy()
      Get the defaultPredefinedSslPolicy property: The default predefined SSL Policy applied on the application gateway resource.
      Returns:
      the defaultPredefinedSslPolicy value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
      Overrides:
      toJson in class com.azure.core.management.Resource
      Throws:
      IOException
    • fromJson

      public static ApplicationGatewayInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ApplicationGatewayInner from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ApplicationGatewayInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the ApplicationGatewayInner.