"use strict";
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getEntityOutput = exports.getEntity = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * List all entities (Management Groups, Subscriptions, etc.) for the authenticated user.
 *
 * Uses Azure REST API version 2023-04-01.
 *
 * Other available API versions: 2021-04-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native management [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
 */
function getEntity(args, opts) {
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("azure-native:management:getEntity", {
        "filter": args.filter,
        "groupName": args.groupName,
        "search": args.search,
        "select": args.select,
        "skip": args.skip,
        "skiptoken": args.skiptoken,
        "top": args.top,
        "view": args.view,
    }, opts);
}
exports.getEntity = getEntity;
/**
 * List all entities (Management Groups, Subscriptions, etc.) for the authenticated user.
 *
 * Uses Azure REST API version 2023-04-01.
 *
 * Other available API versions: 2021-04-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native management [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
 */
function getEntityOutput(args, opts) {
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invokeOutput("azure-native:management:getEntity", {
        "filter": args.filter,
        "groupName": args.groupName,
        "search": args.search,
        "select": args.select,
        "skip": args.skip,
        "skiptoken": args.skiptoken,
        "top": args.top,
        "view": args.view,
    }, opts);
}
exports.getEntityOutput = getEntityOutput;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0RW50aXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vbWFuYWdlbWVudC9nZXRFbnRpdHkudHMiXSwibm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