1. Packages
  2. Yandex
  3. API Docs
  4. getOrganizationmanagerSamlFederationUserAccount
Yandex v0.13.0 published on Tuesday, Feb 22, 2022 by Pulumi

yandex.getOrganizationmanagerSamlFederationUserAccount

Explore with Pulumi AI

yandex logo
Yandex v0.13.0 published on Tuesday, Feb 22, 2022 by Pulumi

    Get information about a user of Yandex SAML Federation. For more information, see the official documentation.

    Example Usage

    using Pulumi;
    using Yandex = Pulumi.Yandex;
    
    class MyStack : Stack
    {
        public MyStack()
        {
            var account = Output.Create(Yandex.GetOrganizationmanagerSamlFederationUserAccount.InvokeAsync(new Yandex.GetOrganizationmanagerSamlFederationUserAccountArgs
            {
                FederationId = "some_federation_id",
                NameId = "example@example.org",
            }));
            this.MyFederation_id = account.Apply(account => account.Id);
        }
    
        [Output("myFederation.id")]
        public Output<string> MyFederation_id { get; set; }
    }
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-yandex/sdk/go/yandex"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		account, err := yandex.GetOrganizationmanagerSamlFederationUserAccount(ctx, &GetOrganizationmanagerSamlFederationUserAccountArgs{
    			FederationId: "some_federation_id",
    			NameId:       "example@example.org",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("myFederation.id", account.Id)
    		return nil
    	})
    }
    

    Coming soon!

    import pulumi
    import pulumi_yandex as yandex
    
    account = yandex.get_organizationmanager_saml_federation_user_account(federation_id="some_federation_id",
        name_id="example@example.org")
    pulumi.export("myFederation.id", account.id)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as yandex from "@pulumi/yandex";
    
    const account = pulumi.output(yandex.getOrganizationmanagerSamlFederationUserAccount({
        federationId: "some_federation_id",
        nameId: "example@example.org",
    }));
    
    export const my_federation_id = account.id;
    

    Coming soon!

    Using getOrganizationmanagerSamlFederationUserAccount

    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 getOrganizationmanagerSamlFederationUserAccount(args: GetOrganizationmanagerSamlFederationUserAccountArgs, opts?: InvokeOptions): Promise<GetOrganizationmanagerSamlFederationUserAccountResult>
    function getOrganizationmanagerSamlFederationUserAccountOutput(args: GetOrganizationmanagerSamlFederationUserAccountOutputArgs, opts?: InvokeOptions): Output<GetOrganizationmanagerSamlFederationUserAccountResult>
    def get_organizationmanager_saml_federation_user_account(federation_id: Optional[str] = None,
                                                             name_id: Optional[str] = None,
                                                             opts: Optional[InvokeOptions] = None) -> GetOrganizationmanagerSamlFederationUserAccountResult
    def get_organizationmanager_saml_federation_user_account_output(federation_id: Optional[pulumi.Input[str]] = None,
                                                             name_id: Optional[pulumi.Input[str]] = None,
                                                             opts: Optional[InvokeOptions] = None) -> Output[GetOrganizationmanagerSamlFederationUserAccountResult]
    func GetOrganizationmanagerSamlFederationUserAccount(ctx *Context, args *GetOrganizationmanagerSamlFederationUserAccountArgs, opts ...InvokeOption) (*GetOrganizationmanagerSamlFederationUserAccountResult, error)
    func GetOrganizationmanagerSamlFederationUserAccountOutput(ctx *Context, args *GetOrganizationmanagerSamlFederationUserAccountOutputArgs, opts ...InvokeOption) GetOrganizationmanagerSamlFederationUserAccountResultOutput

    > Note: This function is named GetOrganizationmanagerSamlFederationUserAccount in the Go SDK.

    public static class GetOrganizationmanagerSamlFederationUserAccount 
    {
        public static Task<GetOrganizationmanagerSamlFederationUserAccountResult> InvokeAsync(GetOrganizationmanagerSamlFederationUserAccountArgs args, InvokeOptions? opts = null)
        public static Output<GetOrganizationmanagerSamlFederationUserAccountResult> Invoke(GetOrganizationmanagerSamlFederationUserAccountInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetOrganizationmanagerSamlFederationUserAccountResult> getOrganizationmanagerSamlFederationUserAccount(GetOrganizationmanagerSamlFederationUserAccountArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: yandex:index/getOrganizationmanagerSamlFederationUserAccount:getOrganizationmanagerSamlFederationUserAccount
      arguments:
        # arguments dictionary

    The following arguments are supported:

    FederationId string
    ID of a SAML Federation.
    NameId string
    Name Id of the SAML federated user.
    FederationId string
    ID of a SAML Federation.
    NameId string
    Name Id of the SAML federated user.
    federationId String
    ID of a SAML Federation.
    nameId String
    Name Id of the SAML federated user.
    federationId string
    ID of a SAML Federation.
    nameId string
    Name Id of the SAML federated user.
    federation_id str
    ID of a SAML Federation.
    name_id str
    Name Id of the SAML federated user.
    federationId String
    ID of a SAML Federation.
    nameId String
    Name Id of the SAML federated user.

    getOrganizationmanagerSamlFederationUserAccount Result

    The following output properties are available:

    FederationId string
    Id string
    The provider-assigned unique ID for this managed resource.
    NameId string
    FederationId string
    Id string
    The provider-assigned unique ID for this managed resource.
    NameId string
    federationId String
    id String
    The provider-assigned unique ID for this managed resource.
    nameId String
    federationId string
    id string
    The provider-assigned unique ID for this managed resource.
    nameId string
    federation_id str
    id str
    The provider-assigned unique ID for this managed resource.
    name_id str
    federationId String
    id String
    The provider-assigned unique ID for this managed resource.
    nameId String

    Package Details

    Repository
    Yandex pulumi/pulumi-yandex
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the yandex Terraform Provider.
    yandex logo
    Yandex v0.13.0 published on Tuesday, Feb 22, 2022 by Pulumi