AuthenticationPortal resource
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
const exampleConfiguration = new scm.AuthenticationPortal("example_configuration", {
redirectHost: "192.168.255.254",
folder: "All",
authenticationProfile: "test_auth_profile",
certificateProfile: "EDL-Hosting-Service-Profile",
tlsServiceProfile: "test_svc_profile",
gpUdpPort: 12,
idleTimer: 12,
timer: 10,
});
import pulumi
import pulumi_scm as scm
example_configuration = scm.AuthenticationPortal("example_configuration",
redirect_host="192.168.255.254",
folder="All",
authentication_profile="test_auth_profile",
certificate_profile="EDL-Hosting-Service-Profile",
tls_service_profile="test_svc_profile",
gp_udp_port=12,
idle_timer=12,
timer=10)
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.NewAuthenticationPortal(ctx, "example_configuration", &scm.AuthenticationPortalArgs{
RedirectHost: pulumi.String("192.168.255.254"),
Folder: pulumi.String("All"),
AuthenticationProfile: pulumi.String("test_auth_profile"),
CertificateProfile: pulumi.String("EDL-Hosting-Service-Profile"),
TlsServiceProfile: pulumi.String("test_svc_profile"),
GpUdpPort: pulumi.Int(12),
IdleTimer: pulumi.Int(12),
Timer: pulumi.Int(10),
})
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 exampleConfiguration = new Scm.AuthenticationPortal("example_configuration", new()
{
RedirectHost = "192.168.255.254",
Folder = "All",
AuthenticationProfile = "test_auth_profile",
CertificateProfile = "EDL-Hosting-Service-Profile",
TlsServiceProfile = "test_svc_profile",
GpUdpPort = 12,
IdleTimer = 12,
Timer = 10,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scm.AuthenticationPortal;
import com.pulumi.scm.AuthenticationPortalArgs;
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) {
var exampleConfiguration = new AuthenticationPortal("exampleConfiguration", AuthenticationPortalArgs.builder()
.redirectHost("192.168.255.254")
.folder("All")
.authenticationProfile("test_auth_profile")
.certificateProfile("EDL-Hosting-Service-Profile")
.tlsServiceProfile("test_svc_profile")
.gpUdpPort(12)
.idleTimer(12)
.timer(10)
.build());
}
}
resources:
exampleConfiguration:
type: scm:AuthenticationPortal
name: example_configuration
properties:
redirectHost: 192.168.255.254
folder: All
authenticationProfile: test_auth_profile
certificateProfile: EDL-Hosting-Service-Profile
tlsServiceProfile: test_svc_profile
gpUdpPort: 12
idleTimer: 12
timer: 10
Create AuthenticationPortal Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AuthenticationPortal(name: string, args: AuthenticationPortalArgs, opts?: CustomResourceOptions);@overload
def AuthenticationPortal(resource_name: str,
args: AuthenticationPortalArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AuthenticationPortal(resource_name: str,
opts: Optional[ResourceOptions] = None,
redirect_host: Optional[str] = None,
authentication_profile: Optional[str] = None,
certificate_profile: Optional[str] = None,
device: Optional[str] = None,
folder: Optional[str] = None,
gp_udp_port: Optional[int] = None,
idle_timer: Optional[int] = None,
snippet: Optional[str] = None,
timer: Optional[int] = None,
tls_service_profile: Optional[str] = None)func NewAuthenticationPortal(ctx *Context, name string, args AuthenticationPortalArgs, opts ...ResourceOption) (*AuthenticationPortal, error)public AuthenticationPortal(string name, AuthenticationPortalArgs args, CustomResourceOptions? opts = null)
public AuthenticationPortal(String name, AuthenticationPortalArgs args)
public AuthenticationPortal(String name, AuthenticationPortalArgs args, CustomResourceOptions options)
type: scm:AuthenticationPortal
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AuthenticationPortalArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AuthenticationPortalArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AuthenticationPortalArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AuthenticationPortalArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AuthenticationPortalArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var authenticationPortalResource = new Scm.AuthenticationPortal("authenticationPortalResource", new()
{
RedirectHost = "string",
AuthenticationProfile = "string",
CertificateProfile = "string",
Device = "string",
Folder = "string",
GpUdpPort = 0,
IdleTimer = 0,
Snippet = "string",
Timer = 0,
TlsServiceProfile = "string",
});
example, err := scm.NewAuthenticationPortal(ctx, "authenticationPortalResource", &scm.AuthenticationPortalArgs{
RedirectHost: pulumi.String("string"),
AuthenticationProfile: pulumi.String("string"),
CertificateProfile: pulumi.String("string"),
Device: pulumi.String("string"),
Folder: pulumi.String("string"),
GpUdpPort: pulumi.Int(0),
IdleTimer: pulumi.Int(0),
Snippet: pulumi.String("string"),
Timer: pulumi.Int(0),
TlsServiceProfile: pulumi.String("string"),
})
var authenticationPortalResource = new AuthenticationPortal("authenticationPortalResource", AuthenticationPortalArgs.builder()
.redirectHost("string")
.authenticationProfile("string")
.certificateProfile("string")
.device("string")
.folder("string")
.gpUdpPort(0)
.idleTimer(0)
.snippet("string")
.timer(0)
.tlsServiceProfile("string")
.build());
authentication_portal_resource = scm.AuthenticationPortal("authenticationPortalResource",
redirect_host="string",
authentication_profile="string",
certificate_profile="string",
device="string",
folder="string",
gp_udp_port=0,
idle_timer=0,
snippet="string",
timer=0,
tls_service_profile="string")
const authenticationPortalResource = new scm.AuthenticationPortal("authenticationPortalResource", {
redirectHost: "string",
authenticationProfile: "string",
certificateProfile: "string",
device: "string",
folder: "string",
gpUdpPort: 0,
idleTimer: 0,
snippet: "string",
timer: 0,
tlsServiceProfile: "string",
});
type: scm:AuthenticationPortal
properties:
authenticationProfile: string
certificateProfile: string
device: string
folder: string
gpUdpPort: 0
idleTimer: 0
redirectHost: string
snippet: string
timer: 0
tlsServiceProfile: string
AuthenticationPortal Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AuthenticationPortal resource accepts the following input properties:
- Redirect
Host string - The authentication portal IP address or hostname
- Authentication
Profile string - The authentication profile
- Certificate
Profile string - The certificate profile
- Device string
- The device in which the resource is defined
- Folder string
The folder in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- Gp
Udp intPort - The UDP port for inbound authentication prompts
- Idle
Timer int - The idle timeout value (minutes)
- Snippet string
The snippet in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- Timer int
- Timer
- Tls
Service stringProfile - The SSL/TLS service profile
- Redirect
Host string - The authentication portal IP address or hostname
- Authentication
Profile string - The authentication profile
- Certificate
Profile string - The certificate profile
- Device string
- The device in which the resource is defined
- Folder string
The folder in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- Gp
Udp intPort - The UDP port for inbound authentication prompts
- Idle
Timer int - The idle timeout value (minutes)
- Snippet string
The snippet in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- Timer int
- Timer
- Tls
Service stringProfile - The SSL/TLS service profile
- redirect
Host String - The authentication portal IP address or hostname
- authentication
Profile String - The authentication profile
- certificate
Profile String - The certificate profile
- device String
- The device in which the resource is defined
- folder String
The folder in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- gp
Udp IntegerPort - The UDP port for inbound authentication prompts
- idle
Timer Integer - The idle timeout value (minutes)
- snippet String
The snippet in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- timer Integer
- Timer
- tls
Service StringProfile - The SSL/TLS service profile
- redirect
Host string - The authentication portal IP address or hostname
- authentication
Profile string - The authentication profile
- certificate
Profile string - The certificate profile
- device string
- The device in which the resource is defined
- folder string
The folder in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- gp
Udp numberPort - The UDP port for inbound authentication prompts
- idle
Timer number - The idle timeout value (minutes)
- snippet string
The snippet in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- timer number
- Timer
- tls
Service stringProfile - The SSL/TLS service profile
- redirect_
host str - The authentication portal IP address or hostname
- authentication_
profile str - The authentication profile
- certificate_
profile str - The certificate profile
- device str
- The device in which the resource is defined
- folder str
The folder in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- gp_
udp_ intport - The UDP port for inbound authentication prompts
- idle_
timer int - The idle timeout value (minutes)
- snippet str
The snippet in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- timer int
- Timer
- tls_
service_ strprofile - The SSL/TLS service profile
- redirect
Host String - The authentication portal IP address or hostname
- authentication
Profile String - The authentication profile
- certificate
Profile String - The certificate profile
- device String
- The device in which the resource is defined
- folder String
The folder in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- gp
Udp NumberPort - The UDP port for inbound authentication prompts
- idle
Timer Number - The idle timeout value (minutes)
- snippet String
The snippet in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- timer Number
- Timer
- tls
Service StringProfile - The SSL/TLS service profile
Outputs
All input properties are implicitly available as output properties. Additionally, the AuthenticationPortal resource produces the following output properties:
Look up Existing AuthenticationPortal Resource
Get an existing AuthenticationPortal resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AuthenticationPortalState, opts?: CustomResourceOptions): AuthenticationPortal@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
authentication_profile: Optional[str] = None,
certificate_profile: Optional[str] = None,
device: Optional[str] = None,
folder: Optional[str] = None,
gp_udp_port: Optional[int] = None,
idle_timer: Optional[int] = None,
redirect_host: Optional[str] = None,
snippet: Optional[str] = None,
tfid: Optional[str] = None,
timer: Optional[int] = None,
tls_service_profile: Optional[str] = None) -> AuthenticationPortalfunc GetAuthenticationPortal(ctx *Context, name string, id IDInput, state *AuthenticationPortalState, opts ...ResourceOption) (*AuthenticationPortal, error)public static AuthenticationPortal Get(string name, Input<string> id, AuthenticationPortalState? state, CustomResourceOptions? opts = null)public static AuthenticationPortal get(String name, Output<String> id, AuthenticationPortalState state, CustomResourceOptions options)resources: _: type: scm:AuthenticationPortal get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Authentication
Profile string - The authentication profile
- Certificate
Profile string - The certificate profile
- Device string
- The device in which the resource is defined
- Folder string
The folder in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- Gp
Udp intPort - The UDP port for inbound authentication prompts
- Idle
Timer int - The idle timeout value (minutes)
- Redirect
Host string - The authentication portal IP address or hostname
- Snippet string
The snippet in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- Tfid string
- Timer int
- Timer
- Tls
Service stringProfile - The SSL/TLS service profile
- Authentication
Profile string - The authentication profile
- Certificate
Profile string - The certificate profile
- Device string
- The device in which the resource is defined
- Folder string
The folder in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- Gp
Udp intPort - The UDP port for inbound authentication prompts
- Idle
Timer int - The idle timeout value (minutes)
- Redirect
Host string - The authentication portal IP address or hostname
- Snippet string
The snippet in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- Tfid string
- Timer int
- Timer
- Tls
Service stringProfile - The SSL/TLS service profile
- authentication
Profile String - The authentication profile
- certificate
Profile String - The certificate profile
- device String
- The device in which the resource is defined
- folder String
The folder in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- gp
Udp IntegerPort - The UDP port for inbound authentication prompts
- idle
Timer Integer - The idle timeout value (minutes)
- redirect
Host String - The authentication portal IP address or hostname
- snippet String
The snippet in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- tfid String
- timer Integer
- Timer
- tls
Service StringProfile - The SSL/TLS service profile
- authentication
Profile string - The authentication profile
- certificate
Profile string - The certificate profile
- device string
- The device in which the resource is defined
- folder string
The folder in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- gp
Udp numberPort - The UDP port for inbound authentication prompts
- idle
Timer number - The idle timeout value (minutes)
- redirect
Host string - The authentication portal IP address or hostname
- snippet string
The snippet in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- tfid string
- timer number
- Timer
- tls
Service stringProfile - The SSL/TLS service profile
- authentication_
profile str - The authentication profile
- certificate_
profile str - The certificate profile
- device str
- The device in which the resource is defined
- folder str
The folder in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- gp_
udp_ intport - The UDP port for inbound authentication prompts
- idle_
timer int - The idle timeout value (minutes)
- redirect_
host str - The authentication portal IP address or hostname
- snippet str
The snippet in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- tfid str
- timer int
- Timer
- tls_
service_ strprofile - The SSL/TLS service profile
- authentication
Profile String - The authentication profile
- certificate
Profile String - The certificate profile
- device String
- The device in which the resource is defined
- folder String
The folder in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- gp
Udp NumberPort - The UDP port for inbound authentication prompts
- idle
Timer Number - The idle timeout value (minutes)
- redirect
Host String - The authentication portal IP address or hostname
- snippet String
The snippet in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- tfid String
- timer Number
- Timer
- tls
Service StringProfile - The SSL/TLS service profile
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scmTerraform Provider.
