PeeringsClient Interface
public interface PeeringsClient
An instance of this class provides access to all the operations defined in PeeringsClient.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
abstract
Peering |
createOrUpdate(String resourceGroupName, String peeringName, PeeringInner peering)
Creates a new peering or updates an existing peering with the specified name under the given subscription and resource group. |
|
abstract
Response<Peering |
createOrUpdateWithResponse(String resourceGroupName, String peeringName, PeeringInner peering, Context context)
Creates a new peering or updates an existing peering with the specified name under the given subscription and resource group. |
| abstract void |
delete(String resourceGroupName, String peeringName)
Deletes an existing peering with the specified name under the given subscription and resource group. |
| abstract Response<Void> |
deleteWithResponse(String resourceGroupName, String peeringName, Context context)
Deletes 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. |
|
abstract
Peering |
update(String resourceGroupName, String peeringName, ResourceTags tags)
Updates tags for a peering with the specified name under the given subscription and resource group. |
|
abstract
Response<Peering |
updateWithResponse(String resourceGroupName, String peeringName, ResourceTags tags, Context context)
Updates tags for a peering with the specified name under the given subscription and resource group. |
Method Details
createOrUpdate
public abstract PeeringInner createOrUpdate(String resourceGroupName, String peeringName, PeeringInner peering)
Creates a new peering or updates an existing peering with the specified name under the given subscription and resource group.
Parameters:
Returns:
createOrUpdateWithResponse
public abstract Response<PeeringInner> createOrUpdateWithResponse(String resourceGroupName, String peeringName, PeeringInner peering, Context context)
Creates a new peering or updates an existing peering with the specified name under the given subscription and resource group.
Parameters:
Returns:
delete
public abstract void delete(String resourceGroupName, String peeringName)
Deletes an existing peering with the specified name under the given subscription and resource group.
Parameters:
deleteWithResponse
public abstract Response<Void> deleteWithResponse(String resourceGroupName, String peeringName, Context context)
Deletes an existing peering with the specified name under the given subscription and resource group.
Parameters:
Returns:
getByResourceGroup
public abstract PeeringInner 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<PeeringInner> 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<PeeringInner> list()
Lists all of the peerings under the given subscription.
Returns:
list
public abstract PagedIterable<PeeringInner> list(Context context)
Lists all of the peerings under the given subscription.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable<PeeringInner> listByResourceGroup(String resourceGroupName)
Lists all of the peerings under the given subscription and resource group.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable<PeeringInner> listByResourceGroup(String resourceGroupName, Context context)
Lists all of the peerings under the given subscription and resource group.
Parameters:
Returns:
update
public abstract PeeringInner update(String resourceGroupName, String peeringName, ResourceTags tags)
Updates tags for a peering with the specified name under the given subscription and resource group.
Parameters:
Returns:
updateWithResponse
public abstract Response<PeeringInner> updateWithResponse(String resourceGroupName, String peeringName, ResourceTags tags, Context context)
Updates tags for a peering with the specified name under the given subscription and resource group.
Parameters:
Returns: