你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
SecurityTask Constructors
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.
Overloads
SecurityTask() |
Initializes a new instance of the SecurityTask class. |
SecurityTask(String, String, String, String, Nullable<DateTime>, SecurityTaskParameters, Nullable<DateTime>, String) |
Initializes a new instance of the SecurityTask class. |
SecurityTask()
Initializes a new instance of the SecurityTask class.
public SecurityTask ();
Public Sub New ()
Applies to
SecurityTask(String, String, String, String, Nullable<DateTime>, SecurityTaskParameters, Nullable<DateTime>, String)
Initializes a new instance of the SecurityTask class.
public SecurityTask (string id = default, string name = default, string type = default, string state = default, DateTime? creationTimeUtc = default, Microsoft.Azure.Management.Security.Models.SecurityTaskParameters securityTaskParameters = default, DateTime? lastStateChangeTimeUtc = default, string subState = default);
new Microsoft.Azure.Management.Security.Models.SecurityTask : string * string * string * string * Nullable<DateTime> * Microsoft.Azure.Management.Security.Models.SecurityTaskParameters * Nullable<DateTime> * string -> Microsoft.Azure.Management.Security.Models.SecurityTask
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional state As String = Nothing, Optional creationTimeUtc As Nullable(Of DateTime) = Nothing, Optional securityTaskParameters As SecurityTaskParameters = Nothing, Optional lastStateChangeTimeUtc As Nullable(Of DateTime) = Nothing, Optional subState As String = Nothing)
Parameters
- id
- String
Resource Id
- name
- String
Resource name
- type
- String
Resource type
- state
- String
State of the task (Active, Resolved etc.)
- securityTaskParameters
- SecurityTaskParameters
Changing set of properties, depending on the task type that is derived from the name field
- subState
- String
Additional data on the state of the task