Oracle Cloud Infrastructure v2.27.0 published on Thursday, Mar 20, 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:
- SenderInvitation stringId 
- OCID of the sender invitation to retrieve.
- SenderInvitation stringId 
- OCID of the sender invitation to retrieve.
- senderInvitation StringId 
- OCID of the sender invitation to retrieve.
- senderInvitation stringId 
- OCID of the sender invitation to retrieve.
- sender_invitation_ strid 
- OCID of the sender invitation to retrieve.
- senderInvitation StringId 
- OCID of the sender invitation to retrieve.
getSenderInvitation Result
The following output properties are available:
- CompartmentId 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"}
- 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 
- OCID of the corresponding recipient invitation.
- RecipientTenancy stringId 
- OCID of the recipient tenancy.
- SenderInvitation 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"}
- TimeCreated string
- Date and time when the sender invitation was created.
- TimeUpdated string
- Date and time when the sender invitation was last updated.
- CompartmentId 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"}
- 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 
- OCID of the corresponding recipient invitation.
- RecipientTenancy stringId 
- OCID of the recipient tenancy.
- SenderInvitation 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"}
- TimeCreated string
- Date and time when the sender invitation was created.
- TimeUpdated string
- Date and time when the sender invitation was last updated.
- compartmentId 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"}
- 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 
- OCID of the corresponding recipient invitation.
- recipientTenancy StringId 
- OCID of the recipient tenancy.
- senderInvitation 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"}
- timeCreated String
- Date and time when the sender invitation was created.
- timeUpdated String
- Date and time when the sender invitation was last updated.
- compartmentId 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"}
- 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 
- OCID of the corresponding recipient invitation.
- recipientTenancy stringId 
- OCID of the recipient tenancy.
- senderInvitation 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"}
- timeCreated string
- Date and time when the sender invitation was created.
- timeUpdated 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.
- compartmentId 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"}
- 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 
- OCID of the corresponding recipient invitation.
- recipientTenancy StringId 
- OCID of the recipient tenancy.
- senderInvitation 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"}
- timeCreated String
- Date and time when the sender invitation was created.
- timeUpdated 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.