class Azure::Network::Mgmt::V2019_12_01::Models::ConnectionMonitorEndpoint

Describes the connection monitor endpoint.

Attributes

address[RW]

@return [String] Address of the connection monitor endpoint (IP or domain name).

filter[RW]

@return [ConnectionMonitorEndpointFilter] Filter for sub-items within the endpoint.

name[RW]

@return [String] The name of the connection monitor endpoint.

resource_id[RW]

@return [String] Resource ID of the connection monitor endpoint.

Public Class Methods

mapper() click to toggle source

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

# File lib/2019-12-01/generated/azure_mgmt_network/models/connection_monitor_endpoint.rb, line 34
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ConnectionMonitorEndpoint',
    type: {
      name: 'Composite',
      class_name: 'ConnectionMonitorEndpoint',
      model_properties: {
        name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        resource_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'resourceId',
          type: {
            name: 'String'
          }
        },
        address: {
          client_side_validation: true,
          required: false,
          serialized_name: 'address',
          type: {
            name: 'String'
          }
        },
        filter: {
          client_side_validation: true,
          required: false,
          serialized_name: 'filter',
          type: {
            name: 'Composite',
            class_name: 'ConnectionMonitorEndpointFilter'
          }
        }
      }
    }
  }
end