Interface PacketCoreDataPlanes
public interface PacketCoreDataPlanes
Resource collection API of PacketCoreDataPlanes.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new PacketCoreDataPlane resource.void
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.Gets information about the specified packet core data plane.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 packet core data planes associated with a packet core control plane.com.azure.core.http.rest.PagedIterable<PacketCoreDataPlane>
listByPacketCoreControlPlane
(String resourceGroupName, String packetCoreControlPlaneName, com.azure.core.util.Context context) Lists all the packet core data planes associated with a packet core control plane.
-
Method Details
-
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 packet core data planes associated with a packet core control plane.- 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 packet core data planes associated with a packet core control plane.- 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
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
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
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
Begins definition for a new PacketCoreDataPlane resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new PacketCoreDataPlane definition.
-