Class: Azure::ARM::Resources::Models::ProviderResourceType

Inherits:
Object
  • Object
show all
Includes:
MsRest::JSONable, MsRestAzure
Defined in:
lib/generated/azure_mgmt_resources/models/provider_resource_type.rb

Overview

Resource type managed by the resource provider.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#aliasesArray<AliasType>

resource type.

Returns:

  • (Array<AliasType>)

    The aliases that are supported by this



25
26
27
# File 'lib/generated/azure_mgmt_resources/models/provider_resource_type.rb', line 25

def aliases
  @aliases
end

#api_versionsArray<String>

Returns The API version.

Returns:

  • (Array<String>)

    The API version.



28
29
30
# File 'lib/generated/azure_mgmt_resources/models/provider_resource_type.rb', line 28

def api_versions
  @api_versions
end

#locationsArray<String>

type can be created.

Returns:

  • (Array<String>)

    The collection of locations where this resource



21
22
23
# File 'lib/generated/azure_mgmt_resources/models/provider_resource_type.rb', line 21

def locations
  @locations
end

#propertiesHash{String => String}

Returns The properties.

Returns:

  • (Hash{String => String})

    The properties.



31
32
33
# File 'lib/generated/azure_mgmt_resources/models/provider_resource_type.rb', line 31

def properties
  @properties
end

#resource_typeString

Returns The resource type.

Returns:

  • (String)

    The resource type.



17
18
19
# File 'lib/generated/azure_mgmt_resources/models/provider_resource_type.rb', line 17

def resource_type
  @resource_type
end

Class Method Details

.mapperObject

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



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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
# File 'lib/generated/azure_mgmt_resources/models/provider_resource_type.rb', line 38

def self.mapper()
  {
    required: false,
    serialized_name: 'ProviderResourceType',
    type: {
      name: 'Composite',
      class_name: 'ProviderResourceType',
      model_properties: {
        resource_type: {
          required: false,
          serialized_name: 'resourceType',
          type: {
            name: 'String'
          }
        },
        locations: {
          required: false,
          serialized_name: 'locations',
          type: {
            name: 'Sequence',
            element: {
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        aliases: {
          required: false,
          serialized_name: 'aliases',
          type: {
            name: 'Sequence',
            element: {
                required: false,
                serialized_name: 'AliasTypeElementType',
                type: {
                  name: 'Composite',
                  class_name: 'AliasType'
                }
            }
          }
        },
        api_versions: {
          required: false,
          serialized_name: 'apiVersions',
          type: {
            name: 'Sequence',
            element: {
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        properties: {
          required: false,
          serialized_name: 'properties',
          type: {
            name: 'Dictionary',
            value: {
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end