ArmCosmosDBModelFactory.ProvisioningIssueProperties Method

Definition

Initializes a new instance of ProvisioningIssueProperties.

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

Parameters

issueType
Nullable<IssueType>

Type of issue.

severity
Nullable<Severity>

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<AccessRule>

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

Returns

A new ProvisioningIssueProperties instance for mocking.

Applies to