1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Vbs
  5. getInstVbsInstance
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

oci.Vbs.getInstVbsInstance

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 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,
    });
    
    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"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/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
    	})
    }
    
    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,
        });
    
    });
    
    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());
    
        }
    }
    
    variables:
      testVbsInstance:
        fn::invoke:
          Function: oci:Vbs:getInstVbsInstance
          Arguments:
            vbsInstanceId: ${testVbsInstanceOciVbsInstVbsInstance.id}
    

    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>
    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]
    func GetInstVbsInstance(ctx *Context, args *GetInstVbsInstanceArgs, opts ...InvokeOption) (*GetInstVbsInstanceResult, error)
    func GetInstVbsInstanceOutput(ctx *Context, args *GetInstVbsInstanceOutputArgs, opts ...InvokeOption) GetInstVbsInstanceResultOutput

    > 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)
    }
    public static CompletableFuture<GetInstVbsInstanceResult> getInstVbsInstance(GetInstVbsInstanceArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Vbs/getInstVbsInstance:getInstVbsInstance
      arguments:
        # arguments dictionary

    The following arguments are supported:

    VbsInstanceId string
    unique VbsInstance identifier
    VbsInstanceId string
    unique VbsInstance identifier
    vbsInstanceId String
    unique VbsInstance identifier
    vbsInstanceId string
    unique VbsInstance identifier
    vbs_instance_id str
    unique VbsInstance identifier
    vbsInstanceId String
    unique VbsInstance identifier

    getInstVbsInstance Result

    The following output properties are available:

    CompartmentId string
    Compartment of the service instance
    DefinedTags Dictionary<string, object>
    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, object>
    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, object>
    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]interface{}
    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]interface{}
    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]interface{}
    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,Object>
    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,Object>
    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,Object>
    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]: any}
    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]: any}
    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]: any}
    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, Any]
    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, Any]
    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, Any]
    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<Any>
    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<Any>
    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<Any>
    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.
    oci logo
    Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi