ArmSecurityCenterModelFactory.DeviceSecurityGroupData 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.
Initializes a new instance of DeviceSecurityGroupData.
public static Azure.ResourceManager.SecurityCenter.DeviceSecurityGroupData DeviceSecurityGroupData(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.ThresholdCustomAlertRule> thresholdRules = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SecurityCenter.Models.TimeWindowCustomAlertRule> timeWindowRules = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SecurityCenter.Models.AllowlistCustomAlertRule> allowlistRules = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SecurityCenter.Models.DenylistCustomAlertRule> denylistRules = default);
static member DeviceSecurityGroupData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * seq<Azure.ResourceManager.SecurityCenter.Models.ThresholdCustomAlertRule> * seq<Azure.ResourceManager.SecurityCenter.Models.TimeWindowCustomAlertRule> * seq<Azure.ResourceManager.SecurityCenter.Models.AllowlistCustomAlertRule> * seq<Azure.ResourceManager.SecurityCenter.Models.DenylistCustomAlertRule> -> Azure.ResourceManager.SecurityCenter.DeviceSecurityGroupData
Public Shared Function DeviceSecurityGroupData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional thresholdRules As IEnumerable(Of ThresholdCustomAlertRule) = Nothing, Optional timeWindowRules As IEnumerable(Of TimeWindowCustomAlertRule) = Nothing, Optional allowlistRules As IEnumerable(Of AllowlistCustomAlertRule) = Nothing, Optional denylistRules As IEnumerable(Of DenylistCustomAlertRule) = Nothing) As DeviceSecurityGroupData
Parameters
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.
- thresholdRules
- IEnumerable<ThresholdCustomAlertRule>
The list of custom alert threshold rules.
- timeWindowRules
- IEnumerable<TimeWindowCustomAlertRule>
The list of custom alert time-window rules.
- allowlistRules
- IEnumerable<AllowlistCustomAlertRule>
The allow-list custom alert rules.
- denylistRules
- IEnumerable<DenylistCustomAlertRule>
The deny-list custom alert rules.
Returns
A new DeviceSecurityGroupData instance for mocking.