Oracle Cloud Infrastructure

v0.5.0 published on Monday, Sep 12, 2022 by Pulumi

getComputeGlobalImageCapabilitySchemasVersion

This data source provides details about a specific Compute Global Image Capability Schemas Version resource in Oracle Cloud Infrastructure Core service.

Gets the specified Compute Global Image Capability Schema Version

Example Usage

using System.Collections.Generic;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testComputeGlobalImageCapabilitySchemasVersion = Oci.Core.GetComputeGlobalImageCapabilitySchemasVersion.Invoke(new()
    {
        ComputeGlobalImageCapabilitySchemaId = oci_core_compute_global_image_capability_schema.Test_compute_global_image_capability_schema.Id,
        ComputeGlobalImageCapabilitySchemaVersionName = @var.Compute_global_image_capability_schemas_version_compute_global_image_capability_schema_version_name,
    });

});
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.GetComputeGlobalImageCapabilitySchemasVersion(ctx, &core.GetComputeGlobalImageCapabilitySchemasVersionArgs{
			ComputeGlobalImageCapabilitySchemaId:          oci_core_compute_global_image_capability_schema.Test_compute_global_image_capability_schema.Id,
			ComputeGlobalImageCapabilitySchemaVersionName: _var.Compute_global_image_capability_schemas_version_compute_global_image_capability_schema_version_name,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
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.GetComputeGlobalImageCapabilitySchemasVersionArgs;
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 testComputeGlobalImageCapabilitySchemasVersion = CoreFunctions.getComputeGlobalImageCapabilitySchemasVersion(GetComputeGlobalImageCapabilitySchemasVersionArgs.builder()
            .computeGlobalImageCapabilitySchemaId(oci_core_compute_global_image_capability_schema.test_compute_global_image_capability_schema().id())
            .computeGlobalImageCapabilitySchemaVersionName(var_.compute_global_image_capability_schemas_version_compute_global_image_capability_schema_version_name())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_compute_global_image_capability_schemas_version = oci.Core.get_compute_global_image_capability_schemas_version(compute_global_image_capability_schema_id=oci_core_compute_global_image_capability_schema["test_compute_global_image_capability_schema"]["id"],
    compute_global_image_capability_schema_version_name=var["compute_global_image_capability_schemas_version_compute_global_image_capability_schema_version_name"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testComputeGlobalImageCapabilitySchemasVersion = oci.Core.getComputeGlobalImageCapabilitySchemasVersion({
    computeGlobalImageCapabilitySchemaId: oci_core_compute_global_image_capability_schema.test_compute_global_image_capability_schema.id,
    computeGlobalImageCapabilitySchemaVersionName: _var.compute_global_image_capability_schemas_version_compute_global_image_capability_schema_version_name,
});
variables:
  testComputeGlobalImageCapabilitySchemasVersion:
    Fn::Invoke:
      Function: oci:Core:getComputeGlobalImageCapabilitySchemasVersion
      Arguments:
        computeGlobalImageCapabilitySchemaId: ${oci_core_compute_global_image_capability_schema.test_compute_global_image_capability_schema.id}
        computeGlobalImageCapabilitySchemaVersionName: ${var.compute_global_image_capability_schemas_version_compute_global_image_capability_schema_version_name}

Using getComputeGlobalImageCapabilitySchemasVersion

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 getComputeGlobalImageCapabilitySchemasVersion(args: GetComputeGlobalImageCapabilitySchemasVersionArgs, opts?: InvokeOptions): Promise<GetComputeGlobalImageCapabilitySchemasVersionResult>
function getComputeGlobalImageCapabilitySchemasVersionOutput(args: GetComputeGlobalImageCapabilitySchemasVersionOutputArgs, opts?: InvokeOptions): Output<GetComputeGlobalImageCapabilitySchemasVersionResult>
def get_compute_global_image_capability_schemas_version(compute_global_image_capability_schema_id: Optional[str] = None,
                                                        compute_global_image_capability_schema_version_name: Optional[str] = None,
                                                        opts: Optional[InvokeOptions] = None) -> GetComputeGlobalImageCapabilitySchemasVersionResult
def get_compute_global_image_capability_schemas_version_output(compute_global_image_capability_schema_id: Optional[pulumi.Input[str]] = None,
                                                        compute_global_image_capability_schema_version_name: Optional[pulumi.Input[str]] = None,
                                                        opts: Optional[InvokeOptions] = None) -> Output[GetComputeGlobalImageCapabilitySchemasVersionResult]
func GetComputeGlobalImageCapabilitySchemasVersion(ctx *Context, args *GetComputeGlobalImageCapabilitySchemasVersionArgs, opts ...InvokeOption) (*GetComputeGlobalImageCapabilitySchemasVersionResult, error)
func GetComputeGlobalImageCapabilitySchemasVersionOutput(ctx *Context, args *GetComputeGlobalImageCapabilitySchemasVersionOutputArgs, opts ...InvokeOption) GetComputeGlobalImageCapabilitySchemasVersionResultOutput

> Note: This function is named GetComputeGlobalImageCapabilitySchemasVersion in the Go SDK.

public static class GetComputeGlobalImageCapabilitySchemasVersion 
{
    public static Task<GetComputeGlobalImageCapabilitySchemasVersionResult> InvokeAsync(GetComputeGlobalImageCapabilitySchemasVersionArgs args, InvokeOptions? opts = null)
    public static Output<GetComputeGlobalImageCapabilitySchemasVersionResult> Invoke(GetComputeGlobalImageCapabilitySchemasVersionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetComputeGlobalImageCapabilitySchemasVersionResult> getComputeGlobalImageCapabilitySchemasVersion(GetComputeGlobalImageCapabilitySchemasVersionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: oci:Core/getComputeGlobalImageCapabilitySchemasVersion:getComputeGlobalImageCapabilitySchemasVersion
  arguments:
    # arguments dictionary

The following arguments are supported:

ComputeGlobalImageCapabilitySchemaId string

The OCID of the compute global image capability schema

ComputeGlobalImageCapabilitySchemaVersionName string

The name of the compute global image capability schema version

ComputeGlobalImageCapabilitySchemaId string

The OCID of the compute global image capability schema

ComputeGlobalImageCapabilitySchemaVersionName string

The name of the compute global image capability schema version

computeGlobalImageCapabilitySchemaId String

The OCID of the compute global image capability schema

computeGlobalImageCapabilitySchemaVersionName String

The name of the compute global image capability schema version

computeGlobalImageCapabilitySchemaId string

The OCID of the compute global image capability schema

computeGlobalImageCapabilitySchemaVersionName string

The name of the compute global image capability schema version

compute_global_image_capability_schema_id str

The OCID of the compute global image capability schema

compute_global_image_capability_schema_version_name str

The name of the compute global image capability schema version

computeGlobalImageCapabilitySchemaId String

The OCID of the compute global image capability schema

computeGlobalImageCapabilitySchemaVersionName String

The name of the compute global image capability schema version

getComputeGlobalImageCapabilitySchemasVersion Result

The following output properties are available:

ComputeGlobalImageCapabilitySchemaId string

The ocid of the compute global image capability schema

ComputeGlobalImageCapabilitySchemaVersionName string
DisplayName string

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

Id string

The provider-assigned unique ID for this managed resource.

Name string

The name of the compute global image capability schema version

SchemaData Dictionary<string, object>

The map of each capability name to its ImageCapabilityDescriptor.

TimeCreated string

The date and time the compute global image capability schema version was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

ComputeGlobalImageCapabilitySchemaId string

The ocid of the compute global image capability schema

ComputeGlobalImageCapabilitySchemaVersionName string
DisplayName string

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

Id string

The provider-assigned unique ID for this managed resource.

Name string

The name of the compute global image capability schema version

SchemaData map[string]interface{}

The map of each capability name to its ImageCapabilityDescriptor.

TimeCreated string

The date and time the compute global image capability schema version was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

computeGlobalImageCapabilitySchemaId String

The ocid of the compute global image capability schema

computeGlobalImageCapabilitySchemaVersionName String
displayName String

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

id String

The provider-assigned unique ID for this managed resource.

name String

The name of the compute global image capability schema version

schemaData Map<String,Object>

The map of each capability name to its ImageCapabilityDescriptor.

timeCreated String

The date and time the compute global image capability schema version was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

computeGlobalImageCapabilitySchemaId string

The ocid of the compute global image capability schema

computeGlobalImageCapabilitySchemaVersionName string
displayName string

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

id string

The provider-assigned unique ID for this managed resource.

name string

The name of the compute global image capability schema version

schemaData {[key: string]: any}

The map of each capability name to its ImageCapabilityDescriptor.

timeCreated string

The date and time the compute global image capability schema version was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

compute_global_image_capability_schema_id str

The ocid of the compute global image capability schema

compute_global_image_capability_schema_version_name str
display_name str

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

id str

The provider-assigned unique ID for this managed resource.

name str

The name of the compute global image capability schema version

schema_data Mapping[str, Any]

The map of each capability name to its ImageCapabilityDescriptor.

time_created str

The date and time the compute global image capability schema version was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

computeGlobalImageCapabilitySchemaId String

The ocid of the compute global image capability schema

computeGlobalImageCapabilitySchemaVersionName String
displayName String

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

id String

The provider-assigned unique ID for this managed resource.

name String

The name of the compute global image capability schema version

schemaData Map<Any>

The map of each capability name to its ImageCapabilityDescriptor.

timeCreated String

The date and time the compute global image capability schema version was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.