1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Tenantmanagercontrolplane
  5. getSenderInvitation
Oracle Cloud Infrastructure v2.29.0 published on Wednesday, Apr 9, 2025 by Pulumi

oci.Tenantmanagercontrolplane.getSenderInvitation

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.29.0 published on Wednesday, Apr 9, 2025 by Pulumi

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,
});
Copy
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"])
Copy
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
	})
}
Copy
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,
    });

});
Copy
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());

    }
}
Copy
variables:
  testSenderInvitation:
    fn::invoke:
      function: oci:Tenantmanagercontrolplane:getSenderInvitation
      arguments:
        senderInvitationId: ${testSenderInvitationOciTenantmanagercontrolplaneSenderInvitation.id}
Copy

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>
Copy
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]
Copy
func GetSenderInvitation(ctx *Context, args *GetSenderInvitationArgs, opts ...InvokeOption) (*GetSenderInvitationResult, error)
func GetSenderInvitationOutput(ctx *Context, args *GetSenderInvitationOutputArgs, opts ...InvokeOption) GetSenderInvitationResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetSenderInvitationResult> getSenderInvitation(GetSenderInvitationArgs args, InvokeOptions options)
public static Output<GetSenderInvitationResult> getSenderInvitation(GetSenderInvitationArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:Tenantmanagercontrolplane/getSenderInvitation:getSenderInvitation
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

SenderInvitationId This property is required. string
OCID of the sender invitation to retrieve.
SenderInvitationId This property is required. string
OCID of the sender invitation to retrieve.
senderInvitationId This property is required. String
OCID of the sender invitation to retrieve.
senderInvitationId This property is required. string
OCID of the sender invitation to retrieve.
sender_invitation_id This property is required. str
OCID of the sender invitation to retrieve.
senderInvitationId This property is required. String
OCID of the sender invitation to retrieve.

getSenderInvitation Result

The following output properties are available:

CompartmentId string
OCID of the sender tenancy.
DefinedTags 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.
FreeformTags 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.
RecipientEmailAddress string
Email address of the recipient.
RecipientInvitationId string
OCID of the corresponding recipient invitation.
RecipientTenancyId string
OCID of the recipient tenancy.
SenderInvitationId string
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.
SystemTags 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.
DefinedTags 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.
FreeformTags 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.
RecipientEmailAddress string
Email address of the recipient.
RecipientInvitationId string
OCID of the corresponding recipient invitation.
RecipientTenancyId string
OCID of the recipient tenancy.
SenderInvitationId string
State string
Lifecycle state of the sender invitation.
Status string
Status of the sender invitation.
Subjects []string
The list of subjects the invitation contains.
SystemTags 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.
definedTags 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.
freeformTags 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.
recipientEmailAddress String
Email address of the recipient.
recipientInvitationId String
OCID of the corresponding recipient invitation.
recipientTenancyId String
OCID of the recipient tenancy.
senderInvitationId String
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.
systemTags 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.
definedTags {[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.
freeformTags {[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.
recipientEmailAddress string
Email address of the recipient.
recipientInvitationId string
OCID of the corresponding recipient invitation.
recipientTenancyId string
OCID of the recipient tenancy.
senderInvitationId string
state string
Lifecycle state of the sender invitation.
status string
Status of the sender invitation.
subjects string[]
The list of subjects the invitation contains.
systemTags {[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.
defined_tags 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.
freeform_tags 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_address str
Email address of the recipient.
recipient_invitation_id str
OCID of the corresponding recipient invitation.
recipient_tenancy_id str
OCID of the recipient tenancy.
sender_invitation_id str
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.
system_tags 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.
definedTags 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.
freeformTags 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.
recipientEmailAddress String
Email address of the recipient.
recipientInvitationId String
OCID of the corresponding recipient invitation.
recipientTenancyId String
OCID of the recipient tenancy.
senderInvitationId String
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.
systemTags 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 oci Terraform Provider.
Oracle Cloud Infrastructure v2.29.0 published on Wednesday, Apr 9, 2025 by Pulumi