Class: Azure::ARM::Network::Models::TroubleshootingParameters

Inherits:
Object
  • Object
show all
Includes:
MsRest::JSONable, MsRestAzure
Defined in:
lib/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



21
22
23
# File 'lib/generated/azure_mgmt_network/models/troubleshooting_parameters.rb', line 21

def storage_id
  @storage_id
end

#storage_pathString

in.

Returns:

  • (String)

    The path to the blob to save the troubleshoot result



25
26
27
# File 'lib/generated/azure_mgmt_network/models/troubleshooting_parameters.rb', line 25

def storage_path
  @storage_path
end

#target_resource_idString

Returns The target resource to troubleshoot.

Returns:

  • (String)

    The target resource to troubleshoot.



17
18
19
# File 'lib/generated/azure_mgmt_network/models/troubleshooting_parameters.rb', line 17

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.



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

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