Class: Azure::ServiceFabric::V6_5_0_36::Models::ServiceNameInfo
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_5_0_36::Models::ServiceNameInfo
- Includes:
- MsRestAzure
- Defined in:
- lib/6.5.0.36/generated/azure_service_fabric/models/service_name_info.rb
Overview
Information about the service name.
Instance Attribute Summary collapse
-
#id ⇒ String
representation of the service name.
-
#name ⇒ String
scheme.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ServiceNameInfo class as Ruby Hash.
Instance Attribute Details
#id ⇒ String
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.
23 24 25 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/service_name_info.rb', line 23 def id @id end |
#name ⇒ String
scheme.
27 28 29 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/service_name_info.rb', line 27 def name @name end |
Class Method Details
.mapper ⇒ Object
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/6.5.0.36/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 |