class Azure::Security::Mgmt::V2015_06_01_preview::Models::JitNetworkAccessPolicyInitiatePort

Model object.

Attributes

allowed_source_address_prefix[RW]

@return [String] Source of the allowed traffic. If omitted, the request will be for the source IP address of the initiate request.

end_time_utc[RW]

@return [DateTime] The time to close the request in UTC

number[RW]

@return [Integer]

Public Class Methods

mapper() click to toggle source

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

# File lib/2015-06-01-preview/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