Viewing docs for Strata Cloud Manager v1.0.5
published on Saturday, Mar 21, 2026 by Pulumi
published on Saturday, Mar 21, 2026 by Pulumi
Viewing docs for Strata Cloud Manager v1.0.5
published on Saturday, Mar 21, 2026 by Pulumi
published on Saturday, Mar 21, 2026 by Pulumi
DataObject data source
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
// Replace the ID with the UUID of the SCM Data Object you want to find.
const scmDataObjectGet = scm.getDataObject({
id: "b1398675-254e-4eff-8050-007ef2f9c0a1",
});
export const scmDataObjectDetails = scmDataObjectGet.then(scmDataObjectGet => scmDataObjectGet.patternType);
import pulumi
import pulumi_scm as scm
# Replace the ID with the UUID of the SCM Data Object you want to find.
scm_data_object_get = scm.get_data_object(id="b1398675-254e-4eff-8050-007ef2f9c0a1")
pulumi.export("scmDataObjectDetails", scm_data_object_get.pattern_type)
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 {
// Replace the ID with the UUID of the SCM Data Object you want to find.
scmDataObjectGet, err := scm.LookupDataObject(ctx, &scm.LookupDataObjectArgs{
Id: "b1398675-254e-4eff-8050-007ef2f9c0a1",
}, nil)
if err != nil {
return err
}
ctx.Export("scmDataObjectDetails", scmDataObjectGet.PatternType)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scm = Pulumi.Scm;
return await Deployment.RunAsync(() =>
{
// Replace the ID with the UUID of the SCM Data Object you want to find.
var scmDataObjectGet = Scm.GetDataObject.Invoke(new()
{
Id = "b1398675-254e-4eff-8050-007ef2f9c0a1",
});
return new Dictionary<string, object?>
{
["scmDataObjectDetails"] = scmDataObjectGet.Apply(getDataObjectResult => getDataObjectResult.PatternType),
};
});
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.GetDataObjectArgs;
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) {
// Replace the ID with the UUID of the SCM Data Object you want to find.
final var scmDataObjectGet = ScmFunctions.getDataObject(GetDataObjectArgs.builder()
.id("b1398675-254e-4eff-8050-007ef2f9c0a1")
.build());
ctx.export("scmDataObjectDetails", scmDataObjectGet.patternType());
}
}
variables:
# Replace the ID with the UUID of the SCM Data Object you want to find.
scmDataObjectGet:
fn::invoke:
function: scm:getDataObject
arguments:
id: b1398675-254e-4eff-8050-007ef2f9c0a1
outputs:
# Output the details of the single SCM Dataobject found.
scmDataObjectDetails: ${scmDataObjectGet.patternType}
Using getDataObject
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 getDataObject(args: GetDataObjectArgs, opts?: InvokeOptions): Promise<GetDataObjectResult>
function getDataObjectOutput(args: GetDataObjectOutputArgs, opts?: InvokeOptions): Output<GetDataObjectResult>def get_data_object(device: Optional[str] = None,
folder: Optional[str] = None,
id: Optional[str] = None,
name: Optional[str] = None,
snippet: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDataObjectResult
def get_data_object_output(device: Optional[pulumi.Input[str]] = None,
folder: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
snippet: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDataObjectResult]func LookupDataObject(ctx *Context, args *LookupDataObjectArgs, opts ...InvokeOption) (*LookupDataObjectResult, error)
func LookupDataObjectOutput(ctx *Context, args *LookupDataObjectOutputArgs, opts ...InvokeOption) LookupDataObjectResultOutput> Note: This function is named LookupDataObject in the Go SDK.
public static class GetDataObject
{
public static Task<GetDataObjectResult> InvokeAsync(GetDataObjectArgs args, InvokeOptions? opts = null)
public static Output<GetDataObjectResult> Invoke(GetDataObjectInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDataObjectResult> getDataObject(GetDataObjectArgs args, InvokeOptions options)
public static Output<GetDataObjectResult> getDataObject(GetDataObjectArgs args, InvokeOptions options)
fn::invoke:
function: scm:index/getDataObject:getDataObject
arguments:
# arguments dictionaryThe following arguments are supported:
getDataObject Result
The following output properties are available:
- Description string
- Device string
- The device in which the resource is defined
- Disable
Override string - Folder string
- Id string
- The UUID of the data object
- Name string
- Pattern
Type GetData Object Pattern Type - Snippet string
- Tfid string
- Description string
- Device string
- The device in which the resource is defined
- Disable
Override string - Folder string
- Id string
- The UUID of the data object
- Name string
- Pattern
Type GetData Object Pattern Type - Snippet string
- Tfid string
- description String
- device String
- The device in which the resource is defined
- disable
Override String - folder String
- id String
- The UUID of the data object
- name String
- pattern
Type GetData Object Pattern Type - snippet String
- tfid String
- description string
- device string
- The device in which the resource is defined
- disable
Override string - folder string
- id string
- The UUID of the data object
- name string
- pattern
Type GetData Object Pattern Type - snippet string
- tfid string
- description str
- device str
- The device in which the resource is defined
- disable_
override str - folder str
- id str
- The UUID of the data object
- name str
- pattern_
type GetData Object Pattern Type - snippet str
- tfid str
- description String
- device String
- The device in which the resource is defined
- disable
Override String - folder String
- id String
- The UUID of the data object
- name String
- pattern
Type Property Map - snippet String
- tfid String
Supporting Types
GetDataObjectPatternType
- File
Properties GetData Object Pattern Type File Properties - File properties
- Predefined
Get
Data Object Pattern Type Predefined - Predefined
- Regex
Get
Data Object Pattern Type Regex - Regex
- File
Properties GetData Object Pattern Type File Properties - File properties
- Predefined
Get
Data Object Pattern Type Predefined - Predefined
- Regex
Get
Data Object Pattern Type Regex - Regex
- file
Properties GetData Object Pattern Type File Properties - File properties
- predefined
Get
Data Object Pattern Type Predefined - Predefined
- regex
Get
Data Object Pattern Type Regex - Regex
- file
Properties GetData Object Pattern Type File Properties - File properties
- predefined
Get
Data Object Pattern Type Predefined - Predefined
- regex
Get
Data Object Pattern Type Regex - Regex
- file_
properties GetData Object Pattern Type File Properties - File properties
- predefined
Get
Data Object Pattern Type Predefined - Predefined
- regex
Get
Data Object Pattern Type Regex - Regex
- file
Properties Property Map - File properties
- predefined Property Map
- Predefined
- regex Property Map
- Regex
GetDataObjectPatternTypeFileProperties
- patterns List<Property Map>
- Pattern
GetDataObjectPatternTypeFilePropertiesPattern
- File
Property string - File property
- File
Type string - File type
- Name string
- Name
- Property
Value string - Property value
- File
Property string - File property
- File
Type string - File type
- Name string
- Name
- Property
Value string - Property value
- file
Property String - File property
- file
Type String - File type
- name String
- Name
- property
Value String - Property value
- file
Property string - File property
- file
Type string - File type
- name string
- Name
- property
Value string - Property value
- file_
property str - File property
- file_
type str - File type
- name str
- Name
- property_
value str - Property value
- file
Property String - File property
- file
Type String - File type
- name String
- Name
- property
Value String - Property value
GetDataObjectPatternTypePredefined
- patterns List<Property Map>
- Pattern
GetDataObjectPatternTypePredefinedPattern
- file_
types Sequence[str] - File type
- name str
- Name
GetDataObjectPatternTypeRegex
- patterns List<Property Map>
- Pattern
GetDataObjectPatternTypeRegexPattern
- file_
types Sequence[str] - File type
- name str
- Name
- regex str
- Regex
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scmTerraform Provider.
Viewing docs for Strata Cloud Manager v1.0.5
published on Saturday, Mar 21, 2026 by Pulumi
published on Saturday, Mar 21, 2026 by Pulumi
