次の方法で共有


ComputeBatchModelFactory.BatchUefiSettings Method

Definition

Specifies the security settings like secure boot and vTPM used while creating the virtual machine.

public static Azure.Compute.Batch.BatchUefiSettings BatchUefiSettings(bool? secureBootEnabled = default, bool? vTpmEnabled = default);
static member BatchUefiSettings : Nullable<bool> * Nullable<bool> -> Azure.Compute.Batch.BatchUefiSettings
Public Shared Function BatchUefiSettings (Optional secureBootEnabled As Nullable(Of Boolean) = Nothing, Optional vTpmEnabled As Nullable(Of Boolean) = Nothing) As BatchUefiSettings

Parameters

secureBootEnabled
Nullable<Boolean>

Specifies whether secure boot should be enabled on the virtual machine.

vTpmEnabled
Nullable<Boolean>

Specifies whether vTPM should be enabled on the virtual machine.

Returns

A new BatchUefiSettings instance for mocking.

Applies to