ICoreApiAddServiceAsyncStart Method |
Add service for current user asynchronously. Only root service (without children) will be added to database. If operation fails exception will be thrown.
Namespace: Atomia.Provisioning.ServiceAssembly: Atomia.Provisioning.Service (in Atomia.Provisioning.Service.dll) Version: 17.3.6337.16014
Syntax ProvisioningService AddServiceAsyncStart(
ProvisioningService service,
ProvisioningService parentService,
string accountName,
ResourceRequestDescription[] resourceRequestDescriptions,
ref string requestId
)
Function AddServiceAsyncStart (
service As ProvisioningService,
parentService As ProvisioningService,
accountName As String,
resourceRequestDescriptions As ResourceRequestDescription(),
ByRef requestId As String
) As ProvisioningService
ProvisioningService^ AddServiceAsyncStart(
ProvisioningService^ service,
ProvisioningService^ parentService,
String^ accountName,
array<ResourceRequestDescription^>^ resourceRequestDescriptions,
String^% requestId
)
abstract AddServiceAsyncStart :
service : ProvisioningService *
parentService : ProvisioningService *
accountName : string *
resourceRequestDescriptions : ResourceRequestDescription[] *
requestId : string byref -> ProvisioningService
Parameters
- service
- Type: Atomia.Provisioning.BaseProvisioningService
Service to add. - parentService
- Type: Atomia.Provisioning.BaseProvisioningService
Parent service or null if service is root service. - accountName
- Type: SystemString
Account name - owner of the service. - resourceRequestDescriptions
- Type: Atomia.Provisioning.BaseResourceRequestDescription
Additional data which helps provisioning system to decide on which resource should service be added. If operation fails exception will be thrown. - requestId
- Type: SystemString
Provisioning request id.
Return Value
Type:
ProvisioningServiceService which has been added.
See Also