EnergyService

API Version: 2022-04-04-preview.

Example Usage

OepResource_Create

using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var energyService = new AzureNative.OpenEnergyPlatform.EnergyService("energyService", new()
{
ResourceGroupName = "DummyResourceGroupName",
ResourceName = "DummyResourceName",
});
});
package main
import (
openenergyplatform "github.com/pulumi/pulumi-azure-native/sdk/go/azure/openenergyplatform"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := openenergyplatform.NewEnergyService(ctx, "energyService", &openenergyplatform.EnergyServiceArgs{
ResourceGroupName: pulumi.String("DummyResourceGroupName"),
ResourceName: pulumi.String("DummyResourceName"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.openenergyplatform.EnergyService;
import com.pulumi.azurenative.openenergyplatform.EnergyServiceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var energyService = new EnergyService("energyService", EnergyServiceArgs.builder()
.resourceGroupName("DummyResourceGroupName")
.resourceName("DummyResourceName")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:openenergyplatform:EnergyService DummyResourceName /subscriptions/00000000-0000-0000-0000-000000000001/resourceGroups/DummyResourceGroupName/providers/Microsoft.OEP/oepResource/DummyResourceName

Properties

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val location: Output<String>

Geo-location where the resource lives.

Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Azure Resource Manager metadata containing createdBy and modifiedBy information.

Link copied to clipboard
val tags: Output<Map<String, String>>?

Resource tags.

Link copied to clipboard
val type: Output<String>

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Link copied to clipboard
val urn: Output<String>