# 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::Network::Mgmt::V2018_01_01 module Models # # Network watcher in a resource group. # class NetworkWatcher < Resource include MsRestAzure # @return [String] . Default value: 'A unique read-only string that # changes whenever the resource is updated.' . attr_accessor :etag # @return [ProvisioningState] The provisioning state of the resource. # Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' attr_accessor :provisioning_state # # Mapper for NetworkWatcher class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'NetworkWatcher', type: { name: 'Composite', class_name: 'NetworkWatcher', model_properties: { id: { client_side_validation: true, required: false, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, location: { client_side_validation: true, required: false, serialized_name: 'location', type: { name: 'String' } }, tags: { client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, etag: { client_side_validation: true, required: false, serialized_name: 'etag', default_value: 'A unique read-only string that changes whenever the resource is updated.', type: { name: 'String' } }, provisioning_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', type: { name: 'String' } } } } } end end end end