Cisco Meraki v0.4.1 published on Saturday, Mar 15, 2025 by Pulumi
meraki.organizations.getAdmins
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as meraki from "@pulumi/meraki";
const example = meraki.organizations.getAdmins({
    organizationId: "string",
});
export const merakiOrganizationsAdminsExample = example.then(example => example.items);
import pulumi
import pulumi_meraki as meraki
example = meraki.organizations.get_admins(organization_id="string")
pulumi.export("merakiOrganizationsAdminsExample", example.items)
package main
import (
	"github.com/pulumi/pulumi-meraki/sdk/go/meraki/organizations"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := organizations.LookupAdmins(ctx, &organizations.LookupAdminsArgs{
			OrganizationId: "string",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("merakiOrganizationsAdminsExample", example.Items)
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Meraki = Pulumi.Meraki;
return await Deployment.RunAsync(() => 
{
    var example = Meraki.Organizations.GetAdmins.Invoke(new()
    {
        OrganizationId = "string",
    });
    return new Dictionary<string, object?>
    {
        ["merakiOrganizationsAdminsExample"] = example.Apply(getAdminsResult => getAdminsResult.Items),
    };
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.meraki.organizations.OrganizationsFunctions;
import com.pulumi.meraki.organizations.inputs.GetAdminsArgs;
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 = OrganizationsFunctions.getAdmins(GetAdminsArgs.builder()
            .organizationId("string")
            .build());
        ctx.export("merakiOrganizationsAdminsExample", example.applyValue(getAdminsResult -> getAdminsResult.items()));
    }
}
variables:
  example:
    fn::invoke:
      function: meraki:organizations:getAdmins
      arguments:
        organizationId: string
outputs:
  merakiOrganizationsAdminsExample: ${example.items}
Using getAdmins
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 getAdmins(args: GetAdminsArgs, opts?: InvokeOptions): Promise<GetAdminsResult>
function getAdminsOutput(args: GetAdminsOutputArgs, opts?: InvokeOptions): Output<GetAdminsResult>def get_admins(organization_id: Optional[str] = None,
               opts: Optional[InvokeOptions] = None) -> GetAdminsResult
def get_admins_output(organization_id: Optional[pulumi.Input[str]] = None,
               opts: Optional[InvokeOptions] = None) -> Output[GetAdminsResult]func LookupAdmins(ctx *Context, args *LookupAdminsArgs, opts ...InvokeOption) (*LookupAdminsResult, error)
func LookupAdminsOutput(ctx *Context, args *LookupAdminsOutputArgs, opts ...InvokeOption) LookupAdminsResultOutput> Note: This function is named LookupAdmins in the Go SDK.
public static class GetAdmins 
{
    public static Task<GetAdminsResult> InvokeAsync(GetAdminsArgs args, InvokeOptions? opts = null)
    public static Output<GetAdminsResult> Invoke(GetAdminsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAdminsResult> getAdmins(GetAdminsArgs args, InvokeOptions options)
public static Output<GetAdminsResult> getAdmins(GetAdminsArgs args, InvokeOptions options)
fn::invoke:
  function: meraki:organizations/getAdmins:getAdmins
  arguments:
    # arguments dictionaryThe following arguments are supported:
- OrganizationId string
- organizationId path parameter. Organization ID
- OrganizationId string
- organizationId path parameter. Organization ID
- organizationId String
- organizationId path parameter. Organization ID
- organizationId string
- organizationId path parameter. Organization ID
- organization_id str
- organizationId path parameter. Organization ID
- organizationId String
- organizationId path parameter. Organization ID
getAdmins Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
List<GetAdmins Item> 
- Array of ResponseOrganizationsGetOrganizationAdmins
- OrganizationId string
- organizationId path parameter. Organization ID
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
[]GetAdmins Item 
- Array of ResponseOrganizationsGetOrganizationAdmins
- OrganizationId string
- organizationId path parameter. Organization ID
- id String
- The provider-assigned unique ID for this managed resource.
- items
List<GetAdmins Item> 
- Array of ResponseOrganizationsGetOrganizationAdmins
- organizationId String
- organizationId path parameter. Organization ID
- id string
- The provider-assigned unique ID for this managed resource.
- items
GetAdmins Item[] 
- Array of ResponseOrganizationsGetOrganizationAdmins
- organizationId string
- organizationId path parameter. Organization ID
- id str
- The provider-assigned unique ID for this managed resource.
- items
Sequence[GetAdmins Item] 
- Array of ResponseOrganizationsGetOrganizationAdmins
- organization_id str
- organizationId path parameter. Organization ID
- id String
- The provider-assigned unique ID for this managed resource.
- items List<Property Map>
- Array of ResponseOrganizationsGetOrganizationAdmins
- organizationId String
- organizationId path parameter. Organization ID
Supporting Types
GetAdminsItem  
- AccountStatus string
- Status of the admin's account
- AuthenticationMethod string
- Admin's authentication method
- Email string
- Admin's email address
- HasApi boolKey 
- Indicates whether the admin has an API key
- Id string
- Admin's ID
- LastActive string
- Time when the admin was last active
- Name string
- Admin's username
- Networks
List<GetAdmins Item Network> 
- Admin network access information
- OrgAccess string
- Admin's level of access to the organization
- 
List<GetAdmins Item Tag> 
- Admin tag information
- TwoFactor boolAuth Enabled 
- Indicates whether two-factor authentication is enabled
- AccountStatus string
- Status of the admin's account
- AuthenticationMethod string
- Admin's authentication method
- Email string
- Admin's email address
- HasApi boolKey 
- Indicates whether the admin has an API key
- Id string
- Admin's ID
- LastActive string
- Time when the admin was last active
- Name string
- Admin's username
- Networks
[]GetAdmins Item Network 
- Admin network access information
- OrgAccess string
- Admin's level of access to the organization
- 
[]GetAdmins Item Tag 
- Admin tag information
- TwoFactor boolAuth Enabled 
- Indicates whether two-factor authentication is enabled
- accountStatus String
- Status of the admin's account
- authenticationMethod String
- Admin's authentication method
- email String
- Admin's email address
- hasApi BooleanKey 
- Indicates whether the admin has an API key
- id String
- Admin's ID
- lastActive String
- Time when the admin was last active
- name String
- Admin's username
- networks
List<GetAdmins Item Network> 
- Admin network access information
- orgAccess String
- Admin's level of access to the organization
- 
List<GetAdmins Item Tag> 
- Admin tag information
- twoFactor BooleanAuth Enabled 
- Indicates whether two-factor authentication is enabled
- accountStatus string
- Status of the admin's account
- authenticationMethod string
- Admin's authentication method
- email string
- Admin's email address
- hasApi booleanKey 
- Indicates whether the admin has an API key
- id string
- Admin's ID
- lastActive string
- Time when the admin was last active
- name string
- Admin's username
- networks
GetAdmins Item Network[] 
- Admin network access information
- orgAccess string
- Admin's level of access to the organization
- 
GetAdmins Item Tag[] 
- Admin tag information
- twoFactor booleanAuth Enabled 
- Indicates whether two-factor authentication is enabled
- account_status str
- Status of the admin's account
- authentication_method str
- Admin's authentication method
- email str
- Admin's email address
- has_api_ boolkey 
- Indicates whether the admin has an API key
- id str
- Admin's ID
- last_active str
- Time when the admin was last active
- name str
- Admin's username
- networks
Sequence[GetAdmins Item Network] 
- Admin network access information
- org_access str
- Admin's level of access to the organization
- 
Sequence[GetAdmins Item Tag] 
- Admin tag information
- two_factor_ boolauth_ enabled 
- Indicates whether two-factor authentication is enabled
- accountStatus String
- Status of the admin's account
- authenticationMethod String
- Admin's authentication method
- email String
- Admin's email address
- hasApi BooleanKey 
- Indicates whether the admin has an API key
- id String
- Admin's ID
- lastActive String
- Time when the admin was last active
- name String
- Admin's username
- networks List<Property Map>
- Admin network access information
- orgAccess String
- Admin's level of access to the organization
- List<Property Map>
- Admin tag information
- twoFactor BooleanAuth Enabled 
- Indicates whether two-factor authentication is enabled
GetAdminsItemNetwork   
GetAdminsItemTag   
Package Details
- Repository
- meraki pulumi/pulumi-meraki
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the merakiTerraform Provider.
