1. Packages
  2. Azure Native
  3. API Docs
  4. windowsiot
  5. getService
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.33.0 published on Friday, Mar 22, 2024 by Pulumi

azure-native.windowsiot.getService

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.33.0 published on Friday, Mar 22, 2024 by Pulumi

    Get the non-security related metadata of a Windows IoT Device Service. Azure REST API version: 2019-06-01.

    Other available API versions: 2018-02-16-preview.

    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>
    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]
    func LookupService(ctx *Context, args *LookupServiceArgs, opts ...InvokeOption) (*LookupServiceResult, error)
    func LookupServiceOutput(ctx *Context, args *LookupServiceOutputArgs, opts ...InvokeOption) LookupServiceResultOutput

    > 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)
    }
    public static CompletableFuture<GetServiceResult> getService(GetServiceArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:windowsiot:getService
      arguments:
        # arguments dictionary

    The following arguments are supported:

    DeviceName string
    The name of the Windows IoT Device Service.
    ResourceGroupName string
    The name of the resource group that contains the Windows IoT Device Service.
    DeviceName string
    The name of the Windows IoT Device Service.
    ResourceGroupName string
    The name of the resource group that contains the Windows IoT Device Service.
    deviceName String
    The name of the Windows IoT Device Service.
    resourceGroupName String
    The name of the resource group that contains the Windows IoT Device Service.
    deviceName string
    The name of the Windows IoT Device Service.
    resourceGroupName string
    The name of the resource group that contains the Windows IoT Device Service.
    device_name str
    The name of the Windows IoT Device Service.
    resource_group_name str
    The name of the resource group that contains the Windows IoT Device Service.
    deviceName String
    The name of the Windows IoT Device Service.
    resourceGroupName String
    The name of the resource group that contains the Windows IoT Device Service.

    getService Result

    The following output properties are available:

    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.
    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.
    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.
    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.
    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.
    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
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.33.0 published on Friday, Mar 22, 2024 by Pulumi