Class: Azure::ServiceFabric::V6_3_0_9::Models::DeployedServicePackageInfo

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

Overview

Information about service package deployed on a Service Fabric node.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#nameString

service manifest.

Returns:

  • (String)

    The name of the service package as specified in the



17
18
19
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_package_info.rb', line 17

def name
  @name
end

#service_package_activation_idString

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.

Returns:

  • (String)

    The ActivationId of a deployed service package. If



35
36
37
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_package_info.rb', line 35

def service_package_activation_id
  @service_package_activation_id
end

#statusDeploymentStatus

application or service package on a Service Fabric node. Possible values include: ‘Invalid’, ‘Downloading’, ‘Activating’, ‘Active’, ‘Upgrading’, ‘Deactivating’

Returns:



27
28
29
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_package_info.rb', line 27

def status
  @status
end

#versionString

service manifest.

Returns:

  • (String)

    The version of the service package specified in



21
22
23
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_package_info.rb', line 21

def version
  @version
end

Class Method Details

.mapperObject

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



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
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_service_package_info.rb', line 42

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DeployedServicePackageInfo',
    type: {
      name: 'Composite',
      class_name: 'DeployedServicePackageInfo',
      model_properties: {
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Name',
          type: {
            name: 'String'
          }
        },
        version: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Version',
          type: {
            name: 'String'
          }
        },
        status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Status',
          type: {
            name: 'String'
          }
        },
        service_package_activation_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ServicePackageActivationId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end