Retrieves a listing of config items.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
const allSettings = scm.getManagementInterfaceList({
folder: "All",
});
export const fetchedSettingListSummary = {
countOfSettingsFetched: allSettings.then(allSettings => allSettings.total),
value: allSettings.then(allSettings => allSettings.datas?.[0]),
};
import pulumi
import pulumi_scm as scm
all_settings = scm.get_management_interface_list(folder="All")
pulumi.export("fetchedSettingListSummary", {
"countOfSettingsFetched": all_settings.total,
"value": all_settings.datas[0],
})
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 {
allSettings, err := scm.GetManagementInterfaceList(ctx, &scm.GetManagementInterfaceListArgs{
Folder: pulumi.StringRef("All"),
}, nil)
if err != nil {
return err
}
ctx.Export("fetchedSettingListSummary", pulumi.Map{
"countOfSettingsFetched": allSettings.Total,
"value": allSettings.Datas[0],
})
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scm = Pulumi.Scm;
return await Deployment.RunAsync(() =>
{
var allSettings = Scm.GetManagementInterfaceList.Invoke(new()
{
Folder = "All",
});
return new Dictionary<string, object?>
{
["fetchedSettingListSummary"] =
{
{ "countOfSettingsFetched", allSettings.Apply(getManagementInterfaceListResult => getManagementInterfaceListResult.Total) },
{ "value", allSettings.Apply(getManagementInterfaceListResult => getManagementInterfaceListResult.Datas[0]) },
},
};
});
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.GetManagementInterfaceListArgs;
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 allSettings = ScmFunctions.getManagementInterfaceList(GetManagementInterfaceListArgs.builder()
.folder("All")
.build());
ctx.export("fetchedSettingListSummary", Map.ofEntries(
Map.entry("countOfSettingsFetched", allSettings.total()),
Map.entry("value", allSettings.datas()[0])
));
}
}
variables:
allSettings:
fn::invoke:
function: scm:getManagementInterfaceList
arguments:
folder: All
outputs:
# -----------------------------------------------------------------------------
# OUTPUT: Display the fetched list data
# -----------------------------------------------------------------------------
fetchedSettingListSummary:
countOfSettingsFetched: ${allSettings.total}
value: ${allSettings.datas[0]}
Using getManagementInterfaceList
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 getManagementInterfaceList(args: GetManagementInterfaceListArgs, opts?: InvokeOptions): Promise<GetManagementInterfaceListResult>
function getManagementInterfaceListOutput(args: GetManagementInterfaceListOutputArgs, opts?: InvokeOptions): Output<GetManagementInterfaceListResult>def get_management_interface_list(device: Optional[str] = None,
folder: Optional[str] = None,
limit: Optional[int] = None,
name: Optional[str] = None,
offset: Optional[int] = None,
snippet: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetManagementInterfaceListResult
def get_management_interface_list_output(device: Optional[pulumi.Input[str]] = None,
folder: Optional[pulumi.Input[str]] = None,
limit: Optional[pulumi.Input[int]] = None,
name: Optional[pulumi.Input[str]] = None,
offset: Optional[pulumi.Input[int]] = None,
snippet: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetManagementInterfaceListResult]func GetManagementInterfaceList(ctx *Context, args *GetManagementInterfaceListArgs, opts ...InvokeOption) (*GetManagementInterfaceListResult, error)
func GetManagementInterfaceListOutput(ctx *Context, args *GetManagementInterfaceListOutputArgs, opts ...InvokeOption) GetManagementInterfaceListResultOutput> Note: This function is named GetManagementInterfaceList in the Go SDK.
public static class GetManagementInterfaceList
{
public static Task<GetManagementInterfaceListResult> InvokeAsync(GetManagementInterfaceListArgs args, InvokeOptions? opts = null)
public static Output<GetManagementInterfaceListResult> Invoke(GetManagementInterfaceListInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetManagementInterfaceListResult> getManagementInterfaceList(GetManagementInterfaceListArgs args, InvokeOptions options)
public static Output<GetManagementInterfaceListResult> getManagementInterfaceList(GetManagementInterfaceListArgs args, InvokeOptions options)
fn::invoke:
function: scm:index/getManagementInterfaceList:getManagementInterfaceList
arguments:
# arguments dictionaryThe following arguments are supported:
getManagementInterfaceList Result
The following output properties are available:
- Datas
List<Get
Management Interface List Data> - The data.
- Id string
- The provider-assigned unique ID for this managed resource.
- Tfid string
- Total int
- The total number of items.
- Device string
- The device of the item.
- Folder string
- The folder of the item. Default: Shared.
- Limit int
- The max number of items to return. Default: 200.
- Name string
- The name of the item.
- Offset int
- The offset of the first item to return.
- Snippet string
- The snippet of the item.
- Datas
[]Get
Management Interface List Data - The data.
- Id string
- The provider-assigned unique ID for this managed resource.
- Tfid string
- Total int
- The total number of items.
- Device string
- The device of the item.
- Folder string
- The folder of the item. Default: Shared.
- Limit int
- The max number of items to return. Default: 200.
- Name string
- The name of the item.
- Offset int
- The offset of the first item to return.
- Snippet string
- The snippet of the item.
- datas
List<Get
Management Interface List Data> - The data.
- id String
- The provider-assigned unique ID for this managed resource.
- tfid String
- total Integer
- The total number of items.
- device String
- The device of the item.
- folder String
- The folder of the item. Default: Shared.
- limit Integer
- The max number of items to return. Default: 200.
- name String
- The name of the item.
- offset Integer
- The offset of the first item to return.
- snippet String
- The snippet of the item.
- datas
Get
Management Interface List Data[] - The data.
- id string
- The provider-assigned unique ID for this managed resource.
- tfid string
- total number
- The total number of items.
- device string
- The device of the item.
- folder string
- The folder of the item. Default: Shared.
- limit number
- The max number of items to return. Default: 200.
- name string
- The name of the item.
- offset number
- The offset of the first item to return.
- snippet string
- The snippet of the item.
- datas
Sequence[Get
Management Interface List Data] - The data.
- id str
- The provider-assigned unique ID for this managed resource.
- tfid str
- total int
- The total number of items.
- device str
- The device of the item.
- folder str
- The folder of the item. Default: Shared.
- limit int
- The max number of items to return. Default: 200.
- name str
- The name of the item.
- offset int
- The offset of the first item to return.
- snippet str
- The snippet of the item.
- datas List<Property Map>
- The data.
- id String
- The provider-assigned unique ID for this managed resource.
- tfid String
- total Number
- The total number of items.
- device String
- The device of the item.
- folder String
- The folder of the item. Default: Shared.
- limit Number
- The max number of items to return. Default: 200.
- name String
- The name of the item.
- offset Number
- The offset of the first item to return.
- snippet String
- The snippet of the item.
Supporting Types
GetManagementInterfaceListData
- Device string
- The device in which the resource is defined
- Folder string
- The folder of the item. Default: Shared.
- Id string
- UUID of the resource
- Management
Interface GetManagement Interface List Data Management Interface - Management interface
- Snippet string
- The snippet of the item.
- Tfid string
- Device string
- The device in which the resource is defined
- Folder string
- The folder of the item. Default: Shared.
- Id string
- UUID of the resource
- Management
Interface GetManagement Interface List Data Management Interface - Management interface
- Snippet string
- The snippet of the item.
- Tfid string
- device String
- The device in which the resource is defined
- folder String
- The folder of the item. Default: Shared.
- id String
- UUID of the resource
- management
Interface GetManagement Interface List Data Management Interface - Management interface
- snippet String
- The snippet of the item.
- tfid String
- device string
- The device in which the resource is defined
- folder string
- The folder of the item. Default: Shared.
- id string
- UUID of the resource
- management
Interface GetManagement Interface List Data Management Interface - Management interface
- snippet string
- The snippet of the item.
- tfid string
- device str
- The device in which the resource is defined
- folder str
- The folder of the item. Default: Shared.
- id str
- UUID of the resource
- management_
interface GetManagement Interface List Data Management Interface - Management interface
- snippet str
- The snippet of the item.
- tfid str
- device String
- The device in which the resource is defined
- folder String
- The folder of the item. Default: Shared.
- id String
- UUID of the resource
- management
Interface Property Map - Management interface
- snippet String
- The snippet of the item.
- tfid String
GetManagementInterfaceListDataManagementInterface
- Mgmt
Type GetManagement Interface List Data Management Interface Mgmt Type - IP type
- Mtu int
- MTU
- Permitted
Ips List<GetManagement Interface List Data Management Interface Permitted Ip> - Permitting IP addresses
- Service
Get
Management Interface List Data Management Interface Service - Network services
- Speed
Duplex string - Speed and duplex
- Mgmt
Type GetManagement Interface List Data Management Interface Mgmt Type - IP type
- Mtu int
- MTU
- Permitted
Ips []GetManagement Interface List Data Management Interface Permitted Ip - Permitting IP addresses
- Service
Get
Management Interface List Data Management Interface Service - Network services
- Speed
Duplex string - Speed and duplex
- mgmt
Type GetManagement Interface List Data Management Interface Mgmt Type - IP type
- mtu Integer
- MTU
- permitted
Ips List<GetManagement Interface List Data Management Interface Permitted Ip> - Permitting IP addresses
- service
Get
Management Interface List Data Management Interface Service - Network services
- speed
Duplex String - Speed and duplex
- mgmt
Type GetManagement Interface List Data Management Interface Mgmt Type - IP type
- mtu number
- MTU
- permitted
Ips GetManagement Interface List Data Management Interface Permitted Ip[] - Permitting IP addresses
- service
Get
Management Interface List Data Management Interface Service - Network services
- speed
Duplex string - Speed and duplex
- mgmt_
type GetManagement Interface List Data Management Interface Mgmt Type - IP type
- mtu int
- MTU
- permitted_
ips Sequence[GetManagement Interface List Data Management Interface Permitted Ip] - Permitting IP addresses
- service
Get
Management Interface List Data Management Interface Service - Network services
- speed_
duplex str - Speed and duplex
- mgmt
Type Property Map - IP type
- mtu Number
- MTU
- permitted
Ips List<Property Map> - Permitting IP addresses
- service Property Map
- Network services
- speed
Duplex String - Speed and duplex
GetManagementInterfaceListDataManagementInterfaceMgmtType
- Dhcp
Client GetManagement Interface List Data Management Interface Mgmt Type Dhcp Client - Dhcp client
- Static
Get
Management Interface List Data Management Interface Mgmt Type Static Static
ℹ️ Note: You must specify exactly one of
dhcp_clientandstatic.
- Dhcp
Client GetManagement Interface List Data Management Interface Mgmt Type Dhcp Client - Dhcp client
- Static
Get
Management Interface List Data Management Interface Mgmt Type Static Static
ℹ️ Note: You must specify exactly one of
dhcp_clientandstatic.
- dhcp
Client GetManagement Interface List Data Management Interface Mgmt Type Dhcp Client - Dhcp client
- static_
Get
Management Interface List Data Management Interface Mgmt Type Static Static
ℹ️ Note: You must specify exactly one of
dhcp_clientandstatic.
- dhcp
Client GetManagement Interface List Data Management Interface Mgmt Type Dhcp Client - Dhcp client
- static
Get
Management Interface List Data Management Interface Mgmt Type Static Static
ℹ️ Note: You must specify exactly one of
dhcp_clientandstatic.
- dhcp_
client GetManagement Interface List Data Management Interface Mgmt Type Dhcp Client - Dhcp client
- static
Get
Management Interface List Data Management Interface Mgmt Type Static Static
ℹ️ Note: You must specify exactly one of
dhcp_clientandstatic.
- dhcp
Client Property Map - Dhcp client
- static Property Map
Static
ℹ️ Note: You must specify exactly one of
dhcp_clientandstatic.
GetManagementInterfaceListDataManagementInterfaceMgmtTypeDhcpClient
- Accept
Dhcp boolDomain - Accept DHCP server provided domain name
- Accept
Dhcp boolHostname - Accept DHCP server provided hostname
- Send
Client boolId - Send client ID
- Send
Hostname bool - Send hostname
- Accept
Dhcp boolDomain - Accept DHCP server provided domain name
- Accept
Dhcp boolHostname - Accept DHCP server provided hostname
- Send
Client boolId - Send client ID
- Send
Hostname bool - Send hostname
- accept
Dhcp BooleanDomain - Accept DHCP server provided domain name
- accept
Dhcp BooleanHostname - Accept DHCP server provided hostname
- send
Client BooleanId - Send client ID
- send
Hostname Boolean - Send hostname
- accept
Dhcp booleanDomain - Accept DHCP server provided domain name
- accept
Dhcp booleanHostname - Accept DHCP server provided hostname
- send
Client booleanId - Send client ID
- send
Hostname boolean - Send hostname
- accept_
dhcp_ booldomain - Accept DHCP server provided domain name
- accept_
dhcp_ boolhostname - Accept DHCP server provided hostname
- send_
client_ boolid - Send client ID
- send_
hostname bool - Send hostname
- accept
Dhcp BooleanDomain - Accept DHCP server provided domain name
- accept
Dhcp BooleanHostname - Accept DHCP server provided hostname
- send
Client BooleanId - Send client ID
- send
Hostname Boolean - Send hostname
GetManagementInterfaceListDataManagementInterfaceMgmtTypeStatic
- Default
Gateway string - Default gateway
- Ip
Address string - IP address
- Netmask string
- Netmask
- Default
Gateway string - Default gateway
- Ip
Address string - IP address
- Netmask string
- Netmask
- default
Gateway String - Default gateway
- ip
Address String - IP address
- netmask String
- Netmask
- default
Gateway string - Default gateway
- ip
Address string - IP address
- netmask string
- Netmask
- default_
gateway str - Default gateway
- ip_
address str - IP address
- netmask str
- Netmask
- default
Gateway String - Default gateway
- ip
Address String - IP address
- netmask String
- Netmask
GetManagementInterfaceListDataManagementInterfacePermittedIp
- Description string
- Description
- Name string
- IP address
- Description string
- Description
- Name string
- IP address
- description String
- Description
- name String
- IP address
- description string
- Description
- name string
- IP address
- description str
- Description
- name str
- IP address
- description String
- Description
- name String
- IP address
GetManagementInterfaceListDataManagementInterfaceService
- Disable
Http bool - HTTP
- Disable
Http boolOcsp - HTTP OCSP
- Disable
Https bool - HTTPS
- Disable
Icmp bool - Ping
- Disable
Snmp bool - SNMP
- Disable
Ssh bool - SSH
- Disable
Telnet bool - Telnet
- Disable
Userid boolService - User-ID
- Disable
Userid boolSyslog Listener Ssl - User-ID syslog listener over SSL
- Disable
Userid boolSyslog Listener Udp - User-ID syslog listener over UDP
- Disable
Http bool - HTTP
- Disable
Http boolOcsp - HTTP OCSP
- Disable
Https bool - HTTPS
- Disable
Icmp bool - Ping
- Disable
Snmp bool - SNMP
- Disable
Ssh bool - SSH
- Disable
Telnet bool - Telnet
- Disable
Userid boolService - User-ID
- Disable
Userid boolSyslog Listener Ssl - User-ID syslog listener over SSL
- Disable
Userid boolSyslog Listener Udp - User-ID syslog listener over UDP
- disable
Http Boolean - HTTP
- disable
Http BooleanOcsp - HTTP OCSP
- disable
Https Boolean - HTTPS
- disable
Icmp Boolean - Ping
- disable
Snmp Boolean - SNMP
- disable
Ssh Boolean - SSH
- disable
Telnet Boolean - Telnet
- disable
Userid BooleanService - User-ID
- disable
Userid BooleanSyslog Listener Ssl - User-ID syslog listener over SSL
- disable
Userid BooleanSyslog Listener Udp - User-ID syslog listener over UDP
- disable
Http boolean - HTTP
- disable
Http booleanOcsp - HTTP OCSP
- disable
Https boolean - HTTPS
- disable
Icmp boolean - Ping
- disable
Snmp boolean - SNMP
- disable
Ssh boolean - SSH
- disable
Telnet boolean - Telnet
- disable
Userid booleanService - User-ID
- disable
Userid booleanSyslog Listener Ssl - User-ID syslog listener over SSL
- disable
Userid booleanSyslog Listener Udp - User-ID syslog listener over UDP
- disable_
http bool - HTTP
- disable_
http_ boolocsp - HTTP OCSP
- disable_
https bool - HTTPS
- disable_
icmp bool - Ping
- disable_
snmp bool - SNMP
- disable_
ssh bool - SSH
- disable_
telnet bool - Telnet
- disable_
userid_ boolservice - User-ID
- disable_
userid_ boolsyslog_ listener_ ssl - User-ID syslog listener over SSL
- disable_
userid_ boolsyslog_ listener_ udp - User-ID syslog listener over UDP
- disable
Http Boolean - HTTP
- disable
Http BooleanOcsp - HTTP OCSP
- disable
Https Boolean - HTTPS
- disable
Icmp Boolean - Ping
- disable
Snmp Boolean - SNMP
- disable
Ssh Boolean - SSH
- disable
Telnet Boolean - Telnet
- disable
Userid BooleanService - User-ID
- disable
Userid BooleanSyslog Listener Ssl - User-ID syslog listener over SSL
- disable
Userid BooleanSyslog Listener Udp - User-ID syslog listener over UDP
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scmTerraform Provider.
