Azure Native
getSensor
IoT sensor model API Version: 2021-02-01-preview.
Using getSensor
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 getSensor(args: GetSensorArgs, opts?: InvokeOptions): Promise<GetSensorResult>
function getSensorOutput(args: GetSensorOutputArgs, opts?: InvokeOptions): Output<GetSensorResult>
def get_sensor(scope: Optional[str] = None,
sensor_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSensorResult
def get_sensor_output(scope: Optional[pulumi.Input[str]] = None,
sensor_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSensorResult]
func LookupSensor(ctx *Context, args *LookupSensorArgs, opts ...InvokeOption) (*LookupSensorResult, error)
func LookupSensorOutput(ctx *Context, args *LookupSensorOutputArgs, opts ...InvokeOption) LookupSensorResultOutput
> Note: This function is named LookupSensor
in the Go SDK.
public static class GetSensor
{
public static Task<GetSensorResult> InvokeAsync(GetSensorArgs args, InvokeOptions? opts = null)
public static Output<GetSensorResult> Invoke(GetSensorInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSensorResult> getSensor(GetSensorArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
Function: azure-native:iotsecurity:getSensor
Arguments:
# Arguments dictionary
The following arguments are supported:
- Scope string
Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub)
- Sensor
Name string Name of the IoT sensor
- Scope string
Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub)
- Sensor
Name string Name of the IoT sensor
- scope String
Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub)
- sensor
Name String Name of the IoT sensor
- scope string
Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub)
- sensor
Name string Name of the IoT sensor
- scope str
Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub)
- sensor_
name str Name of the IoT sensor
- scope String
Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub)
- sensor
Name String Name of the IoT sensor
getSensor Result
The following output properties are available:
- Connectivity
Time string Last connectivity time of the IoT sensor
- Dynamic
Learning bool Dynamic mode status of the IoT sensor
- Id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Learning
Mode bool Learning mode status of the IoT sensor
- Name string
The name of the resource
- Sensor
Status string Status of the IoT sensor
- Sensor
Version string Version of the IoT sensor
- System
Data Pulumi.Azure Native. Io TSecurity. Outputs. System Data Response Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Ti
Status string TI Status of the IoT sensor
- Ti
Version string TI Version of the IoT sensor
- Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Sensor
Type string Type of sensor
- Ti
Automatic boolUpdates TI Automatic mode status of the IoT sensor
- Zone string
Zone of the IoT sensor
- Connectivity
Time string Last connectivity time of the IoT sensor
- Dynamic
Learning bool Dynamic mode status of the IoT sensor
- Id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Learning
Mode bool Learning mode status of the IoT sensor
- Name string
The name of the resource
- Sensor
Status string Status of the IoT sensor
- Sensor
Version string Version of the IoT sensor
- System
Data SystemData Response Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Ti
Status string TI Status of the IoT sensor
- Ti
Version string TI Version of the IoT sensor
- Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Sensor
Type string Type of sensor
- Ti
Automatic boolUpdates TI Automatic mode status of the IoT sensor
- Zone string
Zone of the IoT sensor
- connectivity
Time String Last connectivity time of the IoT sensor
- dynamic
Learning Boolean Dynamic mode status of the IoT sensor
- id String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- learning
Mode Boolean Learning mode status of the IoT sensor
- name String
The name of the resource
- sensor
Status String Status of the IoT sensor
- sensor
Version String Version of the IoT sensor
- system
Data SystemData Response Azure Resource Manager metadata containing createdBy and modifiedBy information.
- ti
Status String TI Status of the IoT sensor
- ti
Version String TI Version of the IoT sensor
- type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- sensor
Type String Type of sensor
- ti
Automatic BooleanUpdates TI Automatic mode status of the IoT sensor
- zone String
Zone of the IoT sensor
- connectivity
Time string Last connectivity time of the IoT sensor
- dynamic
Learning boolean Dynamic mode status of the IoT sensor
- id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- learning
Mode boolean Learning mode status of the IoT sensor
- name string
The name of the resource
- sensor
Status string Status of the IoT sensor
- sensor
Version string Version of the IoT sensor
- system
Data SystemData Response Azure Resource Manager metadata containing createdBy and modifiedBy information.
- ti
Status string TI Status of the IoT sensor
- ti
Version string TI Version of the IoT sensor
- type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- sensor
Type string Type of sensor
- ti
Automatic booleanUpdates TI Automatic mode status of the IoT sensor
- zone string
Zone of the IoT sensor
- connectivity_
time str Last connectivity time of the IoT sensor
- dynamic_
learning bool Dynamic mode status of the IoT sensor
- id str
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- learning_
mode bool Learning mode status of the IoT sensor
- name str
The name of the resource
- sensor_
status str Status of the IoT sensor
- sensor_
version str Version of the IoT sensor
- system_
data SystemData Response Azure Resource Manager metadata containing createdBy and modifiedBy information.
- ti_
status str TI Status of the IoT sensor
- ti_
version str TI Version of the IoT sensor
- type str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- sensor_
type str Type of sensor
- ti_
automatic_ boolupdates TI Automatic mode status of the IoT sensor
- zone str
Zone of the IoT sensor
- connectivity
Time String Last connectivity time of the IoT sensor
- dynamic
Learning Boolean Dynamic mode status of the IoT sensor
- id String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- learning
Mode Boolean Learning mode status of the IoT sensor
- name String
The name of the resource
- sensor
Status String Status of the IoT sensor
- sensor
Version String Version of the IoT sensor
- system
Data Property Map Azure Resource Manager metadata containing createdBy and modifiedBy information.
- ti
Status String TI Status of the IoT sensor
- ti
Version String TI Version of the IoT sensor
- type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- sensor
Type String Type of sensor
- ti
Automatic BooleanUpdates TI Automatic mode status of the IoT sensor
- zone String
Zone of the IoT sensor
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
- https://github.com/pulumi/pulumi-azure-native
- License
- Apache-2.0