Class: Azure::Security::Mgmt::V2020_01_01::Models::JitNetworkAccessRequestPort
- Inherits:
-
Object
- Object
- Azure::Security::Mgmt::V2020_01_01::Models::JitNetworkAccessRequestPort
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-01-01/generated/azure_mgmt_security/models/jit_network_access_request_port.rb
Overview
Model object.
Instance Attribute Summary collapse
-
#allowed_source_address_prefix ⇒ String
“allowedSourceAddressPrefixes” parameter.
-
#allowed_source_address_prefixes ⇒ Array<String>
“allowedSourceAddressPrefix” parameter.
-
#end_time_utc ⇒ DateTime
The date & time at which the request ends in UTC.
-
#mapped_port ⇒ Integer
the Azure Firewall, if applicable.
- #number ⇒ Integer
-
#status ⇒ Status
‘Revoked’, ‘Initiated’.
-
#status_reason ⇒ StatusReason
Possible values include: ‘Expired’, ‘UserRequested’, ‘NewerRequestInitiated’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for JitNetworkAccessRequestPort class as Ruby Hash.
Instance Attribute Details
#allowed_source_address_prefix ⇒ String
“allowedSourceAddressPrefixes” parameter. Should be an IP address or CIDR, for example “192.168.0.3” or “192.168.0.0/16”.
22 23 24 |
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/jit_network_access_request_port.rb', line 22 def allowed_source_address_prefix @allowed_source_address_prefix end |
#allowed_source_address_prefixes ⇒ Array<String>
“allowedSourceAddressPrefix” parameter.
26 27 28 |
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/jit_network_access_request_port.rb', line 26 def allowed_source_address_prefixes @allowed_source_address_prefixes end |
#end_time_utc ⇒ DateTime
Returns The date & time at which the request ends in UTC.
29 30 31 |
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/jit_network_access_request_port.rb', line 29 def end_time_utc @end_time_utc end |
#mapped_port ⇒ Integer
the Azure Firewall, if applicable
42 43 44 |
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/jit_network_access_request_port.rb', line 42 def mapped_port @mapped_port end |
#number ⇒ Integer
17 18 19 |
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/jit_network_access_request_port.rb', line 17 def number @number end |
#status ⇒ Status
‘Revoked’, ‘Initiated’
33 34 35 |
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/jit_network_access_request_port.rb', line 33 def status @status end |
#status_reason ⇒ StatusReason
Possible values include: ‘Expired’, ‘UserRequested’, ‘NewerRequestInitiated’
38 39 40 |
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/jit_network_access_request_port.rb', line 38 def status_reason @status_reason end |
Class Method Details
.mapper ⇒ Object
Mapper for JitNetworkAccessRequestPort class as Ruby Hash. This will be used for serialization/deserialization.
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 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 |
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/jit_network_access_request_port.rb', line 49 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'JitNetworkAccessRequestPort', type: { name: 'Composite', class_name: 'JitNetworkAccessRequestPort', 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' } }, allowed_source_address_prefixes: { client_side_validation: true, required: false, serialized_name: 'allowedSourceAddressPrefixes', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, end_time_utc: { client_side_validation: true, required: true, serialized_name: 'endTimeUtc', type: { name: 'DateTime' } }, status: { client_side_validation: true, required: true, serialized_name: 'status', type: { name: 'String' } }, status_reason: { client_side_validation: true, required: true, serialized_name: 'statusReason', type: { name: 'String' } }, mapped_port: { client_side_validation: true, required: false, serialized_name: 'mappedPort', type: { name: 'Number' } } } } } end |