Class: Azure::Security::Mgmt::V2017_08_01_preview::Models::LocalUserNotAllowed
- Inherits:
-
AllowlistCustomAlertRule
- Object
- CustomAlertRule
- ListCustomAlertRule
- AllowlistCustomAlertRule
- Azure::Security::Mgmt::V2017_08_01_preview::Models::LocalUserNotAllowed
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-08-01-preview/generated/azure_mgmt_security/models/local_user_not_allowed.rb
Overview
Login by a local user that isn’t allowed. Allow list consists of login names to allow.
Instance Attribute Summary collapse
-
#ruleType ⇒ Object
Returns the value of attribute ruleType.
Attributes inherited from AllowlistCustomAlertRule
Attributes inherited from ListCustomAlertRule
Attributes inherited from CustomAlertRule
#description, #display_name, #is_enabled
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for LocalUserNotAllowed class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ LocalUserNotAllowed
constructor
A new instance of LocalUserNotAllowed.
Constructor Details
#initialize ⇒ LocalUserNotAllowed
Returns a new instance of LocalUserNotAllowed.
17 18 19 |
# File 'lib/2017-08-01-preview/generated/azure_mgmt_security/models/local_user_not_allowed.rb', line 17 def initialize @ruleType = "LocalUserNotAllowed" end |
Instance Attribute Details
#ruleType ⇒ Object
Returns the value of attribute ruleType.
21 22 23 |
# File 'lib/2017-08-01-preview/generated/azure_mgmt_security/models/local_user_not_allowed.rb', line 21 def ruleType @ruleType end |
Class Method Details
.mapper ⇒ Object
Mapper for LocalUserNotAllowed class as Ruby Hash. This will be used for serialization/deserialization.
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 |
# File 'lib/2017-08-01-preview/generated/azure_mgmt_security/models/local_user_not_allowed.rb', line 28 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'LocalUserNotAllowed', type: { name: 'Composite', class_name: 'LocalUserNotAllowed', model_properties: { display_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'displayName', type: { name: 'String' } }, description: { client_side_validation: true, required: false, read_only: true, serialized_name: 'description', type: { name: 'String' } }, is_enabled: { client_side_validation: true, required: true, serialized_name: 'isEnabled', type: { name: 'Boolean' } }, ruleType: { client_side_validation: true, required: true, serialized_name: 'ruleType', type: { name: 'String' } }, value_type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'valueType', type: { name: 'String' } }, allowlist_values: { client_side_validation: true, required: true, serialized_name: 'allowlistValues', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end |