L2NetworksClient Interface

public interface L2NetworksClient

An instance of this class provides access to all the operations defined in L2NetworksClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<L2NetworkInner>,L2NetworkInner> beginCreateOrUpdate(String resourceGroupName, String l2NetworkName, L2NetworkInner l2NetworkParameters)

Create a new layer 2 (L2) network or update the properties of the existing network.

abstract SyncPoller<PollResult<L2NetworkInner>,L2NetworkInner> beginCreateOrUpdate(String resourceGroupName, String l2NetworkName, L2NetworkInner l2NetworkParameters, String ifMatch, String ifNoneMatch, Context context)

Create a new layer 2 (L2) network or update the properties of the existing network.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String l2NetworkName)

Delete the provided layer 2 (L2) network.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String l2NetworkName, String ifMatch, String ifNoneMatch, Context context)

Delete the provided layer 2 (L2) network.

abstract L2NetworkInner createOrUpdate(String resourceGroupName, String l2NetworkName, L2NetworkInner l2NetworkParameters)

Create a new layer 2 (L2) network or update the properties of the existing network.

abstract L2NetworkInner createOrUpdate(String resourceGroupName, String l2NetworkName, L2NetworkInner l2NetworkParameters, String ifMatch, String ifNoneMatch, Context context)

Create a new layer 2 (L2) network or update the properties of the existing network.

abstract void delete(String resourceGroupName, String l2NetworkName)

Delete the provided layer 2 (L2) network.

abstract void delete(String resourceGroupName, String l2NetworkName, String ifMatch, String ifNoneMatch, Context context)

Delete the provided layer 2 (L2) network.

abstract L2NetworkInner getByResourceGroup(String resourceGroupName, String l2NetworkName)

Get properties of the provided layer 2 (L2) network.

abstract Response<L2NetworkInner> getByResourceGroupWithResponse(String resourceGroupName, String l2NetworkName, Context context)

Get properties of the provided layer 2 (L2) network.

abstract PagedIterable<L2NetworkInner> list()

Get a list of layer 2 (L2) networks in the provided subscription.

abstract PagedIterable<L2NetworkInner> list(Integer top, String skipToken, Context context)

Get a list of layer 2 (L2) networks in the provided subscription.

abstract PagedIterable<L2NetworkInner> listByResourceGroup(String resourceGroupName)

Get a list of layer 2 (L2) networks in the provided resource group.

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

Get a list of layer 2 (L2) networks in the provided resource group.

abstract L2NetworkInner update(String resourceGroupName, String l2NetworkName)

Update tags associated with the provided layer 2 (L2) network.

abstract Response<L2NetworkInner> updateWithResponse(String resourceGroupName, String l2NetworkName, String ifMatch, String ifNoneMatch, L2NetworkPatchParameters l2NetworkUpdateParameters, Context context)

Update tags associated with the provided layer 2 (L2) network.

Method Details

beginCreateOrUpdate

public abstract SyncPoller<PollResult<L2NetworkInner>,L2NetworkInner> beginCreateOrUpdate(String resourceGroupName, String l2NetworkName, L2NetworkInner l2NetworkParameters)

Create a new layer 2 (L2) network or update the properties of the existing network.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
l2NetworkName - The name of the L2 network.
l2NetworkParameters - The request body.

Returns:

the SyncPoller<T,U> for polling of l2Network represents a network that utilizes a single isolation domain set up for layer-2 resources.

beginCreateOrUpdate

public abstract SyncPoller<PollResult<L2NetworkInner>,L2NetworkInner> beginCreateOrUpdate(String resourceGroupName, String l2NetworkName, L2NetworkInner l2NetworkParameters, String ifMatch, String ifNoneMatch, Context context)

Create a new layer 2 (L2) network or update the properties of the existing network.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
l2NetworkName - The name of the L2 network.
l2NetworkParameters - The request body.
ifMatch - The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.
ifNoneMatch - Set to '*' to allow a new record set to be created, but to prevent updating an existing resource. Other values will result in error from server as they are not supported.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of l2Network represents a network that utilizes a single isolation domain set up for layer-2 resources.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String l2NetworkName)

Delete the provided layer 2 (L2) network.

Parameters:

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

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String l2NetworkName, String ifMatch, String ifNoneMatch, Context context)

Delete the provided layer 2 (L2) network.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
l2NetworkName - The name of the L2 network.
ifMatch - The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.
ifNoneMatch - Set to '*' to allow a new record set to be created, but to prevent updating an existing resource. Other values will result in error from server as they are not supported.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

createOrUpdate

public abstract L2NetworkInner createOrUpdate(String resourceGroupName, String l2NetworkName, L2NetworkInner l2NetworkParameters)

Create a new layer 2 (L2) network or update the properties of the existing network.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
l2NetworkName - The name of the L2 network.
l2NetworkParameters - The request body.

Returns:

l2Network represents a network that utilizes a single isolation domain set up for layer-2 resources.

createOrUpdate

public abstract L2NetworkInner createOrUpdate(String resourceGroupName, String l2NetworkName, L2NetworkInner l2NetworkParameters, String ifMatch, String ifNoneMatch, Context context)

Create a new layer 2 (L2) network or update the properties of the existing network.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
l2NetworkName - The name of the L2 network.
l2NetworkParameters - The request body.
ifMatch - The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.
ifNoneMatch - Set to '*' to allow a new record set to be created, but to prevent updating an existing resource. Other values will result in error from server as they are not supported.
context - The context to associate with this operation.

Returns:

l2Network represents a network that utilizes a single isolation domain set up for layer-2 resources.

delete

public abstract void delete(String resourceGroupName, String l2NetworkName)

Delete the provided layer 2 (L2) network.

Parameters:

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

delete

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

Delete the provided layer 2 (L2) network.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
l2NetworkName - The name of the L2 network.
ifMatch - The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.
ifNoneMatch - Set to '*' to allow a new record set to be created, but to prevent updating an existing resource. Other values will result in error from server as they are not supported.
context - The context to associate with this operation.

getByResourceGroup

public abstract L2NetworkInner getByResourceGroup(String resourceGroupName, String l2NetworkName)

Get properties of the provided layer 2 (L2) network.

Parameters:

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

Returns:

properties of the provided layer 2 (L2) network.

getByResourceGroupWithResponse

public abstract Response<L2NetworkInner> getByResourceGroupWithResponse(String resourceGroupName, String l2NetworkName, Context context)

Get properties of the provided layer 2 (L2) network.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
l2NetworkName - The name of the L2 network.
context - The context to associate with this operation.

Returns:

properties of the provided layer 2 (L2) network along with Response<T>.

list

public abstract PagedIterable<L2NetworkInner> list()

Get a list of layer 2 (L2) networks in the provided subscription.

Returns:

a list of layer 2 (L2) networks in the provided subscription as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<L2NetworkInner> list(Integer top, String skipToken, Context context)

Get a list of layer 2 (L2) networks in the provided subscription.

Parameters:

top - The maximum number of resources to return from the operation. Example: '$top=10'.
skipToken - The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
context - The context to associate with this operation.

Returns:

a list of layer 2 (L2) networks in the provided subscription as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<L2NetworkInner> listByResourceGroup(String resourceGroupName)

Get a list of layer 2 (L2) networks in the provided resource group.

Parameters:

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

Returns:

a list of layer 2 (L2) networks in the provided resource group as paginated response with PagedIterable<T>.

listByResourceGroup

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

Get a list of layer 2 (L2) networks in the provided resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
top - The maximum number of resources to return from the operation. Example: '$top=10'.
skipToken - The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
context - The context to associate with this operation.

Returns:

a list of layer 2 (L2) networks in the provided resource group as paginated response with PagedIterable<T>.

update

public abstract L2NetworkInner update(String resourceGroupName, String l2NetworkName)

Update tags associated with the provided layer 2 (L2) network.

Parameters:

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

Returns:

l2Network represents a network that utilizes a single isolation domain set up for layer-2 resources.

updateWithResponse

public abstract Response<L2NetworkInner> updateWithResponse(String resourceGroupName, String l2NetworkName, String ifMatch, String ifNoneMatch, L2NetworkPatchParameters l2NetworkUpdateParameters, Context context)

Update tags associated with the provided layer 2 (L2) network.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
l2NetworkName - The name of the L2 network.
ifMatch - The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.
ifNoneMatch - Set to '*' to allow a new record set to be created, but to prevent updating an existing resource. Other values will result in error from server as they are not supported.
l2NetworkUpdateParameters - The request body.
context - The context to associate with this operation.

Returns:

l2Network represents a network that utilizes a single isolation domain set up for layer-2 resources along with Response<T>.

Applies to