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