Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 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:
- RecipientInvitation stringId 
- OCID of the recipient invitation to retrieve.
- RecipientInvitation stringId 
- OCID of the recipient invitation to retrieve.
- recipientInvitation StringId 
- OCID of the recipient invitation to retrieve.
- recipientInvitation stringId 
- OCID of the recipient invitation to retrieve.
- recipient_invitation_ strid 
- OCID of the recipient invitation to retrieve.
- recipientInvitation StringId 
- OCID of the recipient invitation to retrieve.
getRecipientInvitation Result
The following output properties are available:
- CompartmentId 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"}
- DisplayName 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.
- RecipientEmail stringAddress 
- Email address of the recipient.
- RecipientInvitation stringId 
- SenderInvitation stringId 
- OCID of the corresponding sender invitation.
- SenderTenancy 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"}
- TimeCreated string
- Date and time when the recipient invitation was created.
- TimeUpdated string
- Date and time when the recipient invitation was last updated.
- CompartmentId 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"}
- DisplayName 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.
- RecipientEmail stringAddress 
- Email address of the recipient.
- RecipientInvitation stringId 
- SenderInvitation stringId 
- OCID of the corresponding sender invitation.
- SenderTenancy 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"}
- TimeCreated string
- Date and time when the recipient invitation was created.
- TimeUpdated string
- Date and time when the recipient invitation was last updated.
- compartmentId 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"}
- displayName 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.
- recipientEmail StringAddress 
- Email address of the recipient.
- recipientInvitation StringId 
- senderInvitation StringId 
- OCID of the corresponding sender invitation.
- senderTenancy 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"}
- timeCreated String
- Date and time when the recipient invitation was created.
- timeUpdated String
- Date and time when the recipient invitation was last updated.
- compartmentId 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"}
- displayName 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.
- recipientEmail stringAddress 
- Email address of the recipient.
- recipientInvitation stringId 
- senderInvitation stringId 
- OCID of the corresponding sender invitation.
- senderTenancy 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"}
- timeCreated string
- Date and time when the recipient invitation was created.
- timeUpdated 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.
- compartmentId 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"}
- displayName 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.
- recipientEmail StringAddress 
- Email address of the recipient.
- recipientInvitation StringId 
- senderInvitation StringId 
- OCID of the corresponding sender invitation.
- senderTenancy 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"}
- timeCreated String
- Date and time when the recipient invitation was created.
- timeUpdated 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.