published on Friday, Mar 20, 2026 by Pulumi
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:
- Instance
Name string - Name of instance.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Akri
Service stringName - Name of AkriService resource.
- Extended
Location Pulumi.Azure Native. Io TOperations. Inputs. Extended Location - Edge location of the resource.
- Instance
Name string - Name of instance.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Akri
Service stringName - Name of AkriService resource.
- Extended
Location ExtendedLocation Args - Edge location of the resource.
- instance
Name String - Name of instance.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- akri
Service StringName - Name of AkriService resource.
- extended
Location ExtendedLocation - Edge location of the resource.
- instance
Name string - Name of instance.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- akri
Service stringName - Name of AkriService resource.
- extended
Location ExtendedLocation - Edge location of the resource.
- instance_
name str - Name of instance.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- akri_
service_ strname - Name of AkriService resource.
- extended_
location ExtendedLocation Args - Edge location of the resource.
- instance
Name String - Name of instance.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- akri
Service StringName - Name of AkriService resource.
- extended
Location 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:
- Azure
Api stringVersion - 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.
Azure Native. Io TOperations. Outputs. Akri Service Properties Response - The resource-specific properties for this resource.
- System
Data Pulumi.Azure Native. Io TOperations. 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"
- Azure
Api stringVersion - 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
Akri
Service Properties Response - The resource-specific properties for this resource.
- 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"
- azure
Api StringVersion - 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
Akri
Service Properties Response - The resource-specific properties for this resource.
- 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"
- azure
Api stringVersion - 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
Akri
Service Properties Response - The resource-specific properties for this resource.
- 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"
- azure_
api_ strversion - 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
Akri
Service Properties Response - The resource-specific properties for this resource.
- 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"
- azure
Api StringVersion - 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.
- 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"
Supporting Types
AkriServicePropertiesResponse, AkriServicePropertiesResponseArgs
AkriService properties.- Provisioning
State string - The status of the last operation.
- Status
Pulumi.
Azure Native. Io TOperations. Inputs. Akri Service Status Response - The status for the service.
- Provisioning
State string - The status of the last operation.
- Status
Akri
Service Status Response - The status for the service.
- provisioning
State String - The status of the last operation.
- status
Akri
Service Status Response - The status for the service.
- provisioning
State string - The status of the last operation.
- status
Akri
Service Status Response - The status for the service.
- provisioning_
state str - The status of the last operation.
- status
Akri
Service Status Response - The status for the service.
- provisioning
State String - The status of the last operation.
- status Property Map
- The status for the service.
AkriServiceStatusResponse, AkriServiceStatusResponseArgs
AkriService status.- Health
State Pulumi.Azure Native. Io TOperations. Inputs. Resource Health Status Response - The health state of the AkriService.
- Health
State ResourceHealth Status Response - The health state of the AkriService.
- health
State ResourceHealth Status Response - The health state of the AkriService.
- health
State ResourceHealth Status Response - The health state of the AkriService.
- health_
state ResourceHealth Status Response - The health state of the AkriService.
- health
State 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.
Azure Native. Io TOperations. Extended Location Type - Type of ExtendedLocation.
- Name string
- The name of the extended location.
- Type
string | Extended
Location Type - Type of ExtendedLocation.
- name String
- The name of the extended location.
- type
String | Extended
Location Type - Type of ExtendedLocation.
- name string
- The name of the extended location.
- type
string | Extended
Location Type - Type of ExtendedLocation.
- name str
- The name of the extended location.
- type
str | Extended
Location Type - Type of ExtendedLocation.
- name String
- The name of the extended location.
- type
String | "Custom
Location" - 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.ExtendedLocationType, ExtendedLocationTypeArgs
- Custom
Location CustomLocationCustomLocation type
- Extended
Location Type Custom Location CustomLocationCustomLocation type
- Custom
Location CustomLocationCustomLocation type
- Custom
Location CustomLocationCustomLocation type
- CUSTOM_LOCATION
CustomLocationCustomLocation type
- "Custom
Location" CustomLocationCustomLocation type
ResourceHealthStatusResponse, ResourceHealthStatusResponseArgs
Represents the health state of a resource.- Last
Transition stringTime - The timestamp (RFC3339) when the health status last changed.
- Last
Update stringTime - 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.
- Reason
Code 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 stringTime - The timestamp (RFC3339) when the health status last changed.
- Last
Update stringTime - 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.
- Reason
Code 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 StringTime - The timestamp (RFC3339) when the health status last changed.
- last
Update StringTime - 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.
- reason
Code 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 stringTime - The timestamp (RFC3339) when the health status last changed.
- last
Update stringTime - 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.
- reason
Code 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_ strtime - The timestamp (RFC3339) when the health status last changed.
- last_
update_ strtime - 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.
- last
Transition StringTime - The timestamp (RFC3339) when the health status last changed.
- last
Update StringTime - 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.
- reason
Code 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.- 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.
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
published on Friday, Mar 20, 2026 by Pulumi
