Interface PacketCoreDataPlanes
-
public interface PacketCoreDataPlanes
Resource collection API of PacketCoreDataPlanes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PacketCoreDataPlane.DefinitionStages.Blank
define(String name)
Begins definition for a new PacketCoreDataPlane resource.void
delete(String resourceGroupName, String packetCoreControlPlaneName, String packetCoreDataPlaneName)
Deletes the specified packet core data plane.void
delete(String resourceGroupName, String packetCoreControlPlaneName, String packetCoreDataPlaneName, com.azure.core.util.Context context)
Deletes the specified packet core data plane.void
deleteById(String id)
Deletes the specified packet core data plane.void
deleteByIdWithResponse(String id, com.azure.core.util.Context context)
Deletes the specified packet core data plane.PacketCoreDataPlane
get(String resourceGroupName, String packetCoreControlPlaneName, String packetCoreDataPlaneName)
Gets information about the specified packet core data plane.PacketCoreDataPlane
getById(String id)
Gets information about the specified packet core data plane.com.azure.core.http.rest.Response<PacketCoreDataPlane>
getByIdWithResponse(String id, com.azure.core.util.Context context)
Gets information about the specified packet core data plane.com.azure.core.http.rest.Response<PacketCoreDataPlane>
getWithResponse(String resourceGroupName, String packetCoreControlPlaneName, String packetCoreDataPlaneName, com.azure.core.util.Context context)
Gets information about the specified packet core data plane.com.azure.core.http.rest.PagedIterable<PacketCoreDataPlane>
listByPacketCoreControlPlane(String resourceGroupName, String packetCoreControlPlaneName)
Lists all the packetCoreDataPlanes associated with a packetCoreControlPlane.com.azure.core.http.rest.PagedIterable<PacketCoreDataPlane>
listByPacketCoreControlPlane(String resourceGroupName, String packetCoreControlPlaneName, com.azure.core.util.Context context)
Lists all the packetCoreDataPlanes associated with a packetCoreControlPlane.
-
-
-
Method Detail
-
delete
void delete(String resourceGroupName, String packetCoreControlPlaneName, String packetCoreDataPlaneName)
Deletes the specified packet core data plane.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.packetCoreControlPlaneName
- The name of the packet core control plane.packetCoreDataPlaneName
- The name of the packet core data plane.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delete
void delete(String resourceGroupName, String packetCoreControlPlaneName, String packetCoreDataPlaneName, com.azure.core.util.Context context)
Deletes the specified packet core data plane.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.packetCoreControlPlaneName
- The name of the packet core control plane.packetCoreDataPlaneName
- The name of the packet core data plane.context
- The context to associate with this operation.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
get
PacketCoreDataPlane get(String resourceGroupName, String packetCoreControlPlaneName, String packetCoreDataPlaneName)
Gets information about the specified packet core data plane.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.packetCoreControlPlaneName
- The name of the packet core control plane.packetCoreDataPlaneName
- The name of the packet core data plane.- Returns:
- information about the specified packet core data plane.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<PacketCoreDataPlane> getWithResponse(String resourceGroupName, String packetCoreControlPlaneName, String packetCoreDataPlaneName, com.azure.core.util.Context context)
Gets information about the specified packet core data plane.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.packetCoreControlPlaneName
- The name of the packet core control plane.packetCoreDataPlaneName
- The name of the packet core data plane.context
- The context to associate with this operation.- Returns:
- information about the specified packet core data plane along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listByPacketCoreControlPlane
com.azure.core.http.rest.PagedIterable<PacketCoreDataPlane> listByPacketCoreControlPlane(String resourceGroupName, String packetCoreControlPlaneName)
Lists all the packetCoreDataPlanes associated with a packetCoreControlPlane.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.packetCoreControlPlaneName
- The name of the packet core control plane.- Returns:
- response for packet core data planes API service call as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listByPacketCoreControlPlane
com.azure.core.http.rest.PagedIterable<PacketCoreDataPlane> listByPacketCoreControlPlane(String resourceGroupName, String packetCoreControlPlaneName, com.azure.core.util.Context context)
Lists all the packetCoreDataPlanes associated with a packetCoreControlPlane.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.packetCoreControlPlaneName
- The name of the packet core control plane.context
- The context to associate with this operation.- Returns:
- response for packet core data planes API service call as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getById
PacketCoreDataPlane getById(String id)
Gets information about the specified packet core data plane.- Parameters:
id
- the resource ID.- Returns:
- information about the specified packet core data plane along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getByIdWithResponse
com.azure.core.http.rest.Response<PacketCoreDataPlane> getByIdWithResponse(String id, com.azure.core.util.Context context)
Gets information about the specified packet core data plane.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- information about the specified packet core data plane along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteById
void deleteById(String id)
Deletes the specified packet core data plane.- Parameters:
id
- the resource ID.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteByIdWithResponse
void deleteByIdWithResponse(String id, com.azure.core.util.Context context)
Deletes the specified packet core data plane.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
define
PacketCoreDataPlane.DefinitionStages.Blank define(String name)
Begins definition for a new PacketCoreDataPlane resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new PacketCoreDataPlane definition.
-
-