ArmContainerInstanceModelFactory.ContainerProbe 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 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.
Returns
A new ContainerProbe instance for mocking.