class Azure::Security::Mgmt::V2019_08_01::Models::RecommendationConfigurationProperties

The type of IoT Security recommendation.

Attributes

name[RW]

@return [String]

recommendation_type[RW]

@return [RecommendationType] The type of IoT Security recommendation. Possible values include: 'IoT_ACRAuthentication', 'IoT_AgentSendsUnutilizedMessages', 'IoT_Baseline', 'IoT_EdgeHubMemOptimize', 'IoT_EdgeLoggingOptions', 'IoT_InconsistentModuleSettings', 'IoT_InstallAgent', 'IoT_IPFilter_DenyAll', 'IoT_IPFilter_PermissiveRule', 'IoT_OpenPorts', 'IoT_PermissiveFirewallPolicy', 'IoT_PermissiveInputFirewallRules', 'IoT_PermissiveOutputFirewallRules', 'IoT_PrivilegedDockerOptions', 'IoT_SharedCredentials', 'IoT_VulnerableTLSCipherSuite'

status[RW]

@return [RecommendationConfigStatus] Recommendation status. When the recommendation status is disabled recommendations are not generated. Possible values include: 'Disabled', 'Enabled'. Default value: 'Enabled' .

Private Class Methods

mapper() click to toggle source

Mapper for RecommendationConfigurationProperties class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2019-08-01/generated/azure_mgmt_security/models/recommendation_configuration_properties.rb, line 40
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'RecommendationConfigurationProperties',
    type: {
      name: 'Composite',
      class_name: 'RecommendationConfigurationProperties',
      model_properties: {
        recommendation_type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'recommendationType',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        status: {
          client_side_validation: true,
          required: true,
          serialized_name: 'status',
          default_value: 'Enabled',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end