Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi
oci.Core.getComputeGlobalImageCapabilitySchemasVersion
Explore with Pulumi AI
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
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testComputeGlobalImageCapabilitySchemasVersion = oci.Core.getComputeGlobalImageCapabilitySchemasVersion({
computeGlobalImageCapabilitySchemaId: testComputeGlobalImageCapabilitySchema.id,
computeGlobalImageCapabilitySchemaVersionName: computeGlobalImageCapabilitySchemasVersionComputeGlobalImageCapabilitySchemaVersionName,
});
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=test_compute_global_image_capability_schema["id"],
compute_global_image_capability_schema_version_name=compute_global_image_capability_schemas_version_compute_global_image_capability_schema_version_name)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/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: testComputeGlobalImageCapabilitySchema.Id,
ComputeGlobalImageCapabilitySchemaVersionName: computeGlobalImageCapabilitySchemasVersionComputeGlobalImageCapabilitySchemaVersionName,
}, 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 testComputeGlobalImageCapabilitySchemasVersion = Oci.Core.GetComputeGlobalImageCapabilitySchemasVersion.Invoke(new()
{
ComputeGlobalImageCapabilitySchemaId = testComputeGlobalImageCapabilitySchema.Id,
ComputeGlobalImageCapabilitySchemaVersionName = computeGlobalImageCapabilitySchemasVersionComputeGlobalImageCapabilitySchemaVersionName,
});
});
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(testComputeGlobalImageCapabilitySchema.id())
.computeGlobalImageCapabilitySchemaVersionName(computeGlobalImageCapabilitySchemasVersionComputeGlobalImageCapabilitySchemaVersionName)
.build());
}
}
variables:
testComputeGlobalImageCapabilitySchemasVersion:
fn::invoke:
Function: oci:Core:getComputeGlobalImageCapabilitySchemasVersion
Arguments:
computeGlobalImageCapabilitySchemaId: ${testComputeGlobalImageCapabilitySchema.id}
computeGlobalImageCapabilitySchemaVersionName: ${computeGlobalImageCapabilitySchemasVersionComputeGlobalImageCapabilitySchemaVersionName}
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:
- Compute
Global stringImage Capability Schema Id - The OCID of the compute global image capability schema
- Compute
Global stringImage Capability Schema Version Name - The name of the compute global image capability schema version
- Compute
Global stringImage Capability Schema Id - The OCID of the compute global image capability schema
- Compute
Global stringImage Capability Schema Version Name - The name of the compute global image capability schema version
- compute
Global StringImage Capability Schema Id - The OCID of the compute global image capability schema
- compute
Global StringImage Capability Schema Version Name - The name of the compute global image capability schema version
- compute
Global stringImage Capability Schema Id - The OCID of the compute global image capability schema
- compute
Global stringImage Capability Schema Version Name - The name of the compute global image capability schema version
- compute_
global_ strimage_ capability_ schema_ id - The OCID of the compute global image capability schema
- compute_
global_ strimage_ capability_ schema_ version_ name - The name of the compute global image capability schema version
- compute
Global StringImage Capability Schema Id - The OCID of the compute global image capability schema
- compute
Global StringImage Capability Schema Version Name - The name of the compute global image capability schema version
getComputeGlobalImageCapabilitySchemasVersion Result
The following output properties are available:
- Compute
Global stringImage Capability Schema Id - The ocid of the compute global image capability schema
- Compute
Global stringImage Capability Schema Version Name - Display
Name 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
- Schema
Data Dictionary<string, string> - The map of each capability name to its ImageCapabilityDescriptor.
- Time
Created 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 stringImage Capability Schema Id - The ocid of the compute global image capability schema
- Compute
Global stringImage Capability Schema Version Name - Display
Name 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
- Schema
Data map[string]string - The map of each capability name to its ImageCapabilityDescriptor.
- Time
Created 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 StringImage Capability Schema Id - The ocid of the compute global image capability schema
- compute
Global StringImage Capability Schema Version Name - display
Name 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
- schema
Data Map<String,String> - The map of each capability name to its ImageCapabilityDescriptor.
- time
Created 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 stringImage Capability Schema Id - The ocid of the compute global image capability schema
- compute
Global stringImage Capability Schema Version Name - display
Name 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
- schema
Data {[key: string]: string} - The map of each capability name to its ImageCapabilityDescriptor.
- time
Created 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_ strimage_ capability_ schema_ id - The ocid of the compute global image capability schema
- compute_
global_ strimage_ capability_ schema_ version_ name - 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, str] - 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
- compute
Global StringImage Capability Schema Id - The ocid of the compute global image capability schema
- compute
Global StringImage Capability Schema Version Name - display
Name 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
- schema
Data Map<String> - The map of each capability name to its ImageCapabilityDescriptor.
- time
Created 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
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.