class Azure::ServiceFabric::V7_0_0_42::Models::PackageSharingPolicyInfo

Represents a policy for the package sharing.

Attributes

package_sharing_scope[RW]

@return [PackageSharingPolicyScope] Represents the scope for PackageSharingPolicy. This is specified during DeployServicePackageToNode operation. Possible values include: 'None', 'All', 'Code', 'Config', 'Data'

shared_package_name[RW]

@return [String] The name of code, configuration or data package that should be shared.

Private Class Methods

mapper() click to toggle source

Mapper for PackageSharingPolicyInfo class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/7.0.0.42/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