Пример #1
0
 /// <summary>
 /// Initializes a new instance of the Incident class.
 /// </summary>
 /// <param name="severity">The severity of the incident. Possible
 /// values include: 'High', 'Medium', 'Low', 'Informational'</param>
 /// <param name="status">The status of the incident. Possible values
 /// include: 'New', 'Active', 'Closed'</param>
 /// <param name="title">The title of the incident</param>
 /// <param name="id">Fully qualified resource ID for the resource. Ex -
 /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}</param>
 /// <param name="name">The name of the resource</param>
 /// <param name="type">The type of the resource. E.g.
 /// "Microsoft.Compute/virtualMachines" or
 /// "Microsoft.Storage/storageAccounts"</param>
 /// <param name="systemData">Azure Resource Manager metadata containing
 /// createdBy and modifiedBy information.</param>
 /// <param name="etag">Etag of the azure resource</param>
 /// <param name="additionalData">Additional data on the
 /// incident</param>
 /// <param name="classification">The reason the incident was closed.
 /// Possible values include: 'Undetermined', 'TruePositive',
 /// 'BenignPositive', 'FalsePositive'</param>
 /// <param name="classificationComment">Describes the reason the
 /// incident was closed</param>
 /// <param name="classificationReason">The classification reason the
 /// incident was closed with. Possible values include:
 /// 'SuspiciousActivity', 'SuspiciousButExpected',
 /// 'IncorrectAlertLogic', 'InaccurateData'</param>
 /// <param name="createdTimeUtc">The time the incident was
 /// created</param>
 /// <param name="description">The description of the incident</param>
 /// <param name="firstActivityTimeUtc">The time of the first activity
 /// in the incident</param>
 /// <param name="incidentUrl">The deep-link url to the incident in
 /// Azure portal</param>
 /// <param name="incidentNumber">A sequential number</param>
 /// <param name="labels">List of labels relevant to this
 /// incident</param>
 /// <param name="providerName">The name of the source provider that
 /// generated the incident</param>
 /// <param name="providerIncidentId">The incident ID assigned by the
 /// incident provider</param>
 /// <param name="lastActivityTimeUtc">The time of the last activity in
 /// the incident</param>
 /// <param name="lastModifiedTimeUtc">The last time the incident was
 /// updated</param>
 /// <param name="owner">Describes a user that the incident is assigned
 /// to</param>
 /// <param name="relatedAnalyticRuleIds">List of resource ids of
 /// Analytic rules related to the incident</param>
 /// <param name="teamInformation">Describes a team for the
 /// incident</param>
 public Incident(string severity, string status, string title, string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), string etag = default(string), IncidentAdditionalData additionalData = default(IncidentAdditionalData), string classification = default(string), string classificationComment = default(string), string classificationReason = default(string), System.DateTime?createdTimeUtc = default(System.DateTime?), string description = default(string), System.DateTime?firstActivityTimeUtc = default(System.DateTime?), string incidentUrl = default(string), int?incidentNumber = default(int?), IList <IncidentLabel> labels = default(IList <IncidentLabel>), string providerName = default(string), string providerIncidentId = default(string), System.DateTime?lastActivityTimeUtc = default(System.DateTime?), System.DateTime?lastModifiedTimeUtc = default(System.DateTime?), IncidentOwnerInfo owner = default(IncidentOwnerInfo), IList <string> relatedAnalyticRuleIds = default(IList <string>), TeamInformation teamInformation = default(TeamInformation))
     : base(id, name, type, systemData, etag)
 {
     AdditionalData        = additionalData;
     Classification        = classification;
     ClassificationComment = classificationComment;
     ClassificationReason  = classificationReason;
     CreatedTimeUtc        = createdTimeUtc;
     Description           = description;
     FirstActivityTimeUtc  = firstActivityTimeUtc;
     IncidentUrl           = incidentUrl;
     IncidentNumber        = incidentNumber;
     Labels              = labels;
     ProviderName        = providerName;
     ProviderIncidentId  = providerIncidentId;
     LastActivityTimeUtc = lastActivityTimeUtc;
     LastModifiedTimeUtc = lastModifiedTimeUtc;
     Owner = owner;
     RelatedAnalyticRuleIds = relatedAnalyticRuleIds;
     Severity        = severity;
     Status          = status;
     TeamInformation = teamInformation;
     Title           = title;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the IncidentPropertiesAction class.
 /// </summary>
 /// <param name="severity">Possible values include: 'High', 'Medium',
 /// 'Low', 'Informational'</param>
 /// <param name="status">Possible values include: 'New', 'Active',
 /// 'Closed'</param>
 /// <param name="classification">Possible values include:
 /// 'Undetermined', 'TruePositive', 'BenignPositive',
 /// 'FalsePositive'</param>
 /// <param name="classificationReason">Possible values include:
 /// 'SuspiciousActivity', 'SuspiciousButExpected',
 /// 'IncorrectAlertLogic', 'InaccurateData'</param>
 /// <param name="classificationComment">Describes the reason the
 /// incident was closed</param>
 /// <param name="labels">List of labels to add to the incident</param>
 public IncidentPropertiesAction(string severity = default(string), string status = default(string), string classification = default(string), string classificationReason = default(string), string classificationComment = default(string), IncidentOwnerInfo owner = default(IncidentOwnerInfo), IList <IncidentLabel> labels = default(IList <IncidentLabel>))
 {
     Severity              = severity;
     Status                = status;
     Classification        = classification;
     ClassificationReason  = classificationReason;
     ClassificationComment = classificationComment;
     Owner  = owner;
     Labels = labels;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the
 /// AutomationRuleModifyPropertiesActionActionConfiguration class.
 /// </summary>
 /// <param name="classification">The reason the incident was closed.
 /// Possible values include: 'Undetermined', 'TruePositive',
 /// 'BenignPositive', 'FalsePositive'</param>
 /// <param name="classificationComment">Describes the reason the
 /// incident was closed</param>
 /// <param name="classificationReason">The classification reason the
 /// incident was closed with. Possible values include:
 /// 'SuspiciousActivity', 'SuspiciousButExpected',
 /// 'IncorrectAlertLogic', 'InaccurateData'</param>
 /// <param name="labels">List of labels to add to the incident</param>
 /// <param name="owner">Describes a user that the incident is assigned
 /// to</param>
 /// <param name="severity">The severity of the incident. Possible
 /// values include: 'High', 'Medium', 'Low', 'Informational'</param>
 /// <param name="status">The status of the incident. Possible values
 /// include: 'New', 'Active', 'Closed'</param>
 public AutomationRuleModifyPropertiesActionActionConfiguration(string classification = default(string), string classificationComment = default(string), string classificationReason = default(string), IList <IncidentLabel> labels = default(IList <IncidentLabel>), IncidentOwnerInfo owner = default(IncidentOwnerInfo), string severity = default(string), string status = default(string))
 {
     Classification        = classification;
     ClassificationComment = classificationComment;
     ClassificationReason  = classificationReason;
     Labels   = labels;
     Owner    = owner;
     Severity = severity;
     Status   = status;
     CustomInit();
 }