Skip to content

Align outputs to API #623

@AlexanderSehr

Description

@AlexanderSehr

Instead of returning outputs like

@description('The name of the VM.')
output virtualMachineName string = virtualMachine.name

@description('The Resource ID of the VM.')
output virtualMachineResourceId string = virtualMachine.id

@description('The name of the Resource Group the VM was created in.')
output virtualMachineResourceGroup string = resourceGroup().name

where the outputs are different from module to module we should rather output

@description('The name of the VM.')
output name string = virtualMachine.name

@description('The Resource ID of the VM.')
output resourceId string = virtualMachine.id

@description('The name of the Resource Group the VM was created in.')
output resourceGroupName string = resourceGroup().name

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions