# 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::ServiceFabric::V7_0_0_42 module Models # # Describes properties of a network resource. # class NetworkResourceProperties < NetworkResourcePropertiesBase include MsRestAzure def initialize @kind = "NetworkResourceProperties" end attr_accessor :kind # @return [String] User readable description of the network. attr_accessor :description # @return [ResourceStatus] Status of the network. Possible values # include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting', # 'Failed' attr_accessor :status # @return [String] Gives additional information about the current status # of the network. attr_accessor :status_details # # Mapper for NetworkResourceProperties class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'NetworkResourceProperties', type: { name: 'Composite', class_name: 'NetworkResourceProperties', model_properties: { kind: { client_side_validation: true, required: true, serialized_name: 'kind', type: { name: 'String' } }, description: { client_side_validation: true, required: false, serialized_name: 'description', type: { name: 'String' } }, status: { client_side_validation: true, required: false, read_only: true, serialized_name: 'status', type: { name: 'String' } }, status_details: { client_side_validation: true, required: false, read_only: true, serialized_name: 'statusDetails', type: { name: 'String' } } } } } end end end end