public static class RunInstancesRequest.RunInstancesRequestSecurityOptions
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
confidentialComputingMode
The confidential computing mode.
|
String |
trustedSystemMode
The trusted system mode.
|
构造器和说明 |
---|
RunInstancesRequestSecurityOptions() |
限定符和类型 | 方法和说明 |
---|---|
static RunInstancesRequest.RunInstancesRequestSecurityOptions |
build(Map<String,?> map) |
String |
getConfidentialComputingMode() |
String |
getTrustedSystemMode() |
RunInstancesRequest.RunInstancesRequestSecurityOptions |
setConfidentialComputingMode(String confidentialComputingMode) |
RunInstancesRequest.RunInstancesRequestSecurityOptions |
setTrustedSystemMode(String trustedSystemMode) |
@NameInMap(value="ConfidentialComputingMode") public String confidentialComputingMode
The confidential computing mode. Set the value to Enclave.
A value of Enclave indicates that an enclave-based confidential computing environment is built on the instance. When you call the RunInstances
operation, you can set this parameter only for c7, g7, or r7 instances to use enclave-based confidential computing. Take note of the following items:
RunInstances
operation. The CreateInstance
operation does not support the SecurityOptions.ConfidentialComputingMode
parameter.SecurityOptions.ConfidentialComputingMode
to Enclave when you call this operation, the created instances use enclave-based confidential computing and Alibaba Cloud Trusted System regardless of whether SecurityOptions.TrustedSystemMode
is set to vTPM.For more information about confidential computing, see Build a confidential computing environment by using Enclave.
example:Enclave
@NameInMap(value="TrustedSystemMode") public String trustedSystemMode
The trusted system mode. Set the value to vTPM.
The trusted system mode supports the following instance families:
When you create instances of the preceding instance families, you must set this parameter. Take note of the following items:
SecurityOptions.ConfidentialComputingMode
set to Enclave), the Alibaba Cloud trusted system is enabled for the instances.RunInstances
operation. The CreateInstance
operation does not support the SecurityOptions.TrustedSystemMode
parameter.If you have configured an instance as a trusted one when you created the instance, you can use only an image that support the trusted system to replace the system disk of the instance.
For more information about the trusted system, see Overview.
example:vTPM
public static RunInstancesRequest.RunInstancesRequestSecurityOptions build(Map<String,?> map) throws Exception
Exception
public RunInstancesRequest.RunInstancesRequestSecurityOptions setConfidentialComputingMode(String confidentialComputingMode)
public String getConfidentialComputingMode()
public RunInstancesRequest.RunInstancesRequestSecurityOptions setTrustedSystemMode(String trustedSystemMode)
public String getTrustedSystemMode()
Copyright © 2024. All rights reserved.