1. Packages
  2. Strata Cloud Manager
  3. API Docs
  4. getDevice
Strata Cloud Manager v0.1.1 published on Friday, May 31, 2024 by Pulumi

scm.getDevice

Explore with Pulumi AI

scm logo
Strata Cloud Manager v0.1.1 published on Friday, May 31, 2024 by Pulumi

    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:

    AntiVirusVersion string
    The AntiVirusVersion param.
    AppReleaseDate string
    The AppReleaseDate param.
    AppVersion string
    The AppVersion param.
    AvReleaseDate string
    The AvReleaseDate param.
    AvailableLicensesses List<GetDeviceAvailableLicensess>
    The AvailableLicensess param.
    ConnectedSince string
    The ConnectedSince param.
    DevCertDetail string
    The DevCertDetail param.
    DevCertExpiryDate string
    The DevCertExpiryDate param.
    Family string
    The Family param.
    GpClientVerion string
    The GpClientVerion param.
    GpDataVersion string
    The GpDataVersion param.
    HaPeerSerial string
    The HaPeerSerial param.
    HaPeerState string
    The HaPeerState param.
    HaState string
    The HaState param.
    Hostname string
    The Hostname param.
    Id string
    The Id param.
    InstalledLicenses List<GetDeviceInstalledLicense>
    The InstalledLicenses param.
    IotReleaseDate string
    The IotReleaseDate param.
    IotVersion string
    The IotVersion param.
    IpAddress string
    The IpAddress param.
    IpV6Address string
    The IpV6Address param.
    IsConnected bool
    The IsConnected param.
    LicenseMatch bool
    The LicenseMatch param.
    LogDbVersion string
    The LogDbVersion param.
    MacAddress string
    The MacAddress param.
    Model string
    The Model param.
    Serial string
    The Serial param.
    SoftwareVersion string
    The SoftwareVersion param.
    Tfid string
    ThreatReleaseDate string
    The ThreatReleaseDate param.
    ThreatVersion string
    The ThreatVersion param.
    Uptime string
    The Uptime param.
    UrlDbType string
    The UrlDbType param.
    UrlDbVer string
    The UrlDbVer param.
    VmState string
    The VmState param.
    WfReleaseDate string
    The WfReleaseDate param.
    WfVer string
    The WfVer param.
    AntiVirusVersion string
    The AntiVirusVersion param.
    AppReleaseDate string
    The AppReleaseDate param.
    AppVersion string
    The AppVersion param.
    AvReleaseDate string
    The AvReleaseDate param.
    AvailableLicensesses []GetDeviceAvailableLicensess
    The AvailableLicensess param.
    ConnectedSince string
    The ConnectedSince param.
    DevCertDetail string
    The DevCertDetail param.
    DevCertExpiryDate string
    The DevCertExpiryDate param.
    Family string
    The Family param.
    GpClientVerion string
    The GpClientVerion param.
    GpDataVersion string
    The GpDataVersion param.
    HaPeerSerial string
    The HaPeerSerial param.
    HaPeerState string
    The HaPeerState param.
    HaState string
    The HaState param.
    Hostname string
    The Hostname param.
    Id string
    The Id param.
    InstalledLicenses []GetDeviceInstalledLicense
    The InstalledLicenses param.
    IotReleaseDate string
    The IotReleaseDate param.
    IotVersion string
    The IotVersion param.
    IpAddress string
    The IpAddress param.
    IpV6Address string
    The IpV6Address param.
    IsConnected bool
    The IsConnected param.
    LicenseMatch bool
    The LicenseMatch param.
    LogDbVersion string
    The LogDbVersion param.
    MacAddress string
    The MacAddress param.
    Model string
    The Model param.
    Serial string
    The Serial param.
    SoftwareVersion string
    The SoftwareVersion param.
    Tfid string
    ThreatReleaseDate string
    The ThreatReleaseDate param.
    ThreatVersion string
    The ThreatVersion param.
    Uptime string
    The Uptime param.
    UrlDbType string
    The UrlDbType param.
    UrlDbVer string
    The UrlDbVer param.
    VmState string
    The VmState param.
    WfReleaseDate string
    The WfReleaseDate param.
    WfVer string
    The WfVer param.
    antiVirusVersion String
    The AntiVirusVersion param.
    appReleaseDate String
    The AppReleaseDate param.
    appVersion String
    The AppVersion param.
    avReleaseDate String
    The AvReleaseDate param.
    availableLicensesses List<GetDeviceAvailableLicensess>
    The AvailableLicensess param.
    connectedSince String
    The ConnectedSince param.
    devCertDetail String
    The DevCertDetail param.
    devCertExpiryDate String
    The DevCertExpiryDate param.
    family String
    The Family param.
    gpClientVerion String
    The GpClientVerion param.
    gpDataVersion String
    The GpDataVersion param.
    haPeerSerial String
    The HaPeerSerial param.
    haPeerState String
    The HaPeerState param.
    haState String
    The HaState param.
    hostname String
    The Hostname param.
    id String
    The Id param.
    installedLicenses List<GetDeviceInstalledLicense>
    The InstalledLicenses param.
    iotReleaseDate String
    The IotReleaseDate param.
    iotVersion String
    The IotVersion param.
    ipAddress String
    The IpAddress param.
    ipV6Address String
    The IpV6Address param.
    isConnected Boolean
    The IsConnected param.
    licenseMatch Boolean
    The LicenseMatch param.
    logDbVersion String
    The LogDbVersion param.
    macAddress String
    The MacAddress param.
    model String
    The Model param.
    serial String
    The Serial param.
    softwareVersion String
    The SoftwareVersion param.
    tfid String
    threatReleaseDate String
    The ThreatReleaseDate param.
    threatVersion String
    The ThreatVersion param.
    uptime String
    The Uptime param.
    urlDbType String
    The UrlDbType param.
    urlDbVer String
    The UrlDbVer param.
    vmState String
    The VmState param.
    wfReleaseDate String
    The WfReleaseDate param.
    wfVer String
    The WfVer param.
    antiVirusVersion string
    The AntiVirusVersion param.
    appReleaseDate string
    The AppReleaseDate param.
    appVersion string
    The AppVersion param.
    avReleaseDate string
    The AvReleaseDate param.
    availableLicensesses GetDeviceAvailableLicensess[]
    The AvailableLicensess param.
    connectedSince string
    The ConnectedSince param.
    devCertDetail string
    The DevCertDetail param.
    devCertExpiryDate string
    The DevCertExpiryDate param.
    family string
    The Family param.
    gpClientVerion string
    The GpClientVerion param.
    gpDataVersion string
    The GpDataVersion param.
    haPeerSerial string
    The HaPeerSerial param.
    haPeerState string
    The HaPeerState param.
    haState string
    The HaState param.
    hostname string
    The Hostname param.
    id string
    The Id param.
    installedLicenses GetDeviceInstalledLicense[]
    The InstalledLicenses param.
    iotReleaseDate string
    The IotReleaseDate param.
    iotVersion string
    The IotVersion param.
    ipAddress string
    The IpAddress param.
    ipV6Address string
    The IpV6Address param.
    isConnected boolean
    The IsConnected param.
    licenseMatch boolean
    The LicenseMatch param.
    logDbVersion string
    The LogDbVersion param.
    macAddress string
    The MacAddress param.
    model string
    The Model param.
    serial string
    The Serial param.
    softwareVersion string
    The SoftwareVersion param.
    tfid string
    threatReleaseDate string
    The ThreatReleaseDate param.
    threatVersion string
    The ThreatVersion param.
    uptime string
    The Uptime param.
    urlDbType string
    The UrlDbType param.
    urlDbVer string
    The UrlDbVer param.
    vmState string
    The VmState param.
    wfReleaseDate string
    The WfReleaseDate param.
    wfVer string
    The WfVer param.
    anti_virus_version str
    The AntiVirusVersion param.
    app_release_date str
    The AppReleaseDate param.
    app_version str
    The AppVersion param.
    av_release_date str
    The AvReleaseDate param.
    available_licensesses Sequence[GetDeviceAvailableLicensess]
    The AvailableLicensess param.
    connected_since str
    The ConnectedSince param.
    dev_cert_detail str
    The DevCertDetail param.
    dev_cert_expiry_date str
    The DevCertExpiryDate param.
    family str
    The Family param.
    gp_client_verion str
    The GpClientVerion param.
    gp_data_version str
    The GpDataVersion param.
    ha_peer_serial str
    The HaPeerSerial param.
    ha_peer_state str
    The HaPeerState param.
    ha_state str
    The HaState param.
    hostname str
    The Hostname param.
    id str
    The Id param.
    installed_licenses Sequence[GetDeviceInstalledLicense]
    The InstalledLicenses param.
    iot_release_date str
    The IotReleaseDate param.
    iot_version str
    The IotVersion param.
    ip_address str
    The IpAddress param.
    ip_v6_address str
    The IpV6Address param.
    is_connected bool
    The IsConnected param.
    license_match bool
    The LicenseMatch param.
    log_db_version str
    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_date str
    The ThreatReleaseDate param.
    threat_version str
    The ThreatVersion param.
    uptime str
    The Uptime param.
    url_db_type str
    The UrlDbType param.
    url_db_ver str
    The UrlDbVer param.
    vm_state str
    The VmState param.
    wf_release_date str
    The WfReleaseDate param.
    wf_ver str
    The WfVer param.
    antiVirusVersion String
    The AntiVirusVersion param.
    appReleaseDate String
    The AppReleaseDate param.
    appVersion String
    The AppVersion param.
    avReleaseDate String
    The AvReleaseDate param.
    availableLicensesses List<Property Map>
    The AvailableLicensess param.
    connectedSince String
    The ConnectedSince param.
    devCertDetail String
    The DevCertDetail param.
    devCertExpiryDate String
    The DevCertExpiryDate param.
    family String
    The Family param.
    gpClientVerion String
    The GpClientVerion param.
    gpDataVersion String
    The GpDataVersion param.
    haPeerSerial String
    The HaPeerSerial param.
    haPeerState String
    The HaPeerState param.
    haState String
    The HaState param.
    hostname String
    The Hostname param.
    id String
    The Id param.
    installedLicenses List<Property Map>
    The InstalledLicenses param.
    iotReleaseDate String
    The IotReleaseDate param.
    iotVersion String
    The IotVersion param.
    ipAddress String
    The IpAddress param.
    ipV6Address String
    The IpV6Address param.
    isConnected Boolean
    The IsConnected param.
    licenseMatch Boolean
    The LicenseMatch param.
    logDbVersion String
    The LogDbVersion param.
    macAddress String
    The MacAddress param.
    model String
    The Model param.
    serial String
    The Serial param.
    softwareVersion String
    The SoftwareVersion param.
    tfid String
    threatReleaseDate String
    The ThreatReleaseDate param.
    threatVersion String
    The ThreatVersion param.
    uptime String
    The Uptime param.
    urlDbType String
    The UrlDbType param.
    urlDbVer String
    The UrlDbVer param.
    vmState String
    The VmState param.
    wfReleaseDate String
    The WfReleaseDate param.
    wfVer String
    The WfVer param.

    Supporting Types

    GetDeviceAvailableLicensess

    Authcode string
    The Authcode param.
    Expires string
    The Expires param.
    Feature string
    The Feature param.
    Issued string
    The Issued param.
    Authcode string
    The Authcode param.
    Expires string
    The Expires param.
    Feature string
    The Feature param.
    Issued string
    The Issued param.
    authcode String
    The Authcode param.
    expires String
    The Expires param.
    feature String
    The Feature param.
    issued String
    The Issued param.
    authcode string
    The Authcode param.
    expires string
    The Expires param.
    feature string
    The Feature param.
    issued string
    The Issued param.
    authcode str
    The Authcode param.
    expires str
    The Expires param.
    feature str
    The Feature param.
    issued str
    The Issued param.
    authcode String
    The Authcode param.
    expires String
    The Expires param.
    feature String
    The Feature param.
    issued String
    The Issued param.

    GetDeviceInstalledLicense

    Authcode string
    The Authcode param.
    Expired string
    The Expired param.
    Expires string
    The Expires param.
    Feature string
    The Feature param.
    Issued string
    The Issued param.
    Authcode string
    The Authcode param.
    Expired string
    The Expired param.
    Expires string
    The Expires param.
    Feature string
    The Feature param.
    Issued string
    The Issued param.
    authcode String
    The Authcode param.
    expired String
    The Expired param.
    expires String
    The Expires param.
    feature String
    The Feature param.
    issued String
    The Issued param.
    authcode string
    The Authcode param.
    expired string
    The Expired param.
    expires string
    The Expires param.
    feature string
    The Feature param.
    issued string
    The Issued param.
    authcode str
    The Authcode param.
    expired str
    The Expired param.
    expires str
    The Expires param.
    feature str
    The Feature param.
    issued str
    The Issued param.
    authcode String
    The Authcode param.
    expired String
    The Expired param.
    expires String
    The Expires param.
    feature String
    The Feature param.
    issued String
    The Issued param.

    Package Details

    Repository
    scm pulumi/pulumi-scm
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the scm Terraform Provider.
    scm logo
    Strata Cloud Manager v0.1.1 published on Friday, May 31, 2024 by Pulumi