Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.Core.getComputeGlobalImageCapabilitySchemasVersions
Explore with Pulumi AI
This data source provides the list of Compute Global Image Capability Schemas Versions in Oracle Cloud Infrastructure Core service.
Lists Compute Global Image Capability Schema versions in the specified compartment.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testComputeGlobalImageCapabilitySchemasVersions = oci.Core.getComputeGlobalImageCapabilitySchemasVersions({
computeGlobalImageCapabilitySchemaId: testComputeGlobalImageCapabilitySchema.id,
displayName: computeGlobalImageCapabilitySchemasVersionDisplayName,
});
import pulumi
import pulumi_oci as oci
test_compute_global_image_capability_schemas_versions = oci.Core.get_compute_global_image_capability_schemas_versions(compute_global_image_capability_schema_id=test_compute_global_image_capability_schema["id"],
display_name=compute_global_image_capability_schemas_version_display_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.GetComputeGlobalImageCapabilitySchemasVersions(ctx, &core.GetComputeGlobalImageCapabilitySchemasVersionsArgs{
ComputeGlobalImageCapabilitySchemaId: testComputeGlobalImageCapabilitySchema.Id,
DisplayName: pulumi.StringRef(computeGlobalImageCapabilitySchemasVersionDisplayName),
}, 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 testComputeGlobalImageCapabilitySchemasVersions = Oci.Core.GetComputeGlobalImageCapabilitySchemasVersions.Invoke(new()
{
ComputeGlobalImageCapabilitySchemaId = testComputeGlobalImageCapabilitySchema.Id,
DisplayName = computeGlobalImageCapabilitySchemasVersionDisplayName,
});
});
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.GetComputeGlobalImageCapabilitySchemasVersionsArgs;
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 testComputeGlobalImageCapabilitySchemasVersions = CoreFunctions.getComputeGlobalImageCapabilitySchemasVersions(GetComputeGlobalImageCapabilitySchemasVersionsArgs.builder()
.computeGlobalImageCapabilitySchemaId(testComputeGlobalImageCapabilitySchema.id())
.displayName(computeGlobalImageCapabilitySchemasVersionDisplayName)
.build());
}
}
variables:
testComputeGlobalImageCapabilitySchemasVersions:
fn::invoke:
Function: oci:Core:getComputeGlobalImageCapabilitySchemasVersions
Arguments:
computeGlobalImageCapabilitySchemaId: ${testComputeGlobalImageCapabilitySchema.id}
displayName: ${computeGlobalImageCapabilitySchemasVersionDisplayName}
Using getComputeGlobalImageCapabilitySchemasVersions
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 getComputeGlobalImageCapabilitySchemasVersions(args: GetComputeGlobalImageCapabilitySchemasVersionsArgs, opts?: InvokeOptions): Promise<GetComputeGlobalImageCapabilitySchemasVersionsResult>
function getComputeGlobalImageCapabilitySchemasVersionsOutput(args: GetComputeGlobalImageCapabilitySchemasVersionsOutputArgs, opts?: InvokeOptions): Output<GetComputeGlobalImageCapabilitySchemasVersionsResult>
def get_compute_global_image_capability_schemas_versions(compute_global_image_capability_schema_id: Optional[str] = None,
display_name: Optional[str] = None,
filters: Optional[Sequence[_core.GetComputeGlobalImageCapabilitySchemasVersionsFilter]] = None,
opts: Optional[InvokeOptions] = None) -> GetComputeGlobalImageCapabilitySchemasVersionsResult
def get_compute_global_image_capability_schemas_versions_output(compute_global_image_capability_schema_id: Optional[pulumi.Input[str]] = None,
display_name: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_core.GetComputeGlobalImageCapabilitySchemasVersionsFilterArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetComputeGlobalImageCapabilitySchemasVersionsResult]
func GetComputeGlobalImageCapabilitySchemasVersions(ctx *Context, args *GetComputeGlobalImageCapabilitySchemasVersionsArgs, opts ...InvokeOption) (*GetComputeGlobalImageCapabilitySchemasVersionsResult, error)
func GetComputeGlobalImageCapabilitySchemasVersionsOutput(ctx *Context, args *GetComputeGlobalImageCapabilitySchemasVersionsOutputArgs, opts ...InvokeOption) GetComputeGlobalImageCapabilitySchemasVersionsResultOutput
> Note: This function is named GetComputeGlobalImageCapabilitySchemasVersions
in the Go SDK.
public static class GetComputeGlobalImageCapabilitySchemasVersions
{
public static Task<GetComputeGlobalImageCapabilitySchemasVersionsResult> InvokeAsync(GetComputeGlobalImageCapabilitySchemasVersionsArgs args, InvokeOptions? opts = null)
public static Output<GetComputeGlobalImageCapabilitySchemasVersionsResult> Invoke(GetComputeGlobalImageCapabilitySchemasVersionsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetComputeGlobalImageCapabilitySchemasVersionsResult> getComputeGlobalImageCapabilitySchemasVersions(GetComputeGlobalImageCapabilitySchemasVersionsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Core/getComputeGlobalImageCapabilitySchemasVersions:getComputeGlobalImageCapabilitySchemasVersions
arguments:
# arguments dictionary
The following arguments are supported:
- Compute
Global stringImage Capability Schema Id - The OCID of the compute global image capability schema
- Display
Name string - A filter to return only resources that match the given display name exactly.
- Filters
List<Get
Compute Global Image Capability Schemas Versions Filter>
- Compute
Global stringImage Capability Schema Id - The OCID of the compute global image capability schema
- Display
Name string - A filter to return only resources that match the given display name exactly.
- Filters
[]Get
Compute Global Image Capability Schemas Versions Filter
- compute
Global StringImage Capability Schema Id - The OCID of the compute global image capability schema
- display
Name String - A filter to return only resources that match the given display name exactly.
- filters
List<Get
Compute Global Image Capability Schemas Versions Filter>
- compute
Global stringImage Capability Schema Id - The OCID of the compute global image capability schema
- display
Name string - A filter to return only resources that match the given display name exactly.
- filters
Get
Compute Global Image Capability Schemas Versions Filter[]
- compute_
global_ strimage_ capability_ schema_ id - The OCID of the compute global image capability schema
- display_
name str - A filter to return only resources that match the given display name exactly.
- filters
Sequence[core.
Get Compute Global Image Capability Schemas Versions Filter]
- compute
Global StringImage Capability Schema Id - The OCID of the compute global image capability schema
- display
Name String - A filter to return only resources that match the given display name exactly.
- filters List<Property Map>
getComputeGlobalImageCapabilitySchemasVersions Result
The following output properties are available:
- Compute
Global stringImage Capability Schema Id - The ocid of the compute global image capability schema
- Compute
Global List<GetImage Capability Schema Versions Compute Global Image Capability Schemas Versions Compute Global Image Capability Schema Version> - The list of compute_global_image_capability_schema_versions.
- Id string
- The provider-assigned unique ID for this managed resource.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Filters
List<Get
Compute Global Image Capability Schemas Versions Filter>
- Compute
Global stringImage Capability Schema Id - The ocid of the compute global image capability schema
- Compute
Global []GetImage Capability Schema Versions Compute Global Image Capability Schemas Versions Compute Global Image Capability Schema Version - The list of compute_global_image_capability_schema_versions.
- Id string
- The provider-assigned unique ID for this managed resource.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Filters
[]Get
Compute Global Image Capability Schemas Versions Filter
- compute
Global StringImage Capability Schema Id - The ocid of the compute global image capability schema
- compute
Global List<GetImage Capability Schema Versions Compute Global Image Capability Schemas Versions Compute Global Image Capability Schema Version> - The list of compute_global_image_capability_schema_versions.
- id String
- The provider-assigned unique ID for this managed resource.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- filters
List<Get
Compute Global Image Capability Schemas Versions Filter>
- compute
Global stringImage Capability Schema Id - The ocid of the compute global image capability schema
- compute
Global GetImage Capability Schema Versions Compute Global Image Capability Schemas Versions Compute Global Image Capability Schema Version[] - The list of compute_global_image_capability_schema_versions.
- id string
- The provider-assigned unique ID for this managed resource.
- display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- filters
Get
Compute Global Image Capability Schemas Versions Filter[]
- compute_
global_ strimage_ capability_ schema_ id - The ocid of the compute global image capability schema
- compute_
global_ Sequence[core.image_ capability_ schema_ versions Get Compute Global Image Capability Schemas Versions Compute Global Image Capability Schema Version] - The list of compute_global_image_capability_schema_versions.
- id str
- The provider-assigned unique ID for this managed resource.
- display_
name str - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- filters
Sequence[core.
Get Compute Global Image Capability Schemas Versions Filter]
- compute
Global StringImage Capability Schema Id - The ocid of the compute global image capability schema
- compute
Global List<Property Map>Image Capability Schema Versions - The list of compute_global_image_capability_schema_versions.
- id String
- The provider-assigned unique ID for this managed resource.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- filters List<Property Map>
Supporting Types
GetComputeGlobalImageCapabilitySchemasVersionsComputeGlobalImageCapabilitySchemaVersion
- Compute
Global stringImage Capability Schema Id - The OCID of the compute global image capability schema
- Display
Name string - A filter to return only resources that match the given display name exactly.
- 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
- Display
Name string - A filter to return only resources that match the given display name exactly.
- 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
- display
Name String - A filter to return only resources that match the given display name exactly.
- 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
- display
Name string - A filter to return only resources that match the given display name exactly.
- 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
- display_
name str - A filter to return only resources that match the given display name exactly.
- 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
- display
Name String - A filter to return only resources that match the given display name exactly.
- 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
GetComputeGlobalImageCapabilitySchemasVersionsFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.