Sha256: 38a9d5db53d2b42a3f8e073fbea53db49ed9e71731510b7b752ce154e2dae537

Contents?: true

Size: 1.97 KB

Versions: 2

Compression:

Stored size: 1.97 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::Compute::Mgmt::V2020_09_30_preview
  module Models
    #
    # Group of the gallery sharing profile
    #
    class SharingProfileGroup

      include MsRestAzure

      # @return [SharingProfileGroupTypes] This property allows you to specify
      # the type of sharing group. <br><br> Possible values are: <br><br>
      # **Subscriptions** <br><br> **AADTenants**. Possible values include:
      # 'Subscriptions', 'AADTenants'
      attr_accessor :type

      # @return [Array<String>] A list of subscription/tenant ids the gallery
      # is aimed to be shared to.
      attr_accessor :ids


      #
      # Mapper for SharingProfileGroup class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'SharingProfileGroup',
          type: {
            name: 'Composite',
            class_name: 'SharingProfileGroup',
            model_properties: {
              type: {
                client_side_validation: true,
                required: false,
                serialized_name: 'type',
                type: {
                  name: 'String'
                }
              },
              ids: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ids',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'StringElementType',
                      type: {
                        name: 'String'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.22.0 lib/2020-09-30-preview/generated/azure_mgmt_compute/models/sharing_profile_group.rb
azure_mgmt_compute-0.21.1 lib/2020-09-30-preview/generated/azure_mgmt_compute/models/sharing_profile_group.rb