JitNetworkAccessRequestVirtualMachine Constructor

Definition

Initializes a new instance of JitNetworkAccessRequestVirtualMachine.

public JitNetworkAccessRequestVirtualMachine (Azure.Core.ResourceIdentifier id, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SecurityCenter.Models.JitNetworkAccessRequestPort> ports);
new Azure.ResourceManager.SecurityCenter.Models.JitNetworkAccessRequestVirtualMachine : Azure.Core.ResourceIdentifier * seq<Azure.ResourceManager.SecurityCenter.Models.JitNetworkAccessRequestPort> -> Azure.ResourceManager.SecurityCenter.Models.JitNetworkAccessRequestVirtualMachine
Public Sub New (id As ResourceIdentifier, ports As IEnumerable(Of JitNetworkAccessRequestPort))

Parameters

id
ResourceIdentifier

Resource ID of the virtual machine that is linked to this policy.

ports
IEnumerable<JitNetworkAccessRequestPort>

The ports that were opened for the virtual machine.

Exceptions

id or ports is null.

Applies to