你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ArmContainerInstanceModelFactory.ContainerHttpGet Method

Definition

public static Azure.ResourceManager.ContainerInstance.Models.ContainerHttpGet ContainerHttpGet(string path = default, int port = 0, Azure.ResourceManager.ContainerInstance.Models.ContainerHttpGetScheme? scheme = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerInstance.Models.ContainerHttpHeader> httpHeaders = default);
static member ContainerHttpGet : string * int * Nullable<Azure.ResourceManager.ContainerInstance.Models.ContainerHttpGetScheme> * seq<Azure.ResourceManager.ContainerInstance.Models.ContainerHttpHeader> -> Azure.ResourceManager.ContainerInstance.Models.ContainerHttpGet
Public Shared Function ContainerHttpGet (Optional path As String = Nothing, Optional port As Integer = 0, Optional scheme As Nullable(Of ContainerHttpGetScheme) = Nothing, Optional httpHeaders As IEnumerable(Of ContainerHttpHeader) = Nothing) As ContainerHttpGet

Parameters

path
String

The path to probe.

port
Int32

The port number to probe.

scheme
Nullable<ContainerHttpGetScheme>

The scheme.

httpHeaders
IEnumerable<ContainerHttpHeader>

The HTTP headers.

Returns

A new ContainerHttpGet instance for mocking.

Applies to