class Azure::Network::Mgmt::V2017_03_30::Models::NetworkInterfaceTapConfiguration

Tap configuration in a Network Interface.

Attributes

etag[RW]

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

name[RW]

@return [String] The name of the resource that is unique within a resource group. This name can be used to access the resource.

provisioning_state[RW]

@return [String] The provisioning state of the network interface tap configuration. Possible values are: 'Updating', 'Deleting', and 'Failed'.

type[RW]

@return [String] Sub Resource type.

virtual_network_tap[RW]

@return [VirtualNetworkTap] The reference of the Virtual Network Tap resource.

Private Class Methods

mapper() click to toggle source

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

# File lib/2017-03-30/generated/azure_mgmt_network/models/network_interface_tap_configuration.rb, line 40
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'NetworkInterfaceTapConfiguration',
    type: {
      name: 'Composite',
      class_name: 'NetworkInterfaceTapConfiguration',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        virtual_network_tap: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.virtualNetworkTap',
          type: {
            name: 'Composite',
            class_name: 'VirtualNetworkTap'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          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,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end