Class: Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::RunFilter

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-09-01/generated/azure_mgmt_container_registry/models/run_filter.rb

Overview

Properties that are enabled for Odata querying on runs.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#create_timeDateTime

Returns The create time for a run.

Returns:

  • (DateTime)

    The create time for a run.



28
29
30
# File 'lib/2018-09-01/generated/azure_mgmt_container_registry/models/run_filter.rb', line 28

def create_time
  @create_time
end

#finish_timeDateTime

Returns The time the run finished.

Returns:

  • (DateTime)

    The time the run finished.



31
32
33
# File 'lib/2018-09-01/generated/azure_mgmt_container_registry/models/run_filter.rb', line 31

def finish_time
  @finish_time
end

#is_archive_enabledBoolean

or not.

Returns:

  • (Boolean)

    The value that indicates whether archiving is enabled



40
41
42
# File 'lib/2018-09-01/generated/azure_mgmt_container_registry/models/run_filter.rb', line 40

def is_archive_enabled
  @is_archive_enabled
end

#output_image_manifestsString

generated from the run. This is applicable if the run is of build type.

Returns:

  • (String)

    The list of comma-separated image manifests that were



36
37
38
# File 'lib/2018-09-01/generated/azure_mgmt_container_registry/models/run_filter.rb', line 36

def output_image_manifests
  @output_image_manifests
end

#run_idString

Returns The unique identifier for the run.

Returns:

  • (String)

    The unique identifier for the run.



16
17
18
# File 'lib/2018-09-01/generated/azure_mgmt_container_registry/models/run_filter.rb', line 16

def run_id
  @run_id
end

#run_typeRunType

‘QuickBuild’, ‘QuickRun’, ‘AutoBuild’, ‘AutoRun’

Returns:

  • (RunType)

    The type of run. Possible values include:



20
21
22
# File 'lib/2018-09-01/generated/azure_mgmt_container_registry/models/run_filter.rb', line 20

def run_type
  @run_type
end

#statusRunStatus

include: ‘Queued’, ‘Started’, ‘Running’, ‘Succeeded’, ‘Failed’, ‘Canceled’, ‘Error’, ‘Timeout’

Returns:

  • (RunStatus)

    The current status of the run. Possible values



25
26
27
# File 'lib/2018-09-01/generated/azure_mgmt_container_registry/models/run_filter.rb', line 25

def status
  @status
end

#task_nameString

Returns The name of the task that the run corresponds to.

Returns:

  • (String)

    The name of the task that the run corresponds to.



43
44
45
# File 'lib/2018-09-01/generated/azure_mgmt_container_registry/models/run_filter.rb', line 43

def task_name
  @task_name
end

Class Method Details

.mapperObject

Mapper for RunFilter 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
120
121
122
123
124
125
126
# File 'lib/2018-09-01/generated/azure_mgmt_container_registry/models/run_filter.rb', line 50

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'RunFilter',
    type: {
      name: 'Composite',
      class_name: 'RunFilter',
      model_properties: {
        run_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'runId',
          type: {
            name: 'String'
          }
        },
        run_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'runType',
          type: {
            name: 'String'
          }
        },
        status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'status',
          type: {
            name: 'String'
          }
        },
        create_time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'createTime',
          type: {
            name: 'DateTime'
          }
        },
        finish_time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'finishTime',
          type: {
            name: 'DateTime'
          }
        },
        output_image_manifests: {
          client_side_validation: true,
          required: false,
          serialized_name: 'outputImageManifests',
          type: {
            name: 'String'
          }
        },
        is_archive_enabled: {
          client_side_validation: true,
          required: false,
          serialized_name: 'isArchiveEnabled',
          type: {
            name: 'Boolean'
          }
        },
        task_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'taskName',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end