Class: Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusResponse

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/backup_status_response.rb

Overview

BackupStatus response.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#container_nameString

iaasvmcontainer;iaasvmcontainer;csname;vmname.

Returns:

  • (String)

    Specifies the product specific container name. E.g.



33
34
35
# File 'lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/backup_status_response.rb', line 33

def container_name
  @container_name
end

#error_codeString

Returns ErrorCode in case of intent failed.

Returns:

  • (String)

    ErrorCode in case of intent failed



40
41
42
# File 'lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/backup_status_response.rb', line 40

def error_code
  @error_code
end

#error_messageString

Returns ErrorMessage in case of intent failed.

Returns:

  • (String)

    ErrorMessage in case of intent failed.



43
44
45
# File 'lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/backup_status_response.rb', line 43

def error_message
  @error_message
end

#fabric_nameFabricName

values include: ‘Invalid’, ‘Azure’

Returns:

  • (FabricName)

    Specifies the fabric name - Azure or AD. Possible



29
30
31
# File 'lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/backup_status_response.rb', line 29

def fabric_name
  @fabric_name
end

#policy_nameString

Returns Specifies the policy name which is used for protection.

Returns:

  • (String)

    Specifies the policy name which is used for protection



46
47
48
# File 'lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/backup_status_response.rb', line 46

def policy_name
  @policy_name
end

#protected_item_nameString

vm;iaasvmcontainer;csname;vmname.

Returns:

  • (String)

    Specifies the product specific ds name. E.g.



37
38
39
# File 'lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/backup_status_response.rb', line 37

def protected_item_name
  @protected_item_name
end

#protection_statusProtectionStatus

registered or not. Possible values include: ‘Invalid’, ‘NotProtected’, ‘Protecting’, ‘Protected’, ‘ProtectionFailed’

Returns:



22
23
24
# File 'lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/backup_status_response.rb', line 22

def protection_status
  @protection_status
end

#registration_statusString

Returns Container registration status.

Returns:

  • (String)

    Container registration status



49
50
51
# File 'lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/backup_status_response.rb', line 49

def registration_status
  @registration_status
end

#vault_idString

Returns Specifies the arm resource id of the vault.

Returns:

  • (String)

    Specifies the arm resource id of the vault



25
26
27
# File 'lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/backup_status_response.rb', line 25

def vault_id
  @vault_id
end

Class Method Details

.mapperObject

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



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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
# File 'lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/backup_status_response.rb', line 56

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'BackupStatusResponse',
    type: {
      name: 'Composite',
      class_name: 'BackupStatusResponse',
      model_properties: {
        protection_status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'protectionStatus',
          type: {
            name: 'String'
          }
        },
        vault_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'vaultId',
          type: {
            name: 'String'
          }
        },
        fabric_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'fabricName',
          type: {
            name: 'String'
          }
        },
        container_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'containerName',
          type: {
            name: 'String'
          }
        },
        protected_item_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'protectedItemName',
          type: {
            name: 'String'
          }
        },
        error_code: {
          client_side_validation: true,
          required: false,
          serialized_name: 'errorCode',
          type: {
            name: 'String'
          }
        },
        error_message: {
          client_side_validation: true,
          required: false,
          serialized_name: 'errorMessage',
          type: {
            name: 'String'
          }
        },
        policy_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'policyName',
          type: {
            name: 'String'
          }
        },
        registration_status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'registrationStatus',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end