Interface DscCompilationJobs
public interface DscCompilationJobs
Resource collection API of DscCompilationJobs.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new DscCompilationJob resource.Retrieve the Dsc configuration compilation job identified by job id.Retrieve the Dsc configuration compilation job identified by job id.com.azure.core.http.rest.Response<DscCompilationJob>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Retrieve the Dsc configuration compilation job identified by job id.Retrieve the job stream identified by job stream id.com.azure.core.http.rest.Response<JobStream>
getStreamWithResponse
(String resourceGroupName, String automationAccountName, UUID jobId, String jobStreamId, com.azure.core.util.Context context) Retrieve the job stream identified by job stream id.com.azure.core.http.rest.Response<DscCompilationJob>
getWithResponse
(String resourceGroupName, String automationAccountName, String compilationJobName, com.azure.core.util.Context context) Retrieve the Dsc configuration compilation job identified by job id.com.azure.core.http.rest.PagedIterable<DscCompilationJob>
listByAutomationAccount
(String resourceGroupName, String automationAccountName) Retrieve a list of dsc compilation jobs.com.azure.core.http.rest.PagedIterable<DscCompilationJob>
listByAutomationAccount
(String resourceGroupName, String automationAccountName, String filter, com.azure.core.util.Context context) Retrieve a list of dsc compilation jobs.
-
Method Details
-
get
DscCompilationJob get(String resourceGroupName, String automationAccountName, String compilationJobName) Retrieve the Dsc configuration compilation job identified by job id.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.compilationJobName
- The DSC configuration Id.- Returns:
- definition of the Dsc Compilation job.
- 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<DscCompilationJob> getWithResponse(String resourceGroupName, String automationAccountName, String compilationJobName, com.azure.core.util.Context context) Retrieve the Dsc configuration compilation job identified by job id.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.compilationJobName
- The DSC configuration Id.context
- The context to associate with this operation.- Returns:
- definition of the Dsc Compilation job 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.
-
listByAutomationAccount
com.azure.core.http.rest.PagedIterable<DscCompilationJob> listByAutomationAccount(String resourceGroupName, String automationAccountName) Retrieve a list of dsc compilation jobs.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.- Returns:
- the response model for the list job operation 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.
-
listByAutomationAccount
com.azure.core.http.rest.PagedIterable<DscCompilationJob> listByAutomationAccount(String resourceGroupName, String automationAccountName, String filter, com.azure.core.util.Context context) Retrieve a list of dsc compilation jobs.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.filter
- The filter to apply on the operation.context
- The context to associate with this operation.- Returns:
- the response model for the list job operation 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.
-
getStream
JobStream getStream(String resourceGroupName, String automationAccountName, UUID jobId, String jobStreamId) Retrieve the job stream identified by job stream id.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.jobId
- The job id.jobStreamId
- The job stream id.- Returns:
- definition of the job stream.
- 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.
-
getStreamWithResponse
com.azure.core.http.rest.Response<JobStream> getStreamWithResponse(String resourceGroupName, String automationAccountName, UUID jobId, String jobStreamId, com.azure.core.util.Context context) Retrieve the job stream identified by job stream id.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.jobId
- The job id.jobStreamId
- The job stream id.context
- The context to associate with this operation.- Returns:
- definition of the job stream 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.
-
getById
Retrieve the Dsc configuration compilation job identified by job id.- Parameters:
id
- the resource ID.- Returns:
- definition of the Dsc Compilation job 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<DscCompilationJob> getByIdWithResponse(String id, com.azure.core.util.Context context) Retrieve the Dsc configuration compilation job identified by job id.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- definition of the Dsc Compilation job 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.
-
define
Begins definition for a new DscCompilationJob resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new DscCompilationJob definition.
-