你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
SapVirtualInstance.SapCentralInstancesCreate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public System.Threading.Tasks.Task SapCentralInstancesCreate (string subscriptionId, string resourceGroupName, string sapVirtualInstanceName, string centralInstanceName, Microsoft.Azure.PowerShell.Cmdlets.Workloads.SapVirtualInstance.Models.Api20231001Preview.ISapCentralServerInstance body, Func<System.Net.Http.HttpResponseMessage,System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Workloads.SapVirtualInstance.Models.Api20231001Preview.ISapCentralServerInstance>,System.Threading.Tasks.Task> onOk, Func<System.Net.Http.HttpResponseMessage,System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Workloads.SapVirtualInstance.Models.Api30.IErrorResponse>,System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Workloads.SapVirtualInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Workloads.SapVirtualInstance.Runtime.ISendAsync sender);
member this.SapCentralInstancesCreate : string * string * string * string * Microsoft.Azure.PowerShell.Cmdlets.Workloads.SapVirtualInstance.Models.Api20231001Preview.ISapCentralServerInstance * Func<System.Net.Http.HttpResponseMessage, System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Workloads.SapVirtualInstance.Models.Api20231001Preview.ISapCentralServerInstance>, System.Threading.Tasks.Task> * Func<System.Net.Http.HttpResponseMessage, System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Workloads.SapVirtualInstance.Models.Api30.IErrorResponse>, System.Threading.Tasks.Task> * Microsoft.Azure.PowerShell.Cmdlets.Workloads.SapVirtualInstance.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.Workloads.SapVirtualInstance.Runtime.ISendAsync -> System.Threading.Tasks.Task
Public Function SapCentralInstancesCreate (subscriptionId As String, resourceGroupName As String, sapVirtualInstanceName As String, centralInstanceName As String, body As ISapCentralServerInstance, onOk As Func(Of HttpResponseMessage, Task(Of ISapCentralServerInstance), Task), onDefault As Func(Of HttpResponseMessage, Task(Of IErrorResponse), Task), eventListener As IEventListener, sender As ISendAsync) As Task
Parameters
- subscriptionId
- String
- resourceGroupName
- String
- sapVirtualInstanceName
- String
- centralInstanceName
- String
- onDefault
- Func<HttpResponseMessage,Task<IErrorResponse>,Task>
- eventListener
- IEventListener
- sender
- ISendAsync