Class: Azure::ServiceFabric::V6_3_0_9::Models::PackageSharingPolicyInfo
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_3_0_9::Models::PackageSharingPolicyInfo
- Includes:
- MsRestAzure
- Defined in:
- lib/6.3.0.9/generated/azure_service_fabric/models/package_sharing_policy_info.rb
Overview
Represents a policy for the package sharing.
Instance Attribute Summary collapse
-
#package_sharing_scope ⇒ PackageSharingPolicyScope
PackageSharingPolicy.
-
#shared_package_name ⇒ String
should be shared.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for PackageSharingPolicyInfo class as Ruby Hash.
Instance Attribute Details
#package_sharing_scope ⇒ PackageSharingPolicyScope
PackageSharingPolicy. This is specified during DeployServicePackageToNode operation. Possible values include: ‘None’, ‘All’, ‘Code’, ‘Config’, ‘Data’
23 24 25 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/package_sharing_policy_info.rb', line 23 def package_sharing_scope @package_sharing_scope end |
#shared_package_name ⇒ String
should be shared.
17 18 19 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/package_sharing_policy_info.rb', line 17 def shared_package_name @shared_package_name end |
Class Method Details
.mapper ⇒ Object
Mapper for PackageSharingPolicyInfo class as Ruby Hash. This will be used for serialization/deserialization.
30 31 32 33 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 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/package_sharing_policy_info.rb', line 30 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'PackageSharingPolicyInfo', type: { name: 'Composite', class_name: 'PackageSharingPolicyInfo', model_properties: { shared_package_name: { client_side_validation: true, required: false, serialized_name: 'SharedPackageName', type: { name: 'String' } }, package_sharing_scope: { client_side_validation: true, required: false, serialized_name: 'PackageSharingScope', type: { name: 'String' } } } } } end |