ArmSecurityCenterModelFactory.SecurityCenterAssignmentData 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.
public static Azure.ResourceManager.SecurityCenter.SecurityCenterAssignmentData SecurityCenterAssignmentData(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, string scope = default, string effect = default, DateTimeOffset? expiresOn = default, BinaryData metadata = default, string assignedStandardId = default, string assignedComponentKey = default, string additionalDataExemptionCategory = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation? location = default, string kind = default, Azure.ETag? eTag = default);
static member SecurityCenterAssignmentData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * string * string * Nullable<DateTimeOffset> * BinaryData * string * string * string * System.Collections.Generic.IDictionary<string, string> * Nullable<Azure.Core.AzureLocation> * string * Nullable<Azure.ETag> -> Azure.ResourceManager.SecurityCenter.SecurityCenterAssignmentData
Public Shared Function SecurityCenterAssignmentData (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 scope As String = Nothing, Optional effect As String = Nothing, Optional expiresOn As Nullable(Of DateTimeOffset) = Nothing, Optional metadata As BinaryData = Nothing, Optional assignedStandardId As String = Nothing, Optional assignedComponentKey As String = Nothing, Optional additionalDataExemptionCategory As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional kind As String = Nothing, Optional eTag As Nullable(Of ETag) = Nothing) As SecurityCenterAssignmentData
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.
- displayName
- String
display name of the standardAssignment.
- description
- String
description of the standardAssignment.
- scope
- String
Scope to which the standardAssignment applies - can be a subscription path or a resource group under that subscription.
- effect
- String
expected effect of this assignment (Disable/Exempt/etc).
- expiresOn
- Nullable<DateTimeOffset>
Expiration date of this assignment as a full ISO date.
- metadata
- BinaryData
The assignment metadata. Metadata is an open ended object and is typically a collection of key value pairs.
- assignedStandardId
- String
Full resourceId of the Microsoft.Security/standard object.
- assignedComponentKey
- String
unique key to a security assessment object.
- additionalDataExemptionCategory
- String
Exemption category of this assignment.
- tags
- IDictionary<String,String>
Resource tags.
- location
- Nullable<AzureLocation>
The geo-location where the resource lives.
- kind
- String
Kind of the resource.
Entity tag is used for comparing two or more entities from the same requested resource.
Returns
A new SecurityCenterAssignmentData instance for mocking.