Class: Azure::Network::Mgmt::V2018_08_01::Models::TroubleshootingParameters

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-08-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb

Overview

Parameters that define the resource to troubleshoot.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#storage_idString

troubleshoot result.

Returns:

  • (String)

    The ID for the storage account to save the


20
21
22
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb', line 20

def storage_id
  @storage_id
end

#storage_pathString

in.

Returns:

  • (String)

    The path to the blob to save the troubleshoot result


24
25
26
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb', line 24

def storage_path
  @storage_path
end

#target_resource_idString

Returns The target resource to troubleshoot.

Returns:

  • (String)

    The target resource to troubleshoot.


16
17
18
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb', line 16

def target_resource_id
  @target_resource_id
end

Class Method Details

.mapperObject

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


31
32
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
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb', line 31

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'TroubleshootingParameters',
    type: {
      name: 'Composite',
      class_name: 'TroubleshootingParameters',
      model_properties: {
        target_resource_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'targetResourceId',
          type: {
            name: 'String'
          }
        },
        storage_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.storageId',
          type: {
            name: 'String'
          }
        },
        storage_path: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.storagePath',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end