Class: Azure::Compute::Mgmt::V2019_07_01::Models::EncryptionSetIdentity
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2019_07_01::Models::EncryptionSetIdentity
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-07-01/generated/azure_mgmt_compute/models/encryption_set_identity.rb
Overview
The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks.
Instance Attribute Summary collapse
-
#principal_id ⇒ String
will be sent to the RP from ARM via the x-ms-identity-principal-id header in the PUT request if the resource has a systemAssigned(implicit) identity.
-
#tenant_id ⇒ String
will be sent to the RP from ARM via the x-ms-client-tenant-id header in the PUT request if the resource has a systemAssigned(implicit) identity.
-
#type ⇒ DiskEncryptionSetIdentityType
used by the DiskEncryptionSet.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for EncryptionSetIdentity class as Ruby Hash.
Instance Attribute Details
#principal_id ⇒ String
will be sent to the RP from ARM via the x-ms-identity-principal-id header in the PUT request if the resource has a systemAssigned(implicit) identity
25 26 27 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/encryption_set_identity.rb', line 25 def principal_id @principal_id end |
#tenant_id ⇒ String
will be sent to the RP from ARM via the x-ms-client-tenant-id header in the PUT request if the resource has a systemAssigned(implicit) identity
30 31 32 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/encryption_set_identity.rb', line 30 def tenant_id @tenant_id end |
#type ⇒ DiskEncryptionSetIdentityType
used by the DiskEncryptionSet. Only SystemAssigned is supported. Possible values include: 'SystemAssigned'
19 20 21 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/encryption_set_identity.rb', line 19 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for EncryptionSetIdentity class as Ruby Hash. This will be used for serialization/deserialization.
37 38 39 40 41 42 43 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 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/encryption_set_identity.rb', line 37 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'EncryptionSetIdentity', type: { name: 'Composite', class_name: 'EncryptionSetIdentity', model_properties: { type: { client_side_validation: true, required: false, serialized_name: 'type', type: { name: 'String' } }, principal_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'principalId', type: { name: 'String' } }, tenant_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'tenantId', type: { name: 'String' } } } } } end |