These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
azure-native.azuresphere.getDevice
Explore with Pulumi AI
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
Get a Device. Use ‘.unassigned’ or ‘.default’ for the device group and product names when a device does not belong to a device group and product. API Version: 2022-09-01-preview.
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(catalog_name: Optional[str] = None,
device_group_name: Optional[str] = None,
device_name: Optional[str] = None,
product_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDeviceResult
def get_device_output(catalog_name: Optional[pulumi.Input[str]] = None,
device_group_name: Optional[pulumi.Input[str]] = None,
device_name: Optional[pulumi.Input[str]] = None,
product_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDeviceResult]
func LookupDevice(ctx *Context, args *LookupDeviceArgs, opts ...InvokeOption) (*LookupDeviceResult, error)
func LookupDeviceOutput(ctx *Context, args *LookupDeviceOutputArgs, opts ...InvokeOption) LookupDeviceResultOutput
> Note: This function is named LookupDevice
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: azure-native:azuresphere:getDevice
arguments:
# arguments dictionary
The following arguments are supported:
- Catalog
Name string - Name of catalog
- Device
Group stringName - Name of device group.
- Device
Name string - Device name
- Product
Name string - Name of product.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Catalog
Name string - Name of catalog
- Device
Group stringName - Name of device group.
- Device
Name string - Device name
- Product
Name string - Name of product.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- catalog
Name String - Name of catalog
- device
Group StringName - Name of device group.
- device
Name String - Device name
- product
Name String - Name of product.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- catalog
Name string - Name of catalog
- device
Group stringName - Name of device group.
- device
Name string - Device name
- product
Name string - Name of product.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- catalog_
name str - Name of catalog
- device_
group_ strname - Name of device group.
- device_
name str - Device name
- product_
name str - Name of product.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- catalog
Name String - Name of catalog
- device
Group StringName - Name of device group.
- device
Name String - Device name
- product
Name String - Name of product.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
getDevice Result
The following output properties are available:
- Chip
Sku string - SKU of the chip
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Last
Available stringOs Version - OS version available for installation when update requested
- Last
Installed stringOs Version - OS version running on device when update requested
- Last
Os stringUpdate Utc - Time when update requested and new OS version available
- Last
Update stringRequest Utc - Time when update was last requested
- Name string
- The name of the resource
- Provisioning
State string - The status of the last operation.
- System
Data Pulumi.Azure Native. Azure Sphere. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Device
Id string - Device ID
- Chip
Sku string - SKU of the chip
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Last
Available stringOs Version - OS version available for installation when update requested
- Last
Installed stringOs Version - OS version running on device when update requested
- Last
Os stringUpdate Utc - Time when update requested and new OS version available
- Last
Update stringRequest Utc - Time when update was last requested
- Name string
- The name of the resource
- Provisioning
State string - The status of the last operation.
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Device
Id string - Device ID
- chip
Sku String - SKU of the chip
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- last
Available StringOs Version - OS version available for installation when update requested
- last
Installed StringOs Version - OS version running on device when update requested
- last
Os StringUpdate Utc - Time when update requested and new OS version available
- last
Update StringRequest Utc - Time when update was last requested
- name String
- The name of the resource
- provisioning
State String - The status of the last operation.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- device
Id String - Device ID
- chip
Sku string - SKU of the chip
- id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- last
Available stringOs Version - OS version available for installation when update requested
- last
Installed stringOs Version - OS version running on device when update requested
- last
Os stringUpdate Utc - Time when update requested and new OS version available
- last
Update stringRequest Utc - Time when update was last requested
- name string
- The name of the resource
- provisioning
State string - The status of the last operation.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- device
Id string - Device ID
- chip_
sku str - SKU of the chip
- id str
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- last_
available_ stros_ version - OS version available for installation when update requested
- last_
installed_ stros_ version - OS version running on device when update requested
- last_
os_ strupdate_ utc - Time when update requested and new OS version available
- last_
update_ strrequest_ utc - Time when update was last requested
- name str
- The name of the resource
- provisioning_
state str - The status of the last operation.
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- device_
id str - Device ID
- chip
Sku String - SKU of the chip
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- last
Available StringOs Version - OS version available for installation when update requested
- last
Installed StringOs Version - OS version running on device when update requested
- last
Os StringUpdate Utc - Time when update requested and new OS version available
- last
Update StringRequest Utc - Time when update was last requested
- name String
- The name of the resource
- provisioning
State String - The status of the last operation.
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- device
Id String - Device ID
Supporting Types
SystemDataResponse
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi