Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi
oci.Database.getApplicationVip
Explore with Pulumi AI
This data source provides details about a specific Application Vip resource in Oracle Cloud Infrastructure Database service.
Gets information about a specified application virtual IP (VIP) address.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testApplicationVip = oci.Database.getApplicationVip({
    applicationVipId: testApplicationVipOciDatabaseApplicationVip.id,
});
import pulumi
import pulumi_oci as oci
test_application_vip = oci.Database.get_application_vip(application_vip_id=test_application_vip_oci_database_application_vip["id"])
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.GetApplicationVip(ctx, &database.GetApplicationVipArgs{
			ApplicationVipId: testApplicationVipOciDatabaseApplicationVip.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 testApplicationVip = Oci.Database.GetApplicationVip.Invoke(new()
    {
        ApplicationVipId = testApplicationVipOciDatabaseApplicationVip.Id,
    });
});
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.GetApplicationVipArgs;
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 testApplicationVip = DatabaseFunctions.getApplicationVip(GetApplicationVipArgs.builder()
            .applicationVipId(testApplicationVipOciDatabaseApplicationVip.id())
            .build());
    }
}
variables:
  testApplicationVip:
    fn::invoke:
      function: oci:Database:getApplicationVip
      arguments:
        applicationVipId: ${testApplicationVipOciDatabaseApplicationVip.id}
Using getApplicationVip
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 getApplicationVip(args: GetApplicationVipArgs, opts?: InvokeOptions): Promise<GetApplicationVipResult>
function getApplicationVipOutput(args: GetApplicationVipOutputArgs, opts?: InvokeOptions): Output<GetApplicationVipResult>def get_application_vip(application_vip_id: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetApplicationVipResult
def get_application_vip_output(application_vip_id: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetApplicationVipResult]func GetApplicationVip(ctx *Context, args *GetApplicationVipArgs, opts ...InvokeOption) (*GetApplicationVipResult, error)
func GetApplicationVipOutput(ctx *Context, args *GetApplicationVipOutputArgs, opts ...InvokeOption) GetApplicationVipResultOutput> Note: This function is named GetApplicationVip in the Go SDK.
public static class GetApplicationVip 
{
    public static Task<GetApplicationVipResult> InvokeAsync(GetApplicationVipArgs args, InvokeOptions? opts = null)
    public static Output<GetApplicationVipResult> Invoke(GetApplicationVipInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetApplicationVipResult> getApplicationVip(GetApplicationVipArgs args, InvokeOptions options)
public static Output<GetApplicationVipResult> getApplicationVip(GetApplicationVipArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Database/getApplicationVip:getApplicationVip
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Application
Vip stringId  - The OCID of the application virtual IP (VIP) address.
 
- Application
Vip stringId  - The OCID of the application virtual IP (VIP) address.
 
- application
Vip StringId  - The OCID of the application virtual IP (VIP) address.
 
- application
Vip stringId  - The OCID of the application virtual IP (VIP) address.
 
- application_
vip_ strid  - The OCID of the application virtual IP (VIP) address.
 
- application
Vip StringId  - The OCID of the application virtual IP (VIP) address.
 
getApplicationVip Result
The following output properties are available:
- Application
Vip stringId  - Cloud
Vm stringCluster Id  - The OCID of the cloud VM cluster associated with the application virtual IP (VIP) address.
 - Compartment
Id string - The OCID of the compartment.
 - Db
Node stringId  - Dictionary<string, string>
 - Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
 - 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"} - Hostname
Label string - The hostname of the application virtual IP (VIP) address.
 - Id string
 - The OCID of the application virtual IP (VIP) address.
 - Ip
Address string - The application virtual IP (VIP) IPv4 address.
 - Ipv6address string
 - The application virtual IP (VIP) IPv6 address.
 - Lifecycle
Details string - Additional information about the current lifecycle state of the application virtual IP (VIP) address.
 - State string
 - The current lifecycle state of the application virtual IP (VIP) address.
 - Subnet
Id string - The OCID of the subnet associated with the application virtual IP (VIP) address.
 - Time
Assigned string - The date and time when the create operation for the application virtual IP (VIP) address completed.
 
- Application
Vip stringId  - Cloud
Vm stringCluster Id  - The OCID of the cloud VM cluster associated with the application virtual IP (VIP) address.
 - Compartment
Id string - The OCID of the compartment.
 - Db
Node stringId  - map[string]string
 - Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
 - 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"} - Hostname
Label string - The hostname of the application virtual IP (VIP) address.
 - Id string
 - The OCID of the application virtual IP (VIP) address.
 - Ip
Address string - The application virtual IP (VIP) IPv4 address.
 - Ipv6address string
 - The application virtual IP (VIP) IPv6 address.
 - Lifecycle
Details string - Additional information about the current lifecycle state of the application virtual IP (VIP) address.
 - State string
 - The current lifecycle state of the application virtual IP (VIP) address.
 - Subnet
Id string - The OCID of the subnet associated with the application virtual IP (VIP) address.
 - Time
Assigned string - The date and time when the create operation for the application virtual IP (VIP) address completed.
 
- application
Vip StringId  - cloud
Vm StringCluster Id  - The OCID of the cloud VM cluster associated with the application virtual IP (VIP) address.
 - compartment
Id String - The OCID of the compartment.
 - db
Node StringId  - Map<String,String>
 - Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
 - 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"} - hostname
Label String - The hostname of the application virtual IP (VIP) address.
 - id String
 - The OCID of the application virtual IP (VIP) address.
 - ip
Address String - The application virtual IP (VIP) IPv4 address.
 - ipv6address String
 - The application virtual IP (VIP) IPv6 address.
 - lifecycle
Details String - Additional information about the current lifecycle state of the application virtual IP (VIP) address.
 - state String
 - The current lifecycle state of the application virtual IP (VIP) address.
 - subnet
Id String - The OCID of the subnet associated with the application virtual IP (VIP) address.
 - time
Assigned String - The date and time when the create operation for the application virtual IP (VIP) address completed.
 
- application
Vip stringId  - cloud
Vm stringCluster Id  - The OCID of the cloud VM cluster associated with the application virtual IP (VIP) address.
 - compartment
Id string - The OCID of the compartment.
 - db
Node stringId  - {[key: string]: string}
 - Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
 - {[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"} - hostname
Label string - The hostname of the application virtual IP (VIP) address.
 - id string
 - The OCID of the application virtual IP (VIP) address.
 - ip
Address string - The application virtual IP (VIP) IPv4 address.
 - ipv6address string
 - The application virtual IP (VIP) IPv6 address.
 - lifecycle
Details string - Additional information about the current lifecycle state of the application virtual IP (VIP) address.
 - state string
 - The current lifecycle state of the application virtual IP (VIP) address.
 - subnet
Id string - The OCID of the subnet associated with the application virtual IP (VIP) address.
 - time
Assigned string - The date and time when the create operation for the application virtual IP (VIP) address completed.
 
- application_
vip_ strid  - cloud_
vm_ strcluster_ id  - The OCID of the cloud VM cluster associated with the application virtual IP (VIP) address.
 - compartment_
id str - The OCID of the compartment.
 - db_
node_ strid  - Mapping[str, str]
 - Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
 - 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 str - The hostname of the application virtual IP (VIP) address.
 - id str
 - The OCID of the application virtual IP (VIP) address.
 - ip_
address str - The application virtual IP (VIP) IPv4 address.
 - ipv6address str
 - The application virtual IP (VIP) IPv6 address.
 - lifecycle_
details str - Additional information about the current lifecycle state of the application virtual IP (VIP) address.
 - state str
 - The current lifecycle state of the application virtual IP (VIP) address.
 - subnet_
id str - The OCID of the subnet associated with the application virtual IP (VIP) address.
 - time_
assigned str - The date and time when the create operation for the application virtual IP (VIP) address completed.
 
- application
Vip StringId  - cloud
Vm StringCluster Id  - The OCID of the cloud VM cluster associated with the application virtual IP (VIP) address.
 - compartment
Id String - The OCID of the compartment.
 - db
Node StringId  - Map<String>
 - Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
 - 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"} - hostname
Label String - The hostname of the application virtual IP (VIP) address.
 - id String
 - The OCID of the application virtual IP (VIP) address.
 - ip
Address String - The application virtual IP (VIP) IPv4 address.
 - ipv6address String
 - The application virtual IP (VIP) IPv6 address.
 - lifecycle
Details String - Additional information about the current lifecycle state of the application virtual IP (VIP) address.
 - state String
 - The current lifecycle state of the application virtual IP (VIP) address.
 - subnet
Id String - The OCID of the subnet associated with the application virtual IP (VIP) address.
 - time
Assigned String - The date and time when the create operation for the application virtual IP (VIP) address completed.
 
Package Details
- Repository
 - oci pulumi/pulumi-oci
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
ociTerraform Provider.