Peerings Interface
public interface Peerings
Resource collection API of Peerings.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| abstract Blank |
define(String name)
Begins definition for a new Peering resource. |
| abstract void |
deleteById(String id)
Deletes an existing peering with the specified name under the given subscription and resource group. |
| abstract Response<Void> |
deleteByIdWithResponse(String id, Context context)
Deletes an existing peering with the specified name under the given subscription and resource group. |
| abstract void |
deleteByResourceGroup(String resourceGroupName, String peeringName)
Deletes an existing peering with the specified name under the given subscription and resource group. |
| abstract Response<Void> |
deleteByResourceGroupWithResponse(String resourceGroupName, String peeringName, Context context)
Deletes an existing peering with the specified name under the given subscription and resource group. |
| abstract Peering |
getById(String id)
Gets an existing peering with the specified name under the given subscription and resource group. |
| abstract Response<Peering> |
getByIdWithResponse(String id, Context context)
Gets an existing peering with the specified name under the given subscription and resource group. |
| abstract Peering |
getByResourceGroup(String resourceGroupName, String peeringName)
Gets an existing peering with the specified name under the given subscription and resource group. |
| abstract Response<Peering> |
getByResourceGroupWithResponse(String resourceGroupName, String peeringName, Context context)
Gets an existing peering with the specified name under the given subscription and resource group. |
|
abstract
Paged |
list()
Lists all of the peerings under the given subscription. |
|
abstract
Paged |
list(Context context)
Lists all of the peerings under the given subscription. |
|
abstract
Paged |
listByResourceGroup(String resourceGroupName)
Lists all of the peerings under the given subscription and resource group. |
|
abstract
Paged |
listByResourceGroup(String resourceGroupName, Context context)
Lists all of the peerings under the given subscription and resource group. |
Method Details
define
public abstract Peering.DefinitionStages.Blank define(String name)
Begins definition for a new Peering resource.
Parameters:
Returns:
deleteById
public abstract void deleteById(String id)
Deletes an existing peering with the specified name under the given subscription and resource group.
Parameters:
deleteByIdWithResponse
public abstract Response<Void> deleteByIdWithResponse(String id, Context context)
Deletes an existing peering with the specified name under the given subscription and resource group.
Parameters:
Returns:
deleteByResourceGroup
public abstract void deleteByResourceGroup(String resourceGroupName, String peeringName)
Deletes an existing peering with the specified name under the given subscription and resource group.
Parameters:
deleteByResourceGroupWithResponse
public abstract Response<Void> deleteByResourceGroupWithResponse(String resourceGroupName, String peeringName, Context context)
Deletes an existing peering with the specified name under the given subscription and resource group.
Parameters:
Returns:
getById
public abstract Peering getById(String id)
Gets an existing peering with the specified name under the given subscription and resource group.
Parameters:
Returns:
getByIdWithResponse
public abstract Response<Peering> getByIdWithResponse(String id, Context context)
Gets an existing peering with the specified name under the given subscription and resource group.
Parameters:
Returns:
getByResourceGroup
public abstract Peering getByResourceGroup(String resourceGroupName, String peeringName)
Gets an existing peering with the specified name under the given subscription and resource group.
Parameters:
Returns:
getByResourceGroupWithResponse
public abstract Response<Peering> getByResourceGroupWithResponse(String resourceGroupName, String peeringName, Context context)
Gets an existing peering with the specified name under the given subscription and resource group.
Parameters:
Returns:
list
public abstract PagedIterable<Peering> list()
Lists all of the peerings under the given subscription.
Returns:
list
public abstract PagedIterable<Peering> list(Context context)
Lists all of the peerings under the given subscription.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable<Peering> listByResourceGroup(String resourceGroupName)
Lists all of the peerings under the given subscription and resource group.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable<Peering> listByResourceGroup(String resourceGroupName, Context context)
Lists all of the peerings under the given subscription and resource group.
Parameters:
Returns: