Class: Azure::ARM::Web::Models::SiteCloneability

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

Overview

Represents whether or not a web app is cloneable

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#blocking_characteristicsArray<SiteCloneabilityCriterion>

application characteristics

Returns:



32
33
34
# File 'lib/generated/azure_mgmt_web/models/site_cloneability.rb', line 32

def blocking_characteristics
  @blocking_characteristics
end

#blocking_featuresArray<SiteCloneabilityCriterion>

web app that prevent cloning

Returns:



21
22
23
# File 'lib/generated/azure_mgmt_web/models/site_cloneability.rb', line 21

def blocking_features
  @blocking_features
end

#resultCloneAbilityResult

‘Cloneable’, ‘PartiallyCloneable’, ‘NotCloneable’

Returns:



17
18
19
# File 'lib/generated/azure_mgmt_web/models/site_cloneability.rb', line 17

def result
  @result
end

#unsupported_featuresArray<SiteCloneabilityCriterion>

web app that are non-blocking but cannot be cloned. The web app can still be cloned but the features in this list will not be set up on cloned web app.

Returns:



28
29
30
# File 'lib/generated/azure_mgmt_web/models/site_cloneability.rb', line 28

def unsupported_features
  @unsupported_features
end

Class Method Details

.mapperObject

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



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
# File 'lib/generated/azure_mgmt_web/models/site_cloneability.rb', line 39

def self.mapper()
  {
    required: false,
    serialized_name: 'SiteCloneability',
    type: {
      name: 'Composite',
      class_name: 'SiteCloneability',
      model_properties: {
        result: {
          required: true,
          serialized_name: 'result',
          type: {
            name: 'Enum',
            module: 'CloneAbilityResult'
          }
        },
        blocking_features: {
          required: false,
          serialized_name: 'blockingFeatures',
          type: {
            name: 'Sequence',
            element: {
                required: false,
                serialized_name: 'SiteCloneabilityCriterionElementType',
                type: {
                  name: 'Composite',
                  class_name: 'SiteCloneabilityCriterion'
                }
            }
          }
        },
        unsupported_features: {
          required: false,
          serialized_name: 'unsupportedFeatures',
          type: {
            name: 'Sequence',
            element: {
                required: false,
                serialized_name: 'SiteCloneabilityCriterionElementType',
                type: {
                  name: 'Composite',
                  class_name: 'SiteCloneabilityCriterion'
                }
            }
          }
        },
        blocking_characteristics: {
          required: false,
          serialized_name: 'blockingCharacteristics',
          type: {
            name: 'Sequence',
            element: {
                required: false,
                serialized_name: 'SiteCloneabilityCriterionElementType',
                type: {
                  name: 'Composite',
                  class_name: 'SiteCloneabilityCriterion'
                }
            }
          }
        }
      }
    }
  }
end