共用方式為


VirtualMachineConfiguration interface

以 Azure 虛擬機器 基礎結構為基礎的集區中計算節點的組態。

屬性

containerConfiguration

如果指定,則會在集區中的每個節點上執行安裝程式,以允許工作在容器中執行。 此集區上執行的所有一般工作和作業管理員工作都必須指定 containerSettings 屬性,而所有其他工作都可以指定它。

dataDisks

如果集區中的計算節點必須連結空的資料磁片,則必須指定這個屬性。

diskEncryptionConfiguration

如果指定,則會在節點布建期間,在集區中的每個節點上執行加密。

extensions

如果指定,此組態中所述的擴充功能將會安裝在每個節點上。

imageReference

Azure 虛擬機器 Marketplace 映射或自訂虛擬機器的 Azure 映射資源的參考。 To get the list of all imageReferences verified by Azure Batch, see the 'List supported node agent SKUs' operation.

licenseType

這只適用于包含 Windows 作業系統的映射,而且只有在您保留將部署之節點的有效內部部署授權時才使用。 如果省略,則不會套用任何內部部署授權折扣。 值為:

Windows_Server - 內部部署授權適用于 Windows Server。 Windows_Client - 內部部署授權適用于 Windows 用戶端。

nodeAgentSkuId

Batch-節點代理程式是在集區中的每個節點上執行的程式,並提供節點與 Batch 服務之間的命令與控制介面。 節點代理程式對不同作業系統有不同的實作方式,稱為 SKU。 您必須指定符合所選映射參考的節點代理程式 SKU。 To get the list of supported node agent SKUs along with their list of verified image references, see the 'List supported node agent SKUs' operation.

nodePlacementConfiguration

此設定會指定集區中節點實際配置方式的規則。

osDisk

包含暫時 OSDisk 設定的組態。

securityProfile

指定虛擬機器或虛擬機器擴展集的安全性設定檔設定。

serviceArtifactReference

服務成品參考識別碼的格式為 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/gallerys/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}

windowsConfiguration

如果 imageReference 指定 Linux OS 映射,則不得指定這個屬性。

屬性詳細資料

containerConfiguration

如果指定,則會在集區中的每個節點上執行安裝程式,以允許工作在容器中執行。 此集區上執行的所有一般工作和作業管理員工作都必須指定 containerSettings 屬性,而所有其他工作都可以指定它。

containerConfiguration?: ContainerConfiguration

屬性值

dataDisks

如果集區中的計算節點必須連結空的資料磁片,則必須指定這個屬性。

dataDisks?: DataDisk[]

屬性值

diskEncryptionConfiguration

如果指定,則會在節點布建期間,在集區中的每個節點上執行加密。

diskEncryptionConfiguration?: DiskEncryptionConfiguration

屬性值

extensions

如果指定,此組態中所述的擴充功能將會安裝在每個節點上。

extensions?: VMExtension[]

屬性值

imageReference

Azure 虛擬機器 Marketplace 映射或自訂虛擬機器的 Azure 映射資源的參考。 To get the list of all imageReferences verified by Azure Batch, see the 'List supported node agent SKUs' operation.

imageReference: ImageReference

屬性值

licenseType

這只適用于包含 Windows 作業系統的映射,而且只有在您保留將部署之節點的有效內部部署授權時才使用。 如果省略,則不會套用任何內部部署授權折扣。 值為:

Windows_Server - 內部部署授權適用于 Windows Server。 Windows_Client - 內部部署授權適用于 Windows 用戶端。

licenseType?: string

屬性值

string

nodeAgentSkuId

Batch-節點代理程式是在集區中的每個節點上執行的程式,並提供節點與 Batch 服務之間的命令與控制介面。 節點代理程式對不同作業系統有不同的實作方式,稱為 SKU。 您必須指定符合所選映射參考的節點代理程式 SKU。 To get the list of supported node agent SKUs along with their list of verified image references, see the 'List supported node agent SKUs' operation.

nodeAgentSkuId: string

屬性值

string

nodePlacementConfiguration

此設定會指定集區中節點實際配置方式的規則。

nodePlacementConfiguration?: NodePlacementConfiguration

屬性值

osDisk

包含暫時 OSDisk 設定的組態。

osDisk?: OSDisk

屬性值

securityProfile

指定虛擬機器或虛擬機器擴展集的安全性設定檔設定。

securityProfile?: SecurityProfile

屬性值

serviceArtifactReference

服務成品參考識別碼的格式為 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/gallerys/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}

serviceArtifactReference?: ServiceArtifactReference

屬性值

windowsConfiguration

如果 imageReference 指定 Linux OS 映射,則不得指定這個屬性。

windowsConfiguration?: WindowsConfiguration

屬性值