ArmSecurityCenterModelFactory.SecurityStandardData Method

Definition

public static Azure.ResourceManager.SecurityCenter.SecurityStandardData SecurityStandardData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string displayName = default, Azure.ResourceManager.SecurityCenter.Models.SecurityStandardType? standardType = default, string description = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SecurityCenter.Models.PartialAssessmentProperties> assessments = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SecurityCenter.Models.StandardSupportedCloud> cloudProviders = default, string policySetDefinitionId = default, Azure.ResourceManager.SecurityCenter.Models.StandardMetadata metadata = default);
static member SecurityStandardData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<Azure.ResourceManager.SecurityCenter.Models.SecurityStandardType> * string * seq<Azure.ResourceManager.SecurityCenter.Models.PartialAssessmentProperties> * seq<Azure.ResourceManager.SecurityCenter.Models.StandardSupportedCloud> * string * Azure.ResourceManager.SecurityCenter.Models.StandardMetadata -> Azure.ResourceManager.SecurityCenter.SecurityStandardData
Public Shared Function SecurityStandardData (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 standardType As Nullable(Of SecurityStandardType) = Nothing, Optional description As String = Nothing, Optional assessments As IEnumerable(Of PartialAssessmentProperties) = Nothing, Optional cloudProviders As IEnumerable(Of StandardSupportedCloud) = Nothing, Optional policySetDefinitionId As String = Nothing, Optional metadata As StandardMetadata = Nothing) As SecurityStandardData

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 standard, equivalent to the standardId.

standardType
Nullable<SecurityStandardType>

Standard type (Custom or Default or Compliance only currently).

description
String

Description of the standard.

assessments
IEnumerable<PartialAssessmentProperties>

List of assessment keys to apply to standard scope.

cloudProviders
IEnumerable<StandardSupportedCloud>

List of all standard supported clouds.

policySetDefinitionId
String

The policy set definition id associated with the standard.

metadata
StandardMetadata

The security standard metadata.

Returns

A new SecurityStandardData instance for mocking.

Applies to