1. Packages
  2. Meraki Provider
  3. API Docs
  4. administered
  5. getIdentitiesMe
Cisco Meraki v0.3.2 published on Tuesday, Sep 24, 2024 by Pulumi

meraki.administered.getIdentitiesMe

Explore with Pulumi AI

meraki logo
Cisco Meraki v0.3.2 published on Tuesday, Sep 24, 2024 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as meraki from "@pulumi/meraki";
    
    const example = meraki.administered.getIdentitiesMe({});
    export const merakiAdministeredIdentitiesMeExample = example.then(example => example.item);
    
    import pulumi
    import pulumi_meraki as meraki
    
    example = meraki.administered.get_identities_me()
    pulumi.export("merakiAdministeredIdentitiesMeExample", example.item)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-meraki/sdk/go/meraki/administered"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := administered.GetIdentitiesMe(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("merakiAdministeredIdentitiesMeExample", example.Item)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Meraki = Pulumi.Meraki;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Meraki.Administered.GetIdentitiesMe.Invoke();
    
        return new Dictionary<string, object?>
        {
            ["merakiAdministeredIdentitiesMeExample"] = example.Apply(getIdentitiesMeResult => getIdentitiesMeResult.Item),
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.meraki.administered.AdministeredFunctions;
    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 example = AdministeredFunctions.getIdentitiesMe();
    
            ctx.export("merakiAdministeredIdentitiesMeExample", example.applyValue(getIdentitiesMeResult -> getIdentitiesMeResult.item()));
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: meraki:administered:getIdentitiesMe
          Arguments: {}
    outputs:
      merakiAdministeredIdentitiesMeExample: ${example.item}
    

    Using getIdentitiesMe

    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 getIdentitiesMe(opts?: InvokeOptions): Promise<GetIdentitiesMeResult>
    function getIdentitiesMeOutput(opts?: InvokeOptions): Output<GetIdentitiesMeResult>
    def get_identities_me(opts: Optional[InvokeOptions] = None) -> GetIdentitiesMeResult
    def get_identities_me_output(opts: Optional[InvokeOptions] = None) -> Output[GetIdentitiesMeResult]
    func GetIdentitiesMe(ctx *Context, opts ...InvokeOption) (*GetIdentitiesMeResult, error)
    func GetIdentitiesMeOutput(ctx *Context, opts ...InvokeOption) GetIdentitiesMeResultOutput

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

    public static class GetIdentitiesMe 
    {
        public static Task<GetIdentitiesMeResult> InvokeAsync(InvokeOptions? opts = null)
        public static Output<GetIdentitiesMeResult> Invoke(InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetIdentitiesMeResult> getIdentitiesMe(InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: meraki:administered/getIdentitiesMe:getIdentitiesMe
      arguments:
        # arguments dictionary

    getIdentitiesMe Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Item GetIdentitiesMeItem
    Id string
    The provider-assigned unique ID for this managed resource.
    Item GetIdentitiesMeItem
    id String
    The provider-assigned unique ID for this managed resource.
    item GetIdentitiesMeItem
    id string
    The provider-assigned unique ID for this managed resource.
    item GetIdentitiesMeItem
    id str
    The provider-assigned unique ID for this managed resource.
    item GetIdentitiesMeItem
    id String
    The provider-assigned unique ID for this managed resource.
    item Property Map

    Supporting Types

    GetIdentitiesMeItem

    Authentication GetIdentitiesMeItemAuthentication
    Authentication info
    Email string
    User email
    LastUsedDashboardAt string
    Last seen active on Dashboard UI
    Name string
    Username
    Authentication GetIdentitiesMeItemAuthentication
    Authentication info
    Email string
    User email
    LastUsedDashboardAt string
    Last seen active on Dashboard UI
    Name string
    Username
    authentication GetIdentitiesMeItemAuthentication
    Authentication info
    email String
    User email
    lastUsedDashboardAt String
    Last seen active on Dashboard UI
    name String
    Username
    authentication GetIdentitiesMeItemAuthentication
    Authentication info
    email string
    User email
    lastUsedDashboardAt string
    Last seen active on Dashboard UI
    name string
    Username
    authentication GetIdentitiesMeItemAuthentication
    Authentication info
    email str
    User email
    last_used_dashboard_at str
    Last seen active on Dashboard UI
    name str
    Username
    authentication Property Map
    Authentication info
    email String
    User email
    lastUsedDashboardAt String
    Last seen active on Dashboard UI
    name String
    Username

    GetIdentitiesMeItemAuthentication

    Api GetIdentitiesMeItemAuthenticationApi
    API authentication
    Mode string
    Authentication mode
    Saml GetIdentitiesMeItemAuthenticationSaml
    SAML authentication
    TwoFactor GetIdentitiesMeItemAuthenticationTwoFactor
    TwoFactor authentication
    Api GetIdentitiesMeItemAuthenticationApi
    API authentication
    Mode string
    Authentication mode
    Saml GetIdentitiesMeItemAuthenticationSaml
    SAML authentication
    TwoFactor GetIdentitiesMeItemAuthenticationTwoFactor
    TwoFactor authentication
    api GetIdentitiesMeItemAuthenticationApi
    API authentication
    mode String
    Authentication mode
    saml GetIdentitiesMeItemAuthenticationSaml
    SAML authentication
    twoFactor GetIdentitiesMeItemAuthenticationTwoFactor
    TwoFactor authentication
    api GetIdentitiesMeItemAuthenticationApi
    API authentication
    mode string
    Authentication mode
    saml GetIdentitiesMeItemAuthenticationSaml
    SAML authentication
    twoFactor GetIdentitiesMeItemAuthenticationTwoFactor
    TwoFactor authentication
    api Property Map
    API authentication
    mode String
    Authentication mode
    saml Property Map
    SAML authentication
    twoFactor Property Map
    TwoFactor authentication

    GetIdentitiesMeItemAuthenticationApi

    GetIdentitiesMeItemAuthenticationApiKey

    Created bool
    If API key is created for this user
    Created bool
    If API key is created for this user
    created Boolean
    If API key is created for this user
    created boolean
    If API key is created for this user
    created bool
    If API key is created for this user
    created Boolean
    If API key is created for this user

    GetIdentitiesMeItemAuthenticationSaml

    Enabled bool
    If SAML authentication is enabled for this user
    Enabled bool
    If SAML authentication is enabled for this user
    enabled Boolean
    If SAML authentication is enabled for this user
    enabled boolean
    If SAML authentication is enabled for this user
    enabled bool
    If SAML authentication is enabled for this user
    enabled Boolean
    If SAML authentication is enabled for this user

    GetIdentitiesMeItemAuthenticationTwoFactor

    Enabled bool
    If twoFactor authentication is enabled for this user
    Enabled bool
    If twoFactor authentication is enabled for this user
    enabled Boolean
    If twoFactor authentication is enabled for this user
    enabled boolean
    If twoFactor authentication is enabled for this user
    enabled bool
    If twoFactor authentication is enabled for this user
    enabled Boolean
    If twoFactor authentication is enabled for this user

    Package Details

    Repository
    meraki pulumi/pulumi-meraki
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the meraki Terraform Provider.
    meraki logo
    Cisco Meraki v0.3.2 published on Tuesday, Sep 24, 2024 by Pulumi