1. Packages
  2. Azure Native
  3. API Docs
  4. databoxedge
  5. ArcAddon
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.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

azure-native.databoxedge.ArcAddon

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.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

    Arc Addon. Azure REST API version: 2022-03-01. Prior API version in Azure Native 1.x: 2020-12-01.

    Example Usage

    PutAddOns

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var arcAddon = new AzureNative.DataBoxEdge.ArcAddon("arcAddon", new()
        {
            AddonName = "arcName",
            DeviceName = "testedgedevice",
            Kind = "ArcForKubernetes",
            ResourceGroupName = "GroupForEdgeAutomation",
            ResourceLocation = "EastUS",
            ResourceName = "testedgedevice",
            RoleName = "KubernetesRole",
            SubscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce",
        });
    
    });
    
    package main
    
    import (
    	databoxedge "github.com/pulumi/pulumi-azure-native-sdk/databoxedge/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := databoxedge.NewArcAddon(ctx, "arcAddon", &databoxedge.ArcAddonArgs{
    			AddonName:         pulumi.String("arcName"),
    			DeviceName:        pulumi.String("testedgedevice"),
    			Kind:              pulumi.String("ArcForKubernetes"),
    			ResourceGroupName: pulumi.String("GroupForEdgeAutomation"),
    			ResourceLocation:  pulumi.String("EastUS"),
    			ResourceName:      pulumi.String("testedgedevice"),
    			RoleName:          pulumi.String("KubernetesRole"),
    			SubscriptionId:    pulumi.String("4385cf00-2d3a-425a-832f-f4285b1c9dce"),
    		})
    		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.ArcAddon;
    import com.pulumi.azurenative.databoxedge.ArcAddonArgs;
    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 arcAddon = new ArcAddon("arcAddon", ArcAddonArgs.builder()
                .addonName("arcName")
                .deviceName("testedgedevice")
                .kind("ArcForKubernetes")
                .resourceGroupName("GroupForEdgeAutomation")
                .resourceLocation("EastUS")
                .resourceName("testedgedevice")
                .roleName("KubernetesRole")
                .subscriptionId("4385cf00-2d3a-425a-832f-f4285b1c9dce")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    arc_addon = azure_native.databoxedge.ArcAddon("arcAddon",
        addon_name="arcName",
        device_name="testedgedevice",
        kind="ArcForKubernetes",
        resource_group_name="GroupForEdgeAutomation",
        resource_location="EastUS",
        resource_name_="testedgedevice",
        role_name="KubernetesRole",
        subscription_id="4385cf00-2d3a-425a-832f-f4285b1c9dce")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const arcAddon = new azure_native.databoxedge.ArcAddon("arcAddon", {
        addonName: "arcName",
        deviceName: "testedgedevice",
        kind: "ArcForKubernetes",
        resourceGroupName: "GroupForEdgeAutomation",
        resourceLocation: "EastUS",
        resourceName: "testedgedevice",
        roleName: "KubernetesRole",
        subscriptionId: "4385cf00-2d3a-425a-832f-f4285b1c9dce",
    });
    
    resources:
      arcAddon:
        type: azure-native:databoxedge:ArcAddon
        properties:
          addonName: arcName
          deviceName: testedgedevice
          kind: ArcForKubernetes
          resourceGroupName: GroupForEdgeAutomation
          resourceLocation: EastUS
          resourceName: testedgedevice
          roleName: KubernetesRole
          subscriptionId: 4385cf00-2d3a-425a-832f-f4285b1c9dce
    

    Create ArcAddon Resource

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

    Constructor syntax

    new ArcAddon(name: string, args: ArcAddonArgs, opts?: CustomResourceOptions);
    @overload
    def ArcAddon(resource_name: str,
                 args: ArcAddonArgs,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def ArcAddon(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 device_name: Optional[str] = None,
                 resource_group_name: Optional[str] = None,
                 resource_location: Optional[str] = None,
                 resource_name_: Optional[str] = None,
                 role_name: Optional[str] = None,
                 subscription_id: Optional[str] = None,
                 addon_name: Optional[str] = None)
    func NewArcAddon(ctx *Context, name string, args ArcAddonArgs, opts ...ResourceOption) (*ArcAddon, error)
    public ArcAddon(string name, ArcAddonArgs args, CustomResourceOptions? opts = null)
    public ArcAddon(String name, ArcAddonArgs args)
    public ArcAddon(String name, ArcAddonArgs args, CustomResourceOptions options)
    
    type: azure-native:databoxedge:ArcAddon
    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 ArcAddonArgs
    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 ArcAddonArgs
    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 ArcAddonArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ArcAddonArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ArcAddonArgs
    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 arcAddonResource = new AzureNative.DataBoxEdge.ArcAddon("arcAddonResource", new()
    {
        DeviceName = "string",
        Kind = "string",
        ResourceGroupName = "string",
        ResourceLocation = "string",
        ResourceName = "string",
        RoleName = "string",
        SubscriptionId = "string",
        AddonName = "string",
    });
    
    example, err := databoxedge.NewArcAddon(ctx, "arcAddonResource", &databoxedge.ArcAddonArgs{
    	DeviceName:        pulumi.String("string"),
    	Kind:              pulumi.String("string"),
    	ResourceGroupName: pulumi.String("string"),
    	ResourceLocation:  pulumi.String("string"),
    	ResourceName:      pulumi.String("string"),
    	RoleName:          pulumi.String("string"),
    	SubscriptionId:    pulumi.String("string"),
    	AddonName:         pulumi.String("string"),
    })
    
    var arcAddonResource = new ArcAddon("arcAddonResource", ArcAddonArgs.builder()
        .deviceName("string")
        .kind("string")
        .resourceGroupName("string")
        .resourceLocation("string")
        .resourceName("string")
        .roleName("string")
        .subscriptionId("string")
        .addonName("string")
        .build());
    
    arc_addon_resource = azure_native.databoxedge.ArcAddon("arcAddonResource",
        device_name="string",
        kind="string",
        resource_group_name="string",
        resource_location="string",
        resource_name_="string",
        role_name="string",
        subscription_id="string",
        addon_name="string")
    
    const arcAddonResource = new azure_native.databoxedge.ArcAddon("arcAddonResource", {
        deviceName: "string",
        kind: "string",
        resourceGroupName: "string",
        resourceLocation: "string",
        resourceName: "string",
        roleName: "string",
        subscriptionId: "string",
        addonName: "string",
    });
    
    type: azure-native:databoxedge:ArcAddon
    properties:
        addonName: string
        deviceName: string
        kind: string
        resourceGroupName: string
        resourceLocation: string
        resourceName: string
        roleName: string
        subscriptionId: string
    

    ArcAddon 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 ArcAddon resource accepts the following input properties:

    DeviceName string
    The device name.
    ResourceGroupName string
    The resource group name.
    ResourceLocation string
    Arc resource location
    ResourceName string
    Arc resource Name
    RoleName string
    The role name.
    SubscriptionId string
    Arc resource subscription Id
    AddonName string
    The addon name.
    DeviceName string
    The device name.
    ResourceGroupName string
    The resource group name.
    ResourceLocation string
    Arc resource location
    ResourceName string
    Arc resource Name
    RoleName string
    The role name.
    SubscriptionId string
    Arc resource subscription Id
    AddonName string
    The addon name.
    deviceName String
    The device name.
    resourceGroupName String
    The resource group name.
    resourceLocation String
    Arc resource location
    resourceName String
    Arc resource Name
    roleName String
    The role name.
    subscriptionId String
    Arc resource subscription Id
    addonName String
    The addon name.
    deviceName string
    The device name.
    resourceGroupName string
    The resource group name.
    resourceLocation string
    Arc resource location
    resourceName string
    Arc resource Name
    roleName string
    The role name.
    subscriptionId string
    Arc resource subscription Id
    addonName string
    The addon name.
    device_name str
    The device name.
    resource_group_name str
    The resource group name.
    resource_location str
    Arc resource location
    resource_name str
    Arc resource Name
    role_name str
    The role name.
    subscription_id str
    Arc resource subscription Id
    addon_name str
    The addon name.
    deviceName String
    The device name.
    resourceGroupName String
    The resource group name.
    resourceLocation String
    Arc resource location
    resourceName String
    Arc resource Name
    roleName String
    The role name.
    subscriptionId String
    Arc resource subscription Id
    addonName String
    The addon name.

    Outputs

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

    HostPlatform string
    Host OS supported by the Arc addon.
    HostPlatformType string
    Platform where the runtime is hosted.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The object name.
    ProvisioningState string
    Addon Provisioning State
    SystemData Pulumi.AzureNative.DataBoxEdge.Outputs.SystemDataResponse
    Metadata pertaining to creation and last modification of Addon
    Type string
    The hierarchical type of the object.
    Version string
    Arc resource version
    HostPlatform string
    Host OS supported by the Arc addon.
    HostPlatformType string
    Platform where the runtime is hosted.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The object name.
    ProvisioningState string
    Addon Provisioning State
    SystemData SystemDataResponse
    Metadata pertaining to creation and last modification of Addon
    Type string
    The hierarchical type of the object.
    Version string
    Arc resource version
    hostPlatform String
    Host OS supported by the Arc addon.
    hostPlatformType String
    Platform where the runtime is hosted.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The object name.
    provisioningState String
    Addon Provisioning State
    systemData SystemDataResponse
    Metadata pertaining to creation and last modification of Addon
    type String
    The hierarchical type of the object.
    version String
    Arc resource version
    hostPlatform string
    Host OS supported by the Arc addon.
    hostPlatformType string
    Platform where the runtime is hosted.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The object name.
    provisioningState string
    Addon Provisioning State
    systemData SystemDataResponse
    Metadata pertaining to creation and last modification of Addon
    type string
    The hierarchical type of the object.
    version string
    Arc resource version
    host_platform str
    Host OS supported by the Arc addon.
    host_platform_type str
    Platform where the runtime is hosted.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The object name.
    provisioning_state str
    Addon Provisioning State
    system_data SystemDataResponse
    Metadata pertaining to creation and last modification of Addon
    type str
    The hierarchical type of the object.
    version str
    Arc resource version
    hostPlatform String
    Host OS supported by the Arc addon.
    hostPlatformType String
    Platform where the runtime is hosted.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The object name.
    provisioningState String
    Addon Provisioning State
    systemData Property Map
    Metadata pertaining to creation and last modification of Addon
    type String
    The hierarchical type of the object.
    version String
    Arc resource version

    Supporting Types

    SystemDataResponse, SystemDataResponseArgs

    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:databoxedge:ArcAddon arcName /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons/{addonName} 
    

    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 v1 docs if using the v1 version of this package.
    Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi