ArmBatchModelFactory.BatchProvisioningIssueProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Details of a provisioning issue for a network security perimeter (NSP) configuration. Resource providers should generate separate provisioning issue elements for each separate issue detected, and include a meaningful and distinctive description, as well as any appropriate suggestedResourceIds and suggestedAccessRules.
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.