Class: Azure::Network::Mgmt::V2019_11_01::Models::NetworkConfigurationDiagnosticParameters

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-11-01/generated/azure_mgmt_network/models/network_configuration_diagnostic_parameters.rb

Overview

Parameters to get network configuration diagnostic.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#profilesArray<NetworkConfigurationDiagnosticProfile>

configuration diagnostic profiles.

Returns:


26
27
28
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/network_configuration_diagnostic_parameters.rb', line 26

def profiles
  @profiles
end

#target_resource_idString

configuration diagnostic. Valid options are VM, NetworkInterface, VMSS/NetworkInterface and Application Gateway.

Returns:

  • (String)

    The ID of the target resource to perform network


18
19
20
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/network_configuration_diagnostic_parameters.rb', line 18

def target_resource_id
  @target_resource_id
end

#verbosity_levelVerbosityLevel

'Normal', 'Minimum', 'Full'

Returns:


22
23
24
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/network_configuration_diagnostic_parameters.rb', line 22

def verbosity_level
  @verbosity_level
end

Class Method Details

.mapperObject

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


33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/network_configuration_diagnostic_parameters.rb', line 33

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'NetworkConfigurationDiagnosticParameters',
    type: {
      name: 'Composite',
      class_name: 'NetworkConfigurationDiagnosticParameters',
      model_properties: {
        target_resource_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'targetResourceId',
          type: {
            name: 'String'
          }
        },
        verbosity_level: {
          client_side_validation: true,
          required: false,
          serialized_name: 'verbosityLevel',
          type: {
            name: 'String'
          }
        },
        profiles: {
          client_side_validation: true,
          required: true,
          serialized_name: 'profiles',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'NetworkConfigurationDiagnosticProfileElementType',
                type: {
                  name: 'Composite',
                  class_name: 'NetworkConfigurationDiagnosticProfile'
                }
            }
          }
        }
      }
    }
  }
end