ArmSecurityCenterModelFactory.DiscoveredSecuritySolutionData Method

Definition

public static Azure.ResourceManager.SecurityCenter.DiscoveredSecuritySolutionData DiscoveredSecuritySolutionData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.SecurityCenter.Models.SecurityFamily securityFamily = default, string offer = default, string publisher = default, string sku = default, Azure.Core.AzureLocation location = default);
static member DiscoveredSecuritySolutionData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.ResourceManager.SecurityCenter.Models.SecurityFamily * string * string * string * Azure.Core.AzureLocation -> Azure.ResourceManager.SecurityCenter.DiscoveredSecuritySolutionData
Public Shared Function DiscoveredSecuritySolutionData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional securityFamily As SecurityFamily = Nothing, Optional offer As String = Nothing, Optional publisher As String = Nothing, Optional sku As String = Nothing, Optional location As AzureLocation = Nothing) As DiscoveredSecuritySolutionData

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.

securityFamily
SecurityFamily

The security family of the discovered solution.

offer
String

The security solutions' image offer.

publisher
String

The security solutions' image publisher.

sku
String

The security solutions' image sku.

location
AzureLocation

Location where the resource is stored.

Returns

A new DiscoveredSecuritySolutionData instance for mocking.

Exceptions

offer, publisher or sku is null.

Applies to