Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.Database.getApplicationVip
Explore with Pulumi AI
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:
- 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, object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- 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"}
- 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) 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]interface{}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- 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"}
- 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) 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,Object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- 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"}
- 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) 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]: any}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- {[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"}
- 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) 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, Any]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource 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.
- 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<Any>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- 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"}
- 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) 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
oci
Terraform Provider.
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi