Interface PacketCoreControlPlanes
public interface PacketCoreControlPlanes
Resource collection API of PacketCoreControlPlanes.
-
Method Summary
Modifier and TypeMethodDescriptioncollectDiagnosticsPackage
(String resourceGroupName, String packetCoreControlPlaneName, PacketCoreControlPlaneCollectDiagnosticsPackage parameters) Collect a diagnostics package for the specified packet core control plane.collectDiagnosticsPackage
(String resourceGroupName, String packetCoreControlPlaneName, PacketCoreControlPlaneCollectDiagnosticsPackage parameters, com.azure.core.util.Context context) Collect a diagnostics package for the specified packet core control plane.Begins definition for a new PacketCoreControlPlane resource.void
delete
(String resourceGroupName, String packetCoreControlPlaneName, com.azure.core.util.Context context) Deletes the specified packet core control plane.void
deleteById
(String id) Deletes the specified packet core control plane.void
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Deletes the specified packet core control plane.void
deleteByResourceGroup
(String resourceGroupName, String packetCoreControlPlaneName) Deletes the specified packet core control plane.Gets information about the specified packet core control plane.com.azure.core.http.rest.Response<PacketCoreControlPlane>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Gets information about the specified packet core control plane.getByResourceGroup
(String resourceGroupName, String packetCoreControlPlaneName) Gets information about the specified packet core control plane.com.azure.core.http.rest.Response<PacketCoreControlPlane>
getByResourceGroupWithResponse
(String resourceGroupName, String packetCoreControlPlaneName, com.azure.core.util.Context context) Gets information about the specified packet core control plane.com.azure.core.http.rest.PagedIterable<PacketCoreControlPlane>
list()
Lists all the packet core control planes in a subscription.com.azure.core.http.rest.PagedIterable<PacketCoreControlPlane>
list
(com.azure.core.util.Context context) Lists all the packet core control planes in a subscription.com.azure.core.http.rest.PagedIterable<PacketCoreControlPlane>
listByResourceGroup
(String resourceGroupName) Lists all the packet core control planes in a resource group.com.azure.core.http.rest.PagedIterable<PacketCoreControlPlane>
listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) Lists all the packet core control planes in a resource group.Reinstall the specified packet core control plane.reinstall
(String resourceGroupName, String packetCoreControlPlaneName, com.azure.core.util.Context context) Reinstall the specified packet core control plane.Roll back the specified packet core control plane to the previous version, "rollbackVersion".rollback
(String resourceGroupName, String packetCoreControlPlaneName, com.azure.core.util.Context context) Roll back the specified packet core control plane to the previous version, "rollbackVersion".
-
Method Details
-
deleteByResourceGroup
Deletes the specified 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.- 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, com.azure.core.util.Context context) Deletes the specified 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.- 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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<PacketCoreControlPlane> getByResourceGroupWithResponse(String resourceGroupName, String packetCoreControlPlaneName, com.azure.core.util.Context context) Gets information about the specified 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:
- information about the specified packet core control 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.
-
getByResourceGroup
PacketCoreControlPlane getByResourceGroup(String resourceGroupName, String packetCoreControlPlaneName) Gets information about the specified 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:
- information about the specified packet core control 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.
-
list
com.azure.core.http.rest.PagedIterable<PacketCoreControlPlane> list()Lists all the packet core control planes in a subscription.- Returns:
- response for packet core control planes API service call as paginated response with
PagedIterable
. - Throws:
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.
-
list
com.azure.core.http.rest.PagedIterable<PacketCoreControlPlane> list(com.azure.core.util.Context context) Lists all the packet core control planes in a subscription.- Parameters:
context
- The context to associate with this operation.- Returns:
- response for packet core control 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<PacketCoreControlPlane> listByResourceGroup(String resourceGroupName) Lists all the packet core control planes in a resource group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.- Returns:
- response for packet core control 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<PacketCoreControlPlane> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Lists all the packet core control planes in a resource group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.context
- The context to associate with this operation.- Returns:
- response for packet core control 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.
-
rollback
Roll back the specified packet core control plane to the previous version, "rollbackVersion". Multiple consecutive rollbacks are not possible. This action may cause a service outage.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.packetCoreControlPlaneName
- The name of the packet core control plane.- Returns:
- the current status of an async 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.
-
rollback
AsyncOperationStatus rollback(String resourceGroupName, String packetCoreControlPlaneName, com.azure.core.util.Context context) Roll back the specified packet core control plane to the previous version, "rollbackVersion". Multiple consecutive rollbacks are not possible. This action may cause a service outage.- 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:
- the current status of an async 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.
-
reinstall
Reinstall the specified packet core control plane. This action will remove any transaction state from the packet core to return it to a known state. This action will cause a service outage.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.packetCoreControlPlaneName
- The name of the packet core control plane.- Returns:
- the current status of an async 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.
-
reinstall
AsyncOperationStatus reinstall(String resourceGroupName, String packetCoreControlPlaneName, com.azure.core.util.Context context) Reinstall the specified packet core control plane. This action will remove any transaction state from the packet core to return it to a known state. This action will cause a service outage.- 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:
- the current status of an async 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.
-
collectDiagnosticsPackage
AsyncOperationStatus collectDiagnosticsPackage(String resourceGroupName, String packetCoreControlPlaneName, PacketCoreControlPlaneCollectDiagnosticsPackage parameters) Collect a diagnostics package for the specified packet core control plane. This action will upload the diagnostics to a storage account.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.packetCoreControlPlaneName
- The name of the packet core control plane.parameters
- Parameters supplied to the packet core control plane collect diagnostics package operation.- Returns:
- the current status of an async 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.
-
collectDiagnosticsPackage
AsyncOperationStatus collectDiagnosticsPackage(String resourceGroupName, String packetCoreControlPlaneName, PacketCoreControlPlaneCollectDiagnosticsPackage parameters, com.azure.core.util.Context context) Collect a diagnostics package for the specified packet core control plane. This action will upload the diagnostics to a storage account.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.packetCoreControlPlaneName
- The name of the packet core control plane.parameters
- Parameters supplied to the packet core control plane collect diagnostics package operation.context
- The context to associate with this operation.- Returns:
- the current status of an async 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.
-
getById
Gets information about the specified packet core control plane.- Parameters:
id
- the resource ID.- Returns:
- information about the specified packet core control 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<PacketCoreControlPlane> getByIdWithResponse(String id, com.azure.core.util.Context context) Gets information about the specified packet core control plane.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- information about the specified packet core control 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 control 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 control 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 PacketCoreControlPlane resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new PacketCoreControlPlane definition.
-