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

oci.Database.getApplicationVip

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 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/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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Database/getApplicationVip:getApplicationVip
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ApplicationVipId string
    The OCID of the application virtual IP (VIP) address.
    ApplicationVipId string
    The OCID of the application virtual IP (VIP) address.
    applicationVipId String
    The OCID of the application virtual IP (VIP) address.
    applicationVipId string
    The OCID of the application virtual IP (VIP) address.
    application_vip_id str
    The OCID of the application virtual IP (VIP) address.
    applicationVipId String
    The OCID of the application virtual IP (VIP) address.

    getApplicationVip Result

    The following output properties are available:

    ApplicationVipId string
    CloudVmClusterId string
    The OCID of the cloud VM cluster associated with the application virtual IP (VIP) address.
    CompartmentId string
    The OCID of the compartment.
    DbNodeId string
    DefinedTags Dictionary<string, object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    FreeformTags Dictionary<string, object>
    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 string
    The hostname of the application virtual IP (VIP) address.
    Id string
    The OCID of the application virtual IP (VIP) address.
    IpAddress string
    The application virtual IP (VIP) address.
    LifecycleDetails 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.
    SubnetId string
    The OCID of the subnet associated with the application virtual IP (VIP) address.
    TimeAssigned string
    The date and time when the create operation for the application virtual IP (VIP) address completed.
    ApplicationVipId string
    CloudVmClusterId string
    The OCID of the cloud VM cluster associated with the application virtual IP (VIP) address.
    CompartmentId string
    The OCID of the compartment.
    DbNodeId string
    DefinedTags map[string]interface{}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    FreeformTags map[string]interface{}
    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 string
    The hostname of the application virtual IP (VIP) address.
    Id string
    The OCID of the application virtual IP (VIP) address.
    IpAddress string
    The application virtual IP (VIP) address.
    LifecycleDetails 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.
    SubnetId string
    The OCID of the subnet associated with the application virtual IP (VIP) address.
    TimeAssigned string
    The date and time when the create operation for the application virtual IP (VIP) address completed.
    applicationVipId String
    cloudVmClusterId String
    The OCID of the cloud VM cluster associated with the application virtual IP (VIP) address.
    compartmentId String
    The OCID of the compartment.
    dbNodeId String
    definedTags Map<String,Object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    freeformTags Map<String,Object>
    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 String
    The hostname of the application virtual IP (VIP) address.
    id String
    The OCID of the application virtual IP (VIP) address.
    ipAddress String
    The application virtual IP (VIP) address.
    lifecycleDetails 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.
    subnetId String
    The OCID of the subnet associated with the application virtual IP (VIP) address.
    timeAssigned String
    The date and time when the create operation for the application virtual IP (VIP) address completed.
    applicationVipId string
    cloudVmClusterId string
    The OCID of the cloud VM cluster associated with the application virtual IP (VIP) address.
    compartmentId string
    The OCID of the compartment.
    dbNodeId string
    definedTags {[key: string]: any}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    freeformTags {[key: string]: any}
    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 string
    The hostname of the application virtual IP (VIP) address.
    id string
    The OCID of the application virtual IP (VIP) address.
    ipAddress string
    The application virtual IP (VIP) address.
    lifecycleDetails 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.
    subnetId string
    The OCID of the subnet associated with the application virtual IP (VIP) address.
    timeAssigned string
    The date and time when the create operation for the application virtual IP (VIP) address completed.
    application_vip_id str
    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.
    db_node_id str
    defined_tags Mapping[str, Any]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    freeform_tags Mapping[str, Any]
    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) 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.
    applicationVipId String
    cloudVmClusterId String
    The OCID of the cloud VM cluster associated with the application virtual IP (VIP) address.
    compartmentId String
    The OCID of the compartment.
    dbNodeId String
    definedTags Map<Any>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    freeformTags Map<Any>
    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 String
    The hostname of the application virtual IP (VIP) address.
    id String
    The OCID of the application virtual IP (VIP) address.
    ipAddress String
    The application virtual IP (VIP) address.
    lifecycleDetails 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.
    subnetId String
    The OCID of the subnet associated with the application virtual IP (VIP) address.
    timeAssigned 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 oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi