1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Database
  5. getApplicationVips
Oracle Cloud Infrastructure v2.29.0 published on Wednesday, Apr 9, 2025 by Pulumi

oci.Database.getApplicationVips

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.29.0 published on Wednesday, Apr 9, 2025 by Pulumi

This data source provides the list of Application Vips in Oracle Cloud Infrastructure Database service.

Gets a list of application virtual IP (VIP) addresses on a cloud VM cluster.

Example Usage

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

const testApplicationVips = oci.Database.getApplicationVips({
    cloudVmClusterId: testCloudVmCluster.id,
    compartmentId: compartmentId,
    state: applicationVipState,
});
Copy
import pulumi
import pulumi_oci as oci

test_application_vips = oci.Database.get_application_vips(cloud_vm_cluster_id=test_cloud_vm_cluster["id"],
    compartment_id=compartment_id,
    state=application_vip_state)
Copy
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := database.GetApplicationVips(ctx, &database.GetApplicationVipsArgs{
			CloudVmClusterId: testCloudVmCluster.Id,
			CompartmentId:    compartmentId,
			State:            pulumi.StringRef(applicationVipState),
		}, 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 testApplicationVips = Oci.Database.GetApplicationVips.Invoke(new()
    {
        CloudVmClusterId = testCloudVmCluster.Id,
        CompartmentId = compartmentId,
        State = applicationVipState,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Database.DatabaseFunctions;
import com.pulumi.oci.Database.inputs.GetApplicationVipsArgs;
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 testApplicationVips = DatabaseFunctions.getApplicationVips(GetApplicationVipsArgs.builder()
            .cloudVmClusterId(testCloudVmCluster.id())
            .compartmentId(compartmentId)
            .state(applicationVipState)
            .build());

    }
}
Copy
variables:
  testApplicationVips:
    fn::invoke:
      function: oci:Database:getApplicationVips
      arguments:
        cloudVmClusterId: ${testCloudVmCluster.id}
        compartmentId: ${compartmentId}
        state: ${applicationVipState}
Copy

Using getApplicationVips

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 getApplicationVips(args: GetApplicationVipsArgs, opts?: InvokeOptions): Promise<GetApplicationVipsResult>
function getApplicationVipsOutput(args: GetApplicationVipsOutputArgs, opts?: InvokeOptions): Output<GetApplicationVipsResult>
Copy
def get_application_vips(cloud_vm_cluster_id: Optional[str] = None,
                         compartment_id: Optional[str] = None,
                         filters: Optional[Sequence[_database.GetApplicationVipsFilter]] = None,
                         state: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetApplicationVipsResult
def get_application_vips_output(cloud_vm_cluster_id: Optional[pulumi.Input[str]] = None,
                         compartment_id: Optional[pulumi.Input[str]] = None,
                         filters: Optional[pulumi.Input[Sequence[pulumi.Input[_database.GetApplicationVipsFilterArgs]]]] = None,
                         state: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetApplicationVipsResult]
Copy
func GetApplicationVips(ctx *Context, args *GetApplicationVipsArgs, opts ...InvokeOption) (*GetApplicationVipsResult, error)
func GetApplicationVipsOutput(ctx *Context, args *GetApplicationVipsOutputArgs, opts ...InvokeOption) GetApplicationVipsResultOutput
Copy

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

public static class GetApplicationVips 
{
    public static Task<GetApplicationVipsResult> InvokeAsync(GetApplicationVipsArgs args, InvokeOptions? opts = null)
    public static Output<GetApplicationVipsResult> Invoke(GetApplicationVipsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetApplicationVipsResult> getApplicationVips(GetApplicationVipsArgs args, InvokeOptions options)
public static Output<GetApplicationVipsResult> getApplicationVips(GetApplicationVipsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:Database/getApplicationVips:getApplicationVips
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

CloudVmClusterId This property is required. string
The OCID of the cloud VM cluster associated with the application virtual IP (VIP) address.
CompartmentId This property is required. string
The compartment OCID.
Filters Changes to this property will trigger replacement. List<GetApplicationVipsFilter>
State string
A filter to return only resources that match the given lifecycle state exactly.
CloudVmClusterId This property is required. string
The OCID of the cloud VM cluster associated with the application virtual IP (VIP) address.
CompartmentId This property is required. string
The compartment OCID.
Filters Changes to this property will trigger replacement. []GetApplicationVipsFilter
State string
A filter to return only resources that match the given lifecycle state exactly.
cloudVmClusterId This property is required. String
The OCID of the cloud VM cluster associated with the application virtual IP (VIP) address.
compartmentId This property is required. String
The compartment OCID.
filters Changes to this property will trigger replacement. List<GetApplicationVipsFilter>
state String
A filter to return only resources that match the given lifecycle state exactly.
cloudVmClusterId This property is required. string
The OCID of the cloud VM cluster associated with the application virtual IP (VIP) address.
compartmentId This property is required. string
The compartment OCID.
filters Changes to this property will trigger replacement. GetApplicationVipsFilter[]
state string
A filter to return only resources that match the given lifecycle state exactly.
cloud_vm_cluster_id This property is required. str
The OCID of the cloud VM cluster associated with the application virtual IP (VIP) address.
compartment_id This property is required. str
The compartment OCID.
filters Changes to this property will trigger replacement. Sequence[database.GetApplicationVipsFilter]
state str
A filter to return only resources that match the given lifecycle state exactly.
cloudVmClusterId This property is required. String
The OCID of the cloud VM cluster associated with the application virtual IP (VIP) address.
compartmentId This property is required. String
The compartment OCID.
filters Changes to this property will trigger replacement. List<Property Map>
state String
A filter to return only resources that match the given lifecycle state exactly.

getApplicationVips Result

The following output properties are available:

ApplicationVips List<GetApplicationVipsApplicationVip>
The list of application_vips.
CloudVmClusterId string
The OCID of the cloud VM cluster associated with the application virtual IP (VIP) address.
CompartmentId string
The OCID of the compartment.
Id string
The provider-assigned unique ID for this managed resource.
Filters List<GetApplicationVipsFilter>
State string
The current lifecycle state of the application virtual IP (VIP) address.
ApplicationVips []GetApplicationVipsApplicationVip
The list of application_vips.
CloudVmClusterId string
The OCID of the cloud VM cluster associated with the application virtual IP (VIP) address.
CompartmentId string
The OCID of the compartment.
Id string
The provider-assigned unique ID for this managed resource.
Filters []GetApplicationVipsFilter
State string
The current lifecycle state of the application virtual IP (VIP) address.
applicationVips List<GetApplicationVipsApplicationVip>
The list of application_vips.
cloudVmClusterId String
The OCID of the cloud VM cluster associated with the application virtual IP (VIP) address.
compartmentId String
The OCID of the compartment.
id String
The provider-assigned unique ID for this managed resource.
filters List<GetApplicationVipsFilter>
state String
The current lifecycle state of the application virtual IP (VIP) address.
applicationVips GetApplicationVipsApplicationVip[]
The list of application_vips.
cloudVmClusterId string
The OCID of the cloud VM cluster associated with the application virtual IP (VIP) address.
compartmentId string
The OCID of the compartment.
id string
The provider-assigned unique ID for this managed resource.
filters GetApplicationVipsFilter[]
state string
The current lifecycle state of the application virtual IP (VIP) address.
application_vips Sequence[database.GetApplicationVipsApplicationVip]
The list of application_vips.
cloud_vm_cluster_id str
The OCID of the cloud VM cluster associated with the application virtual IP (VIP) address.
compartment_id str
The OCID of the compartment.
id str
The provider-assigned unique ID for this managed resource.
filters Sequence[database.GetApplicationVipsFilter]
state str
The current lifecycle state of the application virtual IP (VIP) address.
applicationVips List<Property Map>
The list of application_vips.
cloudVmClusterId String
The OCID of the cloud VM cluster associated with the application virtual IP (VIP) address.
compartmentId String
The OCID of the compartment.
id String
The provider-assigned unique ID for this managed resource.
filters List<Property Map>
state String
The current lifecycle state of the application virtual IP (VIP) address.

Supporting Types

GetApplicationVipsApplicationVip

CloudVmClusterId This property is required. string
The OCID of the cloud VM cluster associated with the application virtual IP (VIP) address.
CompartmentId This property is required. string
The compartment OCID.
DbNodeId This property is required. string
DefinedTags This property is required. Dictionary<string, string>
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
FreeformTags This property is required. Dictionary<string, string>
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
HostnameLabel This property is required. string
The hostname of the application virtual IP (VIP) address.
Id This property is required. string
The OCID of the application virtual IP (VIP) address.
IpAddress This property is required. string
The application virtual IP (VIP) IPv4 address.
Ipv6address This property is required. string
The application virtual IP (VIP) IPv6 address.
LifecycleDetails This property is required. string
Additional information about the current lifecycle state of the application virtual IP (VIP) address.
State This property is required. string
A filter to return only resources that match the given lifecycle state exactly.
SubnetId This property is required. string
The OCID of the subnet associated with the application virtual IP (VIP) address.
TimeAssigned This property is required. string
The date and time when the create operation for the application virtual IP (VIP) address completed.
CloudVmClusterId This property is required. string
The OCID of the cloud VM cluster associated with the application virtual IP (VIP) address.
CompartmentId This property is required. string
The compartment OCID.
DbNodeId This property is required. string
DefinedTags This property is required. map[string]string
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
FreeformTags This property is required. map[string]string
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
HostnameLabel This property is required. string
The hostname of the application virtual IP (VIP) address.
Id This property is required. string
The OCID of the application virtual IP (VIP) address.
IpAddress This property is required. string
The application virtual IP (VIP) IPv4 address.
Ipv6address This property is required. string
The application virtual IP (VIP) IPv6 address.
LifecycleDetails This property is required. string
Additional information about the current lifecycle state of the application virtual IP (VIP) address.
State This property is required. string
A filter to return only resources that match the given lifecycle state exactly.
SubnetId This property is required. string
The OCID of the subnet associated with the application virtual IP (VIP) address.
TimeAssigned This property is required. string
The date and time when the create operation for the application virtual IP (VIP) address completed.
cloudVmClusterId This property is required. String
The OCID of the cloud VM cluster associated with the application virtual IP (VIP) address.
compartmentId This property is required. String
The compartment OCID.
dbNodeId This property is required. String
definedTags This property is required. Map<String,String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
freeformTags This property is required. Map<String,String>
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
hostnameLabel This property is required. String
The hostname of the application virtual IP (VIP) address.
id This property is required. String
The OCID of the application virtual IP (VIP) address.
ipAddress This property is required. String
The application virtual IP (VIP) IPv4 address.
ipv6address This property is required. String
The application virtual IP (VIP) IPv6 address.
lifecycleDetails This property is required. String
Additional information about the current lifecycle state of the application virtual IP (VIP) address.
state This property is required. String
A filter to return only resources that match the given lifecycle state exactly.
subnetId This property is required. String
The OCID of the subnet associated with the application virtual IP (VIP) address.
timeAssigned This property is required. String
The date and time when the create operation for the application virtual IP (VIP) address completed.
cloudVmClusterId This property is required. string
The OCID of the cloud VM cluster associated with the application virtual IP (VIP) address.
compartmentId This property is required. string
The compartment OCID.
dbNodeId This property is required. string
definedTags This property is required. {[key: string]: string}
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
freeformTags This property is required. {[key: string]: string}
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
hostnameLabel This property is required. string
The hostname of the application virtual IP (VIP) address.
id This property is required. string
The OCID of the application virtual IP (VIP) address.
ipAddress This property is required. string
The application virtual IP (VIP) IPv4 address.
ipv6address This property is required. string
The application virtual IP (VIP) IPv6 address.
lifecycleDetails This property is required. string
Additional information about the current lifecycle state of the application virtual IP (VIP) address.
state This property is required. string
A filter to return only resources that match the given lifecycle state exactly.
subnetId This property is required. string
The OCID of the subnet associated with the application virtual IP (VIP) address.
timeAssigned This property is required. string
The date and time when the create operation for the application virtual IP (VIP) address completed.
cloud_vm_cluster_id This property is required. str
The OCID of the cloud VM cluster associated with the application virtual IP (VIP) address.
compartment_id This property is required. str
The compartment OCID.
db_node_id This property is required. str
defined_tags This property is required. Mapping[str, str]
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
freeform_tags This property is required. Mapping[str, str]
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
hostname_label This property is required. str
The hostname of the application virtual IP (VIP) address.
id This property is required. str
The OCID of the application virtual IP (VIP) address.
ip_address This property is required. str
The application virtual IP (VIP) IPv4 address.
ipv6address This property is required. str
The application virtual IP (VIP) IPv6 address.
lifecycle_details This property is required. str
Additional information about the current lifecycle state of the application virtual IP (VIP) address.
state This property is required. str
A filter to return only resources that match the given lifecycle state exactly.
subnet_id This property is required. str
The OCID of the subnet associated with the application virtual IP (VIP) address.
time_assigned This property is required. str
The date and time when the create operation for the application virtual IP (VIP) address completed.
cloudVmClusterId This property is required. String
The OCID of the cloud VM cluster associated with the application virtual IP (VIP) address.
compartmentId This property is required. String
The compartment OCID.
dbNodeId This property is required. String
definedTags This property is required. Map<String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
freeformTags This property is required. Map<String>
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
hostnameLabel This property is required. String
The hostname of the application virtual IP (VIP) address.
id This property is required. String
The OCID of the application virtual IP (VIP) address.
ipAddress This property is required. String
The application virtual IP (VIP) IPv4 address.
ipv6address This property is required. String
The application virtual IP (VIP) IPv6 address.
lifecycleDetails This property is required. String
Additional information about the current lifecycle state of the application virtual IP (VIP) address.
state This property is required. String
A filter to return only resources that match the given lifecycle state exactly.
subnetId This property is required. String
The OCID of the subnet associated with the application virtual IP (VIP) address.
timeAssigned This property is required. String
The date and time when the create operation for the application virtual IP (VIP) address completed.

GetApplicationVipsFilter

Name This property is required. string
Values This property is required. List<string>
Regex bool
Name This property is required. string
Values This property is required. []string
Regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean
name This property is required. string
values This property is required. string[]
regex boolean
name This property is required. str
values This property is required. Sequence[str]
regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean

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.29.0 published on Wednesday, Apr 9, 2025 by Pulumi