class Azure::Compute::Mgmt::V2020_09_30_preview::Models::SharingUpdate
Specifies information about the gallery sharing profile update.
Attributes
groups[RW]
@return [Array<SharingProfileGroup>] A list of sharing profile groups.
operation_type[RW]
@return [SharingUpdateOperationTypes] This property allows you to specify the operation type of gallery sharing update.
Possible values are:
*Add*
*Remove*
*Reset*. Possible values include: 'Add', 'Remove', 'Reset'
Public Class Methods
mapper()
click to toggle source
Mapper for SharingUpdate
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2020-09-30-preview/generated/azure_mgmt_compute/models/sharing_update.rb, line 29 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SharingUpdate', type: { name: 'Composite', class_name: 'SharingUpdate', model_properties: { operation_type: { client_side_validation: true, required: true, serialized_name: 'operationType', type: { name: 'String' } }, groups: { client_side_validation: true, required: false, serialized_name: 'groups', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'SharingProfileGroupElementType', type: { name: 'Composite', class_name: 'SharingProfileGroup' } } } } } } } end