次の方法で共有


SharedGalleryImage コンストラクター

定義

オーバーロード

SharedGalleryImage()

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

SharedGalleryImage(OperatingSystemTypes, OperatingSystemStateTypes, GalleryImageIdentifier, String, String, String, Nullable<DateTime>, RecommendedMachineConfiguration, Disallowed, String, IList<GalleryImageFeature>, ImagePurchasePlan, String, String, String)

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

SharedGalleryImage()

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

public SharedGalleryImage ();
Public Sub New ()

適用対象

SharedGalleryImage(OperatingSystemTypes, OperatingSystemStateTypes, GalleryImageIdentifier, String, String, String, Nullable<DateTime>, RecommendedMachineConfiguration, Disallowed, String, IList<GalleryImageFeature>, ImagePurchasePlan, String, String, String)

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

public SharedGalleryImage (Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes osType, Microsoft.Azure.Management.Compute.Models.OperatingSystemStateTypes osState, Microsoft.Azure.Management.Compute.Models.GalleryImageIdentifier identifier, string name = default, string location = default, string uniqueId = default, DateTime? endOfLifeDate = default, Microsoft.Azure.Management.Compute.Models.RecommendedMachineConfiguration recommended = default, Microsoft.Azure.Management.Compute.Models.Disallowed disallowed = default, string hyperVGeneration = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.GalleryImageFeature> features = default, Microsoft.Azure.Management.Compute.Models.ImagePurchasePlan purchasePlan = default, string architecture = default, string privacyStatementUri = default, string eula = default);
new Microsoft.Azure.Management.Compute.Models.SharedGalleryImage : Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes * Microsoft.Azure.Management.Compute.Models.OperatingSystemStateTypes * Microsoft.Azure.Management.Compute.Models.GalleryImageIdentifier * string * string * string * Nullable<DateTime> * Microsoft.Azure.Management.Compute.Models.RecommendedMachineConfiguration * Microsoft.Azure.Management.Compute.Models.Disallowed * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.GalleryImageFeature> * Microsoft.Azure.Management.Compute.Models.ImagePurchasePlan * string * string * string -> Microsoft.Azure.Management.Compute.Models.SharedGalleryImage
Public Sub New (osType As OperatingSystemTypes, osState As OperatingSystemStateTypes, identifier As GalleryImageIdentifier, Optional name As String = Nothing, Optional location As String = Nothing, Optional uniqueId As String = Nothing, Optional endOfLifeDate As Nullable(Of DateTime) = Nothing, Optional recommended As RecommendedMachineConfiguration = Nothing, Optional disallowed As Disallowed = Nothing, Optional hyperVGeneration As String = Nothing, Optional features As IList(Of GalleryImageFeature) = Nothing, Optional purchasePlan As ImagePurchasePlan = Nothing, Optional architecture As String = Nothing, Optional privacyStatementUri As String = Nothing, Optional eula As String = Nothing)

パラメーター

osType
OperatingSystemTypes

このプロパティを使用すると、マネージド イメージから VM を作成するときにディスクに含まれる OS の種類を指定できます。 <br><br> 可能な値は、<br br><>Windows<br br><>Linux です。 使用可能な値は、'Windows'、'Linux' です。

osState
OperatingSystemStateTypes

このプロパティを使用すると、ユーザーは、このイメージで作成された仮想マシンを '一般化済み' または "特殊化" にするかどうかを指定できます。 使用可能な値は、'一般化'、'特殊化' です。

name
String

リソース名

location
String

リソースの場所

uniqueId
String

この共有ギャラリーの一意の ID。

endOfLifeDate
Nullable<DateTime>

ギャラリー イメージ定義の有効期間の終了日。 このプロパティは、使用停止の目的で使用できます。 このプロパティは更新可能です。

disallowed
Disallowed
hyperVGeneration
String

仮想マシンのハイパーバイザーの生成。 OS ディスクにのみ適用されます。 使用できる値は、'V1'、'V2' です。

features
IList<GalleryImageFeature>

ギャラリー イメージ機能の一覧。

purchasePlan
ImagePurchasePlan
architecture
String

指定できる値は、'x64'、'Arm64' です。

privacyStatementUri
String

現在のコミュニティ ギャラリー イメージのプライバシーに関する声明 URI。

eula
String

現在のコミュニティ ギャラリー イメージのエンドユーザー ライセンス契約。

適用対象