VirtualNetworkLinks Interface

public interface VirtualNetworkLinks

Resource collection API of VirtualNetworkLinks.

Method Summary

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

Begins definition for a new VirtualNetworkLink resource.

abstract void delete(String resourceGroupName, String dnsForwardingRulesetName, String virtualNetworkLinkName)

Deletes a virtual network link to a DNS forwarding ruleset.

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

Deletes a virtual network link to a DNS forwarding ruleset.

abstract void deleteById(String id)

Deletes a virtual network link to a DNS forwarding ruleset.

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

Deletes a virtual network link to a DNS forwarding ruleset.

abstract VirtualNetworkLink get(String resourceGroupName, String dnsForwardingRulesetName, String virtualNetworkLinkName)

Gets properties of a virtual network link to a DNS forwarding ruleset.

abstract VirtualNetworkLink getById(String id)

Gets properties of a virtual network link to a DNS forwarding ruleset.

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

Gets properties of a virtual network link to a DNS forwarding ruleset.

abstract Response<VirtualNetworkLink> getWithResponse(String resourceGroupName, String dnsForwardingRulesetName, String virtualNetworkLinkName, Context context)

Gets properties of a virtual network link to a DNS forwarding ruleset.

abstract PagedIterable<VirtualNetworkLink> list(String resourceGroupName, String dnsForwardingRulesetName)

Lists virtual network links to a DNS forwarding ruleset.

abstract PagedIterable<VirtualNetworkLink> list(String resourceGroupName, String dnsForwardingRulesetName, Integer top, Context context)

Lists virtual network links to a DNS forwarding ruleset.

Method Details

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

Begins definition for a new VirtualNetworkLink resource.

Parameters:

name - resource name.

Returns:

the first stage of the new VirtualNetworkLink definition.

public abstract void delete(String resourceGroupName, String dnsForwardingRulesetName, String virtualNetworkLinkName)

Deletes a virtual network link to a DNS forwarding ruleset. WARNING: This operation cannot be undone.

Parameters:

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

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

Deletes a virtual network link to a DNS forwarding ruleset. WARNING: This operation cannot be undone.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
dnsForwardingRulesetName - The name of the DNS forwarding ruleset.
virtualNetworkLinkName - The name of the virtual network link.
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.

public abstract void deleteById(String id)

Deletes a virtual network link to a DNS forwarding ruleset. WARNING: This operation cannot be undone.

Parameters:

id - the resource ID.

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

Deletes a virtual network link to a DNS forwarding ruleset. WARNING: This operation cannot be undone.

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.

public abstract VirtualNetworkLink get(String resourceGroupName, String dnsForwardingRulesetName, String virtualNetworkLinkName)

Gets properties of a virtual network link to a DNS forwarding ruleset.

Parameters:

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

Returns:

properties of a virtual network link to a DNS forwarding ruleset.

public abstract VirtualNetworkLink getById(String id)

Gets properties of a virtual network link to a DNS forwarding ruleset.

Parameters:

id - the resource ID.

Returns:

properties of a virtual network link to a DNS forwarding ruleset along with Response<T>.

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

Gets properties of a virtual network link to a DNS forwarding ruleset.

Parameters:

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

Returns:

properties of a virtual network link to a DNS forwarding ruleset along with Response<T>.

public abstract Response<VirtualNetworkLink> getWithResponse(String resourceGroupName, String dnsForwardingRulesetName, String virtualNetworkLinkName, Context context)

Gets properties of a virtual network link to a DNS forwarding ruleset.

Parameters:

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

Returns:

properties of a virtual network link to a DNS forwarding ruleset along with Response<T>.

public abstract PagedIterable<VirtualNetworkLink> list(String resourceGroupName, String dnsForwardingRulesetName)

Lists virtual network links to a DNS forwarding ruleset.

Parameters:

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

Returns:

the response to an enumeration operation on virtual network links as paginated response with PagedIterable<T>.

public abstract PagedIterable<VirtualNetworkLink> list(String resourceGroupName, String dnsForwardingRulesetName, Integer top, Context context)

Lists virtual network links to a DNS forwarding ruleset.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
dnsForwardingRulesetName - The name of the DNS forwarding ruleset.
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 links as paginated response with PagedIterable<T>.

Applies to