ArmContainerInstanceModelFactory.ContainerProbe Method

Definition

public static Azure.ResourceManager.ContainerInstance.Models.ContainerProbe ContainerProbe(System.Collections.Generic.IEnumerable<string> execCommand = default, Azure.ResourceManager.ContainerInstance.Models.ContainerHttpGet httpGet = default, int? initialDelayInSeconds = default, int? periodInSeconds = default, int? failureThreshold = default, int? successThreshold = default, int? timeoutInSeconds = default);
static member ContainerProbe : seq<string> * Azure.ResourceManager.ContainerInstance.Models.ContainerHttpGet * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> -> Azure.ResourceManager.ContainerInstance.Models.ContainerProbe
Public Shared Function ContainerProbe (Optional execCommand As IEnumerable(Of String) = Nothing, Optional httpGet As ContainerHttpGet = Nothing, Optional initialDelayInSeconds As Nullable(Of Integer) = Nothing, Optional periodInSeconds As Nullable(Of Integer) = Nothing, Optional failureThreshold As Nullable(Of Integer) = Nothing, Optional successThreshold As Nullable(Of Integer) = Nothing, Optional timeoutInSeconds As Nullable(Of Integer) = Nothing) As ContainerProbe

Parameters

execCommand
IEnumerable<String>

The commands to execute within the container.

httpGet
ContainerHttpGet

The Http Get settings to probe.

initialDelayInSeconds
Nullable<Int32>

The initial delay seconds.

periodInSeconds
Nullable<Int32>

The period seconds.

failureThreshold
Nullable<Int32>

The failure threshold.

successThreshold
Nullable<Int32>

The success threshold.

timeoutInSeconds
Nullable<Int32>

The timeout seconds.

Returns

A new ContainerProbe instance for mocking.

Applies to