Interface PacketCoreControlPlanesClient
public interface PacketCoreControlPlanesClient
An instance of this class provides access to all the operations defined in PacketCoreControlPlanesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PacketCoreControlPlaneInner>,
PacketCoreControlPlaneInner> beginCreateOrUpdate
(String resourceGroupName, String packetCoreControlPlaneName, PacketCoreControlPlaneInner parameters) Creates or updates a packet core control plane.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PacketCoreControlPlaneInner>,
PacketCoreControlPlaneInner> beginCreateOrUpdate
(String resourceGroupName, String packetCoreControlPlaneName, PacketCoreControlPlaneInner parameters, com.azure.core.util.Context context) Creates or updates a packet core control plane.beginDelete
(String resourceGroupName, String packetCoreControlPlaneName) Deletes the specified packet core control plane.beginDelete
(String resourceGroupName, String packetCoreControlPlaneName, com.azure.core.util.Context context) Deletes the specified packet core control plane.createOrUpdate
(String resourceGroupName, String packetCoreControlPlaneName, PacketCoreControlPlaneInner parameters) Creates or updates a packet core control plane.createOrUpdate
(String resourceGroupName, String packetCoreControlPlaneName, PacketCoreControlPlaneInner parameters, com.azure.core.util.Context context) Creates or updates a packet core control plane.void
Deletes the specified packet core control plane.void
delete
(String resourceGroupName, String packetCoreControlPlaneName, com.azure.core.util.Context context) Deletes 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<PacketCoreControlPlaneInner>
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<PacketCoreControlPlaneInner>
list()
Lists all the packet core control planes in a subscription.com.azure.core.http.rest.PagedIterable<PacketCoreControlPlaneInner>
list
(com.azure.core.util.Context context) Lists all the packet core control planes in a subscription.com.azure.core.http.rest.PagedIterable<PacketCoreControlPlaneInner>
listByResourceGroup
(String resourceGroupName) Lists all the packet core control planes in a resource group.com.azure.core.http.rest.PagedIterable<PacketCoreControlPlaneInner>
listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) Lists all the packet core control planes in a resource group.updateTags
(String resourceGroupName, String packetCoreControlPlaneName, TagsObject parameters) Updates packet core control planes tags.com.azure.core.http.rest.Response<PacketCoreControlPlaneInner>
updateTagsWithResponse
(String resourceGroupName, String packetCoreControlPlaneName, TagsObject parameters, com.azure.core.util.Context context) Updates packet core control planes tags.
-
Method Details
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String packetCoreControlPlaneName) 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.- Returns:
- the
SyncPoller
for polling of long-running 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(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.- Returns:
- the
SyncPoller
for polling of long-running 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.
-
delete
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.
-
getByResourceGroup
PacketCoreControlPlaneInner 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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<PacketCoreControlPlaneInner> 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PacketCoreControlPlaneInner>,PacketCoreControlPlaneInner> beginCreateOrUpdate(String resourceGroupName, String packetCoreControlPlaneName, PacketCoreControlPlaneInner parameters) Creates or updates 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.parameters
- Parameters supplied to the create or update packet core control plane operation.- Returns:
- the
SyncPoller
for polling of packet core control plane resource. - 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PacketCoreControlPlaneInner>,PacketCoreControlPlaneInner> beginCreateOrUpdate(String resourceGroupName, String packetCoreControlPlaneName, PacketCoreControlPlaneInner parameters, com.azure.core.util.Context context) Creates or updates 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.parameters
- Parameters supplied to the create or update packet core control plane operation.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of packet core control plane resource. - 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.
-
createOrUpdate
PacketCoreControlPlaneInner createOrUpdate(String resourceGroupName, String packetCoreControlPlaneName, PacketCoreControlPlaneInner parameters) Creates or updates 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.parameters
- Parameters supplied to the create or update packet core control plane operation.- Returns:
- packet core control plane resource.
- 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.
-
createOrUpdate
PacketCoreControlPlaneInner createOrUpdate(String resourceGroupName, String packetCoreControlPlaneName, PacketCoreControlPlaneInner parameters, com.azure.core.util.Context context) Creates or updates 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.parameters
- Parameters supplied to the create or update packet core control plane operation.context
- The context to associate with this operation.- Returns:
- packet core control plane resource.
- 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.
-
updateTags
PacketCoreControlPlaneInner updateTags(String resourceGroupName, String packetCoreControlPlaneName, TagsObject parameters) Updates packet core control planes tags.- 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 update packet core control plane tags.- Returns:
- packet core control plane resource.
- 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.
-
updateTagsWithResponse
com.azure.core.http.rest.Response<PacketCoreControlPlaneInner> updateTagsWithResponse(String resourceGroupName, String packetCoreControlPlaneName, TagsObject parameters, com.azure.core.util.Context context) Updates packet core control planes tags.- 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 update packet core control plane tags.context
- The context to associate with this operation.- Returns:
- packet core control plane resource 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.
-
list
com.azure.core.http.rest.PagedIterable<PacketCoreControlPlaneInner> 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<PacketCoreControlPlaneInner> 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<PacketCoreControlPlaneInner> 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<PacketCoreControlPlaneInner> 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.
-