Class: Azure::PolicyInsights::Mgmt::V2019_07_01::Models::RemediationDeploymentSummary

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-07-01/generated/azure_mgmt_policy_insights/models/remediation_deployment_summary.rb

Overview

The deployment status summary for all deployments created by the remediation.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#failed_deploymentsInteger

that have failed.

Returns:

  • (Integer)

    The number of deployments required by the remediation



26
27
28
# File 'lib/2019-07-01/generated/azure_mgmt_policy_insights/models/remediation_deployment_summary.rb', line 26

def failed_deployments
  @failed_deployments
end

#successful_deploymentsInteger

that have succeeded.

Returns:

  • (Integer)

    The number of deployments required by the remediation



22
23
24
# File 'lib/2019-07-01/generated/azure_mgmt_policy_insights/models/remediation_deployment_summary.rb', line 22

def successful_deployments
  @successful_deployments
end

#total_deploymentsInteger

remediation.

Returns:

  • (Integer)

    The number of deployments required by the



18
19
20
# File 'lib/2019-07-01/generated/azure_mgmt_policy_insights/models/remediation_deployment_summary.rb', line 18

def total_deployments
  @total_deployments
end

Class Method Details

.mapperObject

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



33
34
35
36
37
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
# File 'lib/2019-07-01/generated/azure_mgmt_policy_insights/models/remediation_deployment_summary.rb', line 33

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'RemediationDeploymentSummary',
    type: {
      name: 'Composite',
      class_name: 'RemediationDeploymentSummary',
      model_properties: {
        total_deployments: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'totalDeployments',
          type: {
            name: 'Number'
          }
        },
        successful_deployments: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'successfulDeployments',
          type: {
            name: 'Number'
          }
        },
        failed_deployments: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'failedDeployments',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end