Strata Cloud Manager v0.3.1 published on Thursday, Mar 13, 2025 by Pulumi
scm.getMfaServer
Explore with Pulumi AI
Retrieves a config item.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
const example = scm.getMfaServer({
    id: "1234-56-789",
});
import pulumi
import pulumi_scm as scm
example = scm.get_mfa_server(id="1234-56-789")
package main
import (
	"github.com/pulumi/pulumi-scm/sdk/go/scm"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := scm.LookupMfaServer(ctx, &scm.LookupMfaServerArgs{
			Id: "1234-56-789",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scm = Pulumi.Scm;
return await Deployment.RunAsync(() => 
{
    var example = Scm.GetMfaServer.Invoke(new()
    {
        Id = "1234-56-789",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scm.ScmFunctions;
import com.pulumi.scm.inputs.GetMfaServerArgs;
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 = ScmFunctions.getMfaServer(GetMfaServerArgs.builder()
            .id("1234-56-789")
            .build());
    }
}
variables:
  example:
    fn::invoke:
      function: scm:getMfaServer
      arguments:
        id: 1234-56-789
Using getMfaServer
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 getMfaServer(args: GetMfaServerArgs, opts?: InvokeOptions): Promise<GetMfaServerResult>
function getMfaServerOutput(args: GetMfaServerOutputArgs, opts?: InvokeOptions): Output<GetMfaServerResult>def get_mfa_server(id: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetMfaServerResult
def get_mfa_server_output(id: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetMfaServerResult]func LookupMfaServer(ctx *Context, args *LookupMfaServerArgs, opts ...InvokeOption) (*LookupMfaServerResult, error)
func LookupMfaServerOutput(ctx *Context, args *LookupMfaServerOutputArgs, opts ...InvokeOption) LookupMfaServerResultOutput> Note: This function is named LookupMfaServer in the Go SDK.
public static class GetMfaServer 
{
    public static Task<GetMfaServerResult> InvokeAsync(GetMfaServerArgs args, InvokeOptions? opts = null)
    public static Output<GetMfaServerResult> Invoke(GetMfaServerInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetMfaServerResult> getMfaServer(GetMfaServerArgs args, InvokeOptions options)
public static Output<GetMfaServerResult> getMfaServer(GetMfaServerArgs args, InvokeOptions options)
fn::invoke:
  function: scm:index/getMfaServer:getMfaServer
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Id string
- The Id param.
- Id string
- The Id param.
- id String
- The Id param.
- id string
- The Id param.
- id str
- The Id param.
- id String
- The Id param.
getMfaServer Result
The following output properties are available:
- Id string
- The Id param.
- MfaCert stringProfile 
- The MfaCertProfile param.
- MfaVendor GetType Mfa Server Mfa Vendor Type 
- The MfaVendorType param.
- Name string
- The Name param.
- Tfid string
- Id string
- The Id param.
- MfaCert stringProfile 
- The MfaCertProfile param.
- MfaVendor GetType Mfa Server Mfa Vendor Type 
- The MfaVendorType param.
- Name string
- The Name param.
- Tfid string
- id String
- The Id param.
- mfaCert StringProfile 
- The MfaCertProfile param.
- mfaVendor GetType Mfa Server Mfa Vendor Type 
- The MfaVendorType param.
- name String
- The Name param.
- tfid String
- id string
- The Id param.
- mfaCert stringProfile 
- The MfaCertProfile param.
- mfaVendor GetType Mfa Server Mfa Vendor Type 
- The MfaVendorType param.
- name string
- The Name param.
- tfid string
- id str
- The Id param.
- mfa_cert_ strprofile 
- The MfaCertProfile param.
- mfa_vendor_ Gettype Mfa Server Mfa Vendor Type 
- The MfaVendorType param.
- name str
- The Name param.
- tfid str
- id String
- The Id param.
- mfaCert StringProfile 
- The MfaCertProfile param.
- mfaVendor Property MapType 
- The MfaVendorType param.
- name String
- The Name param.
- tfid String
Supporting Types
GetMfaServerMfaVendorType     
- DuoSecurity GetV2 Mfa Server Mfa Vendor Type Duo Security V2 
- The DuoSecurityV2 param.
- OktaAdaptive GetV1 Mfa Server Mfa Vendor Type Okta Adaptive V1 
- The OktaAdaptiveV1 param.
- PingIdentity GetV1 Mfa Server Mfa Vendor Type Ping Identity V1 
- The PingIdentityV1 param.
- RsaSecurid GetAccess V1 Mfa Server Mfa Vendor Type Rsa Securid Access V1 
- The RsaSecuridAccessV1 param.
- DuoSecurity GetV2 Mfa Server Mfa Vendor Type Duo Security V2 
- The DuoSecurityV2 param.
- OktaAdaptive GetV1 Mfa Server Mfa Vendor Type Okta Adaptive V1 
- The OktaAdaptiveV1 param.
- PingIdentity GetV1 Mfa Server Mfa Vendor Type Ping Identity V1 
- The PingIdentityV1 param.
- RsaSecurid GetAccess V1 Mfa Server Mfa Vendor Type Rsa Securid Access V1 
- The RsaSecuridAccessV1 param.
- duoSecurity GetV2 Mfa Server Mfa Vendor Type Duo Security V2 
- The DuoSecurityV2 param.
- oktaAdaptive GetV1 Mfa Server Mfa Vendor Type Okta Adaptive V1 
- The OktaAdaptiveV1 param.
- pingIdentity GetV1 Mfa Server Mfa Vendor Type Ping Identity V1 
- The PingIdentityV1 param.
- rsaSecurid GetAccess V1 Mfa Server Mfa Vendor Type Rsa Securid Access V1 
- The RsaSecuridAccessV1 param.
- duoSecurity GetV2 Mfa Server Mfa Vendor Type Duo Security V2 
- The DuoSecurityV2 param.
- oktaAdaptive GetV1 Mfa Server Mfa Vendor Type Okta Adaptive V1 
- The OktaAdaptiveV1 param.
- pingIdentity GetV1 Mfa Server Mfa Vendor Type Ping Identity V1 
- The PingIdentityV1 param.
- rsaSecurid GetAccess V1 Mfa Server Mfa Vendor Type Rsa Securid Access V1 
- The RsaSecuridAccessV1 param.
- duo_security_ Getv2 Mfa Server Mfa Vendor Type Duo Security V2 
- The DuoSecurityV2 param.
- okta_adaptive_ Getv1 Mfa Server Mfa Vendor Type Okta Adaptive V1 
- The OktaAdaptiveV1 param.
- ping_identity_ Getv1 Mfa Server Mfa Vendor Type Ping Identity V1 
- The PingIdentityV1 param.
- rsa_securid_ Getaccess_ v1 Mfa Server Mfa Vendor Type Rsa Securid Access V1 
- The RsaSecuridAccessV1 param.
- duoSecurity Property MapV2 
- The DuoSecurityV2 param.
- oktaAdaptive Property MapV1 
- The OktaAdaptiveV1 param.
- pingIdentity Property MapV1 
- The PingIdentityV1 param.
- rsaSecurid Property MapAccess V1 
- The RsaSecuridAccessV1 param.
GetMfaServerMfaVendorTypeDuoSecurityV2        
- DuoApi stringHost 
- The DuoApiHost param.
- DuoBaseuri string
- The DuoBaseuri param.
- DuoIntegration stringKey 
- The DuoIntegrationKey param.
- DuoSecret stringKey 
- The DuoSecretKey param.
- DuoTimeout string
- The DuoTimeout param.
- DuoApi stringHost 
- The DuoApiHost param.
- DuoBaseuri string
- The DuoBaseuri param.
- DuoIntegration stringKey 
- The DuoIntegrationKey param.
- DuoSecret stringKey 
- The DuoSecretKey param.
- DuoTimeout string
- The DuoTimeout param.
- duoApi StringHost 
- The DuoApiHost param.
- duoBaseuri String
- The DuoBaseuri param.
- duoIntegration StringKey 
- The DuoIntegrationKey param.
- duoSecret StringKey 
- The DuoSecretKey param.
- duoTimeout String
- The DuoTimeout param.
- duoApi stringHost 
- The DuoApiHost param.
- duoBaseuri string
- The DuoBaseuri param.
- duoIntegration stringKey 
- The DuoIntegrationKey param.
- duoSecret stringKey 
- The DuoSecretKey param.
- duoTimeout string
- The DuoTimeout param.
- duo_api_ strhost 
- The DuoApiHost param.
- duo_baseuri str
- The DuoBaseuri param.
- duo_integration_ strkey 
- The DuoIntegrationKey param.
- duo_secret_ strkey 
- The DuoSecretKey param.
- duo_timeout str
- The DuoTimeout param.
- duoApi StringHost 
- The DuoApiHost param.
- duoBaseuri String
- The DuoBaseuri param.
- duoIntegration StringKey 
- The DuoIntegrationKey param.
- duoSecret StringKey 
- The DuoSecretKey param.
- duoTimeout String
- The DuoTimeout param.
GetMfaServerMfaVendorTypeOktaAdaptiveV1        
- OktaApi stringHost 
- The OktaApiHost param.
- OktaBaseuri string
- The OktaBaseuri param.
- OktaOrg string
- The OktaOrg param.
- OktaTimeout string
- The OktaTimeout param.
- OktaToken string
- The OktaToken param.
- OktaApi stringHost 
- The OktaApiHost param.
- OktaBaseuri string
- The OktaBaseuri param.
- OktaOrg string
- The OktaOrg param.
- OktaTimeout string
- The OktaTimeout param.
- OktaToken string
- The OktaToken param.
- oktaApi StringHost 
- The OktaApiHost param.
- oktaBaseuri String
- The OktaBaseuri param.
- oktaOrg String
- The OktaOrg param.
- oktaTimeout String
- The OktaTimeout param.
- oktaToken String
- The OktaToken param.
- oktaApi stringHost 
- The OktaApiHost param.
- oktaBaseuri string
- The OktaBaseuri param.
- oktaOrg string
- The OktaOrg param.
- oktaTimeout string
- The OktaTimeout param.
- oktaToken string
- The OktaToken param.
- okta_api_ strhost 
- The OktaApiHost param.
- okta_baseuri str
- The OktaBaseuri param.
- okta_org str
- The OktaOrg param.
- okta_timeout str
- The OktaTimeout param.
- okta_token str
- The OktaToken param.
- oktaApi StringHost 
- The OktaApiHost param.
- oktaBaseuri String
- The OktaBaseuri param.
- oktaOrg String
- The OktaOrg param.
- oktaTimeout String
- The OktaTimeout param.
- oktaToken String
- The OktaToken param.
GetMfaServerMfaVendorTypePingIdentityV1        
- PingApi stringHost 
- The PingApiHost param.
- PingBaseuri string
- The PingBaseuri param.
- PingOrg string
- The PingOrg param.
- PingOrg stringAlias 
- The PingOrgAlias param.
- PingTimeout string
- The PingTimeout param.
- PingToken string
- The PingToken param.
- PingApi stringHost 
- The PingApiHost param.
- PingBaseuri string
- The PingBaseuri param.
- PingOrg string
- The PingOrg param.
- PingOrg stringAlias 
- The PingOrgAlias param.
- PingTimeout string
- The PingTimeout param.
- PingToken string
- The PingToken param.
- pingApi StringHost 
- The PingApiHost param.
- pingBaseuri String
- The PingBaseuri param.
- pingOrg String
- The PingOrg param.
- pingOrg StringAlias 
- The PingOrgAlias param.
- pingTimeout String
- The PingTimeout param.
- pingToken String
- The PingToken param.
- pingApi stringHost 
- The PingApiHost param.
- pingBaseuri string
- The PingBaseuri param.
- pingOrg string
- The PingOrg param.
- pingOrg stringAlias 
- The PingOrgAlias param.
- pingTimeout string
- The PingTimeout param.
- pingToken string
- The PingToken param.
- ping_api_ strhost 
- The PingApiHost param.
- ping_baseuri str
- The PingBaseuri param.
- ping_org str
- The PingOrg param.
- ping_org_ stralias 
- The PingOrgAlias param.
- ping_timeout str
- The PingTimeout param.
- ping_token str
- The PingToken param.
- pingApi StringHost 
- The PingApiHost param.
- pingBaseuri String
- The PingBaseuri param.
- pingOrg String
- The PingOrg param.
- pingOrg StringAlias 
- The PingOrgAlias param.
- pingTimeout String
- The PingTimeout param.
- pingToken String
- The PingToken param.
GetMfaServerMfaVendorTypeRsaSecuridAccessV1         
- RsaAccessid string
- The RsaAccessid param.
- RsaAccesskey string
- The RsaAccesskey param.
- RsaApi stringHost 
- The RsaApiHost param.
- RsaAssurancepolicyid string
- The RsaAssurancepolicyid param.
- RsaBaseuri string
- The RsaBaseuri param.
- RsaTimeout string
- The RsaTimeout param.
- RsaAccessid string
- The RsaAccessid param.
- RsaAccesskey string
- The RsaAccesskey param.
- RsaApi stringHost 
- The RsaApiHost param.
- RsaAssurancepolicyid string
- The RsaAssurancepolicyid param.
- RsaBaseuri string
- The RsaBaseuri param.
- RsaTimeout string
- The RsaTimeout param.
- rsaAccessid String
- The RsaAccessid param.
- rsaAccesskey String
- The RsaAccesskey param.
- rsaApi StringHost 
- The RsaApiHost param.
- rsaAssurancepolicyid String
- The RsaAssurancepolicyid param.
- rsaBaseuri String
- The RsaBaseuri param.
- rsaTimeout String
- The RsaTimeout param.
- rsaAccessid string
- The RsaAccessid param.
- rsaAccesskey string
- The RsaAccesskey param.
- rsaApi stringHost 
- The RsaApiHost param.
- rsaAssurancepolicyid string
- The RsaAssurancepolicyid param.
- rsaBaseuri string
- The RsaBaseuri param.
- rsaTimeout string
- The RsaTimeout param.
- rsa_accessid str
- The RsaAccessid param.
- rsa_accesskey str
- The RsaAccesskey param.
- rsa_api_ strhost 
- The RsaApiHost param.
- rsa_assurancepolicyid str
- The RsaAssurancepolicyid param.
- rsa_baseuri str
- The RsaBaseuri param.
- rsa_timeout str
- The RsaTimeout param.
- rsaAccessid String
- The RsaAccessid param.
- rsaAccesskey String
- The RsaAccesskey param.
- rsaApi StringHost 
- The RsaApiHost param.
- rsaAssurancepolicyid String
- The RsaAssurancepolicyid param.
- rsaBaseuri String
- The RsaBaseuri param.
- rsaTimeout String
- The RsaTimeout param.
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the scmTerraform Provider.
