Strata Cloud Manager v1.0.1 published on Wednesday, Nov 26, 2025 by Pulumi
Strata Cloud Manager v1.0.1 published on Wednesday, Nov 26, 2025 by Pulumi
AuthenticationRule data source
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
const ruleData = scm.getAuthenticationRule({
id: "1f1e08af-fe7b-4c36-882a-411101ad36d7",
});
export const fetchedRuleId = ruleData.then(ruleData => ruleData.id);
export const fetchedRuleData = ruleData;
import pulumi
import pulumi_scm as scm
rule_data = scm.get_authentication_rule(id="1f1e08af-fe7b-4c36-882a-411101ad36d7")
pulumi.export("fetchedRuleId", rule_data.id)
pulumi.export("fetchedRuleData", rule_data)
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 {
ruleData, err := scm.LookupAuthenticationRule(ctx, &scm.LookupAuthenticationRuleArgs{
Id: "1f1e08af-fe7b-4c36-882a-411101ad36d7",
}, nil)
if err != nil {
return err
}
ctx.Export("fetchedRuleId", ruleData.Id)
ctx.Export("fetchedRuleData", ruleData)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scm = Pulumi.Scm;
return await Deployment.RunAsync(() =>
{
var ruleData = Scm.GetAuthenticationRule.Invoke(new()
{
Id = "1f1e08af-fe7b-4c36-882a-411101ad36d7",
});
return new Dictionary<string, object?>
{
["fetchedRuleId"] = ruleData.Apply(getAuthenticationRuleResult => getAuthenticationRuleResult.Id),
["fetchedRuleData"] = ruleData,
};
});
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.GetAuthenticationRuleArgs;
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 ruleData = ScmFunctions.getAuthenticationRule(GetAuthenticationRuleArgs.builder()
.id("1f1e08af-fe7b-4c36-882a-411101ad36d7")
.build());
ctx.export("fetchedRuleId", ruleData.id());
ctx.export("fetchedRuleData", ruleData);
}
}
variables:
ruleData:
fn::invoke:
function: scm:getAuthenticationRule
arguments:
id: 1f1e08af-fe7b-4c36-882a-411101ad36d7
outputs:
fetchedRuleId: ${ruleData.id}
fetchedRuleData: ${ruleData}
Using getAuthenticationRule
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 getAuthenticationRule(args: GetAuthenticationRuleArgs, opts?: InvokeOptions): Promise<GetAuthenticationRuleResult>
function getAuthenticationRuleOutput(args: GetAuthenticationRuleOutputArgs, opts?: InvokeOptions): Output<GetAuthenticationRuleResult>def get_authentication_rule(id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAuthenticationRuleResult
def get_authentication_rule_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAuthenticationRuleResult]func LookupAuthenticationRule(ctx *Context, args *LookupAuthenticationRuleArgs, opts ...InvokeOption) (*LookupAuthenticationRuleResult, error)
func LookupAuthenticationRuleOutput(ctx *Context, args *LookupAuthenticationRuleOutputArgs, opts ...InvokeOption) LookupAuthenticationRuleResultOutput> Note: This function is named LookupAuthenticationRule in the Go SDK.
public static class GetAuthenticationRule
{
public static Task<GetAuthenticationRuleResult> InvokeAsync(GetAuthenticationRuleArgs args, InvokeOptions? opts = null)
public static Output<GetAuthenticationRuleResult> Invoke(GetAuthenticationRuleInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAuthenticationRuleResult> getAuthenticationRule(GetAuthenticationRuleArgs args, InvokeOptions options)
public static Output<GetAuthenticationRuleResult> getAuthenticationRule(GetAuthenticationRuleArgs args, InvokeOptions options)
fn::invoke:
function: scm:index/getAuthenticationRule:getAuthenticationRule
arguments:
# arguments dictionaryThe following arguments are supported:
getAuthenticationRule Result
The following output properties are available:
- Authentication
Enforcement string - The authentication profile name
- Categories List<string>
- The destination URL categories
- Description string
- The description of the authentication rule
- Destination
Hips List<string> - The destination Host Integrity Profile (HIP)
- Destinations List<string>
- The destination addresses
- Device string
- Device
- Disabled bool
- Folder string
- Froms List<string>
- Group
Tag string - Hip
Profiles List<string> - Id string
- The UUID of the authentication rule
- Log
Authentication boolTimeout - Log
Setting string - Name string
- The name of the authentication rule
- Negate
Destination bool - Negate
Source bool - Position string
- Relative
Position string - Services List<string>
- Snippet string
- Source
Hips List<string> - Source
Users List<string> - Sources List<string>
- List<string>
- Target
Rule string - Tfid string
- Timeout int
- Tos List<string>
- Authentication
Enforcement string - The authentication profile name
- Categories []string
- The destination URL categories
- Description string
- The description of the authentication rule
- Destination
Hips []string - The destination Host Integrity Profile (HIP)
- Destinations []string
- The destination addresses
- Device string
- Device
- Disabled bool
- Folder string
- Froms []string
- Group
Tag string - Hip
Profiles []string - Id string
- The UUID of the authentication rule
- Log
Authentication boolTimeout - Log
Setting string - Name string
- The name of the authentication rule
- Negate
Destination bool - Negate
Source bool - Position string
- Relative
Position string - Services []string
- Snippet string
- Source
Hips []string - Source
Users []string - Sources []string
- []string
- Target
Rule string - Tfid string
- Timeout int
- Tos []string
- authentication
Enforcement String - The authentication profile name
- categories List<String>
- The destination URL categories
- description String
- The description of the authentication rule
- destination
Hips List<String> - The destination Host Integrity Profile (HIP)
- destinations List<String>
- The destination addresses
- device String
- Device
- disabled Boolean
- folder String
- froms List<String>
- group
Tag String - hip
Profiles List<String> - id String
- The UUID of the authentication rule
- log
Authentication BooleanTimeout - log
Setting String - name String
- The name of the authentication rule
- negate
Destination Boolean - negate
Source Boolean - position String
- relative
Position String - services List<String>
- snippet String
- source
Hips List<String> - source
Users List<String> - sources List<String>
- List<String>
- target
Rule String - tfid String
- timeout Integer
- tos List<String>
- authentication
Enforcement string - The authentication profile name
- categories string[]
- The destination URL categories
- description string
- The description of the authentication rule
- destination
Hips string[] - The destination Host Integrity Profile (HIP)
- destinations string[]
- The destination addresses
- device string
- Device
- disabled boolean
- folder string
- froms string[]
- group
Tag string - hip
Profiles string[] - id string
- The UUID of the authentication rule
- log
Authentication booleanTimeout - log
Setting string - name string
- The name of the authentication rule
- negate
Destination boolean - negate
Source boolean - position string
- relative
Position string - services string[]
- snippet string
- source
Hips string[] - source
Users string[] - sources string[]
- string[]
- target
Rule string - tfid string
- timeout number
- tos string[]
- authentication_
enforcement str - The authentication profile name
- categories Sequence[str]
- The destination URL categories
- description str
- The description of the authentication rule
- destination_
hips Sequence[str] - The destination Host Integrity Profile (HIP)
- destinations Sequence[str]
- The destination addresses
- device str
- Device
- disabled bool
- folder str
- froms Sequence[str]
- group_
tag str - hip_
profiles Sequence[str] - id str
- The UUID of the authentication rule
- log_
authentication_ booltimeout - log_
setting str - name str
- The name of the authentication rule
- negate_
destination bool - negate_
source bool - position str
- relative_
position str - services Sequence[str]
- snippet str
- source_
hips Sequence[str] - source_
users Sequence[str] - sources Sequence[str]
- Sequence[str]
- target_
rule str - tfid str
- timeout int
- tos Sequence[str]
- authentication
Enforcement String - The authentication profile name
- categories List<String>
- The destination URL categories
- description String
- The description of the authentication rule
- destination
Hips List<String> - The destination Host Integrity Profile (HIP)
- destinations List<String>
- The destination addresses
- device String
- Device
- disabled Boolean
- folder String
- froms List<String>
- group
Tag String - hip
Profiles List<String> - id String
- The UUID of the authentication rule
- log
Authentication BooleanTimeout - log
Setting String - name String
- The name of the authentication rule
- negate
Destination Boolean - negate
Source Boolean - position String
- relative
Position String - services List<String>
- snippet String
- source
Hips List<String> - source
Users List<String> - sources List<String>
- List<String>
- target
Rule String - tfid String
- timeout Number
- tos List<String>
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scmTerraform Provider.
Strata Cloud Manager v1.0.1 published on Wednesday, Nov 26, 2025 by Pulumi
