Jobs Interface
public interface Jobs
Resource collection API of Jobs.
Method Summary
Method Details
bookShipmentPickUp
public abstract ShipmentPickUpResponse bookShipmentPickUp(String resourceGroupName, String jobName, ShipmentPickUpRequest shipmentPickUpRequest)
Book shipment pick up.
Parameters:
Returns:
bookShipmentPickUpWithResponse
public abstract Response<ShipmentPickUpResponse> bookShipmentPickUpWithResponse(String resourceGroupName, String jobName, ShipmentPickUpRequest shipmentPickUpRequest, Context context)
Book shipment pick up.
Parameters:
Returns:
cancel
public abstract void cancel(String resourceGroupName, String jobName, CancellationReason cancellationReason)
CancelJob.
Parameters:
cancelWithResponse
public abstract Response<Void> cancelWithResponse(String resourceGroupName, String jobName, CancellationReason cancellationReason, Context context)
CancelJob.
Parameters:
Returns:
define
public abstract JobResource.DefinitionStages.Blank define(String name)
Begins definition for a new JobResource resource.
Parameters:
Returns:
delete
public abstract void delete(String resourceGroupName, String jobName, Context context)
Deletes a job.
Parameters:
deleteById
public abstract void deleteById(String id)
Deletes a job.
Parameters:
deleteByIdWithResponse
public abstract void deleteByIdWithResponse(String id, Context context)
Deletes a job.
Parameters:
deleteByResourceGroup
public abstract void deleteByResourceGroup(String resourceGroupName, String jobName)
Deletes a job.
Parameters:
getById
public abstract JobResource getById(String id)
Gets information about the specified job.
Parameters:
Returns:
getByIdWithResponse
public abstract Response<JobResource> getByIdWithResponse(String id, String expand, Context context)
Gets information about the specified job.
Parameters:
Returns:
getByResourceGroup
public abstract JobResource getByResourceGroup(String resourceGroupName, String jobName)
Gets information about the specified job.
Parameters:
Returns:
getByResourceGroupWithResponse
public abstract Response<JobResource> getByResourceGroupWithResponse(String resourceGroupName, String jobName, String expand, Context context)
Gets information about the specified job.
Parameters:
Returns:
list
public abstract PagedIterable<JobResource> list()
Lists all the jobs available under the subscription.
Returns:
list
public abstract PagedIterable<JobResource> list(String skipToken, Context context)
Lists all the jobs available under the subscription.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable<JobResource> listByResourceGroup(String resourceGroupName)
Lists all the jobs available under the given resource group.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable<JobResource> listByResourceGroup(String resourceGroupName, String skipToken, Context context)
Lists all the jobs available under the given resource group.
Parameters:
Returns:
listCredentials
public abstract PagedIterable<UnencryptedCredentials> listCredentials(String resourceGroupName, String jobName)
This method gets the unencrypted secrets related to the job.
Parameters:
Returns:
listCredentials
public abstract PagedIterable<UnencryptedCredentials> listCredentials(String resourceGroupName, String jobName, Context context)
This method gets the unencrypted secrets related to the job.
Parameters:
Returns:
markDevicesShipped
public abstract void markDevicesShipped(String jobName, String resourceGroupName, MarkDevicesShippedRequest markDevicesShippedRequest)
Request to mark devices for a given job as shipped.
Parameters:
markDevicesShippedWithResponse
public abstract Response<Void> markDevicesShippedWithResponse(String jobName, String resourceGroupName, MarkDevicesShippedRequest markDevicesShippedRequest, Context context)
Request to mark devices for a given job as shipped.
Parameters:
Returns: