Class: Azure::NetApp::Mgmt::V2020_11_01::Models::MonthlySchedule

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-11-01/generated/azure_mgmt_netapp/models/monthly_schedule.rb

Overview

Monthly Schedule properties

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#days_of_monthString

taken. A comma delimited string.

Returns:

  • (String)

    Indicates which days of the month snapshot should be



20
21
22
# File 'lib/2020-11-01/generated/azure_mgmt_netapp/models/monthly_schedule.rb', line 20

def days_of_month
  @days_of_month
end

#hourInteger

should be taken

Returns:

  • (Integer)

    Indicates which hour in UTC timezone a snapshot



24
25
26
# File 'lib/2020-11-01/generated/azure_mgmt_netapp/models/monthly_schedule.rb', line 24

def hour
  @hour
end

#minuteInteger

Returns Indicates which minute snapshot should be taken.

Returns:

  • (Integer)

    Indicates which minute snapshot should be taken



27
28
29
# File 'lib/2020-11-01/generated/azure_mgmt_netapp/models/monthly_schedule.rb', line 27

def minute
  @minute
end

#snapshots_to_keepInteger

Returns Monthly snapshot count to keep.

Returns:

  • (Integer)

    Monthly snapshot count to keep



16
17
18
# File 'lib/2020-11-01/generated/azure_mgmt_netapp/models/monthly_schedule.rb', line 16

def snapshots_to_keep
  @snapshots_to_keep
end

#used_bytesInteger

volume in bytes

Returns:

  • (Integer)

    Resource size in bytes, current storage usage for the



31
32
33
# File 'lib/2020-11-01/generated/azure_mgmt_netapp/models/monthly_schedule.rb', line 31

def used_bytes
  @used_bytes
end

Class Method Details

.mapperObject

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



38
39
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
# File 'lib/2020-11-01/generated/azure_mgmt_netapp/models/monthly_schedule.rb', line 38

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'monthlySchedule',
    type: {
      name: 'Composite',
      class_name: 'MonthlySchedule',
      model_properties: {
        snapshots_to_keep: {
          client_side_validation: true,
          required: false,
          serialized_name: 'snapshotsToKeep',
          type: {
            name: 'Number'
          }
        },
        days_of_month: {
          client_side_validation: true,
          required: false,
          serialized_name: 'daysOfMonth',
          type: {
            name: 'String'
          }
        },
        hour: {
          client_side_validation: true,
          required: false,
          serialized_name: 'hour',
          type: {
            name: 'Number'
          }
        },
        minute: {
          client_side_validation: true,
          required: false,
          serialized_name: 'minute',
          type: {
            name: 'Number'
          }
        },
        used_bytes: {
          client_side_validation: true,
          required: false,
          serialized_name: 'usedBytes',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end