Class: Azure::ServiceFabric::V6_5_0_36::Models::ApplicationNameInfo

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/6.5.0.36/generated/azure_service_fabric/models/application_name_info.rb

Overview

Information about the application name.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#idString

representation of the application name. This is used in the REST APIs to identify the application resource. Starting in version 6.0, hierarchical names are delimited with the “~” character. For example, if the application name is “fabric:/myapp/app1”, the application identity would be “myapp~app1” in 6.0+ and “myapp/app1” in previous versions.

Returns:

  • (String)

    The identity of the application. This is an encoded



23
24
25
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/application_name_info.rb', line 23

def id
  @id
end

#nameString

URI scheme.

Returns:

  • (String)

    The name of the application, including the ‘fabric:’



27
28
29
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/application_name_info.rb', line 27

def name
  @name
end

Class Method Details

.mapperObject

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



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
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/application_name_info.rb', line 34

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ApplicationNameInfo',
    type: {
      name: 'Composite',
      class_name: 'ApplicationNameInfo',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Name',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end