次の方法で共有


Container コンストラクター

定義

オーバーロード

Container()

Container クラスの新しいインスタンスを初期化します。

Container(String, String, ResourceRequirements, IList<String>, IList<ContainerPort>, IList<EnvironmentVariable>, ContainerPropertiesInstanceView, IList<VolumeMount>, ContainerProbe, ContainerProbe)

Container クラスの新しいインスタンスを初期化します。

Container()

Container クラスの新しいインスタンスを初期化します。

public Container ();
Public Sub New ()

適用対象

Container(String, String, ResourceRequirements, IList<String>, IList<ContainerPort>, IList<EnvironmentVariable>, ContainerPropertiesInstanceView, IList<VolumeMount>, ContainerProbe, ContainerProbe)

Container クラスの新しいインスタンスを初期化します。

public Container (string name, string image, Microsoft.Azure.Management.ContainerInstance.Models.ResourceRequirements resources, System.Collections.Generic.IList<string> command = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerInstance.Models.ContainerPort> ports = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerInstance.Models.EnvironmentVariable> environmentVariables = default, Microsoft.Azure.Management.ContainerInstance.Models.ContainerPropertiesInstanceView instanceView = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerInstance.Models.VolumeMount> volumeMounts = default, Microsoft.Azure.Management.ContainerInstance.Models.ContainerProbe livenessProbe = default, Microsoft.Azure.Management.ContainerInstance.Models.ContainerProbe readinessProbe = default);
new Microsoft.Azure.Management.ContainerInstance.Models.Container : string * string * Microsoft.Azure.Management.ContainerInstance.Models.ResourceRequirements * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerInstance.Models.ContainerPort> * System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerInstance.Models.EnvironmentVariable> * Microsoft.Azure.Management.ContainerInstance.Models.ContainerPropertiesInstanceView * System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerInstance.Models.VolumeMount> * Microsoft.Azure.Management.ContainerInstance.Models.ContainerProbe * Microsoft.Azure.Management.ContainerInstance.Models.ContainerProbe -> Microsoft.Azure.Management.ContainerInstance.Models.Container
Public Sub New (name As String, image As String, resources As ResourceRequirements, Optional command As IList(Of String) = Nothing, Optional ports As IList(Of ContainerPort) = Nothing, Optional environmentVariables As IList(Of EnvironmentVariable) = Nothing, Optional instanceView As ContainerPropertiesInstanceView = Nothing, Optional volumeMounts As IList(Of VolumeMount) = Nothing, Optional livenessProbe As ContainerProbe = Nothing, Optional readinessProbe As ContainerProbe = Nothing)

パラメーター

name
String

ユーザーが指定したコンテナー インスタンスの名前。

image
String

コンテナー インスタンスの作成に使用されるイメージの名前。

resources
ResourceRequirements

コンテナー インスタンスのリソース要件。

command
IList<String>

コンテナー インスタンス内で実行する exec 形式のコマンド。

ports
IList<ContainerPort>

コンテナー インスタンスで公開されているポート。

environmentVariables
IList<EnvironmentVariable>

コンテナー インスタンス内で設定する環境変数。

instanceView
ContainerPropertiesInstanceView

コンテナー インスタンスのインスタンス ビュー。 応答でのみ有効です。

volumeMounts
IList<VolumeMount>

コンテナー インスタンスで使用可能なボリューム マウント。

livenessProbe
ContainerProbe

liveness probe。

readinessProbe
ContainerProbe

readiness probe。

適用対象