Class: Azure::ServiceFabric::V6_4_0_36::Models::NetworkResourceProperties

Inherits:
NetworkResourcePropertiesBase show all
Includes:
MsRestAzure
Defined in:
lib/6.4.0.36/generated/azure_service_fabric/models/network_resource_properties.rb

Overview

Describes properties of a network resource.

Direct Known Subclasses

LocalNetworkResourceProperties

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeNetworkResourceProperties

Returns a new instance of NetworkResourceProperties.



16
17
18
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/network_resource_properties.rb', line 16

def initialize
  @kind = "NetworkResourceProperties"
end

Instance Attribute Details

#descriptionString

Returns User readable description of the network.

Returns:

  • (String)

    User readable description of the network.



23
24
25
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/network_resource_properties.rb', line 23

def description
  @description
end

#kindObject

Returns the value of attribute kind.



20
21
22
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/network_resource_properties.rb', line 20

def kind
  @kind
end

#statusResourceStatus

include: ‘Unknown’, ‘Ready’, ‘Upgrading’, ‘Creating’, ‘Deleting’, ‘Failed’

Returns:



28
29
30
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/network_resource_properties.rb', line 28

def status
  @status
end

#status_detailsString

of the network.

Returns:

  • (String)

    Gives additional information about the current status



32
33
34
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/network_resource_properties.rb', line 32

def status_details
  @status_details
end

Class Method Details

.mapperObject

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



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
79
80
81
82
83
84
85
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/network_resource_properties.rb', line 39

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