Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.Vbs.getInstVbsInstances
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
This data source provides the list of Vbs Instances in Oracle Cloud Infrastructure Vbs Inst service.
Returns a list of VbsInstances.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testVbsInstances = oci.Vbs.getInstVbsInstances({
compartmentId: compartmentId,
id: vbsInstanceId,
name: vbsInstanceName,
state: vbsInstanceState,
});
import pulumi
import pulumi_oci as oci
test_vbs_instances = oci.Vbs.get_inst_vbs_instances(compartment_id=compartment_id,
id=vbs_instance_id,
name=vbs_instance_name,
state=vbs_instance_state)
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.GetInstVbsInstances(ctx, &vbs.GetInstVbsInstancesArgs{
CompartmentId: compartmentId,
Id: pulumi.StringRef(vbsInstanceId),
Name: pulumi.StringRef(vbsInstanceName),
State: pulumi.StringRef(vbsInstanceState),
}, 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 testVbsInstances = Oci.Vbs.GetInstVbsInstances.Invoke(new()
{
CompartmentId = compartmentId,
Id = vbsInstanceId,
Name = vbsInstanceName,
State = vbsInstanceState,
});
});
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.GetInstVbsInstancesArgs;
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 testVbsInstances = VbsFunctions.getInstVbsInstances(GetInstVbsInstancesArgs.builder()
.compartmentId(compartmentId)
.id(vbsInstanceId)
.name(vbsInstanceName)
.state(vbsInstanceState)
.build());
}
}
variables:
testVbsInstances:
fn::invoke:
Function: oci:Vbs:getInstVbsInstances
Arguments:
compartmentId: ${compartmentId}
id: ${vbsInstanceId}
name: ${vbsInstanceName}
state: ${vbsInstanceState}
Using getInstVbsInstances
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 getInstVbsInstances(args: GetInstVbsInstancesArgs, opts?: InvokeOptions): Promise<GetInstVbsInstancesResult>
function getInstVbsInstancesOutput(args: GetInstVbsInstancesOutputArgs, opts?: InvokeOptions): Output<GetInstVbsInstancesResult>
def get_inst_vbs_instances(compartment_id: Optional[str] = None,
filters: Optional[Sequence[_vbs.GetInstVbsInstancesFilter]] = None,
id: Optional[str] = None,
name: Optional[str] = None,
state: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetInstVbsInstancesResult
def get_inst_vbs_instances_output(compartment_id: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_vbs.GetInstVbsInstancesFilterArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
state: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetInstVbsInstancesResult]
func GetInstVbsInstances(ctx *Context, args *GetInstVbsInstancesArgs, opts ...InvokeOption) (*GetInstVbsInstancesResult, error)
func GetInstVbsInstancesOutput(ctx *Context, args *GetInstVbsInstancesOutputArgs, opts ...InvokeOption) GetInstVbsInstancesResultOutput
> Note: This function is named GetInstVbsInstances
in the Go SDK.
public static class GetInstVbsInstances
{
public static Task<GetInstVbsInstancesResult> InvokeAsync(GetInstVbsInstancesArgs args, InvokeOptions? opts = null)
public static Output<GetInstVbsInstancesResult> Invoke(GetInstVbsInstancesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetInstVbsInstancesResult> getInstVbsInstances(GetInstVbsInstancesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Vbs/getInstVbsInstances:getInstVbsInstances
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string - The ID of the compartment in which to list resources.
- Filters
List<Get
Inst Vbs Instances Filter> - Id string
- unique VbsInstance identifier
- Name string
- A filter to return only resources that match the entire name given.
- State string
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- Compartment
Id string - The ID of the compartment in which to list resources.
- Filters
[]Get
Inst Vbs Instances Filter - Id string
- unique VbsInstance identifier
- Name string
- A filter to return only resources that match the entire name given.
- State string
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- compartment
Id String - The ID of the compartment in which to list resources.
- filters
List<Get
Inst Instances Filter> - id String
- unique VbsInstance identifier
- name String
- A filter to return only resources that match the entire name given.
- state String
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- compartment
Id string - The ID of the compartment in which to list resources.
- filters
Get
Inst Vbs Instances Filter[] - id string
- unique VbsInstance identifier
- name string
- A filter to return only resources that match the entire name given.
- state string
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- compartment_
id str - The ID of the compartment in which to list resources.
- filters
Sequence[vbs.
Get Inst Vbs Instances Filter] - id str
- unique VbsInstance identifier
- name str
- A filter to return only resources that match the entire name given.
- state str
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- compartment
Id String - The ID of the compartment in which to list resources.
- filters List<Property Map>
- id String
- unique VbsInstance identifier
- name String
- A filter to return only resources that match the entire name given.
- state String
- A filter to return only resources their lifecycleState matches the given lifecycleState.
getInstVbsInstances Result
The following output properties are available:
- Compartment
Id string - Compartment of the service instance
- Vbs
Instance List<GetSummary Collections Inst Vbs Instances Vbs Instance Summary Collection> - The list of vbs_instance_summary_collection.
- Filters
List<Get
Inst Vbs Instances Filter> - Id string
- Unique identifier that is immutable on creation
- Name string
- Service instance name (unique identifier)
- State string
- The current state of the VbsInstance.
- Compartment
Id string - Compartment of the service instance
- Vbs
Instance []GetSummary Collections Inst Vbs Instances Vbs Instance Summary Collection - The list of vbs_instance_summary_collection.
- Filters
[]Get
Inst Vbs Instances Filter - Id string
- Unique identifier that is immutable on creation
- Name string
- Service instance name (unique identifier)
- State string
- The current state of the VbsInstance.
- compartment
Id String - Compartment of the service instance
- vbs
Instance List<GetSummary Collections Inst Instances Instance Summary Collection> - The list of vbs_instance_summary_collection.
- filters
List<Get
Inst Instances Filter> - id String
- Unique identifier that is immutable on creation
- name String
- Service instance name (unique identifier)
- state String
- The current state of the VbsInstance.
- compartment
Id string - Compartment of the service instance
- vbs
Instance GetSummary Collections Inst Vbs Instances Vbs Instance Summary Collection[] - The list of vbs_instance_summary_collection.
- filters
Get
Inst Vbs Instances Filter[] - id string
- Unique identifier that is immutable on creation
- name string
- Service instance name (unique identifier)
- state string
- The current state of the VbsInstance.
- compartment_
id str - Compartment of the service instance
- vbs_
instance_ Sequence[vbs.summary_ collections Get Inst Vbs Instances Vbs Instance Summary Collection] - The list of vbs_instance_summary_collection.
- filters
Sequence[vbs.
Get Inst Vbs Instances Filter] - id str
- Unique identifier that is immutable on creation
- name str
- Service instance name (unique identifier)
- state str
- The current state of the VbsInstance.
- compartment
Id String - Compartment of the service instance
- vbs
Instance List<Property Map>Summary Collections - The list of vbs_instance_summary_collection.
- filters List<Property Map>
- id String
- Unique identifier that is immutable on creation
- name String
- Service instance name (unique identifier)
- state String
- The current state of the VbsInstance.
Supporting Types
GetInstVbsInstancesFilter
GetInstVbsInstancesVbsInstanceSummaryCollection
GetInstVbsInstancesVbsInstanceSummaryCollectionItem
- Compartment
Id string - The ID of the compartment in which to list resources.
- Dictionary<string, object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - Service instance display name
- 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 VbsInstance identifier
- Idcs
Access stringToken - Is
Resource boolUsage Agreement Granted - Whether the VBS service instance owner explicitly approved VBS to create and use resources in the customer tenancy
- Lifecyle
Details 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
- A filter to return only resources that match the entire name given.
- Resource
Compartment stringId - Compartment where VBS may create additional resources for the service instance
- State string
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- Dictionary<string, object>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time the the VbsInstance was created. An RFC3339 formatted datetime string
- Time
Updated string - The time the VbsInstance was updated. An RFC3339 formatted datetime string
- Vbs
Access stringUrl - Public web URL for accessing the VBS service instance
- Compartment
Id string - The ID of the compartment in which to list resources.
- map[string]interface{}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - Service instance display name
- 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 VbsInstance identifier
- Idcs
Access stringToken - Is
Resource boolUsage Agreement Granted - Whether the VBS service instance owner explicitly approved VBS to create and use resources in the customer tenancy
- Lifecyle
Details 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
- A filter to return only resources that match the entire name given.
- Resource
Compartment stringId - Compartment where VBS may create additional resources for the service instance
- State string
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- map[string]interface{}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time the the VbsInstance was created. An RFC3339 formatted datetime string
- Time
Updated string - The time the VbsInstance was updated. An RFC3339 formatted datetime string
- Vbs
Access stringUrl - Public web URL for accessing the VBS service instance
- compartment
Id String - The ID of the compartment in which to list resources.
- Map<String,Object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - Service instance display name
- 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 VbsInstance identifier
- idcs
Access StringToken - is
Resource BooleanUsage Agreement Granted - Whether the VBS service instance owner explicitly approved VBS to create and use resources in the customer tenancy
- lifecyle
Details 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
- A filter to return only resources that match the entire name given.
- resource
Compartment StringId - Compartment where VBS may create additional resources for the service instance
- state String
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- Map<String,Object>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time the the VbsInstance was created. An RFC3339 formatted datetime string
- time
Updated String - The time the VbsInstance was updated. An RFC3339 formatted datetime string
- vbs
Access StringUrl - Public web URL for accessing the VBS service instance
- compartment
Id string - The ID of the compartment in which to list resources.
- {[key: string]: any}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name string - Service instance display name
- {[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 VbsInstance identifier
- idcs
Access stringToken - is
Resource booleanUsage Agreement Granted - Whether the VBS service instance owner explicitly approved VBS to create and use resources in the customer tenancy
- lifecyle
Details 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
- A filter to return only resources that match the entire name given.
- resource
Compartment stringId - Compartment where VBS may create additional resources for the service instance
- state string
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- {[key: string]: any}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The time the the VbsInstance was created. An RFC3339 formatted datetime string
- time
Updated string - The time the VbsInstance was updated. An RFC3339 formatted datetime string
- vbs
Access stringUrl - Public web URL for accessing the VBS service instance
- compartment_
id str - The ID of the compartment in which to list resources.
- 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
- 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 VbsInstance identifier
- idcs_
access_ strtoken - is_
resource_ boolusage_ agreement_ granted - 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
- A filter to return only resources that match the entire name given.
- resource_
compartment_ strid - Compartment where VBS may create additional resources for the service instance
- state str
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- 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_ strurl - Public web URL for accessing the VBS service instance
- compartment
Id String - The ID of the compartment in which to list resources.
- Map<Any>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - Service instance display name
- 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 VbsInstance identifier
- idcs
Access StringToken - is
Resource BooleanUsage Agreement Granted - Whether the VBS service instance owner explicitly approved VBS to create and use resources in the customer tenancy
- lifecyle
Details 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
- A filter to return only resources that match the entire name given.
- resource
Compartment StringId - Compartment where VBS may create additional resources for the service instance
- state String
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- Map<Any>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time the the VbsInstance was created. An RFC3339 formatted datetime string
- time
Updated String - The time the VbsInstance was updated. An RFC3339 formatted datetime string
- vbs
Access StringUrl - Public web URL for accessing the VBS service instance
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 v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi