Class: Azure::Compute::Mgmt::V2020_09_30_preview::Models::SharingProfile
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2020_09_30_preview::Models::SharingProfile
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-09-30-preview/generated/azure_mgmt_compute/models/sharing_profile.rb
Overview
Profile for gallery sharing to subscription or tenant
Instance Attribute Summary collapse
-
#groups ⇒ Array<SharingProfileGroup>
A list of sharing profile groups.
-
#permissions ⇒ GallerySharingPermissionTypes
specify the permission of sharing gallery.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for SharingProfile class as Ruby Hash.
Instance Attribute Details
#groups ⇒ Array<SharingProfileGroup>
Returns A list of sharing profile groups.
22 23 24 |
# File 'lib/2020-09-30-preview/generated/azure_mgmt_compute/models/sharing_profile.rb', line 22 def groups @groups end |
#permissions ⇒ GallerySharingPermissionTypes
specify the permission of sharing gallery.
Possible values are:
*Private*
*Groups*. Possible values include: 'Private', 'Groups'
19 20 21 |
# File 'lib/2020-09-30-preview/generated/azure_mgmt_compute/models/sharing_profile.rb', line 19 def @permissions end |
Class Method Details
.mapper ⇒ Object
Mapper for SharingProfile class as Ruby Hash. This will be used for serialization/deserialization.
29 30 31 32 33 34 35 36 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 |
# File 'lib/2020-09-30-preview/generated/azure_mgmt_compute/models/sharing_profile.rb', line 29 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SharingProfile', type: { name: 'Composite', class_name: 'SharingProfile', model_properties: { permissions: { client_side_validation: true, required: false, serialized_name: 'permissions', type: { name: 'String' } }, groups: { client_side_validation: true, required: false, read_only: true, serialized_name: 'groups', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'SharingProfileGroupElementType', type: { name: 'Composite', class_name: 'SharingProfileGroup' } } } } } } } end |