Class: Azure::ServiceFabric::V6_5_0_36::Models::SecretResourceProperties
- Inherits:
-
SecretResourcePropertiesBase
- Object
- SecretResourcePropertiesBase
- Azure::ServiceFabric::V6_5_0_36::Models::SecretResourceProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/6.5.0.36/generated/azure_service_fabric/models/secret_resource_properties.rb
Overview
Describes the properties of a secret resource.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#content_type ⇒ String
The value of this property is opaque to Service Fabric.
-
#description ⇒ String
User readable description of the secret.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#status ⇒ ResourceStatus
include: ‘Unknown’, ‘Ready’, ‘Upgrading’, ‘Creating’, ‘Deleting’, ‘Failed’.
-
#status_details ⇒ String
of the secret.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for SecretResourceProperties class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ SecretResourceProperties
constructor
A new instance of SecretResourceProperties.
Constructor Details
#initialize ⇒ SecretResourceProperties
Returns a new instance of SecretResourceProperties.
16 17 18 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/secret_resource_properties.rb', line 16 def initialize @kind = "SecretResourceProperties" end |
Instance Attribute Details
#content_type ⇒ String
The value of this property is opaque to Service Fabric. Once set, the value of this property cannot be changed.
37 38 39 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/secret_resource_properties.rb', line 37 def content_type @content_type end |
#description ⇒ String
Returns User readable description of the secret.
23 24 25 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/secret_resource_properties.rb', line 23 def description @description end |
#kind ⇒ Object
Returns the value of attribute kind.
20 21 22 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/secret_resource_properties.rb', line 20 def kind @kind end |
#status ⇒ ResourceStatus
include: ‘Unknown’, ‘Ready’, ‘Upgrading’, ‘Creating’, ‘Deleting’, ‘Failed’
28 29 30 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/secret_resource_properties.rb', line 28 def status @status end |
#status_details ⇒ String
of the secret.
32 33 34 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/secret_resource_properties.rb', line 32 def status_details @status_details end |
Class Method Details
.mapper ⇒ Object
Mapper for SecretResourceProperties class as Ruby Hash. This will be used for serialization/deserialization.
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 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 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/secret_resource_properties.rb', line 44 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SecretResourceProperties', type: { name: 'Composite', class_name: 'SecretResourceProperties', model_properties: { kind: { client_side_validation: true, required: true, serialized_name: 'kind', type: { name: 'String' } }, description: { client_side_validation: true, required: false, serialized_name: 'description', type: { name: 'String' } }, status: { client_side_validation: true, required: false, read_only: true, serialized_name: 'status', type: { name: 'String' } }, status_details: { client_side_validation: true, required: false, read_only: true, serialized_name: 'statusDetails', type: { name: 'String' } }, content_type: { client_side_validation: true, required: false, serialized_name: 'contentType', type: { name: 'String' } } } } } end |