Class: Azure::ServiceFabric::V6_5_0_36::Models::RestartDeployedCodePackageDescription
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_5_0_36::Models::RestartDeployedCodePackageDescription
- Includes:
- MsRestAzure
- Defined in:
- lib/6.5.0.36/generated/azure_service_fabric/models/restart_deployed_code_package_description.rb
Overview
Defines description for restarting a deployed code package on Service Fabric node.
Instance Attribute Summary collapse
-
#code_package_instance_id ⇒ String
a code package setup entry point (if specified) runs first and after it finishes main entry point is started.
-
#code_package_name ⇒ String
manifest.
-
#service_manifest_name ⇒ String
package.
-
#service_package_activation_id ⇒ String
ServicePackageActivationMode specified at the time of creating the service is ‘SharedProcess’ (or if it is not specified, in which case it defaults to ‘SharedProcess’), then value of ServicePackageActivationId is always an empty string.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for RestartDeployedCodePackageDescription class as Ruby Hash.
Instance Attribute Details
#code_package_instance_id ⇒ String
a code package setup entry point (if specified) runs first and after it finishes main entry point is started. Each time entry point executable is run, its instance ID will change. If 0 is passed in as the code package instance ID, the API will restart the code package with whatever instance ID it is currently running. If an instance ID other than 0 is passed in, the API will restart the code package only if the current Instance ID matches the passed in instance ID. Note, passing in the exact instance ID (not 0) in the API is safer, because if ensures at most one restart of the code package.
43 44 45 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/restart_deployed_code_package_description.rb', line 43 def code_package_instance_id @code_package_instance_id end |
#code_package_name ⇒ String
manifest.
30 31 32 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/restart_deployed_code_package_description.rb', line 30 def code_package_name @code_package_name end |
#service_manifest_name ⇒ String
package.
18 19 20 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/restart_deployed_code_package_description.rb', line 18 def service_manifest_name @service_manifest_name end |
#service_package_activation_id ⇒ String
ServicePackageActivationMode specified at the time of creating the service is ‘SharedProcess’ (or if it is not specified, in which case it defaults to ‘SharedProcess’), then value of ServicePackageActivationId is always an empty string.
26 27 28 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/restart_deployed_code_package_description.rb', line 26 def service_package_activation_id @service_package_activation_id end |
Class Method Details
.mapper ⇒ Object
Mapper for RestartDeployedCodePackageDescription class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/restart_deployed_code_package_description.rb', line 50 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'RestartDeployedCodePackageDescription', type: { name: 'Composite', class_name: 'RestartDeployedCodePackageDescription', model_properties: { service_manifest_name: { client_side_validation: true, required: true, serialized_name: 'ServiceManifestName', type: { name: 'String' } }, service_package_activation_id: { client_side_validation: true, required: false, serialized_name: 'ServicePackageActivationId', type: { name: 'String' } }, code_package_name: { client_side_validation: true, required: true, serialized_name: 'CodePackageName', type: { name: 'String' } }, code_package_instance_id: { client_side_validation: true, required: true, serialized_name: 'CodePackageInstanceId', type: { name: 'String' } } } } } end |