ManagementInterface data source
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
const settingsData = scm.getManagementInterface({
id: "c94505fb-9554-4e19-b56d-e6104c908fa7",
});
export const fetchedSettings = settingsData;
import pulumi
import pulumi_scm as scm
settings_data = scm.get_management_interface(id="c94505fb-9554-4e19-b56d-e6104c908fa7")
pulumi.export("fetchedSettings", settings_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 {
settingsData, err := scm.LookupManagementInterface(ctx, &scm.LookupManagementInterfaceArgs{
Id: "c94505fb-9554-4e19-b56d-e6104c908fa7",
}, nil)
if err != nil {
return err
}
ctx.Export("fetchedSettings", settingsData)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scm = Pulumi.Scm;
return await Deployment.RunAsync(() =>
{
var settingsData = Scm.GetManagementInterface.Invoke(new()
{
Id = "c94505fb-9554-4e19-b56d-e6104c908fa7",
});
return new Dictionary<string, object?>
{
["fetchedSettings"] = settingsData,
};
});
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.GetManagementInterfaceArgs;
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 settingsData = ScmFunctions.getManagementInterface(GetManagementInterfaceArgs.builder()
.id("c94505fb-9554-4e19-b56d-e6104c908fa7")
.build());
ctx.export("fetchedSettings", settingsData);
}
}
variables:
settingsData:
fn::invoke:
function: scm:getManagementInterface
arguments:
id: c94505fb-9554-4e19-b56d-e6104c908fa7
outputs:
fetchedSettings: ${settingsData}
Using getManagementInterface
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 getManagementInterface(args: GetManagementInterfaceArgs, opts?: InvokeOptions): Promise<GetManagementInterfaceResult>
function getManagementInterfaceOutput(args: GetManagementInterfaceOutputArgs, opts?: InvokeOptions): Output<GetManagementInterfaceResult>def get_management_interface(device: Optional[str] = None,
folder: Optional[str] = None,
id: Optional[str] = None,
snippet: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetManagementInterfaceResult
def get_management_interface_output(device: Optional[pulumi.Input[str]] = None,
folder: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
snippet: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetManagementInterfaceResult]func LookupManagementInterface(ctx *Context, args *LookupManagementInterfaceArgs, opts ...InvokeOption) (*LookupManagementInterfaceResult, error)
func LookupManagementInterfaceOutput(ctx *Context, args *LookupManagementInterfaceOutputArgs, opts ...InvokeOption) LookupManagementInterfaceResultOutput> Note: This function is named LookupManagementInterface in the Go SDK.
public static class GetManagementInterface
{
public static Task<GetManagementInterfaceResult> InvokeAsync(GetManagementInterfaceArgs args, InvokeOptions? opts = null)
public static Output<GetManagementInterfaceResult> Invoke(GetManagementInterfaceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetManagementInterfaceResult> getManagementInterface(GetManagementInterfaceArgs args, InvokeOptions options)
public static Output<GetManagementInterfaceResult> getManagementInterface(GetManagementInterfaceArgs args, InvokeOptions options)
fn::invoke:
function: scm:index/getManagementInterface:getManagementInterface
arguments:
# arguments dictionaryThe following arguments are supported:
getManagementInterface Result
The following output properties are available:
- Device string
- The device in which the resource is defined
- Folder string
- Id string
- UUID of the resource
- Management
Interface GetManagement Interface Management Interface - Snippet string
- Tfid string
- Device string
- The device in which the resource is defined
- Folder string
- Id string
- UUID of the resource
- Management
Interface GetManagement Interface Management Interface - Snippet string
- Tfid string
- device String
- The device in which the resource is defined
- folder String
- id String
- UUID of the resource
- management
Interface GetManagement Interface Management Interface - snippet String
- tfid String
- device string
- The device in which the resource is defined
- folder string
- id string
- UUID of the resource
- management
Interface GetManagement Interface Management Interface - snippet string
- tfid string
- device str
- The device in which the resource is defined
- folder str
- id str
- UUID of the resource
- management_
interface GetManagement Interface Management Interface - snippet str
- tfid str
- device String
- The device in which the resource is defined
- folder String
- id String
- UUID of the resource
- management
Interface Property Map - snippet String
- tfid String
Supporting Types
GetManagementInterfaceManagementInterface
- Mgmt
Type GetManagement Interface Management Interface Mgmt Type - IP type
- Mtu int
- MTU
- Permitted
Ips List<GetManagement Interface Management Interface Permitted Ip> - Permitting IP addresses
- Service
Get
Management Interface Management Interface Service - Network services
- Speed
Duplex string - Speed and duplex
- Mgmt
Type GetManagement Interface Management Interface Mgmt Type - IP type
- Mtu int
- MTU
- Permitted
Ips []GetManagement Interface Management Interface Permitted Ip - Permitting IP addresses
- Service
Get
Management Interface Management Interface Service - Network services
- Speed
Duplex string - Speed and duplex
- mgmt
Type GetManagement Interface Management Interface Mgmt Type - IP type
- mtu Integer
- MTU
- permitted
Ips List<GetManagement Interface Management Interface Permitted Ip> - Permitting IP addresses
- service
Get
Management Interface Management Interface Service - Network services
- speed
Duplex String - Speed and duplex
- mgmt
Type GetManagement Interface Management Interface Mgmt Type - IP type
- mtu number
- MTU
- permitted
Ips GetManagement Interface Management Interface Permitted Ip[] - Permitting IP addresses
- service
Get
Management Interface Management Interface Service - Network services
- speed
Duplex string - Speed and duplex
- mgmt_
type GetManagement Interface Management Interface Mgmt Type - IP type
- mtu int
- MTU
- permitted_
ips Sequence[GetManagement Interface Management Interface Permitted Ip] - Permitting IP addresses
- service
Get
Management Interface 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
GetManagementInterfaceManagementInterfaceMgmtType
- Dhcp
Client GetManagement Interface Management Interface Mgmt Type Dhcp Client - Dhcp client
- Static
Get
Management Interface Management Interface Mgmt Type Static Static
ℹ️ Note: You must specify exactly one of
dhcp_clientandstatic.
- Dhcp
Client GetManagement Interface Management Interface Mgmt Type Dhcp Client - Dhcp client
- Static
Get
Management Interface Management Interface Mgmt Type Static Static
ℹ️ Note: You must specify exactly one of
dhcp_clientandstatic.
- dhcp
Client GetManagement Interface Management Interface Mgmt Type Dhcp Client - Dhcp client
- static_
Get
Management Interface Management Interface Mgmt Type Static Static
ℹ️ Note: You must specify exactly one of
dhcp_clientandstatic.
- dhcp
Client GetManagement Interface Management Interface Mgmt Type Dhcp Client - Dhcp client
- static
Get
Management Interface Management Interface Mgmt Type Static Static
ℹ️ Note: You must specify exactly one of
dhcp_clientandstatic.
- dhcp_
client GetManagement Interface Management Interface Mgmt Type Dhcp Client - Dhcp client
- static
Get
Management Interface 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.
GetManagementInterfaceManagementInterfaceMgmtTypeDhcpClient
- 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
GetManagementInterfaceManagementInterfaceMgmtTypeStatic
- 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
GetManagementInterfaceManagementInterfacePermittedIp
- 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
GetManagementInterfaceManagementInterfaceService
- 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.
