ArmSecurityCenterModelFactory.SecurityApplicationData Method

Definition

Initializes a new instance of SecurityApplicationData.

public static Azure.ResourceManager.SecurityCenter.SecurityApplicationData SecurityApplicationData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string displayName = default, string description = default, Azure.ResourceManager.SecurityCenter.Models.ApplicationSourceResourceType? sourceResourceType = default, System.Collections.Generic.IEnumerable<BinaryData> conditionSets = default);
static member SecurityApplicationData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * Nullable<Azure.ResourceManager.SecurityCenter.Models.ApplicationSourceResourceType> * seq<BinaryData> -> Azure.ResourceManager.SecurityCenter.SecurityApplicationData
Public Shared Function SecurityApplicationData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional displayName As String = Nothing, Optional description As String = Nothing, Optional sourceResourceType As Nullable(Of ApplicationSourceResourceType) = Nothing, Optional conditionSets As IEnumerable(Of BinaryData) = Nothing) As SecurityApplicationData

Parameters

id
ResourceIdentifier

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
String

The name of the resource.

resourceType
ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

displayName
String

display name of the application.

description
String

description of the application.

sourceResourceType
Nullable<ApplicationSourceResourceType>

The application source, what it affects, e.g. Assessments.

conditionSets
IEnumerable<BinaryData>

The application conditionSets - see examples.

Returns

A new SecurityApplicationData instance for mocking.

Applies to