Class: Azure::Security::Mgmt::V2020_01_01::Models::JitNetworkAccessPolicyInitiatePort
- Inherits:
-
Object
- Object
- Azure::Security::Mgmt::V2020_01_01::Models::JitNetworkAccessPolicyInitiatePort
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-01-01/generated/azure_mgmt_security/models/jit_network_access_policy_initiate_port.rb
Overview
Model object.
Instance Attribute Summary collapse
-
#allowed_source_address_prefix ⇒ String
will be for the source IP address of the initiate request.
-
#end_time_utc ⇒ DateTime
The time to close the request in UTC.
- #number ⇒ Integer
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for JitNetworkAccessPolicyInitiatePort class as Ruby Hash.
Instance Attribute Details
#allowed_source_address_prefix ⇒ String
will be for the source IP address of the initiate request.
21 22 23 |
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/jit_network_access_policy_initiate_port.rb', line 21 def allowed_source_address_prefix @allowed_source_address_prefix end |
#end_time_utc ⇒ DateTime
Returns The time to close the request in UTC.
24 25 26 |
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/jit_network_access_policy_initiate_port.rb', line 24 def end_time_utc @end_time_utc end |
#number ⇒ Integer
17 18 19 |
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/jit_network_access_policy_initiate_port.rb', line 17 def number @number end |
Class Method Details
.mapper ⇒ Object
Mapper for JitNetworkAccessPolicyInitiatePort class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/jit_network_access_policy_initiate_port.rb', line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'JitNetworkAccessPolicyInitiatePort', type: { name: 'Composite', class_name: 'JitNetworkAccessPolicyInitiatePort', model_properties: { number: { client_side_validation: true, required: true, serialized_name: 'number', type: { name: 'Number' } }, allowed_source_address_prefix: { client_side_validation: true, required: false, serialized_name: 'allowedSourceAddressPrefix', type: { name: 'String' } }, end_time_utc: { client_side_validation: true, required: true, serialized_name: 'endTimeUtc', type: { name: 'DateTime' } } } } } end |