avi 31.1.1 published on Monday, Apr 14, 2025 by vmware
avi.getJwtserverprofile
Explore with Pulumi AI
<!–
Copyright 2021 VMware, Inc.
SPDX-License-Identifier: Mozilla Public License 2.0
–>
layout: “avi”
page_title: “AVI: avi.Jwtserverprofile” sidebar_current: “docs-avi-datasource-jwtserverprofile” description: |- Get information of Avi JWTServerProfile.
avi.Jwtserverprofile
This data source is used to to get avi.Jwtserverprofile objects.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as avi from "@pulumi/avi";
const fooJwtserverprofile = avi.getJwtserverprofile({
name: "foo",
uuid: "jwtserverprofile-f9cf6b3e-a411-436f-95e2-2982ba2b217b",
});
import pulumi
import pulumi_avi as avi
foo_jwtserverprofile = avi.get_jwtserverprofile(name="foo",
uuid="jwtserverprofile-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.LookupJwtserverprofile(ctx, &avi.LookupJwtserverprofileArgs{
Name: pulumi.StringRef("foo"),
Uuid: pulumi.StringRef("jwtserverprofile-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 fooJwtserverprofile = Avi.GetJwtserverprofile.Invoke(new()
{
Name = "foo",
Uuid = "jwtserverprofile-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.GetJwtserverprofileArgs;
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 fooJwtserverprofile = AviFunctions.getJwtserverprofile(GetJwtserverprofileArgs.builder()
.name("foo")
.uuid("jwtserverprofile-f9cf6b3e-a411-436f-95e2-2982ba2b217b")
.build());
}
}
variables:
fooJwtserverprofile:
fn::invoke:
function: avi:getJwtserverprofile
arguments:
name: foo
uuid: jwtserverprofile-f9cf6b3e-a411-436f-95e2-2982ba2b217b
Using getJwtserverprofile
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 getJwtserverprofile(args: GetJwtserverprofileArgs, opts?: InvokeOptions): Promise<GetJwtserverprofileResult>
function getJwtserverprofileOutput(args: GetJwtserverprofileOutputArgs, opts?: InvokeOptions): Output<GetJwtserverprofileResult>
def get_jwtserverprofile(id: Optional[str] = None,
name: Optional[str] = None,
tenant_ref: Optional[str] = None,
uuid: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetJwtserverprofileResult
def get_jwtserverprofile_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[GetJwtserverprofileResult]
func LookupJwtserverprofile(ctx *Context, args *LookupJwtserverprofileArgs, opts ...InvokeOption) (*LookupJwtserverprofileResult, error)
func LookupJwtserverprofileOutput(ctx *Context, args *LookupJwtserverprofileOutputArgs, opts ...InvokeOption) LookupJwtserverprofileResultOutput
> Note: This function is named LookupJwtserverprofile
in the Go SDK.
public static class GetJwtserverprofile
{
public static Task<GetJwtserverprofileResult> InvokeAsync(GetJwtserverprofileArgs args, InvokeOptions? opts = null)
public static Output<GetJwtserverprofileResult> Invoke(GetJwtserverprofileInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetJwtserverprofileResult> getJwtserverprofile(GetJwtserverprofileArgs args, InvokeOptions options)
public static Output<GetJwtserverprofileResult> getJwtserverprofile(GetJwtserverprofileArgs args, InvokeOptions options)
fn::invoke:
function: avi:index/getJwtserverprofile:getJwtserverprofile
arguments:
# arguments dictionary
The following arguments are supported:
- id str
- name str
- Search JWTServerProfile by name.
- tenant_
ref str - Uuid of the tenant. It is a reference to an object of type tenant. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- uuid str
- Search JWTServerProfile by uuid.
getJwtserverprofile Result
The following output properties are available:
- Configpb
Attributes List<GetJwtserverprofile Configpb Attribute> - Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Controller
Internal List<GetAuths Jwtserverprofile Controller Internal Auth> - Jwt auth configuration for profile_type controller_internal_auth. Field introduced in 20.1.6. Allowed with any value in enterprise, enterprise with cloud services edition.
- Id string
- Is
Federated string - This field describes the object's replication scope. If the field is set to false, then the object is visible within the controller-cluster. If the field is set to true, then the object is replicated across the federation. Field introduced in 20.1.6. Allowed with any value in enterprise, enterprise with cloud services edition.
- Issuer string
- Uniquely identifiable name of the token issuer, only allowed with profile_type client_auth. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- Jwks
Keys string - Jwks key set used for validating the jwt, only allowed with profile_type client_auth. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- Jwt
Profile stringType - Type of jwt server profile which defines the usage type. Enum options - CLIENT_AUTH, CONTROLLER_INTERNAL_AUTH. Field introduced in 20.1.6. Allowed with any value in enterprise, enterprise with cloud services edition.
- Name string
- Name of the jwt profile. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- Tenant
Ref string - Uuid of the tenant. It is a reference to an object of type tenant. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- Uuid string
- Uuid of the jwtprofile. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- Configpb
Attributes []GetJwtserverprofile Configpb Attribute - Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Controller
Internal []GetAuths Jwtserverprofile Controller Internal Auth - Jwt auth configuration for profile_type controller_internal_auth. Field introduced in 20.1.6. Allowed with any value in enterprise, enterprise with cloud services edition.
- Id string
- Is
Federated string - This field describes the object's replication scope. If the field is set to false, then the object is visible within the controller-cluster. If the field is set to true, then the object is replicated across the federation. Field introduced in 20.1.6. Allowed with any value in enterprise, enterprise with cloud services edition.
- Issuer string
- Uniquely identifiable name of the token issuer, only allowed with profile_type client_auth. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- Jwks
Keys string - Jwks key set used for validating the jwt, only allowed with profile_type client_auth. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- Jwt
Profile stringType - Type of jwt server profile which defines the usage type. Enum options - CLIENT_AUTH, CONTROLLER_INTERNAL_AUTH. Field introduced in 20.1.6. Allowed with any value in enterprise, enterprise with cloud services edition.
- Name string
- Name of the jwt profile. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- Tenant
Ref string - Uuid of the tenant. It is a reference to an object of type tenant. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- Uuid string
- Uuid of the jwtprofile. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- configpb
Attributes List<GetJwtserverprofile Configpb Attribute> - Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- controller
Internal List<GetAuths Jwtserverprofile Controller Internal Auth> - Jwt auth configuration for profile_type controller_internal_auth. Field introduced in 20.1.6. Allowed with any value in enterprise, enterprise with cloud services edition.
- id String
- is
Federated String - This field describes the object's replication scope. If the field is set to false, then the object is visible within the controller-cluster. If the field is set to true, then the object is replicated across the federation. Field introduced in 20.1.6. Allowed with any value in enterprise, enterprise with cloud services edition.
- issuer String
- Uniquely identifiable name of the token issuer, only allowed with profile_type client_auth. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- jwks
Keys String - Jwks key set used for validating the jwt, only allowed with profile_type client_auth. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- jwt
Profile StringType - Type of jwt server profile which defines the usage type. Enum options - CLIENT_AUTH, CONTROLLER_INTERNAL_AUTH. Field introduced in 20.1.6. Allowed with any value in enterprise, enterprise with cloud services edition.
- name String
- Name of the jwt profile. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- tenant
Ref String - Uuid of the tenant. It is a reference to an object of type tenant. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- uuid String
- Uuid of the jwtprofile. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- configpb
Attributes GetJwtserverprofile Configpb Attribute[] - Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- controller
Internal GetAuths Jwtserverprofile Controller Internal Auth[] - Jwt auth configuration for profile_type controller_internal_auth. Field introduced in 20.1.6. Allowed with any value in enterprise, enterprise with cloud services edition.
- id string
- is
Federated string - This field describes the object's replication scope. If the field is set to false, then the object is visible within the controller-cluster. If the field is set to true, then the object is replicated across the federation. Field introduced in 20.1.6. Allowed with any value in enterprise, enterprise with cloud services edition.
- issuer string
- Uniquely identifiable name of the token issuer, only allowed with profile_type client_auth. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- jwks
Keys string - Jwks key set used for validating the jwt, only allowed with profile_type client_auth. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- jwt
Profile stringType - Type of jwt server profile which defines the usage type. Enum options - CLIENT_AUTH, CONTROLLER_INTERNAL_AUTH. Field introduced in 20.1.6. Allowed with any value in enterprise, enterprise with cloud services edition.
- name string
- Name of the jwt profile. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- tenant
Ref string - Uuid of the tenant. It is a reference to an object of type tenant. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- uuid string
- Uuid of the jwtprofile. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- configpb_
attributes Sequence[GetJwtserverprofile Configpb Attribute] - Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- controller_
internal_ Sequence[Getauths Jwtserverprofile Controller Internal Auth] - Jwt auth configuration for profile_type controller_internal_auth. Field introduced in 20.1.6. Allowed with any value in enterprise, enterprise with cloud services edition.
- id str
- is_
federated str - This field describes the object's replication scope. If the field is set to false, then the object is visible within the controller-cluster. If the field is set to true, then the object is replicated across the federation. Field introduced in 20.1.6. Allowed with any value in enterprise, enterprise with cloud services edition.
- issuer str
- Uniquely identifiable name of the token issuer, only allowed with profile_type client_auth. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- jwks_
keys str - Jwks key set used for validating the jwt, only allowed with profile_type client_auth. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- jwt_
profile_ strtype - Type of jwt server profile which defines the usage type. Enum options - CLIENT_AUTH, CONTROLLER_INTERNAL_AUTH. Field introduced in 20.1.6. Allowed with any value in enterprise, enterprise with cloud services edition.
- name str
- Name of the jwt profile. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- tenant_
ref str - Uuid of the tenant. It is a reference to an object of type tenant. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- uuid str
- Uuid of the jwtprofile. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- configpb
Attributes List<Property Map> - Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- controller
Internal List<Property Map>Auths - Jwt auth configuration for profile_type controller_internal_auth. Field introduced in 20.1.6. Allowed with any value in enterprise, enterprise with cloud services edition.
- id String
- is
Federated String - This field describes the object's replication scope. If the field is set to false, then the object is visible within the controller-cluster. If the field is set to true, then the object is replicated across the federation. Field introduced in 20.1.6. Allowed with any value in enterprise, enterprise with cloud services edition.
- issuer String
- Uniquely identifiable name of the token issuer, only allowed with profile_type client_auth. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- jwks
Keys String - Jwks key set used for validating the jwt, only allowed with profile_type client_auth. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- jwt
Profile StringType - Type of jwt server profile which defines the usage type. Enum options - CLIENT_AUTH, CONTROLLER_INTERNAL_AUTH. Field introduced in 20.1.6. Allowed with any value in enterprise, enterprise with cloud services edition.
- name String
- Name of the jwt profile. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- tenant
Ref String - Uuid of the tenant. It is a reference to an object of type tenant. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- uuid String
- Uuid of the jwtprofile. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
Supporting Types
GetJwtserverprofileConfigpbAttribute
- Version string
- Version string
- version String
- version string
- version str
- version String
GetJwtserverprofileControllerInternalAuth
GetJwtserverprofileControllerInternalAuthSymmetricJwksKey
Package Details
- Repository
- avi vmware/terraform-provider-avi
- License
- Notes
- This Pulumi package is based on the
avi
Terraform Provider.