1. Packages
  2. Azure Native
  3. API Docs
  4. databoxedge
  5. getMECRole
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.34.0 published on Thursday, Mar 28, 2024 by Pulumi

azure-native.databoxedge.getMECRole

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.34.0 published on Thursday, Mar 28, 2024 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>
    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]
    func LookupMECRole(ctx *Context, args *LookupMECRoleArgs, opts ...InvokeOption) (*LookupMECRoleResult, error)
    func LookupMECRoleOutput(ctx *Context, args *LookupMECRoleOutputArgs, opts ...InvokeOption) LookupMECRoleResultOutput

    > 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)
    }
    public static CompletableFuture<GetMECRoleResult> getMECRole(GetMECRoleArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:databoxedge:getMECRole
      arguments:
        # arguments dictionary

    The following arguments are supported:

    DeviceName string
    The device name.
    Name string
    The role name.
    ResourceGroupName string
    The resource group name.
    DeviceName string
    The device name.
    Name string
    The role name.
    ResourceGroupName string
    The resource group name.
    deviceName String
    The device name.
    name String
    The role name.
    resourceGroupName String
    The resource group name.
    deviceName string
    The device name.
    name string
    The role name.
    resourceGroupName string
    The resource group name.
    device_name str
    The device name.
    name str
    The role name.
    resource_group_name str
    The resource group name.
    deviceName String
    The device name.
    name String
    The role name.
    resourceGroupName 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 string
    The algorithm used to encrypt "Value".
    Value string
    The value of the secret.
    EncryptionCertThumbprint string
    Thumbprint certificate used to encrypt "Value". If the value is unencrypted, it will be null.
    EncryptionAlgorithm string
    The algorithm used to encrypt "Value".
    Value string
    The value of the secret.
    EncryptionCertThumbprint string
    Thumbprint certificate used to encrypt "Value". If the value is unencrypted, it will be null.
    encryptionAlgorithm String
    The algorithm used to encrypt "Value".
    value String
    The value of the secret.
    encryptionCertThumbprint String
    Thumbprint certificate used to encrypt "Value". If the value is unencrypted, it will be null.
    encryptionAlgorithm string
    The algorithm used to encrypt "Value".
    value 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 str
    The algorithm used to encrypt "Value".
    value 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 String
    The algorithm used to encrypt "Value".
    value 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 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.34.0 published on Thursday, Mar 28, 2024 by Pulumi