Strata Cloud Manager v0.1.1 published on Friday, May 31, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: scm:index/getMfaServer:getMfaServer
arguments:
# arguments dictionary
The 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.
- Mfa
Cert stringProfile - The MfaCertProfile param.
- Mfa
Vendor GetType Mfa Server Mfa Vendor Type - The MfaVendorType param.
- Name string
- The Name param.
- Tfid string
- Id string
- The Id param.
- Mfa
Cert stringProfile - The MfaCertProfile param.
- Mfa
Vendor GetType Mfa Server Mfa Vendor Type - The MfaVendorType param.
- Name string
- The Name param.
- Tfid string
- id String
- The Id param.
- mfa
Cert StringProfile - The MfaCertProfile param.
- mfa
Vendor GetType Mfa Server Mfa Vendor Type - The MfaVendorType param.
- name String
- The Name param.
- tfid String
- id string
- The Id param.
- mfa
Cert stringProfile - The MfaCertProfile param.
- mfa
Vendor 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.
- mfa
Cert StringProfile - The MfaCertProfile param.
- mfa
Vendor Property MapType - The MfaVendorType param.
- name String
- The Name param.
- tfid String
Supporting Types
GetMfaServerMfaVendorType
- 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.
- 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.
- 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.
- 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.
- 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.
- duo
Security Property MapV2 - The DuoSecurityV2 param.
- okta
Adaptive Property MapV1 - The OktaAdaptiveV1 param.
- ping
Identity Property MapV1 - The PingIdentityV1 param.
- rsa
Securid Property MapAccess V1 - The RsaSecuridAccessV1 param.
GetMfaServerMfaVendorTypeDuoSecurityV2
- Duo
Api stringHost - The DuoApiHost param.
- Duo
Baseuri string - The DuoBaseuri param.
- Duo
Integration stringKey - The DuoIntegrationKey param.
- Duo
Secret stringKey - The DuoSecretKey param.
- Duo
Timeout string - The DuoTimeout param.
- Duo
Api stringHost - The DuoApiHost param.
- Duo
Baseuri string - The DuoBaseuri param.
- Duo
Integration stringKey - The DuoIntegrationKey param.
- Duo
Secret stringKey - The DuoSecretKey param.
- Duo
Timeout string - The DuoTimeout param.
- duo
Api StringHost - The DuoApiHost param.
- duo
Baseuri String - The DuoBaseuri param.
- duo
Integration StringKey - The DuoIntegrationKey param.
- duo
Secret StringKey - The DuoSecretKey param.
- duo
Timeout String - The DuoTimeout param.
- duo
Api stringHost - The DuoApiHost param.
- duo
Baseuri string - The DuoBaseuri param.
- duo
Integration stringKey - The DuoIntegrationKey param.
- duo
Secret stringKey - The DuoSecretKey param.
- duo
Timeout 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.
- duo
Api StringHost - The DuoApiHost param.
- duo
Baseuri String - The DuoBaseuri param.
- duo
Integration StringKey - The DuoIntegrationKey param.
- duo
Secret StringKey - The DuoSecretKey param.
- duo
Timeout String - The DuoTimeout param.
GetMfaServerMfaVendorTypeOktaAdaptiveV1
- Okta
Api stringHost - The OktaApiHost param.
- Okta
Baseuri string - The OktaBaseuri param.
- Okta
Org string - The OktaOrg param.
- Okta
Timeout string - The OktaTimeout param.
- Okta
Token string - The OktaToken param.
- Okta
Api stringHost - The OktaApiHost param.
- Okta
Baseuri string - The OktaBaseuri param.
- Okta
Org string - The OktaOrg param.
- Okta
Timeout string - The OktaTimeout param.
- Okta
Token string - The OktaToken param.
- okta
Api StringHost - The OktaApiHost param.
- okta
Baseuri String - The OktaBaseuri param.
- okta
Org String - The OktaOrg param.
- okta
Timeout String - The OktaTimeout param.
- okta
Token String - The OktaToken param.
- okta
Api stringHost - The OktaApiHost param.
- okta
Baseuri string - The OktaBaseuri param.
- okta
Org string - The OktaOrg param.
- okta
Timeout string - The OktaTimeout param.
- okta
Token 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.
- okta
Api StringHost - The OktaApiHost param.
- okta
Baseuri String - The OktaBaseuri param.
- okta
Org String - The OktaOrg param.
- okta
Timeout String - The OktaTimeout param.
- okta
Token String - The OktaToken param.
GetMfaServerMfaVendorTypePingIdentityV1
- Ping
Api stringHost - The PingApiHost param.
- Ping
Baseuri string - The PingBaseuri param.
- Ping
Org string - The PingOrg param.
- Ping
Org stringAlias - The PingOrgAlias param.
- Ping
Timeout string - The PingTimeout param.
- Ping
Token string - The PingToken param.
- Ping
Api stringHost - The PingApiHost param.
- Ping
Baseuri string - The PingBaseuri param.
- Ping
Org string - The PingOrg param.
- Ping
Org stringAlias - The PingOrgAlias param.
- Ping
Timeout string - The PingTimeout param.
- Ping
Token string - The PingToken param.
- ping
Api StringHost - The PingApiHost param.
- ping
Baseuri String - The PingBaseuri param.
- ping
Org String - The PingOrg param.
- ping
Org StringAlias - The PingOrgAlias param.
- ping
Timeout String - The PingTimeout param.
- ping
Token String - The PingToken param.
- ping
Api stringHost - The PingApiHost param.
- ping
Baseuri string - The PingBaseuri param.
- ping
Org string - The PingOrg param.
- ping
Org stringAlias - The PingOrgAlias param.
- ping
Timeout string - The PingTimeout param.
- ping
Token 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.
- ping
Api StringHost - The PingApiHost param.
- ping
Baseuri String - The PingBaseuri param.
- ping
Org String - The PingOrg param.
- ping
Org StringAlias - The PingOrgAlias param.
- ping
Timeout String - The PingTimeout param.
- ping
Token String - The PingToken param.
GetMfaServerMfaVendorTypeRsaSecuridAccessV1
- Rsa
Accessid string - The RsaAccessid param.
- Rsa
Accesskey string - The RsaAccesskey param.
- Rsa
Api stringHost - The RsaApiHost param.
- Rsa
Assurancepolicyid string - The RsaAssurancepolicyid param.
- Rsa
Baseuri string - The RsaBaseuri param.
- Rsa
Timeout string - The RsaTimeout param.
- Rsa
Accessid string - The RsaAccessid param.
- Rsa
Accesskey string - The RsaAccesskey param.
- Rsa
Api stringHost - The RsaApiHost param.
- Rsa
Assurancepolicyid string - The RsaAssurancepolicyid param.
- Rsa
Baseuri string - The RsaBaseuri param.
- Rsa
Timeout string - The RsaTimeout param.
- rsa
Accessid String - The RsaAccessid param.
- rsa
Accesskey String - The RsaAccesskey param.
- rsa
Api StringHost - The RsaApiHost param.
- rsa
Assurancepolicyid String - The RsaAssurancepolicyid param.
- rsa
Baseuri String - The RsaBaseuri param.
- rsa
Timeout String - The RsaTimeout param.
- rsa
Accessid string - The RsaAccessid param.
- rsa
Accesskey string - The RsaAccesskey param.
- rsa
Api stringHost - The RsaApiHost param.
- rsa
Assurancepolicyid string - The RsaAssurancepolicyid param.
- rsa
Baseuri string - The RsaBaseuri param.
- rsa
Timeout 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.
- rsa
Accessid String - The RsaAccessid param.
- rsa
Accesskey String - The RsaAccesskey param.
- rsa
Api StringHost - The RsaApiHost param.
- rsa
Assurancepolicyid String - The RsaAssurancepolicyid param.
- rsa
Baseuri String - The RsaBaseuri param.
- rsa
Timeout String - The RsaTimeout param.
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scm
Terraform Provider.