Class: DatadogAPIClient::V2::CreateDeploymentRuleParamsDataAttributes

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/create_deployment_rule_params_data_attributes.rb

Overview

Parameters for creating a deployment rule.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



36
37
38
# File 'lib/datadog_api_client/v2/models/create_deployment_rule_params_data_attributes.rb', line 36

def additional_properties
  @additional_properties
end

#dry_runObject

Whether this rule is run in dry-run mode.



25
26
27
# File 'lib/datadog_api_client/v2/models/create_deployment_rule_params_data_attributes.rb', line 25

def dry_run
  @dry_run
end

#nameObject

The name of the deployment rule.



28
29
30
# File 'lib/datadog_api_client/v2/models/create_deployment_rule_params_data_attributes.rb', line 28

def name
  @name
end

#optionsObject

Options for deployment rule response representing either faulty deployment detection or monitor options.



31
32
33
# File 'lib/datadog_api_client/v2/models/create_deployment_rule_params_data_attributes.rb', line 31

def options
  @options
end

#typeObject

The type of the deployment rule (faulty_deployment_detection or monitor).



34
35
36
# File 'lib/datadog_api_client/v2/models/create_deployment_rule_params_data_attributes.rb', line 34

def type
  @type
end