1. Packages
  2. Azure Native v2
  3. API Docs
  4. databoxedge
  5. getMECRole
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.databoxedge.getMECRole

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Gets a specific role by name. Azure REST API version: 2022-03-01.

Using getMECRole

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getMECRole(args: GetMECRoleArgs, opts?: InvokeOptions): Promise<GetMECRoleResult>
function getMECRoleOutput(args: GetMECRoleOutputArgs, opts?: InvokeOptions): Output<GetMECRoleResult>
Copy
def get_mec_role(device_name: Optional[str] = None,
                 name: Optional[str] = None,
                 resource_group_name: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetMECRoleResult
def get_mec_role_output(device_name: Optional[pulumi.Input[str]] = None,
                 name: Optional[pulumi.Input[str]] = None,
                 resource_group_name: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetMECRoleResult]
Copy
func LookupMECRole(ctx *Context, args *LookupMECRoleArgs, opts ...InvokeOption) (*LookupMECRoleResult, error)
func LookupMECRoleOutput(ctx *Context, args *LookupMECRoleOutputArgs, opts ...InvokeOption) LookupMECRoleResultOutput
Copy

> Note: This function is named LookupMECRole in the Go SDK.

public static class GetMECRole 
{
    public static Task<GetMECRoleResult> InvokeAsync(GetMECRoleArgs args, InvokeOptions? opts = null)
    public static Output<GetMECRoleResult> Invoke(GetMECRoleInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetMECRoleResult> getMECRole(GetMECRoleArgs args, InvokeOptions options)
public static Output<GetMECRoleResult> getMECRole(GetMECRoleArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:databoxedge:getMECRole
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

DeviceName
This property is required.
Changes to this property will trigger replacement.
string
The device name.
Name
This property is required.
Changes to this property will trigger replacement.
string
The role name.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The resource group name.
DeviceName
This property is required.
Changes to this property will trigger replacement.
string
The device name.
Name
This property is required.
Changes to this property will trigger replacement.
string
The role name.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The resource group name.
deviceName
This property is required.
Changes to this property will trigger replacement.
String
The device name.
name
This property is required.
Changes to this property will trigger replacement.
String
The role name.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The resource group name.
deviceName
This property is required.
Changes to this property will trigger replacement.
string
The device name.
name
This property is required.
Changes to this property will trigger replacement.
string
The role name.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The resource group name.
device_name
This property is required.
Changes to this property will trigger replacement.
str
The device name.
name
This property is required.
Changes to this property will trigger replacement.
str
The role name.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The resource group name.
deviceName
This property is required.
Changes to this property will trigger replacement.
String
The device name.
name
This property is required.
Changes to this property will trigger replacement.
String
The role name.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The resource group name.

getMECRole Result

The following output properties are available:

Id string
The path ID that uniquely identifies the object.
Name string
The object name.
RoleStatus string
Role status.
SystemData Pulumi.AzureNative.DataBoxEdge.Outputs.SystemDataResponse
Metadata pertaining to creation and last modification of Role
Type string
The hierarchical type of the object.
ConnectionString Pulumi.AzureNative.DataBoxEdge.Outputs.AsymmetricEncryptedSecretResponse
Activation key of the MEC.
ControllerEndpoint string
Controller Endpoint.
ResourceUniqueId string
Unique Id of the Resource.
Id string
The path ID that uniquely identifies the object.
Name string
The object name.
RoleStatus string
Role status.
SystemData SystemDataResponse
Metadata pertaining to creation and last modification of Role
Type string
The hierarchical type of the object.
ConnectionString AsymmetricEncryptedSecretResponse
Activation key of the MEC.
ControllerEndpoint string
Controller Endpoint.
ResourceUniqueId string
Unique Id of the Resource.
id String
The path ID that uniquely identifies the object.
name String
The object name.
roleStatus String
Role status.
systemData SystemDataResponse
Metadata pertaining to creation and last modification of Role
type String
The hierarchical type of the object.
connectionString AsymmetricEncryptedSecretResponse
Activation key of the MEC.
controllerEndpoint String
Controller Endpoint.
resourceUniqueId String
Unique Id of the Resource.
id string
The path ID that uniquely identifies the object.
name string
The object name.
roleStatus string
Role status.
systemData SystemDataResponse
Metadata pertaining to creation and last modification of Role
type string
The hierarchical type of the object.
connectionString AsymmetricEncryptedSecretResponse
Activation key of the MEC.
controllerEndpoint string
Controller Endpoint.
resourceUniqueId string
Unique Id of the Resource.
id str
The path ID that uniquely identifies the object.
name str
The object name.
role_status str
Role status.
system_data SystemDataResponse
Metadata pertaining to creation and last modification of Role
type str
The hierarchical type of the object.
connection_string AsymmetricEncryptedSecretResponse
Activation key of the MEC.
controller_endpoint str
Controller Endpoint.
resource_unique_id str
Unique Id of the Resource.
id String
The path ID that uniquely identifies the object.
name String
The object name.
roleStatus String
Role status.
systemData Property Map
Metadata pertaining to creation and last modification of Role
type String
The hierarchical type of the object.
connectionString Property Map
Activation key of the MEC.
controllerEndpoint String
Controller Endpoint.
resourceUniqueId String
Unique Id of the Resource.

Supporting Types

AsymmetricEncryptedSecretResponse

EncryptionAlgorithm This property is required. string
The algorithm used to encrypt "Value".
Value This property is required. string
The value of the secret.
EncryptionCertThumbprint string
Thumbprint certificate used to encrypt "Value". If the value is unencrypted, it will be null.
EncryptionAlgorithm This property is required. string
The algorithm used to encrypt "Value".
Value This property is required. string
The value of the secret.
EncryptionCertThumbprint string
Thumbprint certificate used to encrypt "Value". If the value is unencrypted, it will be null.
encryptionAlgorithm This property is required. String
The algorithm used to encrypt "Value".
value This property is required. String
The value of the secret.
encryptionCertThumbprint String
Thumbprint certificate used to encrypt "Value". If the value is unencrypted, it will be null.
encryptionAlgorithm This property is required. string
The algorithm used to encrypt "Value".
value This property is required. string
The value of the secret.
encryptionCertThumbprint string
Thumbprint certificate used to encrypt "Value". If the value is unencrypted, it will be null.
encryption_algorithm This property is required. str
The algorithm used to encrypt "Value".
value This property is required. str
The value of the secret.
encryption_cert_thumbprint str
Thumbprint certificate used to encrypt "Value". If the value is unencrypted, it will be null.
encryptionAlgorithm This property is required. String
The algorithm used to encrypt "Value".
value This property is required. String
The value of the secret.
encryptionCertThumbprint String
Thumbprint certificate used to encrypt "Value". If the value is unencrypted, it will be null.

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 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.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi