Skip to content

Network interface is being doubled when async create VirtualMachine #1189

Description

@jkubrynski

When I invoke createAsync() on the Azure.virtualMachines() definition it doubles the network interface setting. With normal create() it works OK.

"networkProfile": {
    "networkInterfaces": [
        {
            "id": "/subscriptions/XXXXXXX/resourceGroups/YYYY/providers/Microsoft.Network/networkInterfaces/ZZZZ",
            "properties": {
                "primary": true
            }
        },
        {
            "id": "/subscriptions/XXXXXXX/resourceGroups/YYYY/providers/Microsoft.Network/networkInterfaces/ZZZZ",
            "properties": {
                "primary": true
            }
        }
    ]
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions