1. Packages
  2. Azure Native v1
  3. API Docs
  4. databoxedge
  5. CloudEdgeManagementRole
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.databoxedge.CloudEdgeManagementRole

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    CloudEdgeManagementRole role. API Version: 2020-12-01.

    Example Usage

    RolePut

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var cloudEdgeManagementRole = new AzureNative.DataBoxEdge.CloudEdgeManagementRole("cloudEdgeManagementRole", new()
        {
            DeviceName = "testedgedevice",
            Name = "IoTRole1",
            ResourceGroupName = "GroupForEdgeAutomation",
        });
    
    });
    
    package main
    
    import (
    	databoxedge "github.com/pulumi/pulumi-azure-native-sdk/databoxedge"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := databoxedge.NewCloudEdgeManagementRole(ctx, "cloudEdgeManagementRole", &databoxedge.CloudEdgeManagementRoleArgs{
    			DeviceName:        pulumi.String("testedgedevice"),
    			Name:              pulumi.String("IoTRole1"),
    			ResourceGroupName: pulumi.String("GroupForEdgeAutomation"),
    		})
    		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.CloudEdgeManagementRole;
    import com.pulumi.azurenative.databoxedge.CloudEdgeManagementRoleArgs;
    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 cloudEdgeManagementRole = new CloudEdgeManagementRole("cloudEdgeManagementRole", CloudEdgeManagementRoleArgs.builder()        
                .deviceName("testedgedevice")
                .name("IoTRole1")
                .resourceGroupName("GroupForEdgeAutomation")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    cloud_edge_management_role = azure_native.databoxedge.CloudEdgeManagementRole("cloudEdgeManagementRole",
        device_name="testedgedevice",
        name="IoTRole1",
        resource_group_name="GroupForEdgeAutomation")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const cloudEdgeManagementRole = new azure_native.databoxedge.CloudEdgeManagementRole("cloudEdgeManagementRole", {
        deviceName: "testedgedevice",
        name: "IoTRole1",
        resourceGroupName: "GroupForEdgeAutomation",
    });
    
    resources:
      cloudEdgeManagementRole:
        type: azure-native:databoxedge:CloudEdgeManagementRole
        properties:
          deviceName: testedgedevice
          name: IoTRole1
          resourceGroupName: GroupForEdgeAutomation
    

    Create CloudEdgeManagementRole Resource

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

    Constructor syntax

    new CloudEdgeManagementRole(name: string, args: CloudEdgeManagementRoleArgs, opts?: CustomResourceOptions);
    @overload
    def CloudEdgeManagementRole(resource_name: str,
                                args: CloudEdgeManagementRoleArgs,
                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def CloudEdgeManagementRole(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                device_name: Optional[str] = None,
                                resource_group_name: Optional[str] = None,
                                role_status: Optional[Union[str, RoleStatus]] = None,
                                name: Optional[str] = None)
    func NewCloudEdgeManagementRole(ctx *Context, name string, args CloudEdgeManagementRoleArgs, opts ...ResourceOption) (*CloudEdgeManagementRole, error)
    public CloudEdgeManagementRole(string name, CloudEdgeManagementRoleArgs args, CustomResourceOptions? opts = null)
    public CloudEdgeManagementRole(String name, CloudEdgeManagementRoleArgs args)
    public CloudEdgeManagementRole(String name, CloudEdgeManagementRoleArgs args, CustomResourceOptions options)
    
    type: azure-native:databoxedge:CloudEdgeManagementRole
    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 CloudEdgeManagementRoleArgs
    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 CloudEdgeManagementRoleArgs
    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 CloudEdgeManagementRoleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CloudEdgeManagementRoleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CloudEdgeManagementRoleArgs
    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 cloudEdgeManagementRoleResource = new AzureNative.Databoxedge.CloudEdgeManagementRole("cloudEdgeManagementRoleResource", new()
    {
        DeviceName = "string",
        Kind = "string",
        ResourceGroupName = "string",
        RoleStatus = "string",
        Name = "string",
    });
    
    example, err := databoxedge.NewCloudEdgeManagementRole(ctx, "cloudEdgeManagementRoleResource", &databoxedge.CloudEdgeManagementRoleArgs{
    	DeviceName:        "string",
    	Kind:              "string",
    	ResourceGroupName: "string",
    	RoleStatus:        "string",
    	Name:              "string",
    })
    
    var cloudEdgeManagementRoleResource = new CloudEdgeManagementRole("cloudEdgeManagementRoleResource", CloudEdgeManagementRoleArgs.builder()
        .deviceName("string")
        .kind("string")
        .resourceGroupName("string")
        .roleStatus("string")
        .name("string")
        .build());
    
    cloud_edge_management_role_resource = azure_native.databoxedge.CloudEdgeManagementRole("cloudEdgeManagementRoleResource",
        device_name=string,
        kind=string,
        resource_group_name=string,
        role_status=string,
        name=string)
    
    const cloudEdgeManagementRoleResource = new azure_native.databoxedge.CloudEdgeManagementRole("cloudEdgeManagementRoleResource", {
        deviceName: "string",
        kind: "string",
        resourceGroupName: "string",
        roleStatus: "string",
        name: "string",
    });
    
    type: azure-native:databoxedge:CloudEdgeManagementRole
    properties:
        deviceName: string
        kind: string
        name: string
        resourceGroupName: string
        roleStatus: string
    

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

    DeviceName string
    The device name.
    ResourceGroupName string
    The resource group name.
    RoleStatus string | Pulumi.AzureNative.DataBoxEdge.RoleStatus
    Role status.
    Name string
    The role name.
    DeviceName string
    The device name.
    ResourceGroupName string
    The resource group name.
    RoleStatus string | RoleStatus
    Role status.
    Name string
    The role name.
    deviceName String
    The device name.
    resourceGroupName String
    The resource group name.
    roleStatus String | RoleStatus
    Role status.
    name String
    The role name.
    deviceName string
    The device name.
    resourceGroupName string
    The resource group name.
    roleStatus string | RoleStatus
    Role status.
    name string
    The role name.
    device_name str
    The device name.
    resource_group_name str
    The resource group name.
    role_status str | RoleStatus
    Role status.
    name str
    The role name.
    deviceName String
    The device name.
    resourceGroupName String
    The resource group name.
    roleStatus String | "Enabled" | "Disabled"
    Role status.
    name String
    The role name.

    Outputs

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

    EdgeProfile Pulumi.AzureNative.DataBoxEdge.Outputs.EdgeProfileResponse
    Edge Profile of the resource
    Id string
    The provider-assigned unique ID for this managed resource.
    LocalManagementStatus string
    Local Edge Management Status
    SystemData Pulumi.AzureNative.DataBoxEdge.Outputs.SystemDataResponse
    Role configured on ASE resource
    Type string
    The hierarchical type of the object.
    EdgeProfile EdgeProfileResponse
    Edge Profile of the resource
    Id string
    The provider-assigned unique ID for this managed resource.
    LocalManagementStatus string
    Local Edge Management Status
    SystemData SystemDataResponse
    Role configured on ASE resource
    Type string
    The hierarchical type of the object.
    edgeProfile EdgeProfileResponse
    Edge Profile of the resource
    id String
    The provider-assigned unique ID for this managed resource.
    localManagementStatus String
    Local Edge Management Status
    systemData SystemDataResponse
    Role configured on ASE resource
    type String
    The hierarchical type of the object.
    edgeProfile EdgeProfileResponse
    Edge Profile of the resource
    id string
    The provider-assigned unique ID for this managed resource.
    localManagementStatus string
    Local Edge Management Status
    systemData SystemDataResponse
    Role configured on ASE resource
    type string
    The hierarchical type of the object.
    edge_profile EdgeProfileResponse
    Edge Profile of the resource
    id str
    The provider-assigned unique ID for this managed resource.
    local_management_status str
    Local Edge Management Status
    system_data SystemDataResponse
    Role configured on ASE resource
    type str
    The hierarchical type of the object.
    edgeProfile Property Map
    Edge Profile of the resource
    id String
    The provider-assigned unique ID for this managed resource.
    localManagementStatus String
    Local Edge Management Status
    systemData Property Map
    Role configured on ASE resource
    type String
    The hierarchical type of the object.

    Supporting Types

    EdgeProfileResponse, EdgeProfileResponseArgs

    subscription Property Map
    Edge Profile Subscription

    EdgeProfileSubscriptionResponse, EdgeProfileSubscriptionResponseArgs

    Id string
    ARM ID of the subscription
    LocationPlacementId string
    QuotaId string
    RegisteredFeatures []SubscriptionRegisteredFeaturesResponse
    RegistrationDate string
    RegistrationId string
    Edge Subscription Registration ID
    SerializedDetails string
    State string
    SubscriptionId string
    TenantId string
    id String
    ARM ID of the subscription
    locationPlacementId String
    quotaId String
    registeredFeatures List<SubscriptionRegisteredFeaturesResponse>
    registrationDate String
    registrationId String
    Edge Subscription Registration ID
    serializedDetails String
    state String
    subscriptionId String
    tenantId String
    id string
    ARM ID of the subscription
    locationPlacementId string
    quotaId string
    registeredFeatures SubscriptionRegisteredFeaturesResponse[]
    registrationDate string
    registrationId string
    Edge Subscription Registration ID
    serializedDetails string
    state string
    subscriptionId string
    tenantId string
    id String
    ARM ID of the subscription
    locationPlacementId String
    quotaId String
    registeredFeatures List<Property Map>
    registrationDate String
    registrationId String
    Edge Subscription Registration ID
    serializedDetails String
    state String
    subscriptionId String
    tenantId String

    RoleStatus, RoleStatusArgs

    Enabled
    Enabled
    Disabled
    Disabled
    RoleStatusEnabled
    Enabled
    RoleStatusDisabled
    Disabled
    Enabled
    Enabled
    Disabled
    Disabled
    Enabled
    Enabled
    Disabled
    Disabled
    ENABLED
    Enabled
    DISABLED
    Disabled
    "Enabled"
    Enabled
    "Disabled"
    Disabled

    SubscriptionRegisteredFeaturesResponse, SubscriptionRegisteredFeaturesResponseArgs

    Name string
    State string
    Name string
    State string
    name String
    state String
    name string
    state string
    name str
    state str
    name String
    state String

    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 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:CloudEdgeManagementRole IoTRole1 /subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/roles/IoTRole1 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi