class Azure::Network::Mgmt::V2019_02_01::Models::ApplicationGatewayFrontendPort

Frontend port of an application gateway.

Attributes

etag[RW]

@return [String] A unique read-only string that changes whenever the resource is updated.

name[RW]

@return [String] Name of the frontend port that is unique within an Application Gateway

port[RW]

@return [Integer] Frontend port

provisioning_state[RW]

@return [String] Provisioning state of the frontend port resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.

type[RW]

@return [String] Type of the resource.

Public Class Methods

mapper() click to toggle source

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

# File lib/2019-02-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb, line 37
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ApplicationGatewayFrontendPort',
    type: {
      name: 'Composite',
      class_name: 'ApplicationGatewayFrontendPort',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        port: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.port',
          type: {
            name: 'Number'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        etag: {
          client_side_validation: true,
          required: false,
          serialized_name: 'etag',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end