class Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryPolicy
Model object.
Attributes
retry_count[RW]
@return [Integer] Gets or sets the number of times a retry should be attempted.
retry_interval[RW]
@return [Duration] Gets or sets the retry interval between retries, specify duration in ISO 8601 format.
retry_type[RW]
@return [RetryType] Gets or sets the retry strategy to be used. Possible values include: 'None', 'Fixed'
Private Class Methods
mapper()
click to toggle source
Mapper for RetryPolicy
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2016-03-01/generated/azure_mgmt_scheduler/models/retry_policy.rb, line 33 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'RetryPolicy', type: { name: 'Composite', class_name: 'RetryPolicy', model_properties: { retry_type: { client_side_validation: true, required: false, serialized_name: 'retryType', type: { name: 'Enum', module: 'RetryType' } }, retry_interval: { client_side_validation: true, required: false, serialized_name: 'retryInterval', type: { name: 'TimeSpan' } }, retry_count: { client_side_validation: true, required: false, serialized_name: 'retryCount', type: { name: 'Number' } } } } } end