routeros 1.83.1 published on Monday, Apr 28, 2025 by terraform-routeros
routeros.getWifiEasyConnect
Explore with Pulumi AI
routeros 1.83.1 published on Monday, Apr 28, 2025 by terraform-routeros
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as routeros from "@pulumi/routeros";
const test = routeros.getWifiEasyConnect({
type: "WPA2",
ssid: "test",
password: "password12345",
});
export const qrcode = test.then(test => test.qrCode);
import pulumi
import pulumi_routeros as routeros
test = routeros.get_wifi_easy_connect(type="WPA2",
ssid="test",
password="password12345")
pulumi.export("qrcode", test.qr_code)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/routeros/routeros"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
test, err := routeros.GetWifiEasyConnect(ctx, &routeros.GetWifiEasyConnectArgs{
Type: pulumi.StringRef("WPA2"),
Ssid: "test",
Password: "password12345",
}, nil)
if err != nil {
return err
}
ctx.Export("qrcode", test.QrCode)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Routeros = Pulumi.Routeros;
return await Deployment.RunAsync(() =>
{
var test = Routeros.GetWifiEasyConnect.Invoke(new()
{
Type = "WPA2",
Ssid = "test",
Password = "password12345",
});
return new Dictionary<string, object?>
{
["qrcode"] = test.Apply(getWifiEasyConnectResult => getWifiEasyConnectResult.QrCode),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.routeros.RouterosFunctions;
import com.pulumi.routeros.inputs.GetWifiEasyConnectArgs;
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 test = RouterosFunctions.getWifiEasyConnect(GetWifiEasyConnectArgs.builder()
.type("WPA2")
.ssid("test")
.password("password12345")
.build());
ctx.export("qrcode", test.applyValue(getWifiEasyConnectResult -> getWifiEasyConnectResult.qrCode()));
}
}
variables:
test:
fn::invoke:
function: routeros:getWifiEasyConnect
arguments:
type: WPA2
ssid: test
password: password12345
outputs:
qrcode: ${test.qrCode}
Using getWifiEasyConnect
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 getWifiEasyConnect(args: GetWifiEasyConnectArgs, opts?: InvokeOptions): Promise<GetWifiEasyConnectResult>
function getWifiEasyConnectOutput(args: GetWifiEasyConnectOutputArgs, opts?: InvokeOptions): Output<GetWifiEasyConnectResult>
def get_wifi_easy_connect(eap_anonymous: Optional[bool] = None,
eap_identity: Optional[str] = None,
eap_method: Optional[str] = None,
eap_phase2: Optional[str] = None,
hidden: Optional[bool] = None,
id: Optional[str] = None,
password: Optional[str] = None,
ssid: Optional[str] = None,
type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetWifiEasyConnectResult
def get_wifi_easy_connect_output(eap_anonymous: Optional[pulumi.Input[bool]] = None,
eap_identity: Optional[pulumi.Input[str]] = None,
eap_method: Optional[pulumi.Input[str]] = None,
eap_phase2: Optional[pulumi.Input[str]] = None,
hidden: Optional[pulumi.Input[bool]] = None,
id: Optional[pulumi.Input[str]] = None,
password: Optional[pulumi.Input[str]] = None,
ssid: Optional[pulumi.Input[str]] = None,
type: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetWifiEasyConnectResult]
func GetWifiEasyConnect(ctx *Context, args *GetWifiEasyConnectArgs, opts ...InvokeOption) (*GetWifiEasyConnectResult, error)
func GetWifiEasyConnectOutput(ctx *Context, args *GetWifiEasyConnectOutputArgs, opts ...InvokeOption) GetWifiEasyConnectResultOutput
> Note: This function is named GetWifiEasyConnect
in the Go SDK.
public static class GetWifiEasyConnect
{
public static Task<GetWifiEasyConnectResult> InvokeAsync(GetWifiEasyConnectArgs args, InvokeOptions? opts = null)
public static Output<GetWifiEasyConnectResult> Invoke(GetWifiEasyConnectInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetWifiEasyConnectResult> getWifiEasyConnect(GetWifiEasyConnectArgs args, InvokeOptions options)
public static Output<GetWifiEasyConnectResult> getWifiEasyConnect(GetWifiEasyConnectArgs args, InvokeOptions options)
fn::invoke:
function: routeros:index/getWifiEasyConnect:getWifiEasyConnect
arguments:
# arguments dictionary
The following arguments are supported:
- Password string
- Password, ignored if T is nopass (in which case it may be omitted). Enclose in double quotes if it is an ASCII name, but could be interpreted as hex (i.e. "ABCD").
- Ssid string
- Network SSID. Required. Enclose in double quotes if it is an ASCII name, but could be interpreted as hex (i.e. "ABCD").
- Eap
Anonymous bool - (WPA2-EAP only) Anonymous identity
- Eap
Identity string - (WPA2-EAP only) Identity.
- Eap
Method string - (WPA2-EAP only) EAP method, like TTLS or PWD.
- Eap
Phase2 string - (WPA2-EAP only) Phase 2 method, like
MSCHAPV2
- bool
- True if the network SSID is hidden.
- Id string
- The ID of this resource.
- Type string
- Authentication type; can be WEP or WPA or WPA2-EAP, or nopass for no password. Or, omit for no password.
- Password string
- Password, ignored if T is nopass (in which case it may be omitted). Enclose in double quotes if it is an ASCII name, but could be interpreted as hex (i.e. "ABCD").
- Ssid string
- Network SSID. Required. Enclose in double quotes if it is an ASCII name, but could be interpreted as hex (i.e. "ABCD").
- Eap
Anonymous bool - (WPA2-EAP only) Anonymous identity
- Eap
Identity string - (WPA2-EAP only) Identity.
- Eap
Method string - (WPA2-EAP only) EAP method, like TTLS or PWD.
- Eap
Phase2 string - (WPA2-EAP only) Phase 2 method, like
MSCHAPV2
- bool
- True if the network SSID is hidden.
- Id string
- The ID of this resource.
- Type string
- Authentication type; can be WEP or WPA or WPA2-EAP, or nopass for no password. Or, omit for no password.
- password String
- Password, ignored if T is nopass (in which case it may be omitted). Enclose in double quotes if it is an ASCII name, but could be interpreted as hex (i.e. "ABCD").
- ssid String
- Network SSID. Required. Enclose in double quotes if it is an ASCII name, but could be interpreted as hex (i.e. "ABCD").
- eap
Anonymous Boolean - (WPA2-EAP only) Anonymous identity
- eap
Identity String - (WPA2-EAP only) Identity.
- eap
Method String - (WPA2-EAP only) EAP method, like TTLS or PWD.
- eap
Phase2 String - (WPA2-EAP only) Phase 2 method, like
MSCHAPV2
- Boolean
- True if the network SSID is hidden.
- id String
- The ID of this resource.
- type String
- Authentication type; can be WEP or WPA or WPA2-EAP, or nopass for no password. Or, omit for no password.
- password string
- Password, ignored if T is nopass (in which case it may be omitted). Enclose in double quotes if it is an ASCII name, but could be interpreted as hex (i.e. "ABCD").
- ssid string
- Network SSID. Required. Enclose in double quotes if it is an ASCII name, but could be interpreted as hex (i.e. "ABCD").
- eap
Anonymous boolean - (WPA2-EAP only) Anonymous identity
- eap
Identity string - (WPA2-EAP only) Identity.
- eap
Method string - (WPA2-EAP only) EAP method, like TTLS or PWD.
- eap
Phase2 string - (WPA2-EAP only) Phase 2 method, like
MSCHAPV2
- boolean
- True if the network SSID is hidden.
- id string
- The ID of this resource.
- type string
- Authentication type; can be WEP or WPA or WPA2-EAP, or nopass for no password. Or, omit for no password.
- password str
- Password, ignored if T is nopass (in which case it may be omitted). Enclose in double quotes if it is an ASCII name, but could be interpreted as hex (i.e. "ABCD").
- ssid str
- Network SSID. Required. Enclose in double quotes if it is an ASCII name, but could be interpreted as hex (i.e. "ABCD").
- eap_
anonymous bool - (WPA2-EAP only) Anonymous identity
- eap_
identity str - (WPA2-EAP only) Identity.
- eap_
method str - (WPA2-EAP only) EAP method, like TTLS or PWD.
- eap_
phase2 str - (WPA2-EAP only) Phase 2 method, like
MSCHAPV2
- bool
- True if the network SSID is hidden.
- id str
- The ID of this resource.
- type str
- Authentication type; can be WEP or WPA or WPA2-EAP, or nopass for no password. Or, omit for no password.
- password String
- Password, ignored if T is nopass (in which case it may be omitted). Enclose in double quotes if it is an ASCII name, but could be interpreted as hex (i.e. "ABCD").
- ssid String
- Network SSID. Required. Enclose in double quotes if it is an ASCII name, but could be interpreted as hex (i.e. "ABCD").
- eap
Anonymous Boolean - (WPA2-EAP only) Anonymous identity
- eap
Identity String - (WPA2-EAP only) Identity.
- eap
Method String - (WPA2-EAP only) EAP method, like TTLS or PWD.
- eap
Phase2 String - (WPA2-EAP only) Phase 2 method, like
MSCHAPV2
- Boolean
- True if the network SSID is hidden.
- id String
- The ID of this resource.
- type String
- Authentication type; can be WEP or WPA or WPA2-EAP, or nopass for no password. Or, omit for no password.
getWifiEasyConnect Result
The following output properties are available:
- Id string
- The ID of this resource.
- Password string
- Password, ignored if T is nopass (in which case it may be omitted). Enclose in double quotes if it is an ASCII name, but could be interpreted as hex (i.e. "ABCD").
- Qr
Code string - QR Code
- Ssid string
- Network SSID. Required. Enclose in double quotes if it is an ASCII name, but could be interpreted as hex (i.e. "ABCD").
- Eap
Anonymous bool - (WPA2-EAP only) Anonymous identity
- Eap
Identity string - (WPA2-EAP only) Identity.
- Eap
Method string - (WPA2-EAP only) EAP method, like TTLS or PWD.
- Eap
Phase2 string - (WPA2-EAP only) Phase 2 method, like
MSCHAPV2
- bool
- True if the network SSID is hidden.
- Type string
- Authentication type; can be WEP or WPA or WPA2-EAP, or nopass for no password. Or, omit for no password.
- Id string
- The ID of this resource.
- Password string
- Password, ignored if T is nopass (in which case it may be omitted). Enclose in double quotes if it is an ASCII name, but could be interpreted as hex (i.e. "ABCD").
- Qr
Code string - QR Code
- Ssid string
- Network SSID. Required. Enclose in double quotes if it is an ASCII name, but could be interpreted as hex (i.e. "ABCD").
- Eap
Anonymous bool - (WPA2-EAP only) Anonymous identity
- Eap
Identity string - (WPA2-EAP only) Identity.
- Eap
Method string - (WPA2-EAP only) EAP method, like TTLS or PWD.
- Eap
Phase2 string - (WPA2-EAP only) Phase 2 method, like
MSCHAPV2
- bool
- True if the network SSID is hidden.
- Type string
- Authentication type; can be WEP or WPA or WPA2-EAP, or nopass for no password. Or, omit for no password.
- id String
- The ID of this resource.
- password String
- Password, ignored if T is nopass (in which case it may be omitted). Enclose in double quotes if it is an ASCII name, but could be interpreted as hex (i.e. "ABCD").
- qr
Code String - QR Code
- ssid String
- Network SSID. Required. Enclose in double quotes if it is an ASCII name, but could be interpreted as hex (i.e. "ABCD").
- eap
Anonymous Boolean - (WPA2-EAP only) Anonymous identity
- eap
Identity String - (WPA2-EAP only) Identity.
- eap
Method String - (WPA2-EAP only) EAP method, like TTLS or PWD.
- eap
Phase2 String - (WPA2-EAP only) Phase 2 method, like
MSCHAPV2
- Boolean
- True if the network SSID is hidden.
- type String
- Authentication type; can be WEP or WPA or WPA2-EAP, or nopass for no password. Or, omit for no password.
- id string
- The ID of this resource.
- password string
- Password, ignored if T is nopass (in which case it may be omitted). Enclose in double quotes if it is an ASCII name, but could be interpreted as hex (i.e. "ABCD").
- qr
Code string - QR Code
- ssid string
- Network SSID. Required. Enclose in double quotes if it is an ASCII name, but could be interpreted as hex (i.e. "ABCD").
- eap
Anonymous boolean - (WPA2-EAP only) Anonymous identity
- eap
Identity string - (WPA2-EAP only) Identity.
- eap
Method string - (WPA2-EAP only) EAP method, like TTLS or PWD.
- eap
Phase2 string - (WPA2-EAP only) Phase 2 method, like
MSCHAPV2
- boolean
- True if the network SSID is hidden.
- type string
- Authentication type; can be WEP or WPA or WPA2-EAP, or nopass for no password. Or, omit for no password.
- id str
- The ID of this resource.
- password str
- Password, ignored if T is nopass (in which case it may be omitted). Enclose in double quotes if it is an ASCII name, but could be interpreted as hex (i.e. "ABCD").
- qr_
code str - QR Code
- ssid str
- Network SSID. Required. Enclose in double quotes if it is an ASCII name, but could be interpreted as hex (i.e. "ABCD").
- eap_
anonymous bool - (WPA2-EAP only) Anonymous identity
- eap_
identity str - (WPA2-EAP only) Identity.
- eap_
method str - (WPA2-EAP only) EAP method, like TTLS or PWD.
- eap_
phase2 str - (WPA2-EAP only) Phase 2 method, like
MSCHAPV2
- bool
- True if the network SSID is hidden.
- type str
- Authentication type; can be WEP or WPA or WPA2-EAP, or nopass for no password. Or, omit for no password.
- id String
- The ID of this resource.
- password String
- Password, ignored if T is nopass (in which case it may be omitted). Enclose in double quotes if it is an ASCII name, but could be interpreted as hex (i.e. "ABCD").
- qr
Code String - QR Code
- ssid String
- Network SSID. Required. Enclose in double quotes if it is an ASCII name, but could be interpreted as hex (i.e. "ABCD").
- eap
Anonymous Boolean - (WPA2-EAP only) Anonymous identity
- eap
Identity String - (WPA2-EAP only) Identity.
- eap
Method String - (WPA2-EAP only) EAP method, like TTLS or PWD.
- eap
Phase2 String - (WPA2-EAP only) Phase 2 method, like
MSCHAPV2
- Boolean
- True if the network SSID is hidden.
- type String
- Authentication type; can be WEP or WPA or WPA2-EAP, or nopass for no password. Or, omit for no password.
Package Details
- Repository
- routeros terraform-routeros/terraform-provider-routeros
- License
- Notes
- This Pulumi package is based on the
routeros
Terraform Provider.
routeros 1.83.1 published on Monday, Apr 28, 2025 by terraform-routeros