Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Bicep resource definition
The energyServices resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.OpenEnergyPlatform/energyServices resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.OpenEnergyPlatform/energyServices@2021-06-01-preview' = {
location: 'string'
name: 'string'
properties: {
authAppId: 'string'
dataPartitionNames: [
{
name: 'string'
}
]
}
tags: {
{customized property}: 'string'
}
}
Property Values
Microsoft.OpenEnergyPlatform/energyServices
Name | Description | Value |
---|---|---|
location | Geo-location where the resource lives. | string (required) |
name | The resource name | string (required) |
properties | EnergyServiceProperties | |
tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
DataPartitionNames
Name | Description | Value |
---|---|---|
name | string |
EnergyServiceProperties
Name | Description | Value |
---|---|---|
authAppId | string | |
dataPartitionNames | DataPartitionNames[] |
EnergyServiceTags
Name | Description | Value |
---|
ARM template resource definition
The energyServices resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.OpenEnergyPlatform/energyServices resource, add the following JSON to your template.
{
"type": "Microsoft.OpenEnergyPlatform/energyServices",
"apiVersion": "2021-06-01-preview",
"name": "string",
"location": "string",
"properties": {
"authAppId": "string",
"dataPartitionNames": [
{
"name": "string"
}
]
},
"tags": {
"{customized property}": "string"
}
}
Property Values
Microsoft.OpenEnergyPlatform/energyServices
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2021-06-01-preview' |
location | Geo-location where the resource lives. | string (required) |
name | The resource name | string (required) |
properties | EnergyServiceProperties | |
tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
type | The resource type | 'Microsoft.OpenEnergyPlatform/energyServices' |
DataPartitionNames
Name | Description | Value |
---|---|---|
name | string |
EnergyServiceProperties
Name | Description | Value |
---|---|---|
authAppId | string | |
dataPartitionNames | DataPartitionNames[] |
EnergyServiceTags
Name | Description | Value |
---|
Usage Examples
Terraform (AzAPI provider) resource definition
The energyServices resource type can be deployed with operations that target:
- Resource groups
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.OpenEnergyPlatform/energyServices resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.OpenEnergyPlatform/energyServices@2021-06-01-preview"
name = "string"
parent_id = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = {
properties = {
authAppId = "string"
dataPartitionNames = [
{
name = "string"
}
]
}
}
}
Property Values
Microsoft.OpenEnergyPlatform/energyServices
Name | Description | Value |
---|---|---|
location | Geo-location where the resource lives. | string (required) |
name | The resource name | string (required) |
properties | EnergyServiceProperties | |
tags | Resource tags | Dictionary of tag names and values. |
type | The resource type | "Microsoft.OpenEnergyPlatform/energyServices@2021-06-01-preview" |
DataPartitionNames
Name | Description | Value |
---|---|---|
name | string |
EnergyServiceProperties
Name | Description | Value |
---|---|---|
authAppId | string | |
dataPartitionNames | DataPartitionNames[] |
EnergyServiceTags
Name | Description | Value |
---|