Class: Azure::ServiceFabric::V6_2_0_9::Models::CodePackageEntryPoint

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

Overview

Information about setup or main entry point of a code package deployed on a Service Fabric node.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#code_package_entry_point_statisticsCodePackageEntryPointStatistics

main entry point of a code package deployed on a Service Fabric node.

Returns:



28
29
30
# File 'lib/6.2.0.9/generated/azure_service_fabric/models/code_package_entry_point.rb', line 28

def code_package_entry_point_statistics
  @code_package_entry_point_statistics
end

#entry_point_locationString

Returns The location of entry point executable on the node.

Returns:

  • (String)

    The location of entry point executable on the node.



17
18
19
# File 'lib/6.2.0.9/generated/azure_service_fabric/models/code_package_entry_point.rb', line 17

def entry_point_location
  @entry_point_location
end

#instance_idString

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.

Returns:

  • (String)

    The instance ID for current running entry point. For a



43
44
45
# File 'lib/6.2.0.9/generated/azure_service_fabric/models/code_package_entry_point.rb', line 43

def instance_id
  @instance_id
end

#next_activation_timeDateTime

will be run next.

Returns:

  • (DateTime)

    The time (in UTC) when the entry point executable



37
38
39
# File 'lib/6.2.0.9/generated/azure_service_fabric/models/code_package_entry_point.rb', line 37

def next_activation_time
  @next_activation_time
end

#process_idString

Returns The process ID of the entry point.

Returns:

  • (String)

    The process ID of the entry point.



20
21
22
# File 'lib/6.2.0.9/generated/azure_service_fabric/models/code_package_entry_point.rb', line 20

def process_id
  @process_id
end

#run_as_user_nameString

run on the node.

Returns:

  • (String)

    The user name under which entry point executable is



24
25
26
# File 'lib/6.2.0.9/generated/azure_service_fabric/models/code_package_entry_point.rb', line 24

def run_as_user_name
  @run_as_user_name
end

#statusEntryPointStatus

entry point deployed on a Service Fabric node. Possible values include: ‘Invalid’, ‘Pending’, ‘Starting’, ‘Started’, ‘Stopping’, ‘Stopped’

Returns:



33
34
35
# File 'lib/6.2.0.9/generated/azure_service_fabric/models/code_package_entry_point.rb', line 33

def status
  @status
end

Class Method Details

.mapperObject

Mapper for CodePackageEntryPoint 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
# File 'lib/6.2.0.9/generated/azure_service_fabric/models/code_package_entry_point.rb', line 50

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'CodePackageEntryPoint',
    type: {
      name: 'Composite',
      class_name: 'CodePackageEntryPoint',
      model_properties: {
        entry_point_location: {
          client_side_validation: true,
          required: false,
          serialized_name: 'EntryPointLocation',
          type: {
            name: 'String'
          }
        },
        process_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ProcessId',
          type: {
            name: 'String'
          }
        },
        run_as_user_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'RunAsUserName',
          type: {
            name: 'String'
          }
        },
        code_package_entry_point_statistics: {
          client_side_validation: true,
          required: false,
          serialized_name: 'CodePackageEntryPointStatistics',
          type: {
            name: 'Composite',
            class_name: 'CodePackageEntryPointStatistics'
          }
        },
        status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Status',
          type: {
            name: 'String'
          }
        },
        next_activation_time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'NextActivationTime',
          type: {
            name: 'DateTime'
          }
        },
        instance_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'InstanceId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end