Interface DscCompilationJobsClient
public interface DscCompilationJobsClient
An instance of this class provides access to all the operations defined in DscCompilationJobsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DscCompilationJobInner>,
DscCompilationJobInner> beginCreate
(String resourceGroupName, String automationAccountName, String compilationJobName, DscCompilationJobCreateParameters parameters) Creates the Dsc compilation job of the configuration.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DscCompilationJobInner>,
DscCompilationJobInner> beginCreate
(String resourceGroupName, String automationAccountName, String compilationJobName, DscCompilationJobCreateParameters parameters, com.azure.core.util.Context context) Creates the Dsc compilation job of the configuration.create
(String resourceGroupName, String automationAccountName, String compilationJobName, DscCompilationJobCreateParameters parameters) Creates the Dsc compilation job of the configuration.create
(String resourceGroupName, String automationAccountName, String compilationJobName, DscCompilationJobCreateParameters parameters, com.azure.core.util.Context context) Creates the Dsc compilation job of the configuration.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<JobStreamInner>
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<DscCompilationJobInner>
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<DscCompilationJobInner>
listByAutomationAccount
(String resourceGroupName, String automationAccountName) Retrieve a list of dsc compilation jobs.com.azure.core.http.rest.PagedIterable<DscCompilationJobInner>
listByAutomationAccount
(String resourceGroupName, String automationAccountName, String filter, com.azure.core.util.Context context) Retrieve a list of dsc compilation jobs.
-
Method Details
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DscCompilationJobInner>,DscCompilationJobInner> beginCreate(String resourceGroupName, String automationAccountName, String compilationJobName, DscCompilationJobCreateParameters parameters) Creates the Dsc compilation job of the configuration.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.compilationJobName
- The DSC configuration Id.parameters
- The parameters supplied to the create compilation job operation.- Returns:
- the
SyncPoller
for polling of 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.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DscCompilationJobInner>,DscCompilationJobInner> beginCreate(String resourceGroupName, String automationAccountName, String compilationJobName, DscCompilationJobCreateParameters parameters, com.azure.core.util.Context context) Creates the Dsc compilation job of the configuration.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.compilationJobName
- The DSC configuration Id.parameters
- The parameters supplied to the create compilation job operation.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of 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.
-
create
DscCompilationJobInner create(String resourceGroupName, String automationAccountName, String compilationJobName, DscCompilationJobCreateParameters parameters) Creates the Dsc compilation job of the configuration.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.compilationJobName
- The DSC configuration Id.parameters
- The parameters supplied to the create compilation job operation.- 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.
-
create
DscCompilationJobInner create(String resourceGroupName, String automationAccountName, String compilationJobName, DscCompilationJobCreateParameters parameters, com.azure.core.util.Context context) Creates the Dsc compilation job of the configuration.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.compilationJobName
- The DSC configuration Id.parameters
- The parameters supplied to the create compilation job operation.context
- The context to associate with this operation.- 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.
-
get
DscCompilationJobInner 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<DscCompilationJobInner> 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<DscCompilationJobInner> 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<DscCompilationJobInner> 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
JobStreamInner 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<JobStreamInner> 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.
-