DnsForwardingRulesets Interface

public interface DnsForwardingRulesets

Resource collection API of DnsForwardingRulesets.

Method Summary

Modifier and Type Method and Description
abstract Blank define(String name)

Begins definition for a new DnsForwardingRuleset resource.

abstract void delete(String resourceGroupName, String dnsForwardingRulesetName)

Deletes a DNS forwarding ruleset.

abstract void delete(String resourceGroupName, String dnsForwardingRulesetName, String ifMatch, Context context)

Deletes a DNS forwarding ruleset.

abstract void deleteById(String id)

Deletes a DNS forwarding ruleset.

abstract void deleteByIdWithResponse(String id, String ifMatch, Context context)

Deletes a DNS forwarding ruleset.

abstract DnsForwardingRuleset getById(String id)

Gets a DNS forwarding ruleset properties.

abstract Response<DnsForwardingRuleset> getByIdWithResponse(String id, Context context)

Gets a DNS forwarding ruleset properties.

abstract DnsForwardingRuleset getByResourceGroup(String resourceGroupName, String dnsForwardingRulesetName)

Gets a DNS forwarding ruleset properties.

abstract Response<DnsForwardingRuleset> getByResourceGroupWithResponse(String resourceGroupName, String dnsForwardingRulesetName, Context context)

Gets a DNS forwarding ruleset properties.

abstract PagedIterable<DnsForwardingRuleset> list()

Lists DNS forwarding rulesets in all resource groups of a subscription.

abstract PagedIterable<DnsForwardingRuleset> list(Integer top, Context context)

Lists DNS forwarding rulesets in all resource groups of a subscription.

abstract PagedIterable<DnsForwardingRuleset> listByResourceGroup(String resourceGroupName)

Lists DNS forwarding rulesets within a resource group.

abstract PagedIterable<DnsForwardingRuleset> listByResourceGroup(String resourceGroupName, Integer top, Context context)

Lists DNS forwarding rulesets within a resource group.

abstract PagedIterable<VirtualNetworkDnsForwardingRuleset> listByVirtualNetwork(String resourceGroupName, String virtualNetworkName)

Lists DNS forwarding ruleset resource IDs attached to a virtual network.

abstract PagedIterable<VirtualNetworkDnsForwardingRuleset> listByVirtualNetwork(String resourceGroupName, String virtualNetworkName, Integer top, Context context)

Lists DNS forwarding ruleset resource IDs attached to a virtual network.

Method Details

define

public abstract DnsForwardingRuleset.DefinitionStages.Blank define(String name)

Begins definition for a new DnsForwardingRuleset resource.

Parameters:

name - resource name.

Returns:

the first stage of the new DnsForwardingRuleset definition.

delete

public abstract void delete(String resourceGroupName, String dnsForwardingRulesetName)

Deletes a DNS forwarding ruleset. WARNING: This operation cannot be undone. All forwarding rules within the ruleset will be deleted.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
dnsForwardingRulesetName - The name of the DNS forwarding ruleset.

delete

public abstract void delete(String resourceGroupName, String dnsForwardingRulesetName, String ifMatch, Context context)

Deletes a DNS forwarding ruleset. WARNING: This operation cannot be undone. All forwarding rules within the ruleset will be deleted.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
dnsForwardingRulesetName - The name of the DNS forwarding ruleset.
ifMatch - ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.
context - The context to associate with this operation.

deleteById

public abstract void deleteById(String id)

Deletes a DNS forwarding ruleset. WARNING: This operation cannot be undone. All forwarding rules within the ruleset will be deleted.

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract void deleteByIdWithResponse(String id, String ifMatch, Context context)

Deletes a DNS forwarding ruleset. WARNING: This operation cannot be undone. All forwarding rules within the ruleset will be deleted.

Parameters:

id - the resource ID.
ifMatch - ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.
context - The context to associate with this operation.

getById

public abstract DnsForwardingRuleset getById(String id)

Gets a DNS forwarding ruleset properties.

Parameters:

id - the resource ID.

Returns:

a DNS forwarding ruleset properties along with Response<T>.

getByIdWithResponse

public abstract Response<DnsForwardingRuleset> getByIdWithResponse(String id, Context context)

Gets a DNS forwarding ruleset properties.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

a DNS forwarding ruleset properties along with Response<T>.

getByResourceGroup

public abstract DnsForwardingRuleset getByResourceGroup(String resourceGroupName, String dnsForwardingRulesetName)

Gets a DNS forwarding ruleset properties.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
dnsForwardingRulesetName - The name of the DNS forwarding ruleset.

Returns:

a DNS forwarding ruleset properties.

getByResourceGroupWithResponse

public abstract Response<DnsForwardingRuleset> getByResourceGroupWithResponse(String resourceGroupName, String dnsForwardingRulesetName, Context context)

Gets a DNS forwarding ruleset properties.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
dnsForwardingRulesetName - The name of the DNS forwarding ruleset.
context - The context to associate with this operation.

Returns:

a DNS forwarding ruleset properties along with Response<T>.

list

public abstract PagedIterable<DnsForwardingRuleset> list()

Lists DNS forwarding rulesets in all resource groups of a subscription.

Returns:

the response to an enumeration operation on DNS forwarding rulesets as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<DnsForwardingRuleset> list(Integer top, Context context)

Lists DNS forwarding rulesets in all resource groups of a subscription.

Parameters:

top - The maximum number of results to return. If not specified, returns up to 100 results.
context - The context to associate with this operation.

Returns:

the response to an enumeration operation on DNS forwarding rulesets as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<DnsForwardingRuleset> listByResourceGroup(String resourceGroupName)

Lists DNS forwarding rulesets within a resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.

Returns:

the response to an enumeration operation on DNS forwarding rulesets as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<DnsForwardingRuleset> listByResourceGroup(String resourceGroupName, Integer top, Context context)

Lists DNS forwarding rulesets within a resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
top - The maximum number of results to return. If not specified, returns up to 100 results.
context - The context to associate with this operation.

Returns:

the response to an enumeration operation on DNS forwarding rulesets as paginated response with PagedIterable<T>.

listByVirtualNetwork

public abstract PagedIterable<VirtualNetworkDnsForwardingRuleset> listByVirtualNetwork(String resourceGroupName, String virtualNetworkName)

Lists DNS forwarding ruleset resource IDs attached to a virtual network.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
virtualNetworkName - The name of the virtual network.

Returns:

the response to an enumeration operation on Virtual Network DNS Forwarding Ruleset as paginated response with PagedIterable<T>.

listByVirtualNetwork

public abstract PagedIterable<VirtualNetworkDnsForwardingRuleset> listByVirtualNetwork(String resourceGroupName, String virtualNetworkName, Integer top, Context context)

Lists DNS forwarding ruleset resource IDs attached to a virtual network.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
virtualNetworkName - The name of the virtual network.
top - The maximum number of results to return. If not specified, returns up to 100 results.
context - The context to associate with this operation.

Returns:

the response to an enumeration operation on Virtual Network DNS Forwarding Ruleset as paginated response with PagedIterable<T>.

Applies to