Class: Azure::ServiceFabric::V6_5_0_36::Models::ApplicationDescription
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_5_0_36::Models::ApplicationDescription
- Includes:
- MsRestAzure
- Defined in:
- lib/6.5.0.36/generated/azure_service_fabric/models/application_description.rb
Overview
Describes a Service Fabric application.
Instance Attribute Summary collapse
-
#application_capacity ⇒ ApplicationCapacityDescription
for services of this application.
-
#managed_application_identity ⇒ ManagedApplicationIdentityDescription
identity description.
-
#name ⇒ String
URI scheme.
-
#parameter_list ⇒ Array<ApplicationParameter>
with overridden values from their default values specified in the application manifest.
-
#type_name ⇒ String
application manifest.
-
#type_version ⇒ String
application manifest.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ApplicationDescription class as Ruby Hash.
Instance Attribute Details
#application_capacity ⇒ ApplicationCapacityDescription
for services of this application. This description can be used for describing the following.
-
Reserving the capacity for the services on the nodes
-
Limiting the total number of nodes that services of this application
can run on
-
Limiting the custom capacity metrics to limit the total consumption
of this metric by the services of this application
40 41 42 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/application_description.rb', line 40 def application_capacity @application_capacity end |
#managed_application_identity ⇒ ManagedApplicationIdentityDescription
identity description.
44 45 46 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/application_description.rb', line 44 def managed_application_identity @managed_application_identity end |
#name ⇒ String
URI scheme.
17 18 19 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/application_description.rb', line 17 def name @name end |
#parameter_list ⇒ Array<ApplicationParameter>
with overridden values from their default values specified in the application manifest.
30 31 32 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/application_description.rb', line 30 def parameter_list @parameter_list end |
#type_name ⇒ String
application manifest.
21 22 23 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/application_description.rb', line 21 def type_name @type_name end |
#type_version ⇒ String
application manifest.
25 26 27 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/application_description.rb', line 25 def type_version @type_version end |
Class Method Details
.mapper ⇒ Object
Mapper for ApplicationDescription class as Ruby Hash. This will be used for serialization/deserialization.
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 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/application_description.rb', line 51 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ApplicationDescription', type: { name: 'Composite', class_name: 'ApplicationDescription', model_properties: { name: { client_side_validation: true, required: true, serialized_name: 'Name', type: { name: 'String' } }, type_name: { client_side_validation: true, required: true, serialized_name: 'TypeName', type: { name: 'String' } }, type_version: { client_side_validation: true, required: true, serialized_name: 'TypeVersion', type: { name: 'String' } }, parameter_list: { client_side_validation: true, required: false, serialized_name: 'ParameterList', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ApplicationParameterElementType', type: { name: 'Composite', class_name: 'ApplicationParameter' } } } }, application_capacity: { client_side_validation: true, required: false, serialized_name: 'ApplicationCapacity', type: { name: 'Composite', class_name: 'ApplicationCapacityDescription' } }, managed_application_identity: { client_side_validation: true, required: false, serialized_name: 'ManagedApplicationIdentity', type: { name: 'Composite', class_name: 'ManagedApplicationIdentityDescription' } } } } } end |