vcenter trusted infrastructure trusted clusters attestation services: create spec

The create_spec structure contains the data necessary for configuring a registered Attestation Service instance with a cluster in the environment. This structure was added in vSphere API 7.0.0.

Representation:

{
    "service""obj-103",
    "type""SERVICE",
    "trust_authority_cluster""string"
}

Attributes:

Name Type Description
Required
type string Source of truth for the configuration of the Attestation Service. This attribute was added in vSphere API 7.0.0.

Specifies the source of truth the Attestation Service will use for its configuration. This enumeration was added in vSphere API 7.0.0. Value is one of:
SERVICE: The Attestation Service will be configured based on an ID of an specific Attestation Service. This constant was added in vSphere API 7.0.0.
CLUSTER: The Attestation Service will be configured based on an ID of a whole attestation cluster. This constant was added in vSphere API 7.0.0.

Optional
service string The service's unique ID. This attribute was added in vSphere API 7.0.0.

Optional. It is only relevant when type has value SERVICE. This field is optional and it is only relevant when the value of type is SERVICE.When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.attestation.Service. When operations return a value of this structure as a result, the field will be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.attestation.Service.

trust_authority_cluster string The attestation cluster's unique ID. This attribute was added in vSphere API 7.0.0.

Optional. It is only relevant when type has value CLUSTER. This field is optional and it is only relevant when the value of type is CLUSTER.