Share via


ArmBatchModelFactory.BatchProvisioningIssueProperties Method

Definition

Initializes a new instance of BatchProvisioningIssueProperties.

public static Azure.ResourceManager.Batch.Models.BatchProvisioningIssueProperties BatchProvisioningIssueProperties (Azure.ResourceManager.Batch.Models.BatchIssueType? issueType = default, Azure.ResourceManager.Batch.Models.BatchSeverity? severity = default, string description = default, System.Collections.Generic.IEnumerable<Azure.Core.ResourceIdentifier> suggestedResourceIds = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Batch.Models.BatchAccessRule> suggestedAccessRules = default);
static member BatchProvisioningIssueProperties : Nullable<Azure.ResourceManager.Batch.Models.BatchIssueType> * Nullable<Azure.ResourceManager.Batch.Models.BatchSeverity> * string * seq<Azure.Core.ResourceIdentifier> * seq<Azure.ResourceManager.Batch.Models.BatchAccessRule> -> Azure.ResourceManager.Batch.Models.BatchProvisioningIssueProperties
Public Shared Function BatchProvisioningIssueProperties (Optional issueType As Nullable(Of BatchIssueType) = Nothing, Optional severity As Nullable(Of BatchSeverity) = Nothing, Optional description As String = Nothing, Optional suggestedResourceIds As IEnumerable(Of ResourceIdentifier) = Nothing, Optional suggestedAccessRules As IEnumerable(Of BatchAccessRule) = Nothing) As BatchProvisioningIssueProperties

Parameters

issueType
Nullable<BatchIssueType>

Type of issue.

severity
Nullable<BatchSeverity>

Severity of the issue.

description
String

Description of the issue.

suggestedResourceIds
IEnumerable<ResourceIdentifier>

Fully qualified resource IDs of suggested resources that can be associated to the network security perimeter (NSP) to remediate the issue.

suggestedAccessRules
IEnumerable<BatchAccessRule>

Access rules that can be added to the network security profile (NSP) to remediate the issue.

Returns

A new BatchProvisioningIssueProperties instance for mocking.

Applies to