1. Packages
  2. Avi Provider
  3. API Docs
  4. getAuthmappingprofile
avi 31.1.1 published on Monday, Apr 14, 2025 by vmware

avi.getAuthmappingprofile

Explore with Pulumi AI

avi logo
avi 31.1.1 published on Monday, Apr 14, 2025 by vmware

    <!–

    Copyright 2021 VMware, Inc.
    SPDX-License-Identifier: Mozilla Public License 2.0
    

    –>

    layout: “avi”

    page_title: “AVI: avi.Authmappingprofile” sidebar_current: “docs-avi-datasource-authmappingprofile” description: |- Get information of Avi AuthMappingProfile.

    avi.Authmappingprofile

    This data source is used to to get avi.Authmappingprofile objects.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as avi from "@pulumi/avi";
    
    const fooAuthmappingprofile = avi.getAuthmappingprofile({
        name: "foo",
        uuid: "authmappingprofile-f9cf6b3e-a411-436f-95e2-2982ba2b217b",
    });
    
    import pulumi
    import pulumi_avi as avi
    
    foo_authmappingprofile = avi.get_authmappingprofile(name="foo",
        uuid="authmappingprofile-f9cf6b3e-a411-436f-95e2-2982ba2b217b")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/avi/v31/avi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := avi.LookupAuthmappingprofile(ctx, &avi.LookupAuthmappingprofileArgs{
    			Name: pulumi.StringRef("foo"),
    			Uuid: pulumi.StringRef("authmappingprofile-f9cf6b3e-a411-436f-95e2-2982ba2b217b"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Avi = Pulumi.Avi;
    
    return await Deployment.RunAsync(() => 
    {
        var fooAuthmappingprofile = Avi.GetAuthmappingprofile.Invoke(new()
        {
            Name = "foo",
            Uuid = "authmappingprofile-f9cf6b3e-a411-436f-95e2-2982ba2b217b",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.avi.AviFunctions;
    import com.pulumi.avi.inputs.GetAuthmappingprofileArgs;
    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 fooAuthmappingprofile = AviFunctions.getAuthmappingprofile(GetAuthmappingprofileArgs.builder()
                .name("foo")
                .uuid("authmappingprofile-f9cf6b3e-a411-436f-95e2-2982ba2b217b")
                .build());
    
        }
    }
    
    variables:
      fooAuthmappingprofile:
        fn::invoke:
          function: avi:getAuthmappingprofile
          arguments:
            name: foo
            uuid: authmappingprofile-f9cf6b3e-a411-436f-95e2-2982ba2b217b
    

    Using getAuthmappingprofile

    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 getAuthmappingprofile(args: GetAuthmappingprofileArgs, opts?: InvokeOptions): Promise<GetAuthmappingprofileResult>
    function getAuthmappingprofileOutput(args: GetAuthmappingprofileOutputArgs, opts?: InvokeOptions): Output<GetAuthmappingprofileResult>
    def get_authmappingprofile(id: Optional[str] = None,
                               name: Optional[str] = None,
                               tenant_ref: Optional[str] = None,
                               uuid: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetAuthmappingprofileResult
    def get_authmappingprofile_output(id: Optional[pulumi.Input[str]] = None,
                               name: Optional[pulumi.Input[str]] = None,
                               tenant_ref: Optional[pulumi.Input[str]] = None,
                               uuid: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetAuthmappingprofileResult]
    func LookupAuthmappingprofile(ctx *Context, args *LookupAuthmappingprofileArgs, opts ...InvokeOption) (*LookupAuthmappingprofileResult, error)
    func LookupAuthmappingprofileOutput(ctx *Context, args *LookupAuthmappingprofileOutputArgs, opts ...InvokeOption) LookupAuthmappingprofileResultOutput

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

    public static class GetAuthmappingprofile 
    {
        public static Task<GetAuthmappingprofileResult> InvokeAsync(GetAuthmappingprofileArgs args, InvokeOptions? opts = null)
        public static Output<GetAuthmappingprofileResult> Invoke(GetAuthmappingprofileInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAuthmappingprofileResult> getAuthmappingprofile(GetAuthmappingprofileArgs args, InvokeOptions options)
    public static Output<GetAuthmappingprofileResult> getAuthmappingprofile(GetAuthmappingprofileArgs args, InvokeOptions options)
    
    fn::invoke:
      function: avi:index/getAuthmappingprofile:getAuthmappingprofile
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Name string
    Search AuthMappingProfile by name.
    TenantRef string
    Tenant ref for the auth mapping profile. It is a reference to an object of type tenant. Field introduced in 22.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Uuid string
    Search AuthMappingProfile by uuid.
    Id string
    Name string
    Search AuthMappingProfile by name.
    TenantRef string
    Tenant ref for the auth mapping profile. It is a reference to an object of type tenant. Field introduced in 22.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Uuid string
    Search AuthMappingProfile by uuid.
    id String
    name String
    Search AuthMappingProfile by name.
    tenantRef String
    Tenant ref for the auth mapping profile. It is a reference to an object of type tenant. Field introduced in 22.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid String
    Search AuthMappingProfile by uuid.
    id string
    name string
    Search AuthMappingProfile by name.
    tenantRef string
    Tenant ref for the auth mapping profile. It is a reference to an object of type tenant. Field introduced in 22.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid string
    Search AuthMappingProfile by uuid.
    id str
    name str
    Search AuthMappingProfile by name.
    tenant_ref str
    Tenant ref for the auth mapping profile. It is a reference to an object of type tenant. Field introduced in 22.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid str
    Search AuthMappingProfile by uuid.
    id String
    name String
    Search AuthMappingProfile by name.
    tenantRef String
    Tenant ref for the auth mapping profile. It is a reference to an object of type tenant. Field introduced in 22.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid String
    Search AuthMappingProfile by uuid.

    getAuthmappingprofile Result

    The following output properties are available:

    ConfigpbAttributes List<GetAuthmappingprofileConfigpbAttribute>
    Protobuf versioning for config pbs. Field introduced in 22.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Description string
    Description for the authmappingprofile. Field introduced in 22.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Id string
    MappingRules List<GetAuthmappingprofileMappingRule>
    Rules list for tenant or role mapping. Field introduced in 22.1.1. Minimum of 1 items required. Allowed with any value in enterprise, enterprise with cloud services edition.
    Name string
    Name of the authmappingprofile. Field introduced in 22.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    TenantRef string
    Tenant ref for the auth mapping profile. It is a reference to an object of type tenant. Field introduced in 22.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Type string
    Type of the auth profile for which these rules can be linked. Enum options - AUTH_PROFILE_LDAP, AUTH_PROFILE_TACACS_PLUS, AUTH_PROFILE_SAML, AUTH_PROFILE_PINGACCESS, AUTH_PROFILE_JWT, AUTH_PROFILE_OAUTH. Field introduced in 22.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Uuid string
    Uuid of the authmappingprofile. Field introduced in 22.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    ConfigpbAttributes []GetAuthmappingprofileConfigpbAttribute
    Protobuf versioning for config pbs. Field introduced in 22.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Description string
    Description for the authmappingprofile. Field introduced in 22.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Id string
    MappingRules []GetAuthmappingprofileMappingRule
    Rules list for tenant or role mapping. Field introduced in 22.1.1. Minimum of 1 items required. Allowed with any value in enterprise, enterprise with cloud services edition.
    Name string
    Name of the authmappingprofile. Field introduced in 22.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    TenantRef string
    Tenant ref for the auth mapping profile. It is a reference to an object of type tenant. Field introduced in 22.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Type string
    Type of the auth profile for which these rules can be linked. Enum options - AUTH_PROFILE_LDAP, AUTH_PROFILE_TACACS_PLUS, AUTH_PROFILE_SAML, AUTH_PROFILE_PINGACCESS, AUTH_PROFILE_JWT, AUTH_PROFILE_OAUTH. Field introduced in 22.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Uuid string
    Uuid of the authmappingprofile. Field introduced in 22.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    configpbAttributes List<GetAuthmappingprofileConfigpbAttribute>
    Protobuf versioning for config pbs. Field introduced in 22.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    description String
    Description for the authmappingprofile. Field introduced in 22.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    id String
    mappingRules List<GetAuthmappingprofileMappingRule>
    Rules list for tenant or role mapping. Field introduced in 22.1.1. Minimum of 1 items required. Allowed with any value in enterprise, enterprise with cloud services edition.
    name String
    Name of the authmappingprofile. Field introduced in 22.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    tenantRef String
    Tenant ref for the auth mapping profile. It is a reference to an object of type tenant. Field introduced in 22.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    type String
    Type of the auth profile for which these rules can be linked. Enum options - AUTH_PROFILE_LDAP, AUTH_PROFILE_TACACS_PLUS, AUTH_PROFILE_SAML, AUTH_PROFILE_PINGACCESS, AUTH_PROFILE_JWT, AUTH_PROFILE_OAUTH. Field introduced in 22.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid String
    Uuid of the authmappingprofile. Field introduced in 22.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    configpbAttributes GetAuthmappingprofileConfigpbAttribute[]
    Protobuf versioning for config pbs. Field introduced in 22.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    description string
    Description for the authmappingprofile. Field introduced in 22.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    id string
    mappingRules GetAuthmappingprofileMappingRule[]
    Rules list for tenant or role mapping. Field introduced in 22.1.1. Minimum of 1 items required. Allowed with any value in enterprise, enterprise with cloud services edition.
    name string
    Name of the authmappingprofile. Field introduced in 22.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    tenantRef string
    Tenant ref for the auth mapping profile. It is a reference to an object of type tenant. Field introduced in 22.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    type string
    Type of the auth profile for which these rules can be linked. Enum options - AUTH_PROFILE_LDAP, AUTH_PROFILE_TACACS_PLUS, AUTH_PROFILE_SAML, AUTH_PROFILE_PINGACCESS, AUTH_PROFILE_JWT, AUTH_PROFILE_OAUTH. Field introduced in 22.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid string
    Uuid of the authmappingprofile. Field introduced in 22.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    configpb_attributes Sequence[GetAuthmappingprofileConfigpbAttribute]
    Protobuf versioning for config pbs. Field introduced in 22.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    description str
    Description for the authmappingprofile. Field introduced in 22.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    id str
    mapping_rules Sequence[GetAuthmappingprofileMappingRule]
    Rules list for tenant or role mapping. Field introduced in 22.1.1. Minimum of 1 items required. Allowed with any value in enterprise, enterprise with cloud services edition.
    name str
    Name of the authmappingprofile. Field introduced in 22.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    tenant_ref str
    Tenant ref for the auth mapping profile. It is a reference to an object of type tenant. Field introduced in 22.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    type str
    Type of the auth profile for which these rules can be linked. Enum options - AUTH_PROFILE_LDAP, AUTH_PROFILE_TACACS_PLUS, AUTH_PROFILE_SAML, AUTH_PROFILE_PINGACCESS, AUTH_PROFILE_JWT, AUTH_PROFILE_OAUTH. Field introduced in 22.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid str
    Uuid of the authmappingprofile. Field introduced in 22.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    configpbAttributes List<Property Map>
    Protobuf versioning for config pbs. Field introduced in 22.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    description String
    Description for the authmappingprofile. Field introduced in 22.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    id String
    mappingRules List<Property Map>
    Rules list for tenant or role mapping. Field introduced in 22.1.1. Minimum of 1 items required. Allowed with any value in enterprise, enterprise with cloud services edition.
    name String
    Name of the authmappingprofile. Field introduced in 22.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    tenantRef String
    Tenant ref for the auth mapping profile. It is a reference to an object of type tenant. Field introduced in 22.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    type String
    Type of the auth profile for which these rules can be linked. Enum options - AUTH_PROFILE_LDAP, AUTH_PROFILE_TACACS_PLUS, AUTH_PROFILE_SAML, AUTH_PROFILE_PINGACCESS, AUTH_PROFILE_JWT, AUTH_PROFILE_OAUTH. Field introduced in 22.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid String
    Uuid of the authmappingprofile. Field introduced in 22.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.

    Supporting Types

    GetAuthmappingprofileConfigpbAttribute

    Version string
    Version string
    version String
    version string
    version String

    GetAuthmappingprofileMappingRule

    GetAuthmappingprofileMappingRuleAttributeMatch

    Criteria string
    Name string
    Search AuthMappingProfile by name.
    Values List<string>
    Criteria string
    Name string
    Search AuthMappingProfile by name.
    Values []string
    criteria String
    name String
    Search AuthMappingProfile by name.
    values List<String>
    criteria string
    name string
    Search AuthMappingProfile by name.
    values string[]
    criteria str
    name str
    Search AuthMappingProfile by name.
    values Sequence[str]
    criteria String
    name String
    Search AuthMappingProfile by name.
    values List<String>

    GetAuthmappingprofileMappingRuleGroupMatch

    Criteria string
    Groups List<string>
    Criteria string
    Groups []string
    criteria String
    groups List<String>
    criteria string
    groups string[]
    criteria str
    groups Sequence[str]
    criteria String
    groups List<String>

    Package Details

    Repository
    avi vmware/terraform-provider-avi
    License
    Notes
    This Pulumi package is based on the avi Terraform Provider.
    avi logo
    avi 31.1.1 published on Monday, Apr 14, 2025 by vmware