Sha256: c5983105057bbbf18829ab14b09c220e8f83ca695aed7326771df241d594145e

Contents?: true

Size: 1.85 KB

Versions: 10

Compression:

Stored size: 1.85 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ContainerService::Mgmt::V2019_04_30
  module Models
    #
    # Represents the OpenShift networking configuration
    #
    class NetworkProfile

      include MsRestAzure

      # @return [String] CIDR for the OpenShift Vnet. Default value:
      # '10.0.0.0/8' .
      attr_accessor :vnet_cidr

      # @return [String] CIDR of the Vnet to peer.
      attr_accessor :peer_vnet_id

      # @return [String] ID of the Vnet created for OSA cluster.
      attr_accessor :vnet_id


      #
      # Mapper for NetworkProfile class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'NetworkProfile',
          type: {
            name: 'Composite',
            class_name: 'NetworkProfile',
            model_properties: {
              vnet_cidr: {
                client_side_validation: true,
                required: false,
                serialized_name: 'vnetCidr',
                default_value: '10.0.0.0/8',
                type: {
                  name: 'String'
                }
              },
              peer_vnet_id: {
                client_side_validation: true,
                required: false,
                serialized_name: 'peerVnetId',
                type: {
                  name: 'String'
                }
              },
              vnet_id: {
                client_side_validation: true,
                required: false,
                serialized_name: 'vnetId',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
azure_mgmt_container_service-0.22.0 lib/2019-04-30/generated/azure_mgmt_container_service/models/network_profile.rb
azure_mgmt_container_service-0.21.0 lib/2019-04-30/generated/azure_mgmt_container_service/models/network_profile.rb
azure_mgmt_container_service-0.20.4 lib/2019-04-30/generated/azure_mgmt_container_service/models/network_profile.rb
azure_mgmt_container_service-0.20.3 lib/2019-04-30/generated/azure_mgmt_container_service/models/network_profile.rb
azure_mgmt_container_service-0.20.2 lib/2019-04-30/generated/azure_mgmt_container_service/models/network_profile.rb
azure_mgmt_container_service-0.20.1 lib/2019-04-30/generated/azure_mgmt_container_service/models/network_profile.rb
azure_mgmt_container_service-0.20.0 lib/2019-04-30/generated/azure_mgmt_container_service/models/network_profile.rb
azure_mgmt_container_service-0.19.0 lib/2019-04-30/generated/azure_mgmt_container_service/models/network_profile.rb
azure_mgmt_container_service-0.18.5 lib/2019-04-30/generated/azure_mgmt_container_service/models/network_profile.rb
azure_mgmt_container_service-0.18.4 lib/2019-04-30/generated/azure_mgmt_container_service/models/network_profile.rb