Class: Azure::ARM::Web::Models::HostingEnvironmentProfile

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/generated/azure_mgmt_web/models/hosting_environment_profile.rb

Overview

Specification for a hostingEnvironment (App Service Environment) to use for this resource

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#idString

Environment)

Returns:

  • (String)

    Resource id of the hostingEnvironment (App Service



18
19
20
# File 'lib/generated/azure_mgmt_web/models/hosting_environment_profile.rb', line 18

def id
  @id
end

#nameString

Environment) (read only)

Returns:

  • (String)

    Name of the hostingEnvironment (App Service



22
23
24
# File 'lib/generated/azure_mgmt_web/models/hosting_environment_profile.rb', line 22

def name
  @name
end

#typeString

Environment) (read only)

Returns:

  • (String)

    Resource type of the hostingEnvironment (App Service



26
27
28
# File 'lib/generated/azure_mgmt_web/models/hosting_environment_profile.rb', line 26

def type
  @type
end

Class Method Details

.mapperObject

Mapper for HostingEnvironmentProfile 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
# File 'lib/generated/azure_mgmt_web/models/hosting_environment_profile.rb', line 33

def self.mapper()
  {
    required: false,
    serialized_name: 'HostingEnvironmentProfile',
    type: {
      name: 'Composite',
      class_name: 'HostingEnvironmentProfile',
      model_properties: {
        id: {
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          required: false,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end