Interface AttachedDataNetworks


public interface AttachedDataNetworks
Resource collection API of AttachedDataNetworks.
  • Method Details

    • 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

      AttachedDataNetwork 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<AttachedDataNetwork> 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.
    • listByPacketCoreDataPlane

      com.azure.core.http.rest.PagedIterable<AttachedDataNetwork> 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<AttachedDataNetwork> 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.
    • getById

      Gets information about the specified attached data network.
      Parameters:
      id - the resource ID.
      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.
    • getByIdWithResponse

      com.azure.core.http.rest.Response<AttachedDataNetwork> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Gets information about the specified attached data network.
      Parameters:
      id - the resource ID.
      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.
    • deleteById

      void deleteById(String id)
      Deletes the specified attached data network.
      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 attached data network.
      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 AttachedDataNetwork resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new AttachedDataNetwork definition.