JitNetworkAccessPolicyInitiateVirtualMachine Constructor

Definition

Initializes a new instance of 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))

Parameters

id
ResourceIdentifier

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

ports
IEnumerable<JitNetworkAccessPolicyInitiatePort>

The ports to open for the resource with the id.

Exceptions

id or ports is null.

Applies to