FirewallRule Interface

public interface FirewallRule

An immutable client-side representation of FirewallRule.

Method Summary

Modifier and Type Method and Description
abstract String endIpAddress()

Gets the endIpAddress property: The end IP address of the server firewall rule.

abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

abstract FirewallRuleInner innerModel()

Gets the inner com.azure.resourcemanager.postgresql.fluent.models.FirewallRuleInner object.

abstract String name()

Gets the name property: The name of the resource.

abstract FirewallRule refresh()

Refreshes the resource to sync with Azure.

abstract FirewallRule refresh(Context context)

Refreshes the resource to sync with Azure.

abstract String resourceGroupName()

Gets the name of the resource group.

abstract String startIpAddress()

Gets the startIpAddress property: The start IP address of the server firewall rule.

abstract String type()

Gets the type property: The type of the resource.

abstract Update update()

Begins update for the FirewallRule resource.

Method Details

endIpAddress

public abstract String endIpAddress()

Gets the endIpAddress property: The end IP address of the server firewall rule. Must be IPv4 format.

Returns:

the endIpAddress value.

id

public abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

Returns:

the id value.

innerModel

public abstract FirewallRuleInner innerModel()

Gets the inner com.azure.resourcemanager.postgresql.fluent.models.FirewallRuleInner object.

Returns:

the inner object.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

refresh

public abstract FirewallRule refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

public abstract FirewallRule refresh(Context context)

Refreshes the resource to sync with Azure.

Parameters:

context - The context to associate with this operation.

Returns:

the refreshed resource.

resourceGroupName

public abstract String resourceGroupName()

Gets the name of the resource group.

Returns:

the name of the resource group.

startIpAddress

public abstract String startIpAddress()

Gets the startIpAddress property: The start IP address of the server firewall rule. Must be IPv4 format.

Returns:

the startIpAddress value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

update

public abstract FirewallRule.Update update()

Begins update for the FirewallRule resource.

Returns:

the stage of resource update.

Applies to