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
InterfaceManagementProfile data source
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
const singleProfileById = scm.getInterfaceManagementProfile({
id: "f4358615-daba-4b71-a0ea-bd3ebb412fe3",
});
export const fetchedProfileName = singleProfileById.then(singleProfileById => singleProfileById.name);
export const fetchedProfile = singleProfileById;
import pulumi
import pulumi_scm as scm
single_profile_by_id = scm.get_interface_management_profile(id="f4358615-daba-4b71-a0ea-bd3ebb412fe3")
pulumi.export("fetchedProfileName", single_profile_by_id.name)
pulumi.export("fetchedProfile", single_profile_by_id)
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 {
singleProfileById, err := scm.LookupInterfaceManagementProfile(ctx, &scm.LookupInterfaceManagementProfileArgs{
Id: "f4358615-daba-4b71-a0ea-bd3ebb412fe3",
}, nil)
if err != nil {
return err
}
ctx.Export("fetchedProfileName", singleProfileById.Name)
ctx.Export("fetchedProfile", singleProfileById)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scm = Pulumi.Scm;
return await Deployment.RunAsync(() =>
{
var singleProfileById = Scm.GetInterfaceManagementProfile.Invoke(new()
{
Id = "f4358615-daba-4b71-a0ea-bd3ebb412fe3",
});
return new Dictionary<string, object?>
{
["fetchedProfileName"] = singleProfileById.Apply(getInterfaceManagementProfileResult => getInterfaceManagementProfileResult.Name),
["fetchedProfile"] = singleProfileById,
};
});
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.GetInterfaceManagementProfileArgs;
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 singleProfileById = ScmFunctions.getInterfaceManagementProfile(GetInterfaceManagementProfileArgs.builder()
.id("f4358615-daba-4b71-a0ea-bd3ebb412fe3")
.build());
ctx.export("fetchedProfileName", singleProfileById.name());
ctx.export("fetchedProfile", singleProfileById);
}
}
variables:
singleProfileById:
fn::invoke:
function: scm:getInterfaceManagementProfile
arguments:
id: f4358615-daba-4b71-a0ea-bd3ebb412fe3
outputs:
# --------------------------------------------------------------------------------
fetchedProfileName: ${singleProfileById.name}
fetchedProfile: ${singleProfileById}
Using getInterfaceManagementProfile
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 getInterfaceManagementProfile(args: GetInterfaceManagementProfileArgs, opts?: InvokeOptions): Promise<GetInterfaceManagementProfileResult>
function getInterfaceManagementProfileOutput(args: GetInterfaceManagementProfileOutputArgs, opts?: InvokeOptions): Output<GetInterfaceManagementProfileResult>def get_interface_management_profile(device: Optional[str] = None,
folder: Optional[str] = None,
id: Optional[str] = None,
name: Optional[str] = None,
snippet: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetInterfaceManagementProfileResult
def get_interface_management_profile_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[GetInterfaceManagementProfileResult]func LookupInterfaceManagementProfile(ctx *Context, args *LookupInterfaceManagementProfileArgs, opts ...InvokeOption) (*LookupInterfaceManagementProfileResult, error)
func LookupInterfaceManagementProfileOutput(ctx *Context, args *LookupInterfaceManagementProfileOutputArgs, opts ...InvokeOption) LookupInterfaceManagementProfileResultOutput> Note: This function is named LookupInterfaceManagementProfile in the Go SDK.
public static class GetInterfaceManagementProfile
{
public static Task<GetInterfaceManagementProfileResult> InvokeAsync(GetInterfaceManagementProfileArgs args, InvokeOptions? opts = null)
public static Output<GetInterfaceManagementProfileResult> Invoke(GetInterfaceManagementProfileInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetInterfaceManagementProfileResult> getInterfaceManagementProfile(GetInterfaceManagementProfileArgs args, InvokeOptions options)
public static Output<GetInterfaceManagementProfileResult> getInterfaceManagementProfile(GetInterfaceManagementProfileArgs args, InvokeOptions options)
fn::invoke:
function: scm:index/getInterfaceManagementProfile:getInterfaceManagementProfile
arguments:
# arguments dictionaryThe following arguments are supported:
getInterfaceManagementProfile Result
The following output properties are available:
- Device string
- The device in which the resource is defined
- Folder string
- Http bool
- Http
Ocsp bool - Https bool
- Id string
- UUID of the resource
- Name string
- Permitted
Ips List<GetInterface Management Profile Permitted Ip> - Ping bool
- Response
Pages bool - Snippet string
- Ssh bool
- Telnet bool
- Tfid string
- Userid
Service bool - Userid
Syslog boolListener Ssl - Userid
Syslog boolListener Udp
- Device string
- The device in which the resource is defined
- Folder string
- Http bool
- Http
Ocsp bool - Https bool
- Id string
- UUID of the resource
- Name string
- Permitted
Ips []GetInterface Management Profile Permitted Ip - Ping bool
- Response
Pages bool - Snippet string
- Ssh bool
- Telnet bool
- Tfid string
- Userid
Service bool - Userid
Syslog boolListener Ssl - Userid
Syslog boolListener Udp
- device String
- The device in which the resource is defined
- folder String
- http Boolean
- http
Ocsp Boolean - https Boolean
- id String
- UUID of the resource
- name String
- permitted
Ips List<GetInterface Management Profile Permitted Ip> - ping Boolean
- response
Pages Boolean - snippet String
- ssh Boolean
- telnet Boolean
- tfid String
- userid
Service Boolean - userid
Syslog BooleanListener Ssl - userid
Syslog BooleanListener Udp
- device string
- The device in which the resource is defined
- folder string
- http boolean
- http
Ocsp boolean - https boolean
- id string
- UUID of the resource
- name string
- permitted
Ips GetInterface Management Profile Permitted Ip[] - ping boolean
- response
Pages boolean - snippet string
- ssh boolean
- telnet boolean
- tfid string
- userid
Service boolean - userid
Syslog booleanListener Ssl - userid
Syslog booleanListener Udp
- device str
- The device in which the resource is defined
- folder str
- http bool
- http_
ocsp bool - https bool
- id str
- UUID of the resource
- name str
- permitted_
ips Sequence[GetInterface Management Profile Permitted Ip] - ping bool
- response_
pages bool - snippet str
- ssh bool
- telnet bool
- tfid str
- userid_
service bool - userid_
syslog_ boollistener_ ssl - userid_
syslog_ boollistener_ udp
- device String
- The device in which the resource is defined
- folder String
- http Boolean
- http
Ocsp Boolean - https Boolean
- id String
- UUID of the resource
- name String
- permitted
Ips List<Property Map> - ping Boolean
- response
Pages Boolean - snippet String
- ssh Boolean
- telnet Boolean
- tfid String
- userid
Service Boolean - userid
Syslog BooleanListener Ssl - userid
Syslog BooleanListener Udp
Supporting Types
GetInterfaceManagementProfilePermittedIp
- Name string
- The allowed IP address or CIDR block.
- Name string
- The allowed IP address or CIDR block.
- name String
- The allowed IP address or CIDR block.
- name string
- The allowed IP address or CIDR block.
- name str
- The allowed IP address or CIDR block.
- name String
- The allowed IP address or CIDR block.
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
