1. Packages
  2. Azure Native
  3. API Docs
  4. iotoperations
  5. AkriService
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v3.16.0
published on Friday, Mar 20, 2026 by Pulumi
azure-native logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v3.16.0
published on Friday, Mar 20, 2026 by Pulumi

    AkriService resource.

    Uses Azure REST API version 2026-03-01.

    Example Usage

    AkriService_CreateOrUpdate_MaximumSet - generated by [MaximumSet] rule

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var akriService = new AzureNative.IoTOperations.AkriService("akriService", new()
        {
            AkriServiceName = "resource-name123",
            ExtendedLocation = new AzureNative.IoTOperations.Inputs.ExtendedLocationArgs
            {
                Name = "cseunvoinpjfvuyoewmzlr",
                Type = AzureNative.IoTOperations.ExtendedLocationType.CustomLocation,
            },
            InstanceName = "resource-name123",
            ResourceGroupName = "rgiotoperations",
        });
    
    });
    
    package main
    
    import (
    	iotoperations "github.com/pulumi/pulumi-azure-native-sdk/iotoperations/v3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := iotoperations.NewAkriService(ctx, "akriService", &iotoperations.AkriServiceArgs{
    			AkriServiceName: pulumi.String("resource-name123"),
    			ExtendedLocation: &iotoperations.ExtendedLocationArgs{
    				Name: pulumi.String("cseunvoinpjfvuyoewmzlr"),
    				Type: pulumi.String(iotoperations.ExtendedLocationTypeCustomLocation),
    			},
    			InstanceName:      pulumi.String("resource-name123"),
    			ResourceGroupName: pulumi.String("rgiotoperations"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.iotoperations.AkriService;
    import com.pulumi.azurenative.iotoperations.AkriServiceArgs;
    import com.pulumi.azurenative.iotoperations.inputs.ExtendedLocationArgs;
    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) {
            var akriService = new AkriService("akriService", AkriServiceArgs.builder()
                .akriServiceName("resource-name123")
                .extendedLocation(ExtendedLocationArgs.builder()
                    .name("cseunvoinpjfvuyoewmzlr")
                    .type("CustomLocation")
                    .build())
                .instanceName("resource-name123")
                .resourceGroupName("rgiotoperations")
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const akriService = new azure_native.iotoperations.AkriService("akriService", {
        akriServiceName: "resource-name123",
        extendedLocation: {
            name: "cseunvoinpjfvuyoewmzlr",
            type: azure_native.iotoperations.ExtendedLocationType.CustomLocation,
        },
        instanceName: "resource-name123",
        resourceGroupName: "rgiotoperations",
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    akri_service = azure_native.iotoperations.AkriService("akriService",
        akri_service_name="resource-name123",
        extended_location={
            "name": "cseunvoinpjfvuyoewmzlr",
            "type": azure_native.iotoperations.ExtendedLocationType.CUSTOM_LOCATION,
        },
        instance_name="resource-name123",
        resource_group_name="rgiotoperations")
    
    resources:
      akriService:
        type: azure-native:iotoperations:AkriService
        properties:
          akriServiceName: resource-name123
          extendedLocation:
            name: cseunvoinpjfvuyoewmzlr
            type: CustomLocation
          instanceName: resource-name123
          resourceGroupName: rgiotoperations
    

    Create AkriService Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AkriService(name: string, args: AkriServiceArgs, opts?: CustomResourceOptions);
    @overload
    def AkriService(resource_name: str,
                    args: AkriServiceArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def AkriService(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    instance_name: Optional[str] = None,
                    resource_group_name: Optional[str] = None,
                    akri_service_name: Optional[str] = None,
                    extended_location: Optional[ExtendedLocationArgs] = None)
    func NewAkriService(ctx *Context, name string, args AkriServiceArgs, opts ...ResourceOption) (*AkriService, error)
    public AkriService(string name, AkriServiceArgs args, CustomResourceOptions? opts = null)
    public AkriService(String name, AkriServiceArgs args)
    public AkriService(String name, AkriServiceArgs args, CustomResourceOptions options)
    
    type: azure-native:iotoperations:AkriService
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args AkriServiceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AkriServiceArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AkriServiceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AkriServiceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AkriServiceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var akriServiceResource = new AzureNative.IoTOperations.AkriService("akriServiceResource", new()
    {
        InstanceName = "string",
        ResourceGroupName = "string",
        AkriServiceName = "string",
        ExtendedLocation = new AzureNative.IoTOperations.Inputs.ExtendedLocationArgs
        {
            Name = "string",
            Type = "string",
        },
    });
    
    example, err := iotoperations.NewAkriService(ctx, "akriServiceResource", &iotoperations.AkriServiceArgs{
    	InstanceName:      pulumi.String("string"),
    	ResourceGroupName: pulumi.String("string"),
    	AkriServiceName:   pulumi.String("string"),
    	ExtendedLocation: &iotoperations.ExtendedLocationArgs{
    		Name: pulumi.String("string"),
    		Type: pulumi.String("string"),
    	},
    })
    
    var akriServiceResource = new AkriService("akriServiceResource", AkriServiceArgs.builder()
        .instanceName("string")
        .resourceGroupName("string")
        .akriServiceName("string")
        .extendedLocation(ExtendedLocationArgs.builder()
            .name("string")
            .type("string")
            .build())
        .build());
    
    akri_service_resource = azure_native.iotoperations.AkriService("akriServiceResource",
        instance_name="string",
        resource_group_name="string",
        akri_service_name="string",
        extended_location={
            "name": "string",
            "type": "string",
        })
    
    const akriServiceResource = new azure_native.iotoperations.AkriService("akriServiceResource", {
        instanceName: "string",
        resourceGroupName: "string",
        akriServiceName: "string",
        extendedLocation: {
            name: "string",
            type: "string",
        },
    });
    
    type: azure-native:iotoperations:AkriService
    properties:
        akriServiceName: string
        extendedLocation:
            name: string
            type: string
        instanceName: string
        resourceGroupName: string
    

    AkriService Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The AkriService resource accepts the following input properties:

    InstanceName string
    Name of instance.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    AkriServiceName string
    Name of AkriService resource.
    ExtendedLocation Pulumi.AzureNative.IoTOperations.Inputs.ExtendedLocation
    Edge location of the resource.
    InstanceName string
    Name of instance.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    AkriServiceName string
    Name of AkriService resource.
    ExtendedLocation ExtendedLocationArgs
    Edge location of the resource.
    instanceName String
    Name of instance.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    akriServiceName String
    Name of AkriService resource.
    extendedLocation ExtendedLocation
    Edge location of the resource.
    instanceName string
    Name of instance.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    akriServiceName string
    Name of AkriService resource.
    extendedLocation ExtendedLocation
    Edge location of the resource.
    instance_name str
    Name of instance.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    akri_service_name str
    Name of AkriService resource.
    extended_location ExtendedLocationArgs
    Edge location of the resource.
    instanceName String
    Name of instance.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    akriServiceName String
    Name of AkriService resource.
    extendedLocation Property Map
    Edge location of the resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AkriService resource produces the following output properties:

    AzureApiVersion string
    The Azure API version of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    Properties Pulumi.AzureNative.IoTOperations.Outputs.AkriServicePropertiesResponse
    The resource-specific properties for this resource.
    SystemData Pulumi.AzureNative.IoTOperations.Outputs.SystemDataResponse
    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"
    AzureApiVersion string
    The Azure API version of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    Properties AkriServicePropertiesResponse
    The resource-specific properties for this resource.
    SystemData SystemDataResponse
    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"
    azureApiVersion String
    The Azure API version of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    properties AkriServicePropertiesResponse
    The resource-specific properties for this resource.
    systemData SystemDataResponse
    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"
    azureApiVersion string
    The Azure API version of the resource.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the resource
    properties AkriServicePropertiesResponse
    The resource-specific properties for this resource.
    systemData SystemDataResponse
    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"
    azure_api_version str
    The Azure API version of the resource.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the resource
    properties AkriServicePropertiesResponse
    The resource-specific properties for this resource.
    system_data SystemDataResponse
    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"
    azureApiVersion String
    The Azure API version of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    properties Property Map
    The resource-specific properties for this resource.
    systemData 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"

    Supporting Types

    AkriServicePropertiesResponse, AkriServicePropertiesResponseArgs

    AkriService properties.
    ProvisioningState string
    The status of the last operation.
    Status Pulumi.AzureNative.IoTOperations.Inputs.AkriServiceStatusResponse
    The status for the service.
    ProvisioningState string
    The status of the last operation.
    Status AkriServiceStatusResponse
    The status for the service.
    provisioningState String
    The status of the last operation.
    status AkriServiceStatusResponse
    The status for the service.
    provisioningState string
    The status of the last operation.
    status AkriServiceStatusResponse
    The status for the service.
    provisioning_state str
    The status of the last operation.
    status AkriServiceStatusResponse
    The status for the service.
    provisioningState String
    The status of the last operation.
    status Property Map
    The status for the service.

    AkriServiceStatusResponse, AkriServiceStatusResponseArgs

    AkriService status.
    HealthState ResourceHealthStatusResponse
    The health state of the AkriService.
    healthState ResourceHealthStatusResponse
    The health state of the AkriService.
    healthState ResourceHealthStatusResponse
    The health state of the AkriService.
    health_state ResourceHealthStatusResponse
    The health state of the AkriService.
    healthState Property Map
    The health state of the AkriService.

    ExtendedLocation, ExtendedLocationArgs

    Extended location is an extension of Azure locations. They provide a way to use their Azure ARC enabled Kubernetes clusters as target locations for deploying Azure services instances.
    Name string
    The name of the extended location.
    Type string | Pulumi.AzureNative.IoTOperations.ExtendedLocationType
    Type of ExtendedLocation.
    Name string
    The name of the extended location.
    Type string | ExtendedLocationType
    Type of ExtendedLocation.
    name String
    The name of the extended location.
    type String | ExtendedLocationType
    Type of ExtendedLocation.
    name string
    The name of the extended location.
    type string | ExtendedLocationType
    Type of ExtendedLocation.
    name str
    The name of the extended location.
    type str | ExtendedLocationType
    Type of ExtendedLocation.
    name String
    The name of the extended location.
    type String | "CustomLocation"
    Type of ExtendedLocation.

    ExtendedLocationResponse, ExtendedLocationResponseArgs

    Extended location is an extension of Azure locations. They provide a way to use their Azure ARC enabled Kubernetes clusters as target locations for deploying Azure services instances.
    Name string
    The name of the extended location.
    Type string
    Type of ExtendedLocation.
    Name string
    The name of the extended location.
    Type string
    Type of ExtendedLocation.
    name String
    The name of the extended location.
    type String
    Type of ExtendedLocation.
    name string
    The name of the extended location.
    type string
    Type of ExtendedLocation.
    name str
    The name of the extended location.
    type str
    Type of ExtendedLocation.
    name String
    The name of the extended location.
    type String
    Type of ExtendedLocation.

    ExtendedLocationType, ExtendedLocationTypeArgs

    CustomLocation
    CustomLocation CustomLocation type
    ExtendedLocationTypeCustomLocation
    CustomLocation CustomLocation type
    CustomLocation
    CustomLocation CustomLocation type
    CustomLocation
    CustomLocation CustomLocation type
    CUSTOM_LOCATION
    CustomLocation CustomLocation type
    "CustomLocation"
    CustomLocation CustomLocation type

    ResourceHealthStatusResponse, ResourceHealthStatusResponseArgs

    Represents the health state of a resource.
    LastTransitionTime string
    The timestamp (RFC3339) when the health status last changed.
    LastUpdateTime string
    The timestamp (RFC3339) when the health status was last updated, even if the status did not change.
    Message string
    A human-readable message describing the last transition.
    ReasonCode string
    Unique, CamelCase reason code describing the cause of the last health state transition.
    Status string
    The high-level health status of the resource.
    LastTransitionTime string
    The timestamp (RFC3339) when the health status last changed.
    LastUpdateTime string
    The timestamp (RFC3339) when the health status was last updated, even if the status did not change.
    Message string
    A human-readable message describing the last transition.
    ReasonCode string
    Unique, CamelCase reason code describing the cause of the last health state transition.
    Status string
    The high-level health status of the resource.
    lastTransitionTime String
    The timestamp (RFC3339) when the health status last changed.
    lastUpdateTime String
    The timestamp (RFC3339) when the health status was last updated, even if the status did not change.
    message String
    A human-readable message describing the last transition.
    reasonCode String
    Unique, CamelCase reason code describing the cause of the last health state transition.
    status String
    The high-level health status of the resource.
    lastTransitionTime string
    The timestamp (RFC3339) when the health status last changed.
    lastUpdateTime string
    The timestamp (RFC3339) when the health status was last updated, even if the status did not change.
    message string
    A human-readable message describing the last transition.
    reasonCode string
    Unique, CamelCase reason code describing the cause of the last health state transition.
    status string
    The high-level health status of the resource.
    last_transition_time str
    The timestamp (RFC3339) when the health status last changed.
    last_update_time str
    The timestamp (RFC3339) when the health status was last updated, even if the status did not change.
    message str
    A human-readable message describing the last transition.
    reason_code str
    Unique, CamelCase reason code describing the cause of the last health state transition.
    status str
    The high-level health status of the resource.
    lastTransitionTime String
    The timestamp (RFC3339) when the health status last changed.
    lastUpdateTime String
    The timestamp (RFC3339) when the health status was last updated, even if the status did not change.
    message String
    A human-readable message describing the last transition.
    reasonCode String
    Unique, CamelCase reason code describing the cause of the last health state transition.
    status String
    The high-level health status of the resource.

    SystemDataResponse, SystemDataResponseArgs

    Metadata pertaining to creation and last modification of the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    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_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:iotoperations:AkriService ypsyahhgenrwyedzqe /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/akriServices/{akriServiceName} 
    

    To learn more about importing existing cloud resources, see Importing resources.

    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 v2 docs if using the v2 version of this package.
    Viewing docs for Azure Native v3.16.0
    published on Friday, Mar 20, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.