Class: Azure::ServiceFabric::V7_0_0_42::Models::ServiceNameInfo

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

Overview

Information about the service name.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#idString

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

Returns:

  • (String)

    The identity of the service. This ID is an encoded



23
24
25
# File 'lib/7.0.0.42/generated/azure_service_fabric/models/service_name_info.rb', line 23

def id
  @id
end

#nameString

scheme.

Returns:

  • (String)

    The full name of the service with ‘fabric:’ URI



27
28
29
# File 'lib/7.0.0.42/generated/azure_service_fabric/models/service_name_info.rb', line 27

def name
  @name
end

Class Method Details

.mapperObject

Mapper for ServiceNameInfo 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/7.0.0.42/generated/azure_service_fabric/models/service_name_info.rb', line 34

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ServiceNameInfo',
    type: {
      name: 'Composite',
      class_name: 'ServiceNameInfo',
      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