ContainerAppJobResource.Start 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.
Start a Container Apps Job
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/jobs/{jobName}/start
- Operation Id: Jobs_Start
- Default Api Version: 2024-03-01
- Resource: ContainerAppJobResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppContainers.Models.ContainerAppJobExecutionBase> Start (Azure.WaitUntil waitUntil, Azure.ResourceManager.AppContainers.Models.ContainerAppJobExecutionTemplate template = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Start : Azure.WaitUntil * Azure.ResourceManager.AppContainers.Models.ContainerAppJobExecutionTemplate * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppContainers.Models.ContainerAppJobExecutionBase>
override this.Start : Azure.WaitUntil * Azure.ResourceManager.AppContainers.Models.ContainerAppJobExecutionTemplate * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppContainers.Models.ContainerAppJobExecutionBase>
Public Overridable Function Start (waitUntil As WaitUntil, Optional template As ContainerAppJobExecutionTemplate = Nothing, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of ContainerAppJobExecutionBase)
Parameters
- waitUntil
- WaitUntil
Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.
- template
- ContainerAppJobExecutionTemplate
Properties used to start a job execution.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
template
is null.
Applies to
Azure SDK for .NET