class Azure::Web::Mgmt::V2020_09_01::Models::SwiftVirtualNetwork

Swift Virtual Network Contract. This is used to enable the new Swift way of doing virtual network integration.

Attributes

subnet_resource_id[RW]

@return [String] The Virtual Network subnet's resource ID. This is the subnet that this Web App will join. This subnet must have a delegation to Microsoft.Web/serverFarms defined first.

swift_supported[RW]

@return [Boolean] A flag that specifies if the scale unit this Web App is on supports Swift integration.

Private Class Methods

mapper() click to toggle source

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

# File lib/2020-09-01/generated/azure_mgmt_web/models/swift_virtual_network.rb, line 30
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'SwiftVirtualNetwork',
    type: {
      name: 'Composite',
      class_name: 'SwiftVirtualNetwork',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        kind: {
          client_side_validation: true,
          required: false,
          serialized_name: 'kind',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        system_data: {
          client_side_validation: true,
          required: false,
          serialized_name: 'systemData',
          type: {
            name: 'Composite',
            class_name: 'SystemData'
          }
        },
        subnet_resource_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.subnetResourceId',
          type: {
            name: 'String'
          }
        },
        swift_supported: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.swiftSupported',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end