Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi
oci.Tenantmanagercontrolplane.getSenderInvitation
Explore with Pulumi AI
This data source provides details about a specific Sender Invitation resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service.
Gets information about the sender invitation.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testSenderInvitation = oci.Tenantmanagercontrolplane.getSenderInvitation({
    senderInvitationId: testSenderInvitationOciTenantmanagercontrolplaneSenderInvitation.id,
});
import pulumi
import pulumi_oci as oci
test_sender_invitation = oci.Tenantmanagercontrolplane.get_sender_invitation(sender_invitation_id=test_sender_invitation_oci_tenantmanagercontrolplane_sender_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.GetSenderInvitation(ctx, &tenantmanagercontrolplane.GetSenderInvitationArgs{
			SenderInvitationId: testSenderInvitationOciTenantmanagercontrolplaneSenderInvitation.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 testSenderInvitation = Oci.Tenantmanagercontrolplane.GetSenderInvitation.Invoke(new()
    {
        SenderInvitationId = testSenderInvitationOciTenantmanagercontrolplaneSenderInvitation.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.GetSenderInvitationArgs;
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 testSenderInvitation = TenantmanagercontrolplaneFunctions.getSenderInvitation(GetSenderInvitationArgs.builder()
            .senderInvitationId(testSenderInvitationOciTenantmanagercontrolplaneSenderInvitation.id())
            .build());
    }
}
variables:
  testSenderInvitation:
    fn::invoke:
      function: oci:Tenantmanagercontrolplane:getSenderInvitation
      arguments:
        senderInvitationId: ${testSenderInvitationOciTenantmanagercontrolplaneSenderInvitation.id}
Using getSenderInvitation
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 getSenderInvitation(args: GetSenderInvitationArgs, opts?: InvokeOptions): Promise<GetSenderInvitationResult>
function getSenderInvitationOutput(args: GetSenderInvitationOutputArgs, opts?: InvokeOptions): Output<GetSenderInvitationResult>def get_sender_invitation(sender_invitation_id: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetSenderInvitationResult
def get_sender_invitation_output(sender_invitation_id: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetSenderInvitationResult]func GetSenderInvitation(ctx *Context, args *GetSenderInvitationArgs, opts ...InvokeOption) (*GetSenderInvitationResult, error)
func GetSenderInvitationOutput(ctx *Context, args *GetSenderInvitationOutputArgs, opts ...InvokeOption) GetSenderInvitationResultOutput> Note: This function is named GetSenderInvitation in the Go SDK.
public static class GetSenderInvitation 
{
    public static Task<GetSenderInvitationResult> InvokeAsync(GetSenderInvitationArgs args, InvokeOptions? opts = null)
    public static Output<GetSenderInvitationResult> Invoke(GetSenderInvitationInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSenderInvitationResult> getSenderInvitation(GetSenderInvitationArgs args, InvokeOptions options)
public static Output<GetSenderInvitationResult> getSenderInvitation(GetSenderInvitationArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Tenantmanagercontrolplane/getSenderInvitation:getSenderInvitation
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Sender
Invitation stringId  - OCID of the sender invitation to retrieve.
 
- Sender
Invitation stringId  - OCID of the sender invitation to retrieve.
 
- sender
Invitation StringId  - OCID of the sender invitation to retrieve.
 
- sender
Invitation stringId  - OCID of the sender invitation to retrieve.
 
- sender_
invitation_ strid  - OCID of the sender invitation to retrieve.
 
- sender
Invitation StringId  - OCID of the sender invitation to retrieve.
 
getSenderInvitation Result
The following output properties are available:
- Compartment
Id string - OCID of the sender 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  - OCID of the corresponding recipient invitation.
 - Recipient
Tenancy stringId  - OCID of the recipient tenancy.
 - Sender
Invitation stringId  - State string
 - Lifecycle state of the sender invitation.
 - Status string
 - Status of the sender 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 sender invitation was created.
 - Time
Updated string - Date and time when the sender invitation was last updated.
 
- Compartment
Id string - OCID of the sender 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  - OCID of the corresponding recipient invitation.
 - Recipient
Tenancy stringId  - OCID of the recipient tenancy.
 - Sender
Invitation stringId  - State string
 - Lifecycle state of the sender invitation.
 - Status string
 - Status of the sender 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 sender invitation was created.
 - Time
Updated string - Date and time when the sender invitation was last updated.
 
- compartment
Id String - OCID of the sender 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  - OCID of the corresponding recipient invitation.
 - recipient
Tenancy StringId  - OCID of the recipient tenancy.
 - sender
Invitation StringId  - state String
 - Lifecycle state of the sender invitation.
 - status String
 - Status of the sender 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 sender invitation was created.
 - time
Updated String - Date and time when the sender invitation was last updated.
 
- compartment
Id string - OCID of the sender 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  - OCID of the corresponding recipient invitation.
 - recipient
Tenancy stringId  - OCID of the recipient tenancy.
 - sender
Invitation stringId  - state string
 - Lifecycle state of the sender invitation.
 - status string
 - Status of the sender 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 sender invitation was created.
 - time
Updated string - Date and time when the sender invitation was last updated.
 
- compartment_
id str - OCID of the sender 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  - OCID of the corresponding recipient invitation.
 - recipient_
tenancy_ strid  - OCID of the recipient tenancy.
 - sender_
invitation_ strid  - state str
 - Lifecycle state of the sender invitation.
 - status str
 - Status of the sender 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 sender invitation was created.
 - time_
updated str - Date and time when the sender invitation was last updated.
 
- compartment
Id String - OCID of the sender 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  - OCID of the corresponding recipient invitation.
 - recipient
Tenancy StringId  - OCID of the recipient tenancy.
 - sender
Invitation StringId  - state String
 - Lifecycle state of the sender invitation.
 - status String
 - Status of the sender 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 sender invitation was created.
 - time
Updated String - Date and time when the sender 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.