VirtualMachineUpdate クラス

定義

仮想マシンの更新について説明します。

[Microsoft.Rest.Serialization.JsonTransformation]
public class VirtualMachineUpdate : Microsoft.Azure.Management.Compute.Models.UpdateResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type VirtualMachineUpdate = class
    inherit UpdateResource
Public Class VirtualMachineUpdate
Inherits UpdateResource
継承
VirtualMachineUpdate
属性

コンストラクター

VirtualMachineUpdate()

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

VirtualMachineUpdate(IDictionary<String,String>, Plan, HardwareProfile, StorageProfile, AdditionalCapabilities, OSProfile, NetworkProfile, SecurityProfile, DiagnosticsProfile, SubResource, SubResource, SubResource, String, String, BillingProfile, SubResource, SubResource, String, VirtualMachineInstanceView, String, String, String, Nullable<Int32>)

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

VirtualMachineUpdate(IDictionary<String,String>, Plan, HardwareProfile, StorageProfile, AdditionalCapabilities, OSProfile, NetworkProfile, SecurityProfile, DiagnosticsProfile, SubResource, SubResource, SubResource, String, String, BillingProfile, SubResource, SubResource, String, VirtualMachineInstanceView, String, String, String, Nullable<Int32>, ScheduledEventsProfile, String, CapacityReservationProfile, ApplicationProfile, Nullable<DateTime>, VirtualMachineIdentity, IList<String>)

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

VirtualMachineUpdate(IDictionary<String,String>, Plan, HardwareProfile, StorageProfile, AdditionalCapabilities, OSProfile, NetworkProfile, SecurityProfile, DiagnosticsProfile, SubResource, SubResource, SubResource, String, String, BillingProfile, SubResource, SubResource, String, VirtualMachineInstanceView, String, String, String, Nullable<Int32>, ScheduledEventsProfile, String, CapacityReservationProfile, ApplicationProfile, VirtualMachineIdentity, IList<String>)

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

VirtualMachineUpdate(IDictionary<String,String>, Plan, HardwareProfile, StorageProfile, AdditionalCapabilities, OSProfile, NetworkProfile, SecurityProfile, DiagnosticsProfile, SubResource, SubResource, SubResource, String, String, BillingProfile, SubResource, SubResource, String, VirtualMachineInstanceView, String, String, String, Nullable<Int32>, ScheduledEventsProfile, String, CapacityReservationProfile, VirtualMachineIdentity)

仮想マシンの更新について説明します。

VirtualMachineUpdate(IDictionary<String,String>, Plan, HardwareProfile, StorageProfile, AdditionalCapabilities, OSProfile, NetworkProfile, SecurityProfile, DiagnosticsProfile, SubResource, SubResource, SubResource, String, String, BillingProfile, SubResource, SubResource, String, VirtualMachineInstanceView, String, String, String, Nullable<Int32>, ScheduledEventsProfile, String, CapacityReservationProfile, VirtualMachineIdentity, IList<String>)

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

VirtualMachineUpdate(IDictionary<String,String>, Plan, HardwareProfile, StorageProfile, AdditionalCapabilities, OSProfile, NetworkProfile, SecurityProfile, DiagnosticsProfile, SubResource, SubResource, SubResource, String, String, BillingProfile, SubResource, SubResource, String, VirtualMachineInstanceView, String, String, String, Nullable<Int32>, ScheduledEventsProfile, String, VirtualMachineIdentity)

仮想マシンの更新について説明します。

VirtualMachineUpdate(IDictionary<String,String>, Plan, HardwareProfile, StorageProfile, AdditionalCapabilities, OSProfile, NetworkProfile, SecurityProfile, DiagnosticsProfile, SubResource, SubResource, SubResource, String, String, BillingProfile, SubResource, SubResource, String, VirtualMachineInstanceView, String, String, String, Nullable<Int32>, ScheduledEventsProfile, String, VirtualMachineIdentity, IList<String>)

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

VirtualMachineUpdate(IDictionary<String,String>, Plan, HardwareProfile, StorageProfile, AdditionalCapabilities, OSProfile, NetworkProfile, SecurityProfile, DiagnosticsProfile, SubResource, SubResource, SubResource, String, String, BillingProfile, SubResource, SubResource, String, VirtualMachineInstanceView, String, String, String, Nullable<Int32>, VirtualMachineIdentity)

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

VirtualMachineUpdate(IDictionary<String,String>, Plan, HardwareProfile, StorageProfile, AdditionalCapabilities, OSProfile, NetworkProfile, SecurityProfile, DiagnosticsProfile, SubResource, SubResource, SubResource, String, String, BillingProfile, SubResource, SubResource, String, VirtualMachineInstanceView, String, String, String, Nullable<Int32>, VirtualMachineIdentity, IList<String>)

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

VirtualMachineUpdate(IDictionary<String,String>, Plan, HardwareProfile, StorageProfile, AdditionalCapabilities, OSProfile, NetworkProfile, SecurityProfile, DiagnosticsProfile, SubResource, SubResource, SubResource, String, String, BillingProfile, SubResource, SubResource, String, VirtualMachineInstanceView, String, String, String, VirtualMachineIdentity)

仮想マシンの更新について説明します。

VirtualMachineUpdate(IDictionary<String,String>, Plan, HardwareProfile, StorageProfile, AdditionalCapabilities, OSProfile, NetworkProfile, SecurityProfile, DiagnosticsProfile, SubResource, SubResource, SubResource, String, String, BillingProfile, SubResource, SubResource, String, VirtualMachineInstanceView, String, String, String, VirtualMachineIdentity, IList<String>)

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

プロパティ

AdditionalCapabilities

仮想マシンで有効または無効にされる追加の機能を取得または設定します。

ApplicationProfile

VM/VMSS で使用できるようにするギャラリー アプリケーションを取得または設定します。

AvailabilitySet

仮想マシンを割り当てる必要がある可用性セットに関する情報を取得または設定します。 同じ可用性セットで指定された仮想マシンは、可用性を最大化するために別々のノードに割り当てられます。 可用性セットの詳細については、「可用性セット の概要」を参照してください。 Azure の計画メンテナンスの詳細については、「Azure でのVirtual Machinesのメンテナンスと更新プログラム」を参照してください。 現時点では、VM は作成時にのみ可用性セットに追加できます。 VM が追加される可用性セットは、可用性セット リソースと同じリソース グループの下に存在する必要があります。 既存の VM を可用性セットに追加することはできません。 このプロパティは、null 以外の properties.virtualMachineScaleSet 参照と共に存在することはできません。

BillingProfile

Azure Spot 仮想マシンの課金関連の詳細を取得または設定します。 最小 api-version: 2019-03-01。

CapacityReservation

仮想マシンの割り当てに使用される容量予約に関する情報を取得または設定します。 最小 api-version: 2021-04-01。

DiagnosticsProfile

ブート診断設定の状態を取得または設定します。 最小 api-version: 2015-06-15。

EvictionPolicy

Azure スポット仮想マシンと Azure スポット スケール セットの削除ポリシーを取得または設定します。 Azure Spot 仮想マシンでは、'Deallocate' と 'Delete' の両方がサポートされており、api-version の最小値は 2019-03-01 です。 Azure スポット スケール セットでは、'Deallocate' と 'Delete' の両方がサポートされており、api-version の最小は 2017-10-30-preview です。 指定できる値は、'Deallocate'、'Delete' です。

ExtensionsTimeBudget

すべての拡張機能の開始時間を取得または設定します。 期間は 15 分から 120 分 (含む) で、ISO 8601 形式で指定する必要があります。 既定値は 90 分 (PT1H30M)。 最小 api-version: 2020-06-01。

HardwareProfile

仮想マシンのハードウェア設定を取得または設定します。

Host

仮想マシンが存在する専用ホストに関する情報を取得または設定します。 最小 api-version: 2018-10-01。

HostGroup

仮想マシンが存在する専用ホスト グループに関する情報を取得または設定します。 メモ: ユーザーは host プロパティと hostGroup プロパティの両方を指定できません。 最小 api-version: 2020-06-01。

Identity

構成されている場合は、仮想マシンの ID を取得または設定します。

InstanceView

仮想マシン インスタンス ビューを取得します。

LicenseType

使用されているイメージまたはディスクがオンプレミスでライセンスされたことを示す値を取得または設定します。 &lt;br&gt;&lt;br&gt;Windows Server オペレーティング システムで使用できる値は、&lt;br&gt;& です。lt;br&gt;&Windows_Client lt;br&gt;&lt;br&gt;&Windows_Server lt;br&gt;&lt;br&gt;Linux Server オペレーティング システムに使用できる値は、&lt;br&gt;& です。lt;br&gt;RHEL_BYOS (RHEL の場合) &lt;br&gt;&lt;br&gt;SLES_BYOS (SUSE の場合) &lt;br&gt;&lt;br&gt;詳細については、Windows Server &lt;br&の Azure ハイブリッド使用特典に関するページを参照してください。&lt;br&gt;Linux Server &の Azure ハイブリッド使用特典lt;br&gt;&lt;br&gt;最小 api-version: 2015-06-15

NetworkProfile

仮想マシンのネットワーク インターフェイスを取得または設定します。

OsProfile

仮想マシンの作成時に使用されるオペレーティング システムの設定を取得または設定します。 一部の設定は、VM をプロビジョニングした後は変更できません。

Plan

仮想マシンの作成に使用されるマーケットプレース イメージに関する情報を取得または設定します。 この要素は、マーケットプレース イメージにのみ使用されます。 API からマーケットプレース イメージを使用する前に、プログラムで使用するためにイメージを有効にする必要があります。 Azure portalで、使用するマーケットプレース イメージを見つけて、[プログラムでデプロイする]、[開始] -&gt; の順にクリックします。 必要な情報を入力し、[ 保存] をクリックします。

PlatformFaultDomain

仮想マシンを作成するスケール セットの論理障害ドメインを取得または設定します。 既定では、仮想マシンは、使用可能な障害ドメイン間のバランスを最適に維持する障害ドメインに自動的に割り当てられます。 これは、この仮想マシンの 'virtualMachineScaleSet' プロパティが設定されている場合にのみ適用されます。 参照される仮想マシン スケール セットには、'platformFaultDomainCount' が 1 より大きい必要があります。 このプロパティは、仮想マシンが作成されると更新できません。 障害ドメインの割り当ては、仮想マシン インスタンス ビューで表示できます。 最小 api-version: 2020‐12‐01。

Priority

仮想マシンの優先順位を取得または設定します。 最小 api-version: 2019-03-01。 指定できる値は、'Regular'、'Low'、'Spot' です。

ProvisioningState

応答にのみ表示されるプロビジョニング状態を取得します。

ProximityPlacementGroup

仮想マシンを割り当てる必要がある近接配置グループに関する情報を取得または設定します。 最小 api-version: 2018-04-01。

ScheduledEventsProfile

スケジュールされたイベント関連の構成を取得または設定します。

SecurityProfile

仮想マシンのセキュリティ関連のプロファイル設定を取得または設定します。

StorageProfile

仮想マシン ディスクのストレージ設定を取得または設定します。

Tags

リソース タグを取得または設定します

(継承元 UpdateResource)
TimeCreated

取得は、仮想マシン リソースが作成された時刻を指定します。 最小 api-version: 2021-11-01。

UserData

VM の userData を取得または設定します。これは base-64 でエンコードする必要があります。 顧客はここでシークレットを渡すべきではありません。 最小 api-version: 2021-03-01。

VirtualMachineScaleSet

取得または設定は、仮想マシンを割り当てる必要がある仮想マシン スケール セットに関する情報を指定します。 同じ仮想マシン スケール セットで指定された仮想マシンは、可用性を最大化するために異なるノードに割り当てられます。 現時点では、VM は作成時にのみ仮想マシン スケール セットに追加できます。 既存の VM を仮想マシン スケール セットに追加することはできません。 このプロパティは、null 以外の properties.availabilitySet 参照と共に存在することはできません。 最小 api-version: 2019‐03-01。

VmId

Gets は、すべての Azure IaaS VM SMBIOS にエンコードおよび格納され、プラットフォーム BIOS コマンドを使用して読み取ることができる 128 ビット識別子である VM の一意の ID を指定します。

Zones

仮想マシン ゾーンを取得または設定します。

メソッド

Validate()

オブジェクトを検証します。

適用対象