class Azure::ServiceFabric::V7_0_0_42::Models::SecretResourceProperties

Describes the properties of a secret resource.

Attributes

content_type[RW]

@return [String] The type of the content stored in the secret value. The value of this property is opaque to Service Fabric. Once set, the value of this property cannot be changed.

description[RW]

@return [String] User readable description of the secret.

kind[RW]
status[RW]

@return [ResourceStatus] Status of the resource. Possible values include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed'

status_details[RW]

@return [String] Gives additional information about the current status of the secret.

Private Class Methods

mapper() click to toggle source

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

# File lib/7.0.0.42/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
new() click to toggle source
# File lib/7.0.0.42/generated/azure_service_fabric/models/secret_resource_properties.rb, line 16
def initialize
  @kind = "SecretResourceProperties"
end