Container コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
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
コンテナー インスタンスのリソース要件。
- ports
- IList<ContainerPort>
コンテナー インスタンスで公開されているポート。
- environmentVariables
- IList<EnvironmentVariable>
コンテナー インスタンス内で設定する環境変数。
- instanceView
- ContainerPropertiesInstanceView
コンテナー インスタンスのインスタンス ビュー。 応答でのみ有効です。
- volumeMounts
- IList<VolumeMount>
コンテナー インスタンスで使用可能なボリューム マウント。
- livenessProbe
- ContainerProbe
liveness probe。
- readinessProbe
- ContainerProbe
readiness probe。
適用対象
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for .NET