Class: Azure::ServiceFabric::V6_4_0_36::Models::DeployServicePackageToNodeDescription

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/6.4.0.36/generated/azure_service_fabric/models/deploy_service_package_to_node_description.rb

Overview

Defines description for downloading packages associated with a service manifest to image cache on a Service Fabric node.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#application_type_nameString

application manifest.

Returns:

  • (String)

    The application type name as defined in the



22
23
24
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/deploy_service_package_to_node_description.rb', line 22

def application_type_name
  @application_type_name
end

#application_type_versionString

application manifest.

Returns:

  • (String)

    The version of the application type as defined in the



26
27
28
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/deploy_service_package_to_node_description.rb', line 26

def application_type_version
  @application_type_version
end

#node_nameString

Returns The name of a Service Fabric node.

Returns:

  • (String)

    The name of a Service Fabric node.



29
30
31
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/deploy_service_package_to_node_description.rb', line 29

def node_name
  @node_name
end

#package_sharing_policyArray<PackageSharingPolicyInfo>

policy information.

Returns:



33
34
35
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/deploy_service_package_to_node_description.rb', line 33

def package_sharing_policy
  @package_sharing_policy
end

#service_manifest_nameString

downloaded.

Returns:

  • (String)

    The name of service manifest whose packages need to be



18
19
20
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/deploy_service_package_to_node_description.rb', line 18

def service_manifest_name
  @service_manifest_name
end

Class Method Details

.mapperObject

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



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.4.0.36/generated/azure_service_fabric/models/deploy_service_package_to_node_description.rb', line 40

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DeployServicePackageToNodeDescription',
    type: {
      name: 'Composite',
      class_name: 'DeployServicePackageToNodeDescription',
      model_properties: {
        service_manifest_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'ServiceManifestName',
          type: {
            name: 'String'
          }
        },
        application_type_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'ApplicationTypeName',
          type: {
            name: 'String'
          }
        },
        application_type_version: {
          client_side_validation: true,
          required: true,
          serialized_name: 'ApplicationTypeVersion',
          type: {
            name: 'String'
          }
        },
        node_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'NodeName',
          type: {
            name: 'String'
          }
        },
        package_sharing_policy: {
          client_side_validation: true,
          required: false,
          serialized_name: 'PackageSharingPolicy',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'PackageSharingPolicyInfoElementType',
                type: {
                  name: 'Composite',
                  class_name: 'PackageSharingPolicyInfo'
                }
            }
          }
        }
      }
    }
  }
end