Class: Azure::Resources::Mgmt::V2020_06_01::Models::DeploymentOperationProperties
- Inherits:
-
Object
- Object
- Azure::Resources::Mgmt::V2020_06_01::Models::DeploymentOperationProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb
Overview
Deployment operation properties.
Instance Attribute Summary collapse
-
#duration ⇒ String
The duration of the operation.
-
#provisioning_operation ⇒ ProvisioningOperation
operation.
-
#provisioning_state ⇒ String
The state of the provisioning.
-
#request ⇒ HttpMessage
The HTTP request message.
-
#response ⇒ HttpMessage
The HTTP response message.
-
#service_request_id ⇒ String
Deployment operation service request id.
-
#status_code ⇒ String
property may not be set if a response has not yet been received.
-
#status_message ⇒ StatusMessage
provider.
-
#target_resource ⇒ TargetResource
The target resource.
-
#timestamp ⇒ DateTime
The date and time of the operation.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DeploymentOperationProperties class as Ruby Hash.
Instance Attribute Details
#duration ⇒ String
Returns The duration of the operation.
28 29 30 |
# File 'lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb', line 28 def duration @duration end |
#provisioning_operation ⇒ ProvisioningOperation
operation. Possible values include: 'NotSpecified', 'Create', 'Delete', 'Waiting', 'AzureAsyncOperationWaiting', 'ResourceCacheWaiting', 'Action', 'Read', 'EvaluateDeploymentOutput', 'DeploymentCleanup'
19 20 21 |
# File 'lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb', line 19 def provisioning_operation @provisioning_operation end |
#provisioning_state ⇒ String
Returns The state of the provisioning.
22 23 24 |
# File 'lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb', line 22 def provisioning_state @provisioning_state end |
#request ⇒ HttpMessage
Returns The HTTP request message.
46 47 48 |
# File 'lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb', line 46 def request @request end |
#response ⇒ HttpMessage
Returns The HTTP response message.
49 50 51 |
# File 'lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb', line 49 def response @response end |
#service_request_id ⇒ String
Returns Deployment operation service request id.
31 32 33 |
# File 'lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb', line 31 def service_request_id @service_request_id end |
#status_code ⇒ String
property may not be set if a response has not yet been received.
35 36 37 |
# File 'lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb', line 35 def status_code @status_code end |
#status_message ⇒ StatusMessage
provider. This property is optional. It will only be provided if an error was received from the resource provider.
40 41 42 |
# File 'lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb', line 40 def @status_message end |
#target_resource ⇒ TargetResource
Returns The target resource.
43 44 45 |
# File 'lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb', line 43 def target_resource @target_resource end |
#timestamp ⇒ DateTime
Returns The date and time of the operation.
25 26 27 |
# File 'lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb', line 25 def @timestamp end |
Class Method Details
.mapper ⇒ Object
Mapper for DeploymentOperationProperties 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 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 |
# File 'lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb', line 56 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DeploymentOperationProperties', type: { name: 'Composite', class_name: 'DeploymentOperationProperties', model_properties: { provisioning_operation: { client_side_validation: true, required: false, read_only: true, serialized_name: 'provisioningOperation', type: { name: 'Enum', module: 'ProvisioningOperation' } }, provisioning_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'provisioningState', type: { name: 'String' } }, timestamp: { client_side_validation: true, required: false, read_only: true, serialized_name: 'timestamp', type: { name: 'DateTime' } }, duration: { client_side_validation: true, required: false, read_only: true, serialized_name: 'duration', type: { name: 'String' } }, service_request_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'serviceRequestId', type: { name: 'String' } }, status_code: { client_side_validation: true, required: false, read_only: true, serialized_name: 'statusCode', type: { name: 'String' } }, status_message: { client_side_validation: true, required: false, read_only: true, serialized_name: 'statusMessage', type: { name: 'Composite', class_name: 'StatusMessage' } }, target_resource: { client_side_validation: true, required: false, read_only: true, serialized_name: 'targetResource', type: { name: 'Composite', class_name: 'TargetResource' } }, request: { client_side_validation: true, required: false, read_only: true, serialized_name: 'request', type: { name: 'Composite', class_name: 'HttpMessage' } }, response: { client_side_validation: true, required: false, read_only: true, serialized_name: 'response', type: { name: 'Composite', class_name: 'HttpMessage' } } } } } end |