Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi
oci.Tenantmanagercontrolplane.getRecipientInvitation
Explore with Pulumi AI
This data source provides details about a specific Recipient Invitation resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service.
Gets information about the recipient invitation.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testRecipientInvitation = oci.Tenantmanagercontrolplane.getRecipientInvitation({
    recipientInvitationId: testRecipientInvitationOciTenantmanagercontrolplaneRecipientInvitation.id,
});
import pulumi
import pulumi_oci as oci
test_recipient_invitation = oci.Tenantmanagercontrolplane.get_recipient_invitation(recipient_invitation_id=test_recipient_invitation_oci_tenantmanagercontrolplane_recipient_invitation["id"])
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/tenantmanagercontrolplane"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := tenantmanagercontrolplane.GetRecipientInvitation(ctx, &tenantmanagercontrolplane.GetRecipientInvitationArgs{
			RecipientInvitationId: testRecipientInvitationOciTenantmanagercontrolplaneRecipientInvitation.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 testRecipientInvitation = Oci.Tenantmanagercontrolplane.GetRecipientInvitation.Invoke(new()
    {
        RecipientInvitationId = testRecipientInvitationOciTenantmanagercontrolplaneRecipientInvitation.Id,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Tenantmanagercontrolplane.TenantmanagercontrolplaneFunctions;
import com.pulumi.oci.Tenantmanagercontrolplane.inputs.GetRecipientInvitationArgs;
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 testRecipientInvitation = TenantmanagercontrolplaneFunctions.getRecipientInvitation(GetRecipientInvitationArgs.builder()
            .recipientInvitationId(testRecipientInvitationOciTenantmanagercontrolplaneRecipientInvitation.id())
            .build());
    }
}
variables:
  testRecipientInvitation:
    fn::invoke:
      function: oci:Tenantmanagercontrolplane:getRecipientInvitation
      arguments:
        recipientInvitationId: ${testRecipientInvitationOciTenantmanagercontrolplaneRecipientInvitation.id}
Using getRecipientInvitation
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 getRecipientInvitation(args: GetRecipientInvitationArgs, opts?: InvokeOptions): Promise<GetRecipientInvitationResult>
function getRecipientInvitationOutput(args: GetRecipientInvitationOutputArgs, opts?: InvokeOptions): Output<GetRecipientInvitationResult>def get_recipient_invitation(recipient_invitation_id: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetRecipientInvitationResult
def get_recipient_invitation_output(recipient_invitation_id: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetRecipientInvitationResult]func GetRecipientInvitation(ctx *Context, args *GetRecipientInvitationArgs, opts ...InvokeOption) (*GetRecipientInvitationResult, error)
func GetRecipientInvitationOutput(ctx *Context, args *GetRecipientInvitationOutputArgs, opts ...InvokeOption) GetRecipientInvitationResultOutput> Note: This function is named GetRecipientInvitation in the Go SDK.
public static class GetRecipientInvitation 
{
    public static Task<GetRecipientInvitationResult> InvokeAsync(GetRecipientInvitationArgs args, InvokeOptions? opts = null)
    public static Output<GetRecipientInvitationResult> Invoke(GetRecipientInvitationInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRecipientInvitationResult> getRecipientInvitation(GetRecipientInvitationArgs args, InvokeOptions options)
public static Output<GetRecipientInvitationResult> getRecipientInvitation(GetRecipientInvitationArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Tenantmanagercontrolplane/getRecipientInvitation:getRecipientInvitation
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Recipient
Invitation stringId  - OCID of the recipient invitation to retrieve.
 
- Recipient
Invitation stringId  - OCID of the recipient invitation to retrieve.
 
- recipient
Invitation StringId  - OCID of the recipient invitation to retrieve.
 
- recipient
Invitation stringId  - OCID of the recipient invitation to retrieve.
 
- recipient_
invitation_ strid  - OCID of the recipient invitation to retrieve.
 
- recipient
Invitation StringId  - OCID of the recipient invitation to retrieve.
 
getRecipientInvitation Result
The following output properties are available:
- Compartment
Id string - OCID of the recipient tenancy.
 - Dictionary<string, string>
 - Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"foo-namespace.bar-key": "value"} - Display
Name string - A user-created name to describe the invitation. Avoid entering confidential information.
 - Dictionary<string, string>
 - 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
 - The provider-assigned unique ID for this managed resource.
 - Recipient
Email stringAddress  - Email address of the recipient.
 - Recipient
Invitation stringId  - Sender
Invitation stringId  - OCID of the corresponding sender invitation.
 - Sender
Tenancy stringId  - OCID of the sender tenancy.
 - State string
 - Lifecycle state of the recipient invitation.
 - Status string
 - Status of the recipient invitation.
 - Subjects List<string>
 - The list of subjects the invitation contains.
 - Dictionary<string, string>
 - Usage of system tag keys. These predefined keys are scoped to namespaces. Example: 
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - Date and time when the recipient invitation was created.
 - Time
Updated string - Date and time when the recipient invitation was last updated.
 
- Compartment
Id string - OCID of the recipient tenancy.
 - map[string]string
 - Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"foo-namespace.bar-key": "value"} - Display
Name string - A user-created name to describe the invitation. Avoid entering confidential information.
 - map[string]string
 - 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
 - The provider-assigned unique ID for this managed resource.
 - Recipient
Email stringAddress  - Email address of the recipient.
 - Recipient
Invitation stringId  - Sender
Invitation stringId  - OCID of the corresponding sender invitation.
 - Sender
Tenancy stringId  - OCID of the sender tenancy.
 - State string
 - Lifecycle state of the recipient invitation.
 - Status string
 - Status of the recipient invitation.
 - Subjects []string
 - The list of subjects the invitation contains.
 - map[string]string
 - Usage of system tag keys. These predefined keys are scoped to namespaces. Example: 
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - Date and time when the recipient invitation was created.
 - Time
Updated string - Date and time when the recipient invitation was last updated.
 
- compartment
Id String - OCID of the recipient tenancy.
 - Map<String,String>
 - Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"foo-namespace.bar-key": "value"} - display
Name String - A user-created name to describe the invitation. Avoid entering confidential information.
 - Map<String,String>
 - 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
 - The provider-assigned unique ID for this managed resource.
 - recipient
Email StringAddress  - Email address of the recipient.
 - recipient
Invitation StringId  - sender
Invitation StringId  - OCID of the corresponding sender invitation.
 - sender
Tenancy StringId  - OCID of the sender tenancy.
 - state String
 - Lifecycle state of the recipient invitation.
 - status String
 - Status of the recipient invitation.
 - subjects List<String>
 - The list of subjects the invitation contains.
 - Map<String,String>
 - Usage of system tag keys. These predefined keys are scoped to namespaces. Example: 
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - Date and time when the recipient invitation was created.
 - time
Updated String - Date and time when the recipient invitation was last updated.
 
- compartment
Id string - OCID of the recipient tenancy.
 - {[key: string]: string}
 - Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"foo-namespace.bar-key": "value"} - display
Name string - A user-created name to describe the invitation. Avoid entering confidential information.
 - {[key: string]: string}
 - 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
 - The provider-assigned unique ID for this managed resource.
 - recipient
Email stringAddress  - Email address of the recipient.
 - recipient
Invitation stringId  - sender
Invitation stringId  - OCID of the corresponding sender invitation.
 - sender
Tenancy stringId  - OCID of the sender tenancy.
 - state string
 - Lifecycle state of the recipient invitation.
 - status string
 - Status of the recipient invitation.
 - subjects string[]
 - The list of subjects the invitation contains.
 - {[key: string]: string}
 - Usage of system tag keys. These predefined keys are scoped to namespaces. Example: 
{"orcl-cloud.free-tier-retained": "true"} - time
Created string - Date and time when the recipient invitation was created.
 - time
Updated string - Date and time when the recipient invitation was last updated.
 
- compartment_
id str - OCID of the recipient tenancy.
 - Mapping[str, str]
 - Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"foo-namespace.bar-key": "value"} - display_
name str - A user-created name to describe the invitation. Avoid entering confidential information.
 - Mapping[str, str]
 - 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
 - The provider-assigned unique ID for this managed resource.
 - recipient_
email_ straddress  - Email address of the recipient.
 - recipient_
invitation_ strid  - sender_
invitation_ strid  - OCID of the corresponding sender invitation.
 - sender_
tenancy_ strid  - OCID of the sender tenancy.
 - state str
 - Lifecycle state of the recipient invitation.
 - status str
 - Status of the recipient invitation.
 - subjects Sequence[str]
 - The list of subjects the invitation contains.
 - Mapping[str, str]
 - Usage of system tag keys. These predefined keys are scoped to namespaces. Example: 
{"orcl-cloud.free-tier-retained": "true"} - time_
created str - Date and time when the recipient invitation was created.
 - time_
updated str - Date and time when the recipient invitation was last updated.
 
- compartment
Id String - OCID of the recipient tenancy.
 - Map<String>
 - Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"foo-namespace.bar-key": "value"} - display
Name String - A user-created name to describe the invitation. Avoid entering confidential information.
 - Map<String>
 - 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
 - The provider-assigned unique ID for this managed resource.
 - recipient
Email StringAddress  - Email address of the recipient.
 - recipient
Invitation StringId  - sender
Invitation StringId  - OCID of the corresponding sender invitation.
 - sender
Tenancy StringId  - OCID of the sender tenancy.
 - state String
 - Lifecycle state of the recipient invitation.
 - status String
 - Status of the recipient invitation.
 - subjects List<String>
 - The list of subjects the invitation contains.
 - Map<String>
 - Usage of system tag keys. These predefined keys are scoped to namespaces. Example: 
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - Date and time when the recipient invitation was created.
 - time
Updated String - Date and time when the recipient invitation was last updated.
 
Package Details
- Repository
 - oci pulumi/pulumi-oci
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
ociTerraform Provider.