Interface AttachedDataNetworksClient
public interface AttachedDataNetworksClient
An instance of this class provides access to all the operations defined in AttachedDataNetworksClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AttachedDataNetworkInner>,
AttachedDataNetworkInner> beginCreateOrUpdate
(String resourceGroupName, String packetCoreControlPlaneName, String packetCoreDataPlaneName, String attachedDataNetworkName, AttachedDataNetworkInner parameters) Creates or updates an attached data network.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AttachedDataNetworkInner>,
AttachedDataNetworkInner> beginCreateOrUpdate
(String resourceGroupName, String packetCoreControlPlaneName, String packetCoreDataPlaneName, String attachedDataNetworkName, AttachedDataNetworkInner parameters, com.azure.core.util.Context context) Creates or updates an attached data network.beginDelete
(String resourceGroupName, String packetCoreControlPlaneName, String packetCoreDataPlaneName, String attachedDataNetworkName) Deletes the specified attached data network.beginDelete
(String resourceGroupName, String packetCoreControlPlaneName, String packetCoreDataPlaneName, String attachedDataNetworkName, com.azure.core.util.Context context) Deletes the specified attached data network.createOrUpdate
(String resourceGroupName, String packetCoreControlPlaneName, String packetCoreDataPlaneName, String attachedDataNetworkName, AttachedDataNetworkInner parameters) Creates or updates an attached data network.createOrUpdate
(String resourceGroupName, String packetCoreControlPlaneName, String packetCoreDataPlaneName, String attachedDataNetworkName, AttachedDataNetworkInner parameters, com.azure.core.util.Context context) Creates or updates an attached data network.void
delete
(String resourceGroupName, String packetCoreControlPlaneName, String packetCoreDataPlaneName, String attachedDataNetworkName) Deletes the specified attached data network.void
delete
(String resourceGroupName, String packetCoreControlPlaneName, String packetCoreDataPlaneName, String attachedDataNetworkName, com.azure.core.util.Context context) Deletes the specified attached data network.get
(String resourceGroupName, String packetCoreControlPlaneName, String packetCoreDataPlaneName, String attachedDataNetworkName) Gets information about the specified attached data network.com.azure.core.http.rest.Response<AttachedDataNetworkInner>
getWithResponse
(String resourceGroupName, String packetCoreControlPlaneName, String packetCoreDataPlaneName, String attachedDataNetworkName, com.azure.core.util.Context context) Gets information about the specified attached data network.com.azure.core.http.rest.PagedIterable<AttachedDataNetworkInner>
listByPacketCoreDataPlane
(String resourceGroupName, String packetCoreControlPlaneName, String packetCoreDataPlaneName) Gets all the attached data networks associated with a packet core data plane.com.azure.core.http.rest.PagedIterable<AttachedDataNetworkInner>
listByPacketCoreDataPlane
(String resourceGroupName, String packetCoreControlPlaneName, String packetCoreDataPlaneName, com.azure.core.util.Context context) Gets all the attached data networks associated with a packet core data plane.updateTags
(String resourceGroupName, String packetCoreControlPlaneName, String packetCoreDataPlaneName, String attachedDataNetworkName, TagsObject parameters) Updates an attached data network tags.com.azure.core.http.rest.Response<AttachedDataNetworkInner>
updateTagsWithResponse
(String resourceGroupName, String packetCoreControlPlaneName, String packetCoreDataPlaneName, String attachedDataNetworkName, TagsObject parameters, com.azure.core.util.Context context) Updates an attached data network tags.
-
Method Details
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String packetCoreControlPlaneName, String packetCoreDataPlaneName, String attachedDataNetworkName) Deletes the specified attached data network.- 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.attachedDataNetworkName
- The name of the attached data network.- 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, String packetCoreDataPlaneName, String attachedDataNetworkName, com.azure.core.util.Context context) Deletes the specified attached data network.- 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.attachedDataNetworkName
- The name of the attached data network.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
void delete(String resourceGroupName, String packetCoreControlPlaneName, String packetCoreDataPlaneName, String attachedDataNetworkName) Deletes the specified attached data network.- 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.attachedDataNetworkName
- The name of the attached data network.- 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, String attachedDataNetworkName, com.azure.core.util.Context context) Deletes the specified attached data network.- 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.attachedDataNetworkName
- The name of the attached data network.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
AttachedDataNetworkInner get(String resourceGroupName, String packetCoreControlPlaneName, String packetCoreDataPlaneName, String attachedDataNetworkName) Gets information about the specified attached data network.- 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.attachedDataNetworkName
- The name of the attached data network.- Returns:
- information about the specified attached data network.
- 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<AttachedDataNetworkInner> getWithResponse(String resourceGroupName, String packetCoreControlPlaneName, String packetCoreDataPlaneName, String attachedDataNetworkName, com.azure.core.util.Context context) Gets information about the specified attached data network.- 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.attachedDataNetworkName
- The name of the attached data network.context
- The context to associate with this operation.- Returns:
- information about the specified attached data network 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<AttachedDataNetworkInner>,AttachedDataNetworkInner> beginCreateOrUpdate(String resourceGroupName, String packetCoreControlPlaneName, String packetCoreDataPlaneName, String attachedDataNetworkName, AttachedDataNetworkInner parameters) Creates or updates an attached data network.- 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.attachedDataNetworkName
- The name of the attached data network.parameters
- Parameters supplied to the create or update attached data network operation.- Returns:
- the
SyncPoller
for polling of attached data network 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<AttachedDataNetworkInner>,AttachedDataNetworkInner> beginCreateOrUpdate(String resourceGroupName, String packetCoreControlPlaneName, String packetCoreDataPlaneName, String attachedDataNetworkName, AttachedDataNetworkInner parameters, com.azure.core.util.Context context) Creates or updates an attached data network.- 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.attachedDataNetworkName
- The name of the attached data network.parameters
- Parameters supplied to the create or update attached data network operation.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of attached data network 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
AttachedDataNetworkInner createOrUpdate(String resourceGroupName, String packetCoreControlPlaneName, String packetCoreDataPlaneName, String attachedDataNetworkName, AttachedDataNetworkInner parameters) Creates or updates an attached data network.- 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.attachedDataNetworkName
- The name of the attached data network.parameters
- Parameters supplied to the create or update attached data network operation.- Returns:
- attached data network 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
AttachedDataNetworkInner createOrUpdate(String resourceGroupName, String packetCoreControlPlaneName, String packetCoreDataPlaneName, String attachedDataNetworkName, AttachedDataNetworkInner parameters, com.azure.core.util.Context context) Creates or updates an attached data network.- 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.attachedDataNetworkName
- The name of the attached data network.parameters
- Parameters supplied to the create or update attached data network operation.context
- The context to associate with this operation.- Returns:
- attached data network 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
AttachedDataNetworkInner updateTags(String resourceGroupName, String packetCoreControlPlaneName, String packetCoreDataPlaneName, String attachedDataNetworkName, TagsObject parameters) Updates an attached data network tags.- 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.attachedDataNetworkName
- The name of the attached data network.parameters
- Parameters supplied to update attached data network tags.- Returns:
- attached data network 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<AttachedDataNetworkInner> updateTagsWithResponse(String resourceGroupName, String packetCoreControlPlaneName, String packetCoreDataPlaneName, String attachedDataNetworkName, TagsObject parameters, com.azure.core.util.Context context) Updates an attached data network tags.- 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.attachedDataNetworkName
- The name of the attached data network.parameters
- Parameters supplied to update attached data network tags.context
- The context to associate with this operation.- Returns:
- attached data network 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.
-
listByPacketCoreDataPlane
com.azure.core.http.rest.PagedIterable<AttachedDataNetworkInner> listByPacketCoreDataPlane(String resourceGroupName, String packetCoreControlPlaneName, String packetCoreDataPlaneName) Gets all the attached data networks associated with a 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:
- all the attached data networks associated with a packet core data plane 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.
-
listByPacketCoreDataPlane
com.azure.core.http.rest.PagedIterable<AttachedDataNetworkInner> listByPacketCoreDataPlane(String resourceGroupName, String packetCoreControlPlaneName, String packetCoreDataPlaneName, com.azure.core.util.Context context) Gets all the attached data networks associated with a 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:
- all the attached data networks associated with a packet core data plane 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.
-