Sha256: 35eacc4fc596d4c6d273c7f9255ba38234255a569105e76f7cacb190d14340d6

Contents?: true

Size: 1.49 KB

Versions: 9

Compression:

Stored size: 1.49 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::V2018_09_30
  module Models
    #
    # Data used for requesting a SAS.
    #
    class GrantAccessData

      include MsRestAzure

      # @return [AccessLevel] Possible values include: 'None', 'Read', 'Write'
      attr_accessor :access

      # @return [Integer] Time duration in seconds until the SAS access
      # expires.
      attr_accessor :duration_in_seconds


      #
      # Mapper for GrantAccessData class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'GrantAccessData',
          type: {
            name: 'Composite',
            class_name: 'GrantAccessData',
            model_properties: {
              access: {
                client_side_validation: true,
                required: true,
                serialized_name: 'access',
                type: {
                  name: 'String'
                }
              },
              duration_in_seconds: {
                client_side_validation: true,
                required: true,
                serialized_name: 'durationInSeconds',
                type: {
                  name: 'Number'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.22.0 lib/2018-09-30/generated/azure_mgmt_compute/models/grant_access_data.rb
azure_mgmt_compute-0.21.1 lib/2018-09-30/generated/azure_mgmt_compute/models/grant_access_data.rb
azure_mgmt_compute-0.20.0 lib/2018-09-30/generated/azure_mgmt_compute/models/grant_access_data.rb
azure_mgmt_compute-0.19.3 lib/2018-09-30/generated/azure_mgmt_compute/models/grant_access_data.rb
azure_mgmt_compute-0.19.2 lib/2018-09-30/generated/azure_mgmt_compute/models/grant_access_data.rb
azure_mgmt_compute-0.19.1 lib/2018-09-30/generated/azure_mgmt_compute/models/grant_access_data.rb
azure_mgmt_compute-0.19.0 lib/2018-09-30/generated/azure_mgmt_compute/models/grant_access_data.rb
azure_mgmt_compute-0.18.7 lib/2018-09-30/generated/azure_mgmt_compute/models/grant_access_data.rb
azure_mgmt_compute-0.18.6 lib/2018-09-30/generated/azure_mgmt_compute/models/grant_access_data.rb