你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
RunbookOperationsExtensions.CreateOrUpdate 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
CreateOrUpdate(IRunbookOperations, String, String, RunbookCreateOrUpdateParameters)
public static Microsoft.Azure.Management.Automation.Models.RunbookCreateOrUpdateResponse CreateOrUpdate (this Microsoft.Azure.Management.Automation.IRunbookOperations operations, string resourceGroupName, string automationAccount, Microsoft.Azure.Management.Automation.Models.RunbookCreateOrUpdateParameters parameters);
static member CreateOrUpdate : Microsoft.Azure.Management.Automation.IRunbookOperations * string * string * Microsoft.Azure.Management.Automation.Models.RunbookCreateOrUpdateParameters -> Microsoft.Azure.Management.Automation.Models.RunbookCreateOrUpdateResponse
<Extension()>
Public Function CreateOrUpdate (operations As IRunbookOperations, resourceGroupName As String, automationAccount As String, parameters As RunbookCreateOrUpdateParameters) As RunbookCreateOrUpdateResponse
参数
- operations
- IRunbookOperations
- resourceGroupName
- String
- automationAccount
- String
- parameters
- RunbookCreateOrUpdateParameters
返回
适用于
CreateOrUpdate(IRunbookOperations, String, String, String, RunbookCreateOrUpdateParameters)
创建由 Runbook 名称标识的 Runbook。 http://aka.ms/azureautomationsdk/runbookoperations
public static Microsoft.Azure.Management.Automation.Models.Runbook CreateOrUpdate (this Microsoft.Azure.Management.Automation.IRunbookOperations operations, string resourceGroupName, string automationAccountName, string runbookName, Microsoft.Azure.Management.Automation.Models.RunbookCreateOrUpdateParameters parameters);
static member CreateOrUpdate : Microsoft.Azure.Management.Automation.IRunbookOperations * string * string * string * Microsoft.Azure.Management.Automation.Models.RunbookCreateOrUpdateParameters -> Microsoft.Azure.Management.Automation.Models.Runbook
<Extension()>
Public Function CreateOrUpdate (operations As IRunbookOperations, resourceGroupName As String, automationAccountName As String, runbookName As String, parameters As RunbookCreateOrUpdateParameters) As Runbook
参数
- operations
- IRunbookOperations
此扩展方法的操作组。
- resourceGroupName
- String
Azure 资源组的名称。
- automationAccountName
- String
自动化帐户的名称。
- runbookName
- String
Runbook 名称。
- parameters
- RunbookCreateOrUpdateParameters
Runbook 的创建或更新参数。 为已发布的 Runbook 或草稿提供内容链接,而不是同时提供两者。