public interface RunbookDrafts
Modifier and Type | Method and Description |
---|---|
RunbookDraft |
get(String resourceGroupName,
String automationAccountName,
String runbookName)
Retrieve the runbook draft identified by runbook name.
|
String |
getContent(String resourceGroupName,
String automationAccountName,
String runbookName)
Retrieve the content of runbook draft 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 draft identified by runbook name.
|
com.azure.core.http.rest.Response<RunbookDraft> |
getWithResponse(String resourceGroupName,
String automationAccountName,
String runbookName,
com.azure.core.util.Context context)
Retrieve the runbook draft identified by runbook name.
|
void |
replaceContent(String resourceGroupName,
String automationAccountName,
String runbookName,
String runbookContent)
Replaces the runbook draft content.
|
void |
replaceContent(String resourceGroupName,
String automationAccountName,
String runbookName,
String runbookContent,
com.azure.core.util.Context context)
Replaces the runbook draft content.
|
void |
undoEdit(String resourceGroupName,
String automationAccountName,
String runbookName)
Undo draft edit to last known published state identified by runbook name.
|
com.azure.core.http.rest.Response<Void> |
undoEditWithResponse(String resourceGroupName,
String automationAccountName,
String runbookName,
com.azure.core.util.Context context)
Undo draft edit to last known published state identified by runbook name.
|
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.void replaceContent(String resourceGroupName, String automationAccountName, String runbookName, String runbookContent)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.runbookName
- The runbook name.runbookContent
- The runbook draft content.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 replaceContent(String resourceGroupName, String automationAccountName, String runbookName, String runbookContent, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.runbookName
- The runbook name.runbookContent
- The runbook draft content.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.RunbookDraft 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<RunbookDraft> 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.void undoEdit(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> undoEditWithResponse(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.Copyright © 2021 Microsoft Corporation. All rights reserved.