1. Packages
  2. Azure Native v1
  3. API Docs
  4. databoxedge
  5. getMECRole
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.getMECRole

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

    Gets a specific role by name. API Version: 2020-12-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
    Role configured on ASE resource
    Type string
    The hierarchical type of the object.
    ConnectionString Pulumi.AzureNative.DataBoxEdge.Outputs.AsymmetricEncryptedSecretResponse
    Activation key of the MEC.
    Id string
    The path ID that uniquely identifies the object.
    Name string
    The object name.
    RoleStatus string
    Role status.
    SystemData SystemDataResponse
    Role configured on ASE resource
    Type string
    The hierarchical type of the object.
    ConnectionString AsymmetricEncryptedSecretResponse
    Activation key of the MEC.
    id String
    The path ID that uniquely identifies the object.
    name String
    The object name.
    roleStatus String
    Role status.
    systemData SystemDataResponse
    Role configured on ASE resource
    type String
    The hierarchical type of the object.
    connectionString AsymmetricEncryptedSecretResponse
    Activation key of the MEC.
    id string
    The path ID that uniquely identifies the object.
    name string
    The object name.
    roleStatus string
    Role status.
    systemData SystemDataResponse
    Role configured on ASE resource
    type string
    The hierarchical type of the object.
    connectionString AsymmetricEncryptedSecretResponse
    Activation key of the MEC.
    id str
    The path ID that uniquely identifies the object.
    name str
    The object name.
    role_status str
    Role status.
    system_data SystemDataResponse
    Role configured on ASE resource
    type str
    The hierarchical type of the object.
    connection_string AsymmetricEncryptedSecretResponse
    Activation key of the MEC.
    id String
    The path ID that uniquely identifies the object.
    name String
    The object name.
    roleStatus String
    Role status.
    systemData Property Map
    Role configured on ASE resource
    type String
    The hierarchical type of the object.
    connectionString Property Map
    Activation key of the MEC.

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

    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