Strata Cloud Manager v0.1.1 published on Friday, May 31, 2024 by Pulumi
scm.getDevice
Explore with Pulumi AI
Retrieves a config item.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
const example = scm.getDevice({
serial: "12345",
});
import pulumi
import pulumi_scm as scm
example = scm.get_device(serial="12345")
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 {
_, err := scm.GetDevice(ctx, &scm.GetDeviceArgs{
Serial: "12345",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scm = Pulumi.Scm;
return await Deployment.RunAsync(() =>
{
var example = Scm.GetDevice.Invoke(new()
{
Serial = "12345",
});
});
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.GetDeviceArgs;
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 example = ScmFunctions.getDevice(GetDeviceArgs.builder()
.serial("12345")
.build());
}
}
variables:
example:
fn::invoke:
Function: scm:getDevice
Arguments:
serial: '12345'
Using getDevice
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 getDevice(args: GetDeviceArgs, opts?: InvokeOptions): Promise<GetDeviceResult>
function getDeviceOutput(args: GetDeviceOutputArgs, opts?: InvokeOptions): Output<GetDeviceResult>
def get_device(serial: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDeviceResult
def get_device_output(serial: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDeviceResult]
func GetDevice(ctx *Context, args *GetDeviceArgs, opts ...InvokeOption) (*GetDeviceResult, error)
func GetDeviceOutput(ctx *Context, args *GetDeviceOutputArgs, opts ...InvokeOption) GetDeviceResultOutput
> Note: This function is named GetDevice
in the Go SDK.
public static class GetDevice
{
public static Task<GetDeviceResult> InvokeAsync(GetDeviceArgs args, InvokeOptions? opts = null)
public static Output<GetDeviceResult> Invoke(GetDeviceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDeviceResult> getDevice(GetDeviceArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: scm:index/getDevice:getDevice
arguments:
# arguments dictionary
The following arguments are supported:
- Serial string
- The Serial param.
- Serial string
- The Serial param.
- serial String
- The Serial param.
- serial string
- The Serial param.
- serial str
- The Serial param.
- serial String
- The Serial param.
getDevice Result
The following output properties are available:
- Anti
Virus stringVersion - The AntiVirusVersion param.
- App
Release stringDate - The AppReleaseDate param.
- App
Version string - The AppVersion param.
- Av
Release stringDate - The AvReleaseDate param.
- Available
Licensesses List<GetDevice Available Licensess> - The AvailableLicensess param.
- Connected
Since string - The ConnectedSince param.
- Dev
Cert stringDetail - The DevCertDetail param.
- Dev
Cert stringExpiry Date - The DevCertExpiryDate param.
- Family string
- The Family param.
- Gp
Client stringVerion - The GpClientVerion param.
- Gp
Data stringVersion - The GpDataVersion param.
- Ha
Peer stringSerial - The HaPeerSerial param.
- Ha
Peer stringState - The HaPeerState param.
- Ha
State string - The HaState param.
- Hostname string
- The Hostname param.
- Id string
- The Id param.
- Installed
Licenses List<GetDevice Installed License> - The InstalledLicenses param.
- Iot
Release stringDate - The IotReleaseDate param.
- Iot
Version string - The IotVersion param.
- Ip
Address string - The IpAddress param.
- Ip
V6Address string - The IpV6Address param.
- Is
Connected bool - The IsConnected param.
- License
Match bool - The LicenseMatch param.
- Log
Db stringVersion - The LogDbVersion param.
- Mac
Address string - The MacAddress param.
- Model string
- The Model param.
- Serial string
- The Serial param.
- Software
Version string - The SoftwareVersion param.
- Tfid string
- Threat
Release stringDate - The ThreatReleaseDate param.
- Threat
Version string - The ThreatVersion param.
- Uptime string
- The Uptime param.
- Url
Db stringType - The UrlDbType param.
- Url
Db stringVer - The UrlDbVer param.
- Vm
State string - The VmState param.
- Wf
Release stringDate - The WfReleaseDate param.
- Wf
Ver string - The WfVer param.
- Anti
Virus stringVersion - The AntiVirusVersion param.
- App
Release stringDate - The AppReleaseDate param.
- App
Version string - The AppVersion param.
- Av
Release stringDate - The AvReleaseDate param.
- Available
Licensesses []GetDevice Available Licensess - The AvailableLicensess param.
- Connected
Since string - The ConnectedSince param.
- Dev
Cert stringDetail - The DevCertDetail param.
- Dev
Cert stringExpiry Date - The DevCertExpiryDate param.
- Family string
- The Family param.
- Gp
Client stringVerion - The GpClientVerion param.
- Gp
Data stringVersion - The GpDataVersion param.
- Ha
Peer stringSerial - The HaPeerSerial param.
- Ha
Peer stringState - The HaPeerState param.
- Ha
State string - The HaState param.
- Hostname string
- The Hostname param.
- Id string
- The Id param.
- Installed
Licenses []GetDevice Installed License - The InstalledLicenses param.
- Iot
Release stringDate - The IotReleaseDate param.
- Iot
Version string - The IotVersion param.
- Ip
Address string - The IpAddress param.
- Ip
V6Address string - The IpV6Address param.
- Is
Connected bool - The IsConnected param.
- License
Match bool - The LicenseMatch param.
- Log
Db stringVersion - The LogDbVersion param.
- Mac
Address string - The MacAddress param.
- Model string
- The Model param.
- Serial string
- The Serial param.
- Software
Version string - The SoftwareVersion param.
- Tfid string
- Threat
Release stringDate - The ThreatReleaseDate param.
- Threat
Version string - The ThreatVersion param.
- Uptime string
- The Uptime param.
- Url
Db stringType - The UrlDbType param.
- Url
Db stringVer - The UrlDbVer param.
- Vm
State string - The VmState param.
- Wf
Release stringDate - The WfReleaseDate param.
- Wf
Ver string - The WfVer param.
- anti
Virus StringVersion - The AntiVirusVersion param.
- app
Release StringDate - The AppReleaseDate param.
- app
Version String - The AppVersion param.
- av
Release StringDate - The AvReleaseDate param.
- available
Licensesses List<GetDevice Available Licensess> - The AvailableLicensess param.
- connected
Since String - The ConnectedSince param.
- dev
Cert StringDetail - The DevCertDetail param.
- dev
Cert StringExpiry Date - The DevCertExpiryDate param.
- family String
- The Family param.
- gp
Client StringVerion - The GpClientVerion param.
- gp
Data StringVersion - The GpDataVersion param.
- ha
Peer StringSerial - The HaPeerSerial param.
- ha
Peer StringState - The HaPeerState param.
- ha
State String - The HaState param.
- hostname String
- The Hostname param.
- id String
- The Id param.
- installed
Licenses List<GetDevice Installed License> - The InstalledLicenses param.
- iot
Release StringDate - The IotReleaseDate param.
- iot
Version String - The IotVersion param.
- ip
Address String - The IpAddress param.
- ip
V6Address String - The IpV6Address param.
- is
Connected Boolean - The IsConnected param.
- license
Match Boolean - The LicenseMatch param.
- log
Db StringVersion - The LogDbVersion param.
- mac
Address String - The MacAddress param.
- model String
- The Model param.
- serial String
- The Serial param.
- software
Version String - The SoftwareVersion param.
- tfid String
- threat
Release StringDate - The ThreatReleaseDate param.
- threat
Version String - The ThreatVersion param.
- uptime String
- The Uptime param.
- url
Db StringType - The UrlDbType param.
- url
Db StringVer - The UrlDbVer param.
- vm
State String - The VmState param.
- wf
Release StringDate - The WfReleaseDate param.
- wf
Ver String - The WfVer param.
- anti
Virus stringVersion - The AntiVirusVersion param.
- app
Release stringDate - The AppReleaseDate param.
- app
Version string - The AppVersion param.
- av
Release stringDate - The AvReleaseDate param.
- available
Licensesses GetDevice Available Licensess[] - The AvailableLicensess param.
- connected
Since string - The ConnectedSince param.
- dev
Cert stringDetail - The DevCertDetail param.
- dev
Cert stringExpiry Date - The DevCertExpiryDate param.
- family string
- The Family param.
- gp
Client stringVerion - The GpClientVerion param.
- gp
Data stringVersion - The GpDataVersion param.
- ha
Peer stringSerial - The HaPeerSerial param.
- ha
Peer stringState - The HaPeerState param.
- ha
State string - The HaState param.
- hostname string
- The Hostname param.
- id string
- The Id param.
- installed
Licenses GetDevice Installed License[] - The InstalledLicenses param.
- iot
Release stringDate - The IotReleaseDate param.
- iot
Version string - The IotVersion param.
- ip
Address string - The IpAddress param.
- ip
V6Address string - The IpV6Address param.
- is
Connected boolean - The IsConnected param.
- license
Match boolean - The LicenseMatch param.
- log
Db stringVersion - The LogDbVersion param.
- mac
Address string - The MacAddress param.
- model string
- The Model param.
- serial string
- The Serial param.
- software
Version string - The SoftwareVersion param.
- tfid string
- threat
Release stringDate - The ThreatReleaseDate param.
- threat
Version string - The ThreatVersion param.
- uptime string
- The Uptime param.
- url
Db stringType - The UrlDbType param.
- url
Db stringVer - The UrlDbVer param.
- vm
State string - The VmState param.
- wf
Release stringDate - The WfReleaseDate param.
- wf
Ver string - The WfVer param.
- anti_
virus_ strversion - The AntiVirusVersion param.
- app_
release_ strdate - The AppReleaseDate param.
- app_
version str - The AppVersion param.
- av_
release_ strdate - The AvReleaseDate param.
- available_
licensesses Sequence[GetDevice Available Licensess] - The AvailableLicensess param.
- connected_
since str - The ConnectedSince param.
- dev_
cert_ strdetail - The DevCertDetail param.
- dev_
cert_ strexpiry_ date - The DevCertExpiryDate param.
- family str
- The Family param.
- gp_
client_ strverion - The GpClientVerion param.
- gp_
data_ strversion - The GpDataVersion param.
- ha_
peer_ strserial - The HaPeerSerial param.
- ha_
peer_ strstate - The HaPeerState param.
- ha_
state str - The HaState param.
- hostname str
- The Hostname param.
- id str
- The Id param.
- installed_
licenses Sequence[GetDevice Installed License] - The InstalledLicenses param.
- iot_
release_ strdate - The IotReleaseDate param.
- iot_
version str - The IotVersion param.
- ip_
address str - The IpAddress param.
- ip_
v6_ straddress - The IpV6Address param.
- is_
connected bool - The IsConnected param.
- license_
match bool - The LicenseMatch param.
- log_
db_ strversion - The LogDbVersion param.
- mac_
address str - The MacAddress param.
- model str
- The Model param.
- serial str
- The Serial param.
- software_
version str - The SoftwareVersion param.
- tfid str
- threat_
release_ strdate - The ThreatReleaseDate param.
- threat_
version str - The ThreatVersion param.
- uptime str
- The Uptime param.
- url_
db_ strtype - The UrlDbType param.
- url_
db_ strver - The UrlDbVer param.
- vm_
state str - The VmState param.
- wf_
release_ strdate - The WfReleaseDate param.
- wf_
ver str - The WfVer param.
- anti
Virus StringVersion - The AntiVirusVersion param.
- app
Release StringDate - The AppReleaseDate param.
- app
Version String - The AppVersion param.
- av
Release StringDate - The AvReleaseDate param.
- available
Licensesses List<Property Map> - The AvailableLicensess param.
- connected
Since String - The ConnectedSince param.
- dev
Cert StringDetail - The DevCertDetail param.
- dev
Cert StringExpiry Date - The DevCertExpiryDate param.
- family String
- The Family param.
- gp
Client StringVerion - The GpClientVerion param.
- gp
Data StringVersion - The GpDataVersion param.
- ha
Peer StringSerial - The HaPeerSerial param.
- ha
Peer StringState - The HaPeerState param.
- ha
State String - The HaState param.
- hostname String
- The Hostname param.
- id String
- The Id param.
- installed
Licenses List<Property Map> - The InstalledLicenses param.
- iot
Release StringDate - The IotReleaseDate param.
- iot
Version String - The IotVersion param.
- ip
Address String - The IpAddress param.
- ip
V6Address String - The IpV6Address param.
- is
Connected Boolean - The IsConnected param.
- license
Match Boolean - The LicenseMatch param.
- log
Db StringVersion - The LogDbVersion param.
- mac
Address String - The MacAddress param.
- model String
- The Model param.
- serial String
- The Serial param.
- software
Version String - The SoftwareVersion param.
- tfid String
- threat
Release StringDate - The ThreatReleaseDate param.
- threat
Version String - The ThreatVersion param.
- uptime String
- The Uptime param.
- url
Db StringType - The UrlDbType param.
- url
Db StringVer - The UrlDbVer param.
- vm
State String - The VmState param.
- wf
Release StringDate - The WfReleaseDate param.
- wf
Ver String - The WfVer param.
Supporting Types
GetDeviceAvailableLicensess
GetDeviceInstalledLicense
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scm
Terraform Provider.