Partilhar via


JitNetworkAccessPolicyInitiateVirtualMachine Construtor

Definição

Inicializa uma nova instância de JitNetworkAccessPolicyInitiateVirtualMachine.

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

Parâmetros

id
ResourceIdentifier

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

ports
IEnumerable<JitNetworkAccessPolicyInitiatePort>

As portas a serem abertas para o recurso com o id.

Exceções

id ou ports é nulo.

Aplica-se a