@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.13 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Returns oep resource for a given name.
*
* Uses Azure REST API version 2022-04-04-preview.
*/
export declare function getEnergyService(args: GetEnergyServiceArgs, opts?: pulumi.InvokeOptions): Promise<GetEnergyServiceResult>;
export interface GetEnergyServiceArgs {
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
/**
* The resource name.
*/
resourceName: string;
}
export interface GetEnergyServiceResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*/
readonly id: string;
/**
* Geo-location where the resource lives.
*/
readonly location: string;
/**
* The name of the resource
*/
readonly name: string;
readonly properties: outputs.openenergyplatform.EnergyServicePropertiesResponse;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: outputs.openenergyplatform.SystemDataResponse;
/**
* Resource tags.
*/
readonly tags?: {
[key: string]: string;
};
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
}
/**
* Returns oep resource for a given name.
*
* Uses Azure REST API version 2022-04-04-preview.
*/
export declare function getEnergyServiceOutput(args: GetEnergyServiceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetEnergyServiceResult>;
export interface GetEnergyServiceOutputArgs {
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
/**
* The resource name.
*/
resourceName: pulumi.Input<string>;
}