Class: Azure::Resources::Mgmt::V2020_06_01::Models::AliasPath

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-06-01/generated/azure_mgmt_resources/models/alias_path.rb

Overview

The type of the paths for alias.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#api_versionsArray<String>

Returns The API versions.

Returns:

  • (Array<String>)

    The API versions.



19
20
21
# File 'lib/2020-06-01/generated/azure_mgmt_resources/models/alias_path.rb', line 19

def api_versions
  @api_versions
end

#metadataAliasPathMetadata

fall back to the default metadata of the alias.

Returns:



26
27
28
# File 'lib/2020-06-01/generated/azure_mgmt_resources/models/alias_path.rb', line 26

def 
  @metadata
end

#pathString

Returns The path of an alias.

Returns:

  • (String)

    The path of an alias.



16
17
18
# File 'lib/2020-06-01/generated/azure_mgmt_resources/models/alias_path.rb', line 16

def path
  @path
end

#patternAliasPattern

Returns The pattern for an alias path.

Returns:



22
23
24
# File 'lib/2020-06-01/generated/azure_mgmt_resources/models/alias_path.rb', line 22

def pattern
  @pattern
end

Class Method Details

.mapperObject

Mapper for AliasPath class as Ruby Hash. This will be used for serialization/deserialization.



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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# File 'lib/2020-06-01/generated/azure_mgmt_resources/models/alias_path.rb', line 33

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AliasPath',
    type: {
      name: 'Composite',
      class_name: 'AliasPath',
      model_properties: {
        path: {
          client_side_validation: true,
          required: false,
          serialized_name: 'path',
          type: {
            name: 'String'
          }
        },
        api_versions: {
          client_side_validation: true,
          required: false,
          serialized_name: 'apiVersions',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        pattern: {
          client_side_validation: true,
          required: false,
          serialized_name: 'pattern',
          type: {
            name: 'Composite',
            class_name: 'AliasPattern'
          }
        },
        metadata: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'metadata',
          type: {
            name: 'Composite',
            class_name: 'AliasPathMetadata'
          }
        }
      }
    }
  }
end