Compartilhar via


JitNetworkAccessRequestVirtualMachine Construtor

Definição

Inicializa uma nova instância de 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))

Parâmetros

id
ResourceIdentifier

ID do recurso da máquina virtual vinculada a essa política.

ports
IEnumerable<JitNetworkAccessRequestPort>

As portas que foram abertas para a máquina virtual.

Exceções

id ou ports é nulo.

Aplica-se a