/// <summary> /// Initializes a new instance of the AppWhitelistingPutGroupData /// class. /// </summary> /// <param name="enforcementMode">The enforcement mode of the group. /// Can also be defined per collection type by using ProtectionMode. /// Possible values include: 'Audit', 'Enforce', 'None'</param> /// <param name="protectionMode">The protection mode of the group per /// collection type. Can also be defined for all collection types by /// using EnforcementMode</param> public AppWhitelistingPutGroupData(string enforcementMode = default(string), ProtectionMode protectionMode = default(ProtectionMode), IList <VmRecommendation> vmRecommendations = default(IList <VmRecommendation>), IList <PathRecommendation> pathRecommendations = default(IList <PathRecommendation>)) { EnforcementMode = enforcementMode; ProtectionMode = protectionMode; VmRecommendations = vmRecommendations; PathRecommendations = pathRecommendations; CustomInit(); }
/// <summary> /// Initializes a new instance of the AppWhitelistingGroup class. /// </summary> /// <param name="id">Resource Id</param> /// <param name="name">Resource name</param> /// <param name="type">Resource type</param> /// <param name="location">Location where the resource is /// stored</param> /// <param name="enforcementMode">Possible values include: 'Audit', /// 'Enforce', 'None'</param> /// <param name="configurationStatus">Possible values include: /// 'Configured', 'NotConfigured', 'InProgress', 'Failed', /// 'NoStatus'</param> /// <param name="recommendationStatus">Possible values include: /// 'Recommended', 'NotRecommended', 'NotAvailable', 'NoStatus'</param> /// <param name="sourceSystem">Possible values include: /// 'Azure_AppLocker', 'Azure_AuditD', 'NonAzure_AppLocker', /// 'NonAzure_AuditD', 'None'</param> public AppWhitelistingGroup(string id = default(string), string name = default(string), string type = default(string), string location = default(string), string enforcementMode = default(string), ProtectionMode protectionMode = default(ProtectionMode), string configurationStatus = default(string), string recommendationStatus = default(string), IList <AppWhitelistingIssueSummary> issues = default(IList <AppWhitelistingIssueSummary>), string sourceSystem = default(string), IList <VmRecommendation> vmRecommendations = default(IList <VmRecommendation>), IList <PathRecommendation> pathRecommendations = default(IList <PathRecommendation>)) { Id = id; Name = name; Type = type; Location = location; EnforcementMode = enforcementMode; ProtectionMode = protectionMode; ConfigurationStatus = configurationStatus; RecommendationStatus = recommendationStatus; Issues = issues; SourceSystem = sourceSystem; VmRecommendations = vmRecommendations; PathRecommendations = pathRecommendations; CustomInit(); }