class Azure::HealthcareApis::Mgmt::V2020_03_30::Models::ServicesResource
The common properties of a service.
Attributes
etag[RW]
@return [String] An etag associated with the resource, used for optimistic concurrency when editing it.
id[RW]
@return [String] The resource identifier.
identity[RW]
@return [ServicesResourceIdentity] Setting indicating whether the service has a managed identity associated with it.
kind[RW]
@return [Kind] The kind of the service. Possible values include: 'fhir', 'fhir-Stu3', 'fhir-R4'
location[RW]
@return [String] The resource location.
name[RW]
@return [String] The resource name.
type[RW]
@return [String] The resource type.
Private Class Methods
mapper()
click to toggle source
Mapper for ServicesResource
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2020-03-30/generated/azure_mgmt_healthcare_apis/models/services_resource.rb, line 47 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ServicesResource', type: { name: 'Composite', class_name: 'ServicesResource', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', constraints: { Pattern: '^[a-z0-9][a-z0-9-]{1,21}[a-z0-9]$' }, type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, kind: { client_side_validation: true, required: true, serialized_name: 'kind', type: { name: 'Enum', module: 'Kind' } }, location: { client_side_validation: true, required: true, serialized_name: 'location', type: { name: 'String' } }, tags: { client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, etag: { client_side_validation: true, required: false, serialized_name: 'etag', type: { name: 'String' } }, identity: { client_side_validation: true, required: false, serialized_name: 'identity', type: { name: 'Composite', class_name: 'ServicesResourceIdentity' } } } } } end