Share via


ArmSecurityCenterModelFactory.JitNetworkAccessPolicyData Method

Definition

Initializes a new instance of JitNetworkAccessPolicyData.

public static Azure.ResourceManager.SecurityCenter.JitNetworkAccessPolicyData JitNetworkAccessPolicyData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SecurityCenter.Models.JitNetworkAccessPolicyVirtualMachine> virtualMachines = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SecurityCenter.Models.JitNetworkAccessRequestInfo> requests = default, string provisioningState = default, string kind = default, Azure.Core.AzureLocation? location = default);
static member JitNetworkAccessPolicyData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * seq<Azure.ResourceManager.SecurityCenter.Models.JitNetworkAccessPolicyVirtualMachine> * seq<Azure.ResourceManager.SecurityCenter.Models.JitNetworkAccessRequestInfo> * string * string * Nullable<Azure.Core.AzureLocation> -> Azure.ResourceManager.SecurityCenter.JitNetworkAccessPolicyData
Public Shared Function JitNetworkAccessPolicyData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional virtualMachines As IEnumerable(Of JitNetworkAccessPolicyVirtualMachine) = Nothing, Optional requests As IEnumerable(Of JitNetworkAccessRequestInfo) = Nothing, Optional provisioningState As String = Nothing, Optional kind As String = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing) As JitNetworkAccessPolicyData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

virtualMachines
IEnumerable<JitNetworkAccessPolicyVirtualMachine>

Configurations for Microsoft.Compute/virtualMachines resource type.

provisioningState
String

Gets the provisioning state of the Just-in-Time policy.

kind
String

Kind of the resource.

location
Nullable<AzureLocation>

Location where the resource is stored.

Returns

A new JitNetworkAccessPolicyData instance for mocking.

Applies to