Class: Azure::ServiceFabric::V6_4_0_36::Models::LocalNetworkResourceProperties

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

Overview

Information about a Service Fabric container network local to a single Service Fabric cluster.

Instance Attribute Summary collapse

Attributes inherited from NetworkResourceProperties

#description, #status, #status_details

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeLocalNetworkResourceProperties

Returns a new instance of LocalNetworkResourceProperties.



17
18
19
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/local_network_resource_properties.rb', line 17

def initialize
  @kind = "Local"
end

Instance Attribute Details

#kindObject

Returns the value of attribute kind.



21
22
23
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/local_network_resource_properties.rb', line 21

def kind
  @kind
end

#network_address_prefixString

Returns Address space for the local container network.

Returns:

  • (String)

    Address space for the local container network.



24
25
26
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/local_network_resource_properties.rb', line 24

def network_address_prefix
  @network_address_prefix
end

Class Method Details

.mapperObject

Mapper for LocalNetworkResourceProperties 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
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/local_network_resource_properties.rb', line 31

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Local',
    type: {
      name: 'Composite',
      class_name: 'LocalNetworkResourceProperties',
      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'
          }
        },
        network_address_prefix: {
          client_side_validation: true,
          required: false,
          serialized_name: 'networkAddressPrefix',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end