func GetInvitation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InvitationState, opts ...pulumi.ResourceOption) (*Invitation, error) {
	var resource Invitation
	err := ctx.ReadResource("azuread:index/invitation:Invitation", name, id, state, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
// GetInvitation gets an existing Invitation resource's state with the given name, ID, and optional
// state properties that are used to uniquely qualify the lookup (nil if not required).
GetInvitation gets an existing Invitation resource's state with the given name, ID, and optional
state properties that are used to uniquely qualify the lookup (nil if not required).
// GetInvitation gets an existing Invitation resource ' s state with the given name ID and optional // state properties that are used to uniquely qualify the lookup ( nil if not required ) .
func GetInvitation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InvitationState, opts ...pulumi.ResourceOption) (*Invitation, error) {
	var resource Invitation
	err := ctx.ReadResource("azuread:index/invitation:Invitation", name, id, state, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
func GetInvitation ( ctx * pulumi . Context , name string , id pulumi . IDInput , state * InvitationState , opts ... pulumi . ResourceOption ) ( * Invitation , error ) { var resource Invitation err := ctx . ReadResource ( " " , name , id , state , & resource , opts ... ) if err != nil { return nil , err } return & resource , nil }
GetInvitation gets an existing Invitation resource's state with the given name, ID, and optional
state properties that are used to uniquely qualify the lookup (nil if not required).
GetInvitation gets an existing Invitation resource ' s state with the given name ID and optional state properties that are used to uniquely qualify the lookup ( nil if not required ) .