azure-native.databoxedge.Addon

Deprecated:

Please use one of the variants: ArcAddon, IoTAddon.

Role Addon API Version: 2020-12-01.

Example Usage

PutAddOns

using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var addon = new AzureNative.DataBoxEdge.Addon("addon", new()
    {
        AddonName = "arcName",
        DeviceName = "testedgedevice",
        Kind = "ArcForKubernetes",
        ResourceGroupName = "GroupForEdgeAutomation",
        RoleName = "KubernetesRole",
    });

});
package main

import (
	databoxedge "github.com/pulumi/pulumi-azure-native/sdk/go/azure/databoxedge"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := databoxedge.NewAddon(ctx, "addon", &databoxedge.AddonArgs{
			AddonName:         pulumi.String("arcName"),
			DeviceName:        pulumi.String("testedgedevice"),
			Kind:              pulumi.String("ArcForKubernetes"),
			ResourceGroupName: pulumi.String("GroupForEdgeAutomation"),
			RoleName:          pulumi.String("KubernetesRole"),
		})
		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.databoxedge.Addon;
import com.pulumi.azurenative.databoxedge.AddonArgs;
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 addon = new Addon("addon", AddonArgs.builder()        
            .addonName("arcName")
            .deviceName("testedgedevice")
            .kind("ArcForKubernetes")
            .resourceGroupName("GroupForEdgeAutomation")
            .roleName("KubernetesRole")
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

addon = azure_native.databoxedge.Addon("addon",
    addon_name="arcName",
    device_name="testedgedevice",
    kind="ArcForKubernetes",
    resource_group_name="GroupForEdgeAutomation",
    role_name="KubernetesRole")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const addon = new azure_native.databoxedge.Addon("addon", {
    addonName: "arcName",
    deviceName: "testedgedevice",
    kind: "ArcForKubernetes",
    resourceGroupName: "GroupForEdgeAutomation",
    roleName: "KubernetesRole",
});
resources:
  addon:
    type: azure-native:databoxedge:Addon
    properties:
      addonName: arcName
      deviceName: testedgedevice
      kind: ArcForKubernetes
      resourceGroupName: GroupForEdgeAutomation
      roleName: KubernetesRole

Create Addon Resource

new Addon(name: string, args: AddonArgs, opts?: CustomResourceOptions);
@overload
def Addon(resource_name: str,
          opts: Optional[ResourceOptions] = None,
          addon_name: Optional[str] = None,
          device_name: Optional[str] = None,
          kind: Optional[Union[str, AddonType]] = None,
          resource_group_name: Optional[str] = None,
          role_name: Optional[str] = None)
@overload
def Addon(resource_name: str,
          args: AddonArgs,
          opts: Optional[ResourceOptions] = None)
func NewAddon(ctx *Context, name string, args AddonArgs, opts ...ResourceOption) (*Addon, error)
public Addon(string name, AddonArgs args, CustomResourceOptions? opts = null)
public Addon(String name, AddonArgs args)
public Addon(String name, AddonArgs args, CustomResourceOptions options)
type: azure-native:databoxedge:Addon
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args AddonArgs
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 AddonArgs
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 AddonArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args AddonArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args AddonArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Addon Resource Properties

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

Inputs

The Addon resource accepts the following input properties:

DeviceName string

The device name.

Kind string | Pulumi.AzureNative.DataBoxEdge.AddonType

Addon type.

ResourceGroupName string

The resource group name.

RoleName string

The role name.

AddonName string

The addon name.

DeviceName string

The device name.

Kind string | AddonType

Addon type.

ResourceGroupName string

The resource group name.

RoleName string

The role name.

AddonName string

The addon name.

deviceName String

The device name.

kind String | AddonType

Addon type.

resourceGroupName String

The resource group name.

roleName String

The role name.

addonName String

The addon name.

deviceName string

The device name.

kind string | AddonType

Addon type.

resourceGroupName string

The resource group name.

roleName string

The role name.

addonName string

The addon name.

device_name str

The device name.

kind str | AddonType

Addon type.

resource_group_name str

The resource group name.

role_name str

The role name.

addon_name str

The addon name.

deviceName String

The device name.

kind String | "IotEdge" | "ArcForKubernetes"

Addon type.

resourceGroupName String

The resource group name.

roleName String

The role name.

addonName String

The addon name.

Outputs

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

Id string

The provider-assigned unique ID for this managed resource.

Name string

The object name.

SystemData Pulumi.AzureNative.DataBoxEdge.Outputs.SystemDataResponse

Addon type

Type string

The hierarchical type of the object.

Id string

The provider-assigned unique ID for this managed resource.

Name string

The object name.

SystemData SystemDataResponse

Addon type

Type string

The hierarchical type of the object.

id String

The provider-assigned unique ID for this managed resource.

name String

The object name.

systemData SystemDataResponse

Addon type

type String

The hierarchical type of the object.

id string

The provider-assigned unique ID for this managed resource.

name string

The object name.

systemData SystemDataResponse

Addon type

type string

The hierarchical type of the object.

id str

The provider-assigned unique ID for this managed resource.

name str

The object name.

system_data SystemDataResponse

Addon type

type str

The hierarchical type of the object.

id String

The provider-assigned unique ID for this managed resource.

name String

The object name.

systemData Property Map

Addon type

type String

The hierarchical type of the object.

Supporting Types

AddonType

IotEdge
IotEdge
ArcForKubernetes
ArcForKubernetes
AddonTypeIotEdge
IotEdge
AddonTypeArcForKubernetes
ArcForKubernetes
IotEdge
IotEdge
ArcForKubernetes
ArcForKubernetes
IotEdge
IotEdge
ArcForKubernetes
ArcForKubernetes
IOT_EDGE
IotEdge
ARC_FOR_KUBERNETES
ArcForKubernetes
"IotEdge"
IotEdge
"ArcForKubernetes"
ArcForKubernetes

SystemDataResponse

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 type of identity that last modified the resource.

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 type of identity that last modified the resource.

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 type of identity that last modified the resource.

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 type of identity that last modified the resource.

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 type of identity that last modified the resource.

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 type of identity that last modified the resource.

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:databoxedge:Addon arcName /subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourcegroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/addonExamples/roles/kubernetesRole/addons/arcName 

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0