azure-native.databoxedge.ArcAddon
Explore with Pulumi AI
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:
- Device
Name string - The device name.
- Resource
Group stringName - The resource group name.
- Resource
Location string - Arc resource location
- Resource
Name string - Arc resource Name
- Role
Name string - The role name.
- Subscription
Id string - Arc resource subscription Id
- Addon
Name string - The addon name.
- Device
Name string - The device name.
- Resource
Group stringName - The resource group name.
- Resource
Location string - Arc resource location
- Resource
Name string - Arc resource Name
- Role
Name string - The role name.
- Subscription
Id string - Arc resource subscription Id
- Addon
Name string - The addon name.
- device
Name String - The device name.
- resource
Group StringName - The resource group name.
- resource
Location String - Arc resource location
- resource
Name String - Arc resource Name
- role
Name String - The role name.
- subscription
Id String - Arc resource subscription Id
- addon
Name String - The addon name.
- device
Name string - The device name.
- resource
Group stringName - The resource group name.
- resource
Location string - Arc resource location
- resource
Name string - Arc resource Name
- role
Name string - The role name.
- subscription
Id string - Arc resource subscription Id
- addon
Name string - The addon name.
- device_
name str - The device name.
- resource_
group_ strname - 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.
- device
Name String - The device name.
- resource
Group StringName - The resource group name.
- resource
Location String - Arc resource location
- resource
Name String - Arc resource Name
- role
Name String - The role name.
- subscription
Id String - Arc resource subscription Id
- addon
Name String - The addon name.
Outputs
All input properties are implicitly available as output properties. Additionally, the ArcAddon resource produces the following output properties:
- Host
Platform string - Host OS supported by the Arc addon.
- Host
Platform stringType - Platform where the runtime is hosted.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The object name.
- Provisioning
State string - Addon Provisioning State
- System
Data Pulumi.Azure Native. Data Box Edge. Outputs. System Data Response - Metadata pertaining to creation and last modification of Addon
- Type string
- The hierarchical type of the object.
- Version string
- Arc resource version
- Host
Platform string - Host OS supported by the Arc addon.
- Host
Platform stringType - Platform where the runtime is hosted.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The object name.
- Provisioning
State string - Addon Provisioning State
- System
Data SystemData Response - Metadata pertaining to creation and last modification of Addon
- Type string
- The hierarchical type of the object.
- Version string
- Arc resource version
- host
Platform String - Host OS supported by the Arc addon.
- host
Platform StringType - Platform where the runtime is hosted.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The object name.
- provisioning
State String - Addon Provisioning State
- system
Data SystemData Response - Metadata pertaining to creation and last modification of Addon
- type String
- The hierarchical type of the object.
- version String
- Arc resource version
- host
Platform string - Host OS supported by the Arc addon.
- host
Platform stringType - Platform where the runtime is hosted.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The object name.
- provisioning
State string - Addon Provisioning State
- system
Data SystemData Response - 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_ strtype - 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 SystemData Response - Metadata pertaining to creation and last modification of Addon
- type str
- The hierarchical type of the object.
- version str
- Arc resource version
- host
Platform String - Host OS supported by the Arc addon.
- host
Platform StringType - Platform where the runtime is hosted.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The object name.
- provisioning
State String - Addon Provisioning State
- system
Data 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
- 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: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