avi 31.1.1 published on Monday, Apr 14, 2025 by vmware
avi.getAuthmappingprofile
Explore with Pulumi AI
<!–
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.
- Tenant
Ref 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.
- Tenant
Ref 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.
- tenant
Ref 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.
- tenant
Ref 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.
- tenant
Ref 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:
- Configpb
Attributes List<GetAuthmappingprofile Configpb Attribute> - 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
- Mapping
Rules List<GetAuthmappingprofile Mapping Rule> - 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.
- Tenant
Ref 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 []GetAuthmappingprofile Configpb Attribute - 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
- Mapping
Rules []GetAuthmappingprofile Mapping Rule - 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.
- Tenant
Ref 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 List<GetAuthmappingprofile Configpb Attribute> - 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
- mapping
Rules List<GetAuthmappingprofile Mapping Rule> - 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.
- tenant
Ref 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 GetAuthmappingprofile Configpb Attribute[] - 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
- mapping
Rules GetAuthmappingprofile Mapping Rule[] - 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.
- tenant
Ref 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[GetAuthmappingprofile Configpb Attribute] - 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[GetAuthmappingprofile Mapping Rule] - 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.
- configpb
Attributes 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
- mapping
Rules 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.
- tenant
Ref 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 str
- version String
GetAuthmappingprofileMappingRule
- Assign
Policy string - Assign
Role string - Assign
Tenant string - Assign
Userprofile string - Attribute
Matches List<GetAuthmappingprofile Mapping Rule Attribute Match> - Default
Tenant stringRef - Group
Matches List<GetAuthmappingprofile Mapping Rule Group Match> - Index string
- Is
Superuser string - Policy
Attribute stringName - Role
Attribute stringName - Role
Refs List<string> - Tenant
Attribute stringName - Tenant
Refs List<string> - Userprofile
Attribute stringName - Userprofile
Ref string
- Assign
Policy string - Assign
Role string - Assign
Tenant string - Assign
Userprofile string - Attribute
Matches []GetAuthmappingprofile Mapping Rule Attribute Match - Default
Tenant stringRef - Group
Matches []GetAuthmappingprofile Mapping Rule Group Match - Index string
- Is
Superuser string - Policy
Attribute stringName - Role
Attribute stringName - Role
Refs []string - Tenant
Attribute stringName - Tenant
Refs []string - Userprofile
Attribute stringName - Userprofile
Ref string
- assign
Policy String - assign
Role String - assign
Tenant String - assign
Userprofile String - attribute
Matches List<GetAuthmappingprofile Mapping Rule Attribute Match> - default
Tenant StringRef - group
Matches List<GetAuthmappingprofile Mapping Rule Group Match> - index String
- is
Superuser String - policy
Attribute StringName - role
Attribute StringName - role
Refs List<String> - tenant
Attribute StringName - tenant
Refs List<String> - userprofile
Attribute StringName - userprofile
Ref String
- assign
Policy string - assign
Role string - assign
Tenant string - assign
Userprofile string - attribute
Matches GetAuthmappingprofile Mapping Rule Attribute Match[] - default
Tenant stringRef - group
Matches GetAuthmappingprofile Mapping Rule Group Match[] - index string
- is
Superuser string - policy
Attribute stringName - role
Attribute stringName - role
Refs string[] - tenant
Attribute stringName - tenant
Refs string[] - userprofile
Attribute stringName - userprofile
Ref string
- assign_
policy str - assign_
role str - assign_
tenant str - assign_
userprofile str - attribute_
matches Sequence[GetAuthmappingprofile Mapping Rule Attribute Match] - default_
tenant_ strref - group_
matches Sequence[GetAuthmappingprofile Mapping Rule Group Match] - index str
- is_
superuser str - policy_
attribute_ strname - role_
attribute_ strname - role_
refs Sequence[str] - tenant_
attribute_ strname - tenant_
refs Sequence[str] - userprofile_
attribute_ strname - userprofile_
ref str
- assign
Policy String - assign
Role String - assign
Tenant String - assign
Userprofile String - attribute
Matches List<Property Map> - default
Tenant StringRef - group
Matches List<Property Map> - index String
- is
Superuser String - policy
Attribute StringName - role
Attribute StringName - role
Refs List<String> - tenant
Attribute StringName - tenant
Refs List<String> - userprofile
Attribute StringName - userprofile
Ref String
GetAuthmappingprofileMappingRuleAttributeMatch
GetAuthmappingprofileMappingRuleGroupMatch
Package Details
- Repository
- avi vmware/terraform-provider-avi
- License
- Notes
- This Pulumi package is based on the
avi
Terraform Provider.