1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Vbs
  5. getInstVbsInstance
Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi

oci.Vbs.getInstVbsInstance

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi

This data source provides details about a specific Vbs Instance resource in Oracle Cloud Infrastructure Vbs Inst service.

Gets a VbsInstance by identifier

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testVbsInstance = oci.Vbs.getInstVbsInstance({
    vbsInstanceId: testVbsInstanceOciVbsInstVbsInstance.id,
});
Copy
import pulumi
import pulumi_oci as oci

test_vbs_instance = oci.Vbs.get_inst_vbs_instance(vbs_instance_id=test_vbs_instance_oci_vbs_inst_vbs_instance["id"])
Copy
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/vbs"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vbs.GetInstVbsInstance(ctx, &vbs.GetInstVbsInstanceArgs{
			VbsInstanceId: testVbsInstanceOciVbsInstVbsInstance.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testVbsInstance = Oci.Vbs.GetInstVbsInstance.Invoke(new()
    {
        VbsInstanceId = testVbsInstanceOciVbsInstVbsInstance.Id,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Vbs.VbsFunctions;
import com.pulumi.oci.Vbs.inputs.GetInstVbsInstanceArgs;
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 testVbsInstance = VbsFunctions.getInstVbsInstance(GetInstVbsInstanceArgs.builder()
            .vbsInstanceId(testVbsInstanceOciVbsInstVbsInstance.id())
            .build());

    }
}
Copy
variables:
  testVbsInstance:
    fn::invoke:
      function: oci:Vbs:getInstVbsInstance
      arguments:
        vbsInstanceId: ${testVbsInstanceOciVbsInstVbsInstance.id}
Copy

Using getInstVbsInstance

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 getInstVbsInstance(args: GetInstVbsInstanceArgs, opts?: InvokeOptions): Promise<GetInstVbsInstanceResult>
function getInstVbsInstanceOutput(args: GetInstVbsInstanceOutputArgs, opts?: InvokeOptions): Output<GetInstVbsInstanceResult>
Copy
def get_inst_vbs_instance(vbs_instance_id: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetInstVbsInstanceResult
def get_inst_vbs_instance_output(vbs_instance_id: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetInstVbsInstanceResult]
Copy
func GetInstVbsInstance(ctx *Context, args *GetInstVbsInstanceArgs, opts ...InvokeOption) (*GetInstVbsInstanceResult, error)
func GetInstVbsInstanceOutput(ctx *Context, args *GetInstVbsInstanceOutputArgs, opts ...InvokeOption) GetInstVbsInstanceResultOutput
Copy

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

public static class GetInstVbsInstance 
{
    public static Task<GetInstVbsInstanceResult> InvokeAsync(GetInstVbsInstanceArgs args, InvokeOptions? opts = null)
    public static Output<GetInstVbsInstanceResult> Invoke(GetInstVbsInstanceInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetInstVbsInstanceResult> getInstVbsInstance(GetInstVbsInstanceArgs args, InvokeOptions options)
public static Output<GetInstVbsInstanceResult> getInstVbsInstance(GetInstVbsInstanceArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:Vbs/getInstVbsInstance:getInstVbsInstance
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

VbsInstanceId This property is required. string
unique VbsInstance identifier
VbsInstanceId This property is required. string
unique VbsInstance identifier
vbsInstanceId This property is required. String
unique VbsInstance identifier
vbsInstanceId This property is required. string
unique VbsInstance identifier
vbs_instance_id This property is required. str
unique VbsInstance identifier
vbsInstanceId This property is required. String
unique VbsInstance identifier

getInstVbsInstance Result

The following output properties are available:

CompartmentId string
Compartment of the service instance
DefinedTags Dictionary<string, string>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
DisplayName string
Service instance display name
FreeformTags Dictionary<string, string>
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
Id string
Unique identifier that is immutable on creation
IdcsAccessToken string
IsResourceUsageAgreementGranted bool
Whether the VBS service instance owner explicitly approved VBS to create and use resources in the customer tenancy
LifecyleDetails string
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
Name string
Service instance name (unique identifier)
ResourceCompartmentId string
Compartment where VBS may create additional resources for the service instance
State string
The current state of the VbsInstance.
SystemTags Dictionary<string, string>
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
TimeCreated string
The time the the VbsInstance was created. An RFC3339 formatted datetime string
TimeUpdated string
The time the VbsInstance was updated. An RFC3339 formatted datetime string
VbsAccessUrl string
Public web URL for accessing the VBS service instance
VbsInstanceId string
CompartmentId string
Compartment of the service instance
DefinedTags map[string]string
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
DisplayName string
Service instance display name
FreeformTags map[string]string
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
Id string
Unique identifier that is immutable on creation
IdcsAccessToken string
IsResourceUsageAgreementGranted bool
Whether the VBS service instance owner explicitly approved VBS to create and use resources in the customer tenancy
LifecyleDetails string
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
Name string
Service instance name (unique identifier)
ResourceCompartmentId string
Compartment where VBS may create additional resources for the service instance
State string
The current state of the VbsInstance.
SystemTags map[string]string
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
TimeCreated string
The time the the VbsInstance was created. An RFC3339 formatted datetime string
TimeUpdated string
The time the VbsInstance was updated. An RFC3339 formatted datetime string
VbsAccessUrl string
Public web URL for accessing the VBS service instance
VbsInstanceId string
compartmentId String
Compartment of the service instance
definedTags Map<String,String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
displayName String
Service instance display name
freeformTags Map<String,String>
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
id String
Unique identifier that is immutable on creation
idcsAccessToken String
isResourceUsageAgreementGranted Boolean
Whether the VBS service instance owner explicitly approved VBS to create and use resources in the customer tenancy
lifecyleDetails String
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
name String
Service instance name (unique identifier)
resourceCompartmentId String
Compartment where VBS may create additional resources for the service instance
state String
The current state of the VbsInstance.
systemTags Map<String,String>
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated String
The time the the VbsInstance was created. An RFC3339 formatted datetime string
timeUpdated String
The time the VbsInstance was updated. An RFC3339 formatted datetime string
vbsAccessUrl String
Public web URL for accessing the VBS service instance
vbsInstanceId String
compartmentId string
Compartment of the service instance
definedTags {[key: string]: string}
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
displayName string
Service instance display name
freeformTags {[key: string]: string}
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
id string
Unique identifier that is immutable on creation
idcsAccessToken string
isResourceUsageAgreementGranted boolean
Whether the VBS service instance owner explicitly approved VBS to create and use resources in the customer tenancy
lifecyleDetails string
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
name string
Service instance name (unique identifier)
resourceCompartmentId string
Compartment where VBS may create additional resources for the service instance
state string
The current state of the VbsInstance.
systemTags {[key: string]: string}
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated string
The time the the VbsInstance was created. An RFC3339 formatted datetime string
timeUpdated string
The time the VbsInstance was updated. An RFC3339 formatted datetime string
vbsAccessUrl string
Public web URL for accessing the VBS service instance
vbsInstanceId string
compartment_id str
Compartment of the service instance
defined_tags Mapping[str, str]
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
display_name str
Service instance display name
freeform_tags Mapping[str, str]
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
id str
Unique identifier that is immutable on creation
idcs_access_token str
is_resource_usage_agreement_granted bool
Whether the VBS service instance owner explicitly approved VBS to create and use resources in the customer tenancy
lifecyle_details str
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
name str
Service instance name (unique identifier)
resource_compartment_id str
Compartment where VBS may create additional resources for the service instance
state str
The current state of the VbsInstance.
system_tags Mapping[str, str]
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
time_created str
The time the the VbsInstance was created. An RFC3339 formatted datetime string
time_updated str
The time the VbsInstance was updated. An RFC3339 formatted datetime string
vbs_access_url str
Public web URL for accessing the VBS service instance
vbs_instance_id str
compartmentId String
Compartment of the service instance
definedTags Map<String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
displayName String
Service instance display name
freeformTags Map<String>
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
id String
Unique identifier that is immutable on creation
idcsAccessToken String
isResourceUsageAgreementGranted Boolean
Whether the VBS service instance owner explicitly approved VBS to create and use resources in the customer tenancy
lifecyleDetails String
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
name String
Service instance name (unique identifier)
resourceCompartmentId String
Compartment where VBS may create additional resources for the service instance
state String
The current state of the VbsInstance.
systemTags Map<String>
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated String
The time the the VbsInstance was created. An RFC3339 formatted datetime string
timeUpdated String
The time the VbsInstance was updated. An RFC3339 formatted datetime string
vbsAccessUrl String
Public web URL for accessing the VBS service instance
vbsInstanceId String

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 v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi