Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.Core.getInstanceMeasuredBootReport
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
This data source provides details about a specific Instance Measured Boot Report resource in Oracle Cloud Infrastructure Core service.
Gets the measured boot report for this shielded instance.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testInstanceMeasuredBootReport = oci.Core.getInstanceMeasuredBootReport({
instanceId: testInstance.id,
});
import pulumi
import pulumi_oci as oci
test_instance_measured_boot_report = oci.Core.get_instance_measured_boot_report(instance_id=test_instance["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/Core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := Core.GetInstanceMeasuredBootReport(ctx, &core.GetInstanceMeasuredBootReportArgs{
InstanceId: testInstance.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testInstanceMeasuredBootReport = Oci.Core.GetInstanceMeasuredBootReport.Invoke(new()
{
InstanceId = testInstance.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Core.CoreFunctions;
import com.pulumi.oci.Core.inputs.GetInstanceMeasuredBootReportArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var testInstanceMeasuredBootReport = CoreFunctions.getInstanceMeasuredBootReport(GetInstanceMeasuredBootReportArgs.builder()
.instanceId(testInstance.id())
.build());
}
}
variables:
testInstanceMeasuredBootReport:
fn::invoke:
Function: oci:Core:getInstanceMeasuredBootReport
Arguments:
instanceId: ${testInstance.id}
Using getInstanceMeasuredBootReport
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getInstanceMeasuredBootReport(args: GetInstanceMeasuredBootReportArgs, opts?: InvokeOptions): Promise<GetInstanceMeasuredBootReportResult>
function getInstanceMeasuredBootReportOutput(args: GetInstanceMeasuredBootReportOutputArgs, opts?: InvokeOptions): Output<GetInstanceMeasuredBootReportResult>
def get_instance_measured_boot_report(instance_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetInstanceMeasuredBootReportResult
def get_instance_measured_boot_report_output(instance_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetInstanceMeasuredBootReportResult]
func GetInstanceMeasuredBootReport(ctx *Context, args *GetInstanceMeasuredBootReportArgs, opts ...InvokeOption) (*GetInstanceMeasuredBootReportResult, error)
func GetInstanceMeasuredBootReportOutput(ctx *Context, args *GetInstanceMeasuredBootReportOutputArgs, opts ...InvokeOption) GetInstanceMeasuredBootReportResultOutput
> Note: This function is named GetInstanceMeasuredBootReport
in the Go SDK.
public static class GetInstanceMeasuredBootReport
{
public static Task<GetInstanceMeasuredBootReportResult> InvokeAsync(GetInstanceMeasuredBootReportArgs args, InvokeOptions? opts = null)
public static Output<GetInstanceMeasuredBootReportResult> Invoke(GetInstanceMeasuredBootReportInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetInstanceMeasuredBootReportResult> getInstanceMeasuredBootReport(GetInstanceMeasuredBootReportArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Core/getInstanceMeasuredBootReport:getInstanceMeasuredBootReport
arguments:
# arguments dictionary
The following arguments are supported:
- Instance
Id string - The OCID of the instance.
- Instance
Id string - The OCID of the instance.
- instance
Id String - The OCID of the instance.
- instance
Id string - The OCID of the instance.
- instance_
id str - The OCID of the instance.
- instance
Id String - The OCID of the instance.
getInstanceMeasuredBootReport Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Id string - Is
Policy boolVerification Successful - Whether the verification succeeded, and the new values match the expected values.
- Measurements
List<Get
Instance Measured Boot Report Measurement> - A list of Trusted Platform Module (TPM) Platform Configuration Register (PCR) entries.
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Id string - Is
Policy boolVerification Successful - Whether the verification succeeded, and the new values match the expected values.
- Measurements
[]Get
Instance Measured Boot Report Measurement - A list of Trusted Platform Module (TPM) Platform Configuration Register (PCR) entries.
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Id String - is
Policy BooleanVerification Successful - Whether the verification succeeded, and the new values match the expected values.
- measurements
List<Get
Instance Measured Boot Report Measurement> - A list of Trusted Platform Module (TPM) Platform Configuration Register (PCR) entries.
- id string
- The provider-assigned unique ID for this managed resource.
- instance
Id string - is
Policy booleanVerification Successful - Whether the verification succeeded, and the new values match the expected values.
- measurements
Get
Instance Measured Boot Report Measurement[] - A list of Trusted Platform Module (TPM) Platform Configuration Register (PCR) entries.
- id str
- The provider-assigned unique ID for this managed resource.
- instance_
id str - is_
policy_ boolverification_ successful - Whether the verification succeeded, and the new values match the expected values.
- measurements
Sequence[core.
Get Instance Measured Boot Report Measurement] - A list of Trusted Platform Module (TPM) Platform Configuration Register (PCR) entries.
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Id String - is
Policy BooleanVerification Successful - Whether the verification succeeded, and the new values match the expected values.
- measurements List<Property Map>
- A list of Trusted Platform Module (TPM) Platform Configuration Register (PCR) entries.
Supporting Types
GetInstanceMeasuredBootReportMeasurement
- Actuals
List<Get
Instance Measured Boot Report Measurement Actual> - The list of actual PCR entries measured during boot.
- Policies
List<Get
Instance Measured Boot Report Measurement Policy> - The list of expected PCR entries to use during verification.
- Actuals
[]Get
Instance Measured Boot Report Measurement Actual - The list of actual PCR entries measured during boot.
- Policies
[]Get
Instance Measured Boot Report Measurement Policy - The list of expected PCR entries to use during verification.
- actuals
List<Get
Instance Measured Boot Report Measurement Actual> - The list of actual PCR entries measured during boot.
- policies
List<Get
Instance Measured Boot Report Measurement Policy> - The list of expected PCR entries to use during verification.
- actuals
Get
Instance Measured Boot Report Measurement Actual[] - The list of actual PCR entries measured during boot.
- policies
Get
Instance Measured Boot Report Measurement Policy[] - The list of expected PCR entries to use during verification.
- actuals
Sequence[core.
Get Instance Measured Boot Report Measurement Actual] - The list of actual PCR entries measured during boot.
- policies
Sequence[core.
Get Instance Measured Boot Report Measurement Policy] - The list of expected PCR entries to use during verification.
- actuals List<Property Map>
- The list of actual PCR entries measured during boot.
- policies List<Property Map>
- The list of expected PCR entries to use during verification.
GetInstanceMeasuredBootReportMeasurementActual
- Hash
Algorithm string - The type of algorithm used to calculate the hash.
- Pcr
Index string - The index of the policy.
- Value string
- The hashed PCR value.
- Hash
Algorithm string - The type of algorithm used to calculate the hash.
- Pcr
Index string - The index of the policy.
- Value string
- The hashed PCR value.
- hash
Algorithm String - The type of algorithm used to calculate the hash.
- pcr
Index String - The index of the policy.
- value String
- The hashed PCR value.
- hash
Algorithm string - The type of algorithm used to calculate the hash.
- pcr
Index string - The index of the policy.
- value string
- The hashed PCR value.
- hash_
algorithm str - The type of algorithm used to calculate the hash.
- pcr_
index str - The index of the policy.
- value str
- The hashed PCR value.
- hash
Algorithm String - The type of algorithm used to calculate the hash.
- pcr
Index String - The index of the policy.
- value String
- The hashed PCR value.
GetInstanceMeasuredBootReportMeasurementPolicy
- Hash
Algorithm string - The type of algorithm used to calculate the hash.
- Pcr
Index string - The index of the policy.
- Value string
- The hashed PCR value.
- Hash
Algorithm string - The type of algorithm used to calculate the hash.
- Pcr
Index string - The index of the policy.
- Value string
- The hashed PCR value.
- hash
Algorithm String - The type of algorithm used to calculate the hash.
- pcr
Index String - The index of the policy.
- value String
- The hashed PCR value.
- hash
Algorithm string - The type of algorithm used to calculate the hash.
- pcr
Index string - The index of the policy.
- value string
- The hashed PCR value.
- hash_
algorithm str - The type of algorithm used to calculate the hash.
- pcr_
index str - The index of the policy.
- value str
- The hashed PCR value.
- hash
Algorithm String - The type of algorithm used to calculate the hash.
- pcr
Index String - The index of the policy.
- value String
- The hashed PCR value.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi