azure-native.iotoperations.AkriConnector
Explore with Pulumi AI
AkriConnector resource.
Uses Azure REST API version 2025-07-01-preview.
Example Usage
AkriConnector_CreateOrUpdate_MaximumSet
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var akriConnector = new AzureNative.IoTOperations.AkriConnector("akriConnector", new()
{
AkriConnectorTemplateName = "resource-name123",
ConnectorName = "resource-name123",
ExtendedLocation = new AzureNative.IoTOperations.Inputs.ExtendedLocationArgs
{
Name = "subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.ExtendedLocation/customLocations/resource-name123",
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.NewAkriConnector(ctx, "akriConnector", &iotoperations.AkriConnectorArgs{
AkriConnectorTemplateName: pulumi.String("resource-name123"),
ConnectorName: pulumi.String("resource-name123"),
ExtendedLocation: &iotoperations.ExtendedLocationArgs{
Name: pulumi.String("subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.ExtendedLocation/customLocations/resource-name123"),
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.AkriConnector;
import com.pulumi.azurenative.iotoperations.AkriConnectorArgs;
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 akriConnector = new AkriConnector("akriConnector", AkriConnectorArgs.builder()
.akriConnectorTemplateName("resource-name123")
.connectorName("resource-name123")
.extendedLocation(ExtendedLocationArgs.builder()
.name("subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.ExtendedLocation/customLocations/resource-name123")
.type("CustomLocation")
.build())
.instanceName("resource-name123")
.resourceGroupName("rgiotoperations")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const akriConnector = new azure_native.iotoperations.AkriConnector("akriConnector", {
akriConnectorTemplateName: "resource-name123",
connectorName: "resource-name123",
extendedLocation: {
name: "subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.ExtendedLocation/customLocations/resource-name123",
type: azure_native.iotoperations.ExtendedLocationType.CustomLocation,
},
instanceName: "resource-name123",
resourceGroupName: "rgiotoperations",
});
import pulumi
import pulumi_azure_native as azure_native
akri_connector = azure_native.iotoperations.AkriConnector("akriConnector",
akri_connector_template_name="resource-name123",
connector_name="resource-name123",
extended_location={
"name": "subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.ExtendedLocation/customLocations/resource-name123",
"type": azure_native.iotoperations.ExtendedLocationType.CUSTOM_LOCATION,
},
instance_name="resource-name123",
resource_group_name="rgiotoperations")
resources:
akriConnector:
type: azure-native:iotoperations:AkriConnector
properties:
akriConnectorTemplateName: resource-name123
connectorName: resource-name123
extendedLocation:
name: subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.ExtendedLocation/customLocations/resource-name123
type: CustomLocation
instanceName: resource-name123
resourceGroupName: rgiotoperations
Create AkriConnector Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AkriConnector(name: string, args: AkriConnectorArgs, opts?: CustomResourceOptions);
@overload
def AkriConnector(resource_name: str,
args: AkriConnectorArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AkriConnector(resource_name: str,
opts: Optional[ResourceOptions] = None,
akri_connector_template_name: Optional[str] = None,
instance_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
connector_name: Optional[str] = None,
extended_location: Optional[ExtendedLocationArgs] = None)
func NewAkriConnector(ctx *Context, name string, args AkriConnectorArgs, opts ...ResourceOption) (*AkriConnector, error)
public AkriConnector(string name, AkriConnectorArgs args, CustomResourceOptions? opts = null)
public AkriConnector(String name, AkriConnectorArgs args)
public AkriConnector(String name, AkriConnectorArgs args, CustomResourceOptions options)
type: azure-native:iotoperations:AkriConnector
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 AkriConnectorArgs
- 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 AkriConnectorArgs
- 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 AkriConnectorArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AkriConnectorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AkriConnectorArgs
- 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 akriConnectorResource = new AzureNative.IoTOperations.AkriConnector("akriConnectorResource", new()
{
AkriConnectorTemplateName = "string",
InstanceName = "string",
ResourceGroupName = "string",
ConnectorName = "string",
ExtendedLocation = new AzureNative.IoTOperations.Inputs.ExtendedLocationArgs
{
Name = "string",
Type = "string",
},
});
example, err := iotoperations.NewAkriConnector(ctx, "akriConnectorResource", &iotoperations.AkriConnectorArgs{
AkriConnectorTemplateName: pulumi.String("string"),
InstanceName: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
ConnectorName: pulumi.String("string"),
ExtendedLocation: &iotoperations.ExtendedLocationArgs{
Name: pulumi.String("string"),
Type: pulumi.String("string"),
},
})
var akriConnectorResource = new AkriConnector("akriConnectorResource", AkriConnectorArgs.builder()
.akriConnectorTemplateName("string")
.instanceName("string")
.resourceGroupName("string")
.connectorName("string")
.extendedLocation(ExtendedLocationArgs.builder()
.name("string")
.type("string")
.build())
.build());
akri_connector_resource = azure_native.iotoperations.AkriConnector("akriConnectorResource",
akri_connector_template_name="string",
instance_name="string",
resource_group_name="string",
connector_name="string",
extended_location={
"name": "string",
"type": "string",
})
const akriConnectorResource = new azure_native.iotoperations.AkriConnector("akriConnectorResource", {
akriConnectorTemplateName: "string",
instanceName: "string",
resourceGroupName: "string",
connectorName: "string",
extendedLocation: {
name: "string",
type: "string",
},
});
type: azure-native:iotoperations:AkriConnector
properties:
akriConnectorTemplateName: string
connectorName: string
extendedLocation:
name: string
type: string
instanceName: string
resourceGroupName: string
AkriConnector 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 AkriConnector resource accepts the following input properties:
- Akri
Connector stringTemplate Name - Name of AkriConnectorTemplate resource.
- Instance
Name string - Name of instance.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Connector
Name string - Name of AkriConnector resource.
- Extended
Location Pulumi.Azure Native. Io TOperations. Inputs. Extended Location - Edge location of the resource.
- Akri
Connector stringTemplate Name - Name of AkriConnectorTemplate resource.
- Instance
Name string - Name of instance.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Connector
Name string - Name of AkriConnector resource.
- Extended
Location ExtendedLocation Args - Edge location of the resource.
- akri
Connector StringTemplate Name - Name of AkriConnectorTemplate resource.
- instance
Name String - Name of instance.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- connector
Name String - Name of AkriConnector resource.
- extended
Location ExtendedLocation - Edge location of the resource.
- akri
Connector stringTemplate Name - Name of AkriConnectorTemplate resource.
- instance
Name string - Name of instance.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- connector
Name string - Name of AkriConnector resource.
- extended
Location ExtendedLocation - Edge location of the resource.
- akri_
connector_ strtemplate_ name - Name of AkriConnectorTemplate resource.
- instance_
name str - Name of instance.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- connector_
name str - Name of AkriConnector resource.
- extended_
location ExtendedLocation Args - Edge location of the resource.
- akri
Connector StringTemplate Name - Name of AkriConnectorTemplate resource.
- instance
Name String - Name of instance.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- connector
Name String - Name of AkriConnector resource.
- extended
Location Property Map - Edge location of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the AkriConnector 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 Connector 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
Connector 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
Connector 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
Connector 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
Connector 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
AkriConnectorPropertiesResponse, AkriConnectorPropertiesResponseArgs
- Provisioning
State string - The status of the last operation.
- Provisioning
State string - The status of the last operation.
- provisioning
State String - The status of the last operation.
- provisioning
State string - The status of the last operation.
- provisioning_
state str - The status of the last operation.
- provisioning
State String - The status of the last operation.
ExtendedLocation, ExtendedLocationArgs
- 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
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
SystemDataResponse, SystemDataResponseArgs
- 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:AkriConnector resource-name /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/akriConnectorTemplates/{akriConnectorTemplateName}/connectors/{connectorName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0