Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.network; import com.microsoft.azure.SubResource; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten;
IP configuration of an Azure Firewall.
/** * IP configuration of an Azure Firewall. */
@JsonFlatten public class AzureFirewallIPConfiguration extends SubResource {
The Firewall Internal Load Balancer IP to be used as the next hop in User Defined Routes.
/** * The Firewall Internal Load Balancer IP to be used as the next hop in * User Defined Routes. */
@JsonProperty(value = "properties.privateIPAddress", access = JsonProperty.Access.WRITE_ONLY) private String privateIPAddress;
Reference to the subnet resource. This resource must be named 'AzureFirewallSubnet' or 'AzureFirewallManagementSubnet'.
/** * Reference to the subnet resource. This resource must be named * 'AzureFirewallSubnet' or 'AzureFirewallManagementSubnet'. */
@JsonProperty(value = "properties.subnet") private SubResource subnet;
Reference to the PublicIP resource. This field is a mandatory input if subnet is not null.
/** * Reference to the PublicIP resource. This field is a mandatory input if * subnet is not null. */
@JsonProperty(value = "properties.publicIPAddress") private SubResource publicIPAddress;
The provisioning state of the Azure firewall IP configuration resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'.
/** * The provisioning state of the Azure firewall IP configuration resource. * Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'. */
@JsonProperty(value = "properties.provisioningState", access = JsonProperty.Access.WRITE_ONLY) private ProvisioningState provisioningState;
Name of the resource that is unique within a resource group. This name can be used to access the resource.
/** * Name of the resource that is unique within a resource group. This name * can be used to access the resource. */
@JsonProperty(value = "name") private String name;
A unique read-only string that changes whenever the resource is updated.
/** * A unique read-only string that changes whenever the resource is updated. */
@JsonProperty(value = "etag", access = JsonProperty.Access.WRITE_ONLY) private String etag;
Type of the resource.
/** * Type of the resource. */
@JsonProperty(value = "type", access = JsonProperty.Access.WRITE_ONLY) private String type;
Get the Firewall Internal Load Balancer IP to be used as the next hop in User Defined Routes.
Returns:the privateIPAddress value
/** * Get the Firewall Internal Load Balancer IP to be used as the next hop in User Defined Routes. * * @return the privateIPAddress value */
public String privateIPAddress() { return this.privateIPAddress; }
Get reference to the subnet resource. This resource must be named 'AzureFirewallSubnet' or 'AzureFirewallManagementSubnet'.
Returns:the subnet value
/** * Get reference to the subnet resource. This resource must be named 'AzureFirewallSubnet' or 'AzureFirewallManagementSubnet'. * * @return the subnet value */
public SubResource subnet() { return this.subnet; }
Set reference to the subnet resource. This resource must be named 'AzureFirewallSubnet' or 'AzureFirewallManagementSubnet'.
Params:
  • subnet – the subnet value to set
Returns:the AzureFirewallIPConfiguration object itself.
/** * Set reference to the subnet resource. This resource must be named 'AzureFirewallSubnet' or 'AzureFirewallManagementSubnet'. * * @param subnet the subnet value to set * @return the AzureFirewallIPConfiguration object itself. */
public AzureFirewallIPConfiguration withSubnet(SubResource subnet) { this.subnet = subnet; return this; }
Get reference to the PublicIP resource. This field is a mandatory input if subnet is not null.
Returns:the publicIPAddress value
/** * Get reference to the PublicIP resource. This field is a mandatory input if subnet is not null. * * @return the publicIPAddress value */
public SubResource publicIPAddress() { return this.publicIPAddress; }
Set reference to the PublicIP resource. This field is a mandatory input if subnet is not null.
Params:
  • publicIPAddress – the publicIPAddress value to set
Returns:the AzureFirewallIPConfiguration object itself.
/** * Set reference to the PublicIP resource. This field is a mandatory input if subnet is not null. * * @param publicIPAddress the publicIPAddress value to set * @return the AzureFirewallIPConfiguration object itself. */
public AzureFirewallIPConfiguration withPublicIPAddress(SubResource publicIPAddress) { this.publicIPAddress = publicIPAddress; return this; }
Get the provisioning state of the Azure firewall IP configuration resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'.
Returns:the provisioningState value
/** * Get the provisioning state of the Azure firewall IP configuration resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'. * * @return the provisioningState value */
public ProvisioningState provisioningState() { return this.provisioningState; }
Get name of the resource that is unique within a resource group. This name can be used to access the resource.
Returns:the name value
/** * Get name of the resource that is unique within a resource group. This name can be used to access the resource. * * @return the name value */
public String name() { return this.name; }
Set name of the resource that is unique within a resource group. This name can be used to access the resource.
Params:
  • name – the name value to set
Returns:the AzureFirewallIPConfiguration object itself.
/** * Set name of the resource that is unique within a resource group. This name can be used to access the resource. * * @param name the name value to set * @return the AzureFirewallIPConfiguration object itself. */
public AzureFirewallIPConfiguration withName(String name) { this.name = name; return this; }
Get a unique read-only string that changes whenever the resource is updated.
Returns:the etag value
/** * Get a unique read-only string that changes whenever the resource is updated. * * @return the etag value */
public String etag() { return this.etag; }
Get type of the resource.
Returns:the type value
/** * Get type of the resource. * * @return the type value */
public String type() { return this.type; } }