Sha256: e5f49613b4ce0d89da3a28ea873393373d911d5b47df87157c591e2623c26bf6

Contents?: true

Size: 1.74 KB

Versions: 1

Compression:

Stored size: 1.74 KB

Contents

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

module Azure::ARM::KeyVault
  module Models
    #
    # Permissions the identity has for keys and secrets
    #
    class Permissions

      include MsRestAzure

      # @return [Array<String>] Permissions to keys
      attr_accessor :keys

      # @return [Array<String>] Permissions to secrets
      attr_accessor :secrets


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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_key_vault-0.4.0 lib/generated/azure_mgmt_key_vault/models/permissions.rb