UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

89 lines (88 loc) 2.06 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets a specific role by name. * * Uses Azure REST API version 2023-07-01. */ export declare function getMECRole(args: GetMECRoleArgs, opts?: pulumi.InvokeOptions): Promise<GetMECRoleResult>; export interface GetMECRoleArgs { /** * The device name. */ deviceName: string; /** * The role name. */ name: string; /** * The resource group name. */ resourceGroupName: string; } /** * MEC role. */ export interface GetMECRoleResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Activation key of the MEC. */ readonly connectionString?: outputs.databoxedge.AsymmetricEncryptedSecretResponse; /** * Controller Endpoint. */ readonly controllerEndpoint?: string; /** * The path ID that uniquely identifies the object. */ readonly id: string; /** * Role type. * Expected value is 'MEC'. */ readonly kind: "MEC"; /** * The object name. */ readonly name: string; /** * Unique Id of the Resource. */ readonly resourceUniqueId?: string; /** * Role status. */ readonly roleStatus: string; /** * Metadata pertaining to creation and last modification of Role */ readonly systemData: outputs.databoxedge.SystemDataResponse; /** * The hierarchical type of the object. */ readonly type: string; } /** * Gets a specific role by name. * * Uses Azure REST API version 2023-07-01. */ export declare function getMECRoleOutput(args: GetMECRoleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetMECRoleResult>; export interface GetMECRoleOutputArgs { /** * The device name. */ deviceName: pulumi.Input<string>; /** * The role name. */ name: pulumi.Input<string>; /** * The resource group name. */ resourceGroupName: pulumi.Input<string>; }