Class: Azure::ContainerRegistry::Mgmt::V2019_05_01_preview::Models::ScopeMapUpdateParameters

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-05-01-preview/generated/azure_mgmt_container_registry/models/scope_map_update_parameters.rb

Overview

The properties for updating the scope map.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#actionsArray<String>

artifacts. E.g. repositories/repository-name/pull, repositories/repository-name/delete

Returns:

  • (Array<String>)

    The list of scope permissions for registry



22
23
24
# File 'lib/2019-05-01-preview/generated/azure_mgmt_container_registry/models/scope_map_update_parameters.rb', line 22

def actions
  @actions
end

#descriptionString

Returns The user friendly description of the scope map.

Returns:

  • (String)

    The user friendly description of the scope map.



16
17
18
# File 'lib/2019-05-01-preview/generated/azure_mgmt_container_registry/models/scope_map_update_parameters.rb', line 16

def description
  @description
end

Class Method Details

.mapperObject

Mapper for ScopeMapUpdateParameters 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
# File 'lib/2019-05-01-preview/generated/azure_mgmt_container_registry/models/scope_map_update_parameters.rb', line 29

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ScopeMapUpdateParameters',
    type: {
      name: 'Composite',
      class_name: 'ScopeMapUpdateParameters',
      model_properties: {
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.description',
          type: {
            name: 'String'
          }
        },
        actions: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.actions',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end