public interface RunbooksClient
Modifier and Type | Method and Description |
---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginPublish(String resourceGroupName,
String automationAccountName,
String runbookName)
Publish runbook draft.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginPublish(String resourceGroupName,
String automationAccountName,
String runbookName,
com.azure.core.util.Context context)
Publish runbook draft.
|
RunbookInner |
createOrUpdate(String resourceGroupName,
String automationAccountName,
String runbookName,
RunbookCreateOrUpdateParametersInner parameters)
Create the runbook identified by runbook name.
|
com.azure.core.http.rest.Response<RunbookInner> |
createOrUpdateWithResponse(String resourceGroupName,
String automationAccountName,
String runbookName,
RunbookCreateOrUpdateParametersInner parameters,
com.azure.core.util.Context context)
Create the runbook identified by runbook name.
|
void |
delete(String resourceGroupName,
String automationAccountName,
String runbookName)
Delete the runbook by name.
|
com.azure.core.http.rest.Response<Void> |
deleteWithResponse(String resourceGroupName,
String automationAccountName,
String runbookName,
com.azure.core.util.Context context)
Delete the runbook by name.
|
RunbookInner |
get(String resourceGroupName,
String automationAccountName,
String runbookName)
Retrieve the runbook identified by runbook name.
|
String |
getContent(String resourceGroupName,
String automationAccountName,
String runbookName)
Retrieve the content of runbook identified by runbook name.
|
com.azure.core.http.rest.Response<String> |
getContentWithResponse(String resourceGroupName,
String automationAccountName,
String runbookName,
com.azure.core.util.Context context)
Retrieve the content of runbook identified by runbook name.
|
com.azure.core.http.rest.Response<RunbookInner> |
getWithResponse(String resourceGroupName,
String automationAccountName,
String runbookName,
com.azure.core.util.Context context)
Retrieve the runbook identified by runbook name.
|
com.azure.core.http.rest.PagedIterable<RunbookInner> |
listByAutomationAccount(String resourceGroupName,
String automationAccountName)
Retrieve a list of runbooks.
|
com.azure.core.http.rest.PagedIterable<RunbookInner> |
listByAutomationAccount(String resourceGroupName,
String automationAccountName,
com.azure.core.util.Context context)
Retrieve a list of runbooks.
|
void |
publish(String resourceGroupName,
String automationAccountName,
String runbookName)
Publish runbook draft.
|
void |
publish(String resourceGroupName,
String automationAccountName,
String runbookName,
com.azure.core.util.Context context)
Publish runbook draft.
|
RunbookInner |
update(String resourceGroupName,
String automationAccountName,
String runbookName,
RunbookUpdateParameters parameters)
Update the runbook identified by runbook name.
|
com.azure.core.http.rest.Response<RunbookInner> |
updateWithResponse(String resourceGroupName,
String automationAccountName,
String runbookName,
RunbookUpdateParameters parameters,
com.azure.core.util.Context context)
Update the runbook identified by runbook name.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginPublish(String resourceGroupName, String automationAccountName, String runbookName)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.runbookName
- The parameters supplied to the publish runbook operation.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginPublish(String resourceGroupName, String automationAccountName, String runbookName, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.runbookName
- The parameters supplied to the publish runbook operation.context
- The context to associate with this operation.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.void publish(String resourceGroupName, String automationAccountName, String runbookName)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.runbookName
- The parameters supplied to the publish runbook operation.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.void publish(String resourceGroupName, String automationAccountName, String runbookName, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.runbookName
- The parameters supplied to the publish runbook operation.context
- The context to associate with this operation.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.String getContent(String resourceGroupName, String automationAccountName, String runbookName)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.runbookName
- The runbook name.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.com.azure.core.http.rest.Response<String> getContentWithResponse(String resourceGroupName, String automationAccountName, String runbookName, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.runbookName
- The runbook name.context
- The context to associate with this operation.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.RunbookInner get(String resourceGroupName, String automationAccountName, String runbookName)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.runbookName
- The runbook name.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.com.azure.core.http.rest.Response<RunbookInner> getWithResponse(String resourceGroupName, String automationAccountName, String runbookName, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.runbookName
- The runbook name.context
- The context to associate with this operation.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.RunbookInner createOrUpdate(String resourceGroupName, String automationAccountName, String runbookName, RunbookCreateOrUpdateParametersInner parameters)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.runbookName
- The runbook name.parameters
- The create or update parameters for runbook. Provide either content link for a published
runbook or draft, not both.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.com.azure.core.http.rest.Response<RunbookInner> createOrUpdateWithResponse(String resourceGroupName, String automationAccountName, String runbookName, RunbookCreateOrUpdateParametersInner parameters, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.runbookName
- The runbook name.parameters
- The create or update parameters for runbook. Provide either content link for a published
runbook or draft, not both.context
- The context to associate with this operation.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.RunbookInner update(String resourceGroupName, String automationAccountName, String runbookName, RunbookUpdateParameters parameters)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.runbookName
- The runbook name.parameters
- The update parameters for runbook.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.com.azure.core.http.rest.Response<RunbookInner> updateWithResponse(String resourceGroupName, String automationAccountName, String runbookName, RunbookUpdateParameters parameters, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.runbookName
- The runbook name.parameters
- The update parameters for runbook.context
- The context to associate with this operation.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.void delete(String resourceGroupName, String automationAccountName, String runbookName)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.runbookName
- The runbook name.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.com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String automationAccountName, String runbookName, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.runbookName
- The runbook name.context
- The context to associate with this operation.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.com.azure.core.http.rest.PagedIterable<RunbookInner> listByAutomationAccount(String resourceGroupName, String automationAccountName)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.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.com.azure.core.http.rest.PagedIterable<RunbookInner> listByAutomationAccount(String resourceGroupName, String automationAccountName, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.context
- The context to associate with this operation.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.Copyright © 2021 Microsoft Corporation. All rights reserved.