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
FileBlockingProfile data source
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
//
// Data source to retrieve a single SCM File Blocking Profile object by its ID.
//
// Replace the ID with the UUID of the SCM File Blocking Profile you want to find.
const scmFileBlockingProf = scm.getFileBlockingProfile({
id: "f32697f8-a98b-4097-b249-22c89f7d8f7f",
});
export const scmFileBlockingProfileDetails = {
profileId: scmFileBlockingProf.then(scmFileBlockingProf => scmFileBlockingProf.id),
folder: scmFileBlockingProf.then(scmFileBlockingProf => scmFileBlockingProf.folder),
name: scmFileBlockingProf.then(scmFileBlockingProf => scmFileBlockingProf.name),
};
import pulumi
import pulumi_scm as scm
#
# Data source to retrieve a single SCM File Blocking Profile object by its ID.
#
# Replace the ID with the UUID of the SCM File Blocking Profile you want to find.
scm_file_blocking_prof = scm.get_file_blocking_profile(id="f32697f8-a98b-4097-b249-22c89f7d8f7f")
pulumi.export("scmFileBlockingProfileDetails", {
"profileId": scm_file_blocking_prof.id,
"folder": scm_file_blocking_prof.folder,
"name": scm_file_blocking_prof.name,
})
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 {
// Data source to retrieve a single SCM File Blocking Profile object by its ID.
//
// Replace the ID with the UUID of the SCM File Blocking Profile you want to find.
scmFileBlockingProf, err := scm.LookupFileBlockingProfile(ctx, &scm.LookupFileBlockingProfileArgs{
Id: "f32697f8-a98b-4097-b249-22c89f7d8f7f",
}, nil)
if err != nil {
return err
}
ctx.Export("scmFileBlockingProfileDetails", pulumi.StringMap{
"profileId": scmFileBlockingProf.Id,
"folder": scmFileBlockingProf.Folder,
"name": scmFileBlockingProf.Name,
})
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scm = Pulumi.Scm;
return await Deployment.RunAsync(() =>
{
//
// Data source to retrieve a single SCM File Blocking Profile object by its ID.
//
// Replace the ID with the UUID of the SCM File Blocking Profile you want to find.
var scmFileBlockingProf = Scm.GetFileBlockingProfile.Invoke(new()
{
Id = "f32697f8-a98b-4097-b249-22c89f7d8f7f",
});
return new Dictionary<string, object?>
{
["scmFileBlockingProfileDetails"] =
{
{ "profileId", scmFileBlockingProf.Apply(getFileBlockingProfileResult => getFileBlockingProfileResult.Id) },
{ "folder", scmFileBlockingProf.Apply(getFileBlockingProfileResult => getFileBlockingProfileResult.Folder) },
{ "name", scmFileBlockingProf.Apply(getFileBlockingProfileResult => getFileBlockingProfileResult.Name) },
},
};
});
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.GetFileBlockingProfileArgs;
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) {
//
// Data source to retrieve a single SCM File Blocking Profile object by its ID.
//
// Replace the ID with the UUID of the SCM File Blocking Profile you want to find.
final var scmFileBlockingProf = ScmFunctions.getFileBlockingProfile(GetFileBlockingProfileArgs.builder()
.id("f32697f8-a98b-4097-b249-22c89f7d8f7f")
.build());
ctx.export("scmFileBlockingProfileDetails", Map.ofEntries(
Map.entry("profileId", scmFileBlockingProf.id()),
Map.entry("folder", scmFileBlockingProf.folder()),
Map.entry("name", scmFileBlockingProf.name())
));
}
}
variables:
#
# Data source to retrieve a single SCM File Blocking Profile object by its ID.
#
# Replace the ID with the UUID of the SCM File Blocking Profile you want to find.
scmFileBlockingProf:
fn::invoke:
function: scm:getFileBlockingProfile
arguments:
id: f32697f8-a98b-4097-b249-22c89f7d8f7f
outputs:
# Output the details of the single SCM File Blocking Profile object found.
scmFileBlockingProfileDetails:
profileId: ${scmFileBlockingProf.id}
folder: ${scmFileBlockingProf.folder}
name: ${scmFileBlockingProf.name}
Using getFileBlockingProfile
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 getFileBlockingProfile(args: GetFileBlockingProfileArgs, opts?: InvokeOptions): Promise<GetFileBlockingProfileResult>
function getFileBlockingProfileOutput(args: GetFileBlockingProfileOutputArgs, opts?: InvokeOptions): Output<GetFileBlockingProfileResult>def get_file_blocking_profile(id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetFileBlockingProfileResult
def get_file_blocking_profile_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetFileBlockingProfileResult]func LookupFileBlockingProfile(ctx *Context, args *LookupFileBlockingProfileArgs, opts ...InvokeOption) (*LookupFileBlockingProfileResult, error)
func LookupFileBlockingProfileOutput(ctx *Context, args *LookupFileBlockingProfileOutputArgs, opts ...InvokeOption) LookupFileBlockingProfileResultOutput> Note: This function is named LookupFileBlockingProfile in the Go SDK.
public static class GetFileBlockingProfile
{
public static Task<GetFileBlockingProfileResult> InvokeAsync(GetFileBlockingProfileArgs args, InvokeOptions? opts = null)
public static Output<GetFileBlockingProfileResult> Invoke(GetFileBlockingProfileInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetFileBlockingProfileResult> getFileBlockingProfile(GetFileBlockingProfileArgs args, InvokeOptions options)
public static Output<GetFileBlockingProfileResult> getFileBlockingProfile(GetFileBlockingProfileArgs args, InvokeOptions options)
fn::invoke:
function: scm:index/getFileBlockingProfile:getFileBlockingProfile
arguments:
# arguments dictionaryThe following arguments are supported:
getFileBlockingProfile Result
The following output properties are available:
- Description string
- Description
- Device string
- The device in which the resource is defined
- Folder string
- Id string
- The UUID of the file blocking profile
- Name string
- The name of the file blocking profile
- Rules
List<Get
File Blocking Profile Rule> - Snippet string
- Tfid string
- Description string
- Description
- Device string
- The device in which the resource is defined
- Folder string
- Id string
- The UUID of the file blocking profile
- Name string
- The name of the file blocking profile
- Rules
[]Get
File Blocking Profile Rule - Snippet string
- Tfid string
- description String
- Description
- device String
- The device in which the resource is defined
- folder String
- id String
- The UUID of the file blocking profile
- name String
- The name of the file blocking profile
- rules
List<Get
File Blocking Profile Rule> - snippet String
- tfid String
- description string
- Description
- device string
- The device in which the resource is defined
- folder string
- id string
- The UUID of the file blocking profile
- name string
- The name of the file blocking profile
- rules
Get
File Blocking Profile Rule[] - snippet string
- tfid string
- description str
- Description
- device str
- The device in which the resource is defined
- folder str
- id str
- The UUID of the file blocking profile
- name str
- The name of the file blocking profile
- rules
Sequence[Get
File Blocking Profile Rule] - snippet str
- tfid str
- description String
- Description
- device String
- The device in which the resource is defined
- folder String
- id String
- The UUID of the file blocking profile
- name String
- The name of the file blocking profile
- rules List<Property Map>
- snippet String
- tfid String
Supporting Types
GetFileBlockingProfileRule
- Action string
- The action to take when the rule match criteria is met
- Applications List<string>
- The application transferring the files (App-ID naming)
- Direction string
- The direction of the file transfer
- File
Types List<string> - The file type
- Name string
- The name of the file blocking rule
- Action string
- The action to take when the rule match criteria is met
- Applications []string
- The application transferring the files (App-ID naming)
- Direction string
- The direction of the file transfer
- File
Types []string - The file type
- Name string
- The name of the file blocking rule
- action String
- The action to take when the rule match criteria is met
- applications List<String>
- The application transferring the files (App-ID naming)
- direction String
- The direction of the file transfer
- file
Types List<String> - The file type
- name String
- The name of the file blocking rule
- action string
- The action to take when the rule match criteria is met
- applications string[]
- The application transferring the files (App-ID naming)
- direction string
- The direction of the file transfer
- file
Types string[] - The file type
- name string
- The name of the file blocking rule
- action str
- The action to take when the rule match criteria is met
- applications Sequence[str]
- The application transferring the files (App-ID naming)
- direction str
- The direction of the file transfer
- file_
types Sequence[str] - The file type
- name str
- The name of the file blocking rule
- action String
- The action to take when the rule match criteria is met
- applications List<String>
- The application transferring the files (App-ID naming)
- direction String
- The direction of the file transfer
- file
Types List<String> - The file type
- name String
- The name of the file blocking rule
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
