Interface BandwidthSchedulesClient


public interface BandwidthSchedulesClient
An instance of this class provides access to all the operations defined in BandwidthSchedulesClient.
  • Method Details

    • listByDataBoxEdgeDevice

      com.azure.core.http.rest.PagedIterable<BandwidthScheduleInner> listByDataBoxEdgeDevice(String deviceName, String resourceGroupName)
      Gets all the bandwidth schedules for a Data Box Edge/Data Box Gateway device.
      Parameters:
      deviceName - The device name.
      resourceGroupName - The resource group name.
      Returns:
      all the bandwidth schedules for a Data Box Edge/Data Box Gateway device 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.
    • listByDataBoxEdgeDevice

      com.azure.core.http.rest.PagedIterable<BandwidthScheduleInner> listByDataBoxEdgeDevice(String deviceName, String resourceGroupName, com.azure.core.util.Context context)
      Gets all the bandwidth schedules for a Data Box Edge/Data Box Gateway device.
      Parameters:
      deviceName - The device name.
      resourceGroupName - The resource group name.
      context - The context to associate with this operation.
      Returns:
      all the bandwidth schedules for a Data Box Edge/Data Box Gateway device 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.
    • getWithResponse

      com.azure.core.http.rest.Response<BandwidthScheduleInner> getWithResponse(String deviceName, String name, String resourceGroupName, com.azure.core.util.Context context)
      Gets the properties of the specified bandwidth schedule.
      Parameters:
      deviceName - The device name.
      name - The bandwidth schedule name.
      resourceGroupName - The resource group name.
      context - The context to associate with this operation.
      Returns:
      the properties of the specified bandwidth schedule 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.
    • get

      BandwidthScheduleInner get(String deviceName, String name, String resourceGroupName)
      Gets the properties of the specified bandwidth schedule.
      Parameters:
      deviceName - The device name.
      name - The bandwidth schedule name.
      resourceGroupName - The resource group name.
      Returns:
      the properties of the specified bandwidth schedule.
      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<BandwidthScheduleInner>,BandwidthScheduleInner> beginCreateOrUpdate(String deviceName, String name, String resourceGroupName, BandwidthScheduleInner parameters)
      Creates or updates a bandwidth schedule.
      Parameters:
      deviceName - The device name.
      name - The bandwidth schedule name which needs to be added/updated.
      resourceGroupName - The resource group name.
      parameters - The bandwidth schedule to be added or updated.
      Returns:
      the SyncPoller for polling of the bandwidth schedule details.
      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<BandwidthScheduleInner>,BandwidthScheduleInner> beginCreateOrUpdate(String deviceName, String name, String resourceGroupName, BandwidthScheduleInner parameters, com.azure.core.util.Context context)
      Creates or updates a bandwidth schedule.
      Parameters:
      deviceName - The device name.
      name - The bandwidth schedule name which needs to be added/updated.
      resourceGroupName - The resource group name.
      parameters - The bandwidth schedule to be added or updated.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of the bandwidth schedule details.
      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

      BandwidthScheduleInner createOrUpdate(String deviceName, String name, String resourceGroupName, BandwidthScheduleInner parameters)
      Creates or updates a bandwidth schedule.
      Parameters:
      deviceName - The device name.
      name - The bandwidth schedule name which needs to be added/updated.
      resourceGroupName - The resource group name.
      parameters - The bandwidth schedule to be added or updated.
      Returns:
      the bandwidth schedule details.
      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

      BandwidthScheduleInner createOrUpdate(String deviceName, String name, String resourceGroupName, BandwidthScheduleInner parameters, com.azure.core.util.Context context)
      Creates or updates a bandwidth schedule.
      Parameters:
      deviceName - The device name.
      name - The bandwidth schedule name which needs to be added/updated.
      resourceGroupName - The resource group name.
      parameters - The bandwidth schedule to be added or updated.
      context - The context to associate with this operation.
      Returns:
      the bandwidth schedule details.
      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 deviceName, String name, String resourceGroupName)
      Deletes the specified bandwidth schedule.
      Parameters:
      deviceName - The device name.
      name - The bandwidth schedule name.
      resourceGroupName - The resource group name.
      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 deviceName, String name, String resourceGroupName, com.azure.core.util.Context context)
      Deletes the specified bandwidth schedule.
      Parameters:
      deviceName - The device name.
      name - The bandwidth schedule name.
      resourceGroupName - The resource group name.
      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 deviceName, String name, String resourceGroupName)
      Deletes the specified bandwidth schedule.
      Parameters:
      deviceName - The device name.
      name - The bandwidth schedule name.
      resourceGroupName - The resource group name.
      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 deviceName, String name, String resourceGroupName, com.azure.core.util.Context context)
      Deletes the specified bandwidth schedule.
      Parameters:
      deviceName - The device name.
      name - The bandwidth schedule name.
      resourceGroupName - The resource group name.
      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.