1. Packages
  2. Azure Native
  3. API Docs
  4. openenergyplatform
  5. listEnergyServicePartitions
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

azure-native.openenergyplatform.listEnergyServicePartitions

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

Method that gets called when list of partitions is requested.

Uses Azure REST API version 2022-04-04-preview.

Using listEnergyServicePartitions

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 listEnergyServicePartitions(args: ListEnergyServicePartitionsArgs, opts?: InvokeOptions): Promise<ListEnergyServicePartitionsResult>
function listEnergyServicePartitionsOutput(args: ListEnergyServicePartitionsOutputArgs, opts?: InvokeOptions): Output<ListEnergyServicePartitionsResult>
Copy
def list_energy_service_partitions(resource_group_name: Optional[str] = None,
                                   resource_name: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> ListEnergyServicePartitionsResult
def list_energy_service_partitions_output(resource_group_name: Optional[pulumi.Input[str]] = None,
                                   resource_name: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[ListEnergyServicePartitionsResult]
Copy
func ListEnergyServicePartitions(ctx *Context, args *ListEnergyServicePartitionsArgs, opts ...InvokeOption) (*ListEnergyServicePartitionsResult, error)
func ListEnergyServicePartitionsOutput(ctx *Context, args *ListEnergyServicePartitionsOutputArgs, opts ...InvokeOption) ListEnergyServicePartitionsResultOutput
Copy

> Note: This function is named ListEnergyServicePartitions in the Go SDK.

public static class ListEnergyServicePartitions 
{
    public static Task<ListEnergyServicePartitionsResult> InvokeAsync(ListEnergyServicePartitionsArgs args, InvokeOptions? opts = null)
    public static Output<ListEnergyServicePartitionsResult> Invoke(ListEnergyServicePartitionsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<ListEnergyServicePartitionsResult> listEnergyServicePartitions(ListEnergyServicePartitionsArgs args, InvokeOptions options)
public static Output<ListEnergyServicePartitionsResult> listEnergyServicePartitions(ListEnergyServicePartitionsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:openenergyplatform:listEnergyServicePartitions
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
ResourceName
This property is required.
Changes to this property will trigger replacement.
string
The resource name.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
ResourceName
This property is required.
Changes to this property will trigger replacement.
string
The resource name.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
resourceName
This property is required.
Changes to this property will trigger replacement.
String
The resource name.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
resourceName
This property is required.
Changes to this property will trigger replacement.
string
The resource name.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
resource_name
This property is required.
Changes to this property will trigger replacement.
str
The resource name.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
resourceName
This property is required.
Changes to this property will trigger replacement.
String
The resource name.

listEnergyServicePartitions Result

The following output properties are available:

DataPartitionInfo List<Pulumi.AzureNative.OpenEnergyPlatform.Outputs.DataPartitionPropertiesResponse>
List of data partitions along with their properties in a given OEP resource.
DataPartitionInfo []DataPartitionPropertiesResponse
List of data partitions along with their properties in a given OEP resource.
dataPartitionInfo List<DataPartitionPropertiesResponse>
List of data partitions along with their properties in a given OEP resource.
dataPartitionInfo DataPartitionPropertiesResponse[]
List of data partitions along with their properties in a given OEP resource.
data_partition_info Sequence[DataPartitionPropertiesResponse]
List of data partitions along with their properties in a given OEP resource.
dataPartitionInfo List<Property Map>
List of data partitions along with their properties in a given OEP resource.

Supporting Types

DataPartitionPropertiesResponse

Name string
Name of the data partition
ProvisioningState string
Name of the data partition
Name string
Name of the data partition
ProvisioningState string
Name of the data partition
name String
Name of the data partition
provisioningState String
Name of the data partition
name string
Name of the data partition
provisioningState string
Name of the data partition
name str
Name of the data partition
provisioning_state str
Name of the data partition
name String
Name of the data partition
provisioningState String
Name of the data partition

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi