Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
Use this data source to query detailed information of iam oauth providers
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const default = volcengine.iam.getOauthProviders({
oauthProviderName: "acc-test-oauth",
});
import pulumi
import pulumi_volcengine as volcengine
default = volcengine.iam.get_oauth_providers(oauth_provider_name="acc-test-oauth")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/iam"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := iam.GetOauthProviders(ctx, &iam.GetOauthProvidersArgs{
OauthProviderName: "acc-test-oauth",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var @default = Volcengine.Iam.GetOauthProviders.Invoke(new()
{
OauthProviderName = "acc-test-oauth",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.iam.IamFunctions;
import com.pulumi.volcengine.iam.inputs.GetOauthProvidersArgs;
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 default = IamFunctions.getOauthProviders(GetOauthProvidersArgs.builder()
.oauthProviderName("acc-test-oauth")
.build());
}
}
variables:
default:
fn::invoke:
Function: volcengine:iam:getOauthProviders
Arguments:
oauthProviderName: acc-test-oauth
Using getOauthProviders
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 getOauthProviders(args: GetOauthProvidersArgs, opts?: InvokeOptions): Promise<GetOauthProvidersResult>
function getOauthProvidersOutput(args: GetOauthProvidersOutputArgs, opts?: InvokeOptions): Output<GetOauthProvidersResult>def get_oauth_providers(oauth_provider_name: Optional[str] = None,
output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetOauthProvidersResult
def get_oauth_providers_output(oauth_provider_name: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetOauthProvidersResult]func GetOauthProviders(ctx *Context, args *GetOauthProvidersArgs, opts ...InvokeOption) (*GetOauthProvidersResult, error)
func GetOauthProvidersOutput(ctx *Context, args *GetOauthProvidersOutputArgs, opts ...InvokeOption) GetOauthProvidersResultOutput> Note: This function is named GetOauthProviders in the Go SDK.
public static class GetOauthProviders
{
public static Task<GetOauthProvidersResult> InvokeAsync(GetOauthProvidersArgs args, InvokeOptions? opts = null)
public static Output<GetOauthProvidersResult> Invoke(GetOauthProvidersInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetOauthProvidersResult> getOauthProviders(GetOauthProvidersArgs args, InvokeOptions options)
public static Output<GetOauthProvidersResult> getOauthProviders(GetOauthProvidersArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:iam/getOauthProviders:getOauthProviders
arguments:
# arguments dictionaryThe following arguments are supported:
- Oauth
Provider stringName - The name of the OAuth provider.
- Output
File string - File name where to save data source results.
- Oauth
Provider stringName - The name of the OAuth provider.
- Output
File string - File name where to save data source results.
- oauth
Provider StringName - The name of the OAuth provider.
- output
File String - File name where to save data source results.
- oauth
Provider stringName - The name of the OAuth provider.
- output
File string - File name where to save data source results.
- oauth_
provider_ strname - The name of the OAuth provider.
- output_
file str - File name where to save data source results.
- oauth
Provider StringName - The name of the OAuth provider.
- output
File String - File name where to save data source results.
getOauthProviders Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Oauth
Provider stringName - The name of the OAuth provider.
- Providers
List<Get
Oauth Providers Provider> - The collection of OAuth providers.
- Total
Count int - The total count of query.
- Output
File string
- Id string
- The provider-assigned unique ID for this managed resource.
- Oauth
Provider stringName - The name of the OAuth provider.
- Providers
[]Get
Oauth Providers Provider - The collection of OAuth providers.
- Total
Count int - The total count of query.
- Output
File string
- id String
- The provider-assigned unique ID for this managed resource.
- oauth
Provider StringName - The name of the OAuth provider.
- providers
List<Get
Oauth Providers Provider> - The collection of OAuth providers.
- total
Count Integer - The total count of query.
- output
File String
- id string
- The provider-assigned unique ID for this managed resource.
- oauth
Provider stringName - The name of the OAuth provider.
- providers
Get
Oauth Providers Provider[] - The collection of OAuth providers.
- total
Count number - The total count of query.
- output
File string
- id str
- The provider-assigned unique ID for this managed resource.
- oauth_
provider_ strname - The name of the OAuth provider.
- providers
Sequence[Get
Oauth Providers Provider] - The collection of OAuth providers.
- total_
count int - The total count of query.
- output_
file str
- id String
- The provider-assigned unique ID for this managed resource.
- oauth
Provider StringName - The name of the OAuth provider.
- providers List<Property Map>
- The collection of OAuth providers.
- total
Count Number - The total count of query.
- output
File String
Supporting Types
GetOauthProvidersProvider
- string
- The authorize template of the OAuth provider.
- string
- The authorize url of the OAuth provider.
- Client
Id string - The client id of the OAuth provider.
- Client
Secret string - The client secret of the OAuth provider.
- Create
Date string - The create date of the OAuth provider.
- Description string
- The description of the OAuth provider.
- Identity
Map intType - The identity map type of the OAuth provider.
- Idp
Identity stringKey - The idp identity key of the OAuth provider.
- Oauth
Provider stringName - The name of the OAuth provider.
- Provider
Id string - The id of the OAuth provider.
- Scope string
- The scope of the OAuth provider.
- Sso
Type int - The SSO type of the OAuth provider.
- Status int
- The status of the OAuth provider.
- Token
Url string - The token url of the OAuth provider.
- Trn string
- The trn of the OAuth provider.
- Update
Date string - The update date of the OAuth provider.
- User
Info stringUrl - The user info url of the OAuth provider.
- string
- The authorize template of the OAuth provider.
- string
- The authorize url of the OAuth provider.
- Client
Id string - The client id of the OAuth provider.
- Client
Secret string - The client secret of the OAuth provider.
- Create
Date string - The create date of the OAuth provider.
- Description string
- The description of the OAuth provider.
- Identity
Map intType - The identity map type of the OAuth provider.
- Idp
Identity stringKey - The idp identity key of the OAuth provider.
- Oauth
Provider stringName - The name of the OAuth provider.
- Provider
Id string - The id of the OAuth provider.
- Scope string
- The scope of the OAuth provider.
- Sso
Type int - The SSO type of the OAuth provider.
- Status int
- The status of the OAuth provider.
- Token
Url string - The token url of the OAuth provider.
- Trn string
- The trn of the OAuth provider.
- Update
Date string - The update date of the OAuth provider.
- User
Info stringUrl - The user info url of the OAuth provider.
- String
- The authorize template of the OAuth provider.
- String
- The authorize url of the OAuth provider.
- client
Id String - The client id of the OAuth provider.
- client
Secret String - The client secret of the OAuth provider.
- create
Date String - The create date of the OAuth provider.
- description String
- The description of the OAuth provider.
- identity
Map IntegerType - The identity map type of the OAuth provider.
- idp
Identity StringKey - The idp identity key of the OAuth provider.
- oauth
Provider StringName - The name of the OAuth provider.
- provider
Id String - The id of the OAuth provider.
- scope String
- The scope of the OAuth provider.
- sso
Type Integer - The SSO type of the OAuth provider.
- status Integer
- The status of the OAuth provider.
- token
Url String - The token url of the OAuth provider.
- trn String
- The trn of the OAuth provider.
- update
Date String - The update date of the OAuth provider.
- user
Info StringUrl - The user info url of the OAuth provider.
- string
- The authorize template of the OAuth provider.
- string
- The authorize url of the OAuth provider.
- client
Id string - The client id of the OAuth provider.
- client
Secret string - The client secret of the OAuth provider.
- create
Date string - The create date of the OAuth provider.
- description string
- The description of the OAuth provider.
- identity
Map numberType - The identity map type of the OAuth provider.
- idp
Identity stringKey - The idp identity key of the OAuth provider.
- oauth
Provider stringName - The name of the OAuth provider.
- provider
Id string - The id of the OAuth provider.
- scope string
- The scope of the OAuth provider.
- sso
Type number - The SSO type of the OAuth provider.
- status number
- The status of the OAuth provider.
- token
Url string - The token url of the OAuth provider.
- trn string
- The trn of the OAuth provider.
- update
Date string - The update date of the OAuth provider.
- user
Info stringUrl - The user info url of the OAuth provider.
- str
- The authorize template of the OAuth provider.
- str
- The authorize url of the OAuth provider.
- client_
id str - The client id of the OAuth provider.
- client_
secret str - The client secret of the OAuth provider.
- create_
date str - The create date of the OAuth provider.
- description str
- The description of the OAuth provider.
- identity_
map_ inttype - The identity map type of the OAuth provider.
- idp_
identity_ strkey - The idp identity key of the OAuth provider.
- oauth_
provider_ strname - The name of the OAuth provider.
- provider_
id str - The id of the OAuth provider.
- scope str
- The scope of the OAuth provider.
- sso_
type int - The SSO type of the OAuth provider.
- status int
- The status of the OAuth provider.
- token_
url str - The token url of the OAuth provider.
- trn str
- The trn of the OAuth provider.
- update_
date str - The update date of the OAuth provider.
- user_
info_ strurl - The user info url of the OAuth provider.
- String
- The authorize template of the OAuth provider.
- String
- The authorize url of the OAuth provider.
- client
Id String - The client id of the OAuth provider.
- client
Secret String - The client secret of the OAuth provider.
- create
Date String - The create date of the OAuth provider.
- description String
- The description of the OAuth provider.
- identity
Map NumberType - The identity map type of the OAuth provider.
- idp
Identity StringKey - The idp identity key of the OAuth provider.
- oauth
Provider StringName - The name of the OAuth provider.
- provider
Id String - The id of the OAuth provider.
- scope String
- The scope of the OAuth provider.
- sso
Type Number - The SSO type of the OAuth provider.
- status Number
- The status of the OAuth provider.
- token
Url String - The token url of the OAuth provider.
- trn String
- The trn of the OAuth provider.
- update
Date String - The update date of the OAuth provider.
- user
Info StringUrl - The user info url of the OAuth provider.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengineTerraform Provider.
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
