1. Packages
  2. Azure Native
  3. API Docs
  4. windowsiot
  5. getService
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

azure-native.windowsiot.getService

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

Get the non-security related metadata of a Windows IoT Device Service.

Uses Azure REST API version 2019-06-01.

Using getService

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 getService(args: GetServiceArgs, opts?: InvokeOptions): Promise<GetServiceResult>
function getServiceOutput(args: GetServiceOutputArgs, opts?: InvokeOptions): Output<GetServiceResult>
Copy
def get_service(device_name: Optional[str] = None,
                resource_group_name: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetServiceResult
def get_service_output(device_name: Optional[pulumi.Input[str]] = None,
                resource_group_name: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetServiceResult]
Copy
func LookupService(ctx *Context, args *LookupServiceArgs, opts ...InvokeOption) (*LookupServiceResult, error)
func LookupServiceOutput(ctx *Context, args *LookupServiceOutputArgs, opts ...InvokeOption) LookupServiceResultOutput
Copy

> Note: This function is named LookupService in the Go SDK.

public static class GetService 
{
    public static Task<GetServiceResult> InvokeAsync(GetServiceArgs args, InvokeOptions? opts = null)
    public static Output<GetServiceResult> Invoke(GetServiceInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetServiceResult> getService(GetServiceArgs args, InvokeOptions options)
public static Output<GetServiceResult> getService(GetServiceArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:windowsiot:getService
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

DeviceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Windows IoT Device Service.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group that contains the Windows IoT Device Service.
DeviceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Windows IoT Device Service.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group that contains the Windows IoT Device Service.
deviceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Windows IoT Device Service.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group that contains the Windows IoT Device Service.
deviceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Windows IoT Device Service.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group that contains the Windows IoT Device Service.
device_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the Windows IoT Device Service.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group that contains the Windows IoT Device Service.
deviceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Windows IoT Device Service.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group that contains the Windows IoT Device Service.

getService Result

The following output properties are available:

AzureApiVersion string
The Azure API version of the resource.
Id string
Fully qualified resource Id for the resource
Name string
The name of the resource
StartDate string
Windows IoT Device Service start date,
Type string
The type of the resource.
AdminDomainName string
Windows IoT Device Service OEM AAD domain
BillingDomainName string
Windows IoT Device Service ODM AAD domain
Etag string
The Etag field is not required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention.
Location string
The Azure Region where the resource lives
Notes string
Windows IoT Device Service notes.
Quantity double
Windows IoT Device Service device allocation,
Tags Dictionary<string, string>
Resource tags.
AzureApiVersion string
The Azure API version of the resource.
Id string
Fully qualified resource Id for the resource
Name string
The name of the resource
StartDate string
Windows IoT Device Service start date,
Type string
The type of the resource.
AdminDomainName string
Windows IoT Device Service OEM AAD domain
BillingDomainName string
Windows IoT Device Service ODM AAD domain
Etag string
The Etag field is not required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention.
Location string
The Azure Region where the resource lives
Notes string
Windows IoT Device Service notes.
Quantity float64
Windows IoT Device Service device allocation,
Tags map[string]string
Resource tags.
azureApiVersion String
The Azure API version of the resource.
id String
Fully qualified resource Id for the resource
name String
The name of the resource
startDate String
Windows IoT Device Service start date,
type String
The type of the resource.
adminDomainName String
Windows IoT Device Service OEM AAD domain
billingDomainName String
Windows IoT Device Service ODM AAD domain
etag String
The Etag field is not required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention.
location String
The Azure Region where the resource lives
notes String
Windows IoT Device Service notes.
quantity Double
Windows IoT Device Service device allocation,
tags Map<String,String>
Resource tags.
azureApiVersion string
The Azure API version of the resource.
id string
Fully qualified resource Id for the resource
name string
The name of the resource
startDate string
Windows IoT Device Service start date,
type string
The type of the resource.
adminDomainName string
Windows IoT Device Service OEM AAD domain
billingDomainName string
Windows IoT Device Service ODM AAD domain
etag string
The Etag field is not required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention.
location string
The Azure Region where the resource lives
notes string
Windows IoT Device Service notes.
quantity number
Windows IoT Device Service device allocation,
tags {[key: string]: string}
Resource tags.
azure_api_version str
The Azure API version of the resource.
id str
Fully qualified resource Id for the resource
name str
The name of the resource
start_date str
Windows IoT Device Service start date,
type str
The type of the resource.
admin_domain_name str
Windows IoT Device Service OEM AAD domain
billing_domain_name str
Windows IoT Device Service ODM AAD domain
etag str
The Etag field is not required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention.
location str
The Azure Region where the resource lives
notes str
Windows IoT Device Service notes.
quantity float
Windows IoT Device Service device allocation,
tags Mapping[str, str]
Resource tags.
azureApiVersion String
The Azure API version of the resource.
id String
Fully qualified resource Id for the resource
name String
The name of the resource
startDate String
Windows IoT Device Service start date,
type String
The type of the resource.
adminDomainName String
Windows IoT Device Service OEM AAD domain
billingDomainName String
Windows IoT Device Service ODM AAD domain
etag String
The Etag field is not required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention.
location String
The Azure Region where the resource lives
notes String
Windows IoT Device Service notes.
quantity Number
Windows IoT Device Service device allocation,
tags Map<String>
Resource tags.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi