Class: Azure::ApiManagement::Mgmt::V2016_10_10::Models::ConnectivityStatusContract
- Inherits:
-
Object
- Object
- Azure::ApiManagement::Mgmt::V2016_10_10::Models::ConnectivityStatusContract
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-10-10/generated/azure_mgmt_api_management/models/connectivity_status_contract.rb
Overview
Details about connectivity to a resource.
Instance Attribute Summary collapse
-
#error ⇒ String
Error details of the connectivity to the resource.
-
#last_status_change ⇒ DateTime
Changed from success to failure or vice-versa.
-
#last_updated ⇒ DateTime
last updated.
-
#name ⇒ String
on.
-
#status ⇒ ConnectivityStatusType
identifier.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ConnectivityStatusContract class as Ruby Hash.
Instance Attribute Details
#error ⇒ String
Returns Error details of the connectivity to the resource.
26 27 28 |
# File 'lib/2016-10-10/generated/azure_mgmt_api_management/models/connectivity_status_contract.rb', line 26 def error @error end |
#last_status_change ⇒ DateTime
Changed from success to failure or vice-versa. The date conforms to the following format: ‘yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
39 40 41 |
# File 'lib/2016-10-10/generated/azure_mgmt_api_management/models/connectivity_status_contract.rb', line 39 def last_status_change @last_status_change end |
#last_updated ⇒ DateTime
last updated. The date conforms to the following format: ‘yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
32 33 34 |
# File 'lib/2016-10-10/generated/azure_mgmt_api_management/models/connectivity_status_contract.rb', line 32 def last_updated @last_updated end |
#name ⇒ String
on. This can be the database, storage or any other azure resource on which the service depends upon.
18 19 20 |
# File 'lib/2016-10-10/generated/azure_mgmt_api_management/models/connectivity_status_contract.rb', line 18 def name @name end |
#status ⇒ ConnectivityStatusType
identifier. Possible values include: ‘initializing’, ‘success’, ‘failure’
23 24 25 |
# File 'lib/2016-10-10/generated/azure_mgmt_api_management/models/connectivity_status_contract.rb', line 23 def status @status end |
Class Method Details
.mapper ⇒ Object
Mapper for ConnectivityStatusContract class as Ruby Hash. This will be used for serialization/deserialization.
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 91 92 93 94 95 96 97 98 99 100 101 |
# File 'lib/2016-10-10/generated/azure_mgmt_api_management/models/connectivity_status_contract.rb', line 46 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ConnectivityStatusContract', type: { name: 'Composite', class_name: 'ConnectivityStatusContract', model_properties: { name: { client_side_validation: true, required: true, serialized_name: 'name', constraints: { MinLength: 1 }, type: { name: 'String' } }, status: { client_side_validation: true, required: true, serialized_name: 'status', type: { name: 'String' } }, error: { client_side_validation: true, required: false, serialized_name: 'error', type: { name: 'String' } }, last_updated: { client_side_validation: true, required: true, serialized_name: 'lastUpdated', type: { name: 'DateTime' } }, last_status_change: { client_side_validation: true, required: true, serialized_name: 'lastStatusChange', type: { name: 'DateTime' } } } } } end |