Class: Azure::ServiceFabric::V6_5_0_36::Models::ServiceReplicaProperties
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_5_0_36::Models::ServiceReplicaProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/6.5.0.36/generated/azure_service_fabric/models/service_replica_properties.rb
Overview
Describes the properties of a service replica.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#code_packages ⇒ Array<ContainerCodePackageProperties>
code packages that forms the service.
-
#diagnostics ⇒ DiagnosticsRef
Reference to sinks in DiagnosticsDescription.
-
#network_refs ⇒ Array<NetworkRef>
service needs to be part of.
-
#os_type ⇒ OperatingSystemType
in service.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ServiceReplicaProperties class as Ruby Hash.
Instance Attribute Details
#code_packages ⇒ Array<ContainerCodePackageProperties>
code packages that forms the service. A code package describes the container and the properties for running it. All the code packages are started together on the same host and share the same context (network, process etc.).
24 25 26 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/service_replica_properties.rb', line 24 def code_packages @code_packages end |
#diagnostics ⇒ DiagnosticsRef
Returns Reference to sinks in DiagnosticsDescription.
31 32 33 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/service_replica_properties.rb', line 31 def diagnostics @diagnostics end |
#network_refs ⇒ Array<NetworkRef>
service needs to be part of.
28 29 30 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/service_replica_properties.rb', line 28 def network_refs @network_refs end |
#os_type ⇒ OperatingSystemType
in service. Possible values include: ‘Linux’, ‘Windows’
17 18 19 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/service_replica_properties.rb', line 17 def os_type @os_type end |
Class Method Details
.mapper ⇒ Object
Mapper for ServiceReplicaProperties class as Ruby Hash. This will be used for serialization/deserialization.
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 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/service_replica_properties.rb', line 38 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ServiceReplicaProperties', type: { name: 'Composite', class_name: 'ServiceReplicaProperties', model_properties: { os_type: { client_side_validation: true, required: true, serialized_name: 'osType', type: { name: 'String' } }, code_packages: { client_side_validation: true, required: true, serialized_name: 'codePackages', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ContainerCodePackagePropertiesElementType', type: { name: 'Composite', class_name: 'ContainerCodePackageProperties' } } } }, network_refs: { client_side_validation: true, required: false, serialized_name: 'networkRefs', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'NetworkRefElementType', type: { name: 'Composite', class_name: 'NetworkRef' } } } }, diagnostics: { client_side_validation: true, required: false, serialized_name: 'diagnostics', type: { name: 'Composite', class_name: 'DiagnosticsRef' } } } } } end |