Class: Azure::Web::Mgmt::V2018_02_01::Models::SiteSourceControl

Inherits:
ProxyOnlyResource show all
Includes:
MsRestAzure
Defined in:
lib/2018-02-01/generated/azure_mgmt_web/models/site_source_control.rb

Overview

Source control configuration for an app.

Instance Attribute Summary collapse

Attributes inherited from ProxyOnlyResource

#id, #kind, #name, #type

Class Method Summary collapse

Instance Attribute Details

#branchString



19
20
21
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/site_source_control.rb', line 19

def branch
  @branch
end

#deployment_rollback_enabledBoolean

otherwise, false.



28
29
30
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/site_source_control.rb', line 28

def deployment_rollback_enabled
  @deployment_rollback_enabled
end

#is_manual_integrationBoolean

false to enable continuous integration (which configures webhooks into online repos like GitHub).



24
25
26
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/site_source_control.rb', line 24

def is_manual_integration
  @is_manual_integration
end

#is_mercurialBoolean

false for a Git repository.



32
33
34
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/site_source_control.rb', line 32

def is_mercurial
  @is_mercurial
end

#repo_urlString



16
17
18
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/site_source_control.rb', line 16

def repo_url
  @repo_url
end

Class Method Details

.mapperObject

Mapper for SiteSourceControl 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/site_source_control.rb', line 39

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'SiteSourceControl',
    type: {
      name: 'Composite',
      class_name: 'SiteSourceControl',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        kind: {
          client_side_validation: true,
          required: false,
          serialized_name: 'kind',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        repo_url: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.repoUrl',
          type: {
            name: 'String'
          }
        },
        branch: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.branch',
          type: {
            name: 'String'
          }
        },
        is_manual_integration: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.isManualIntegration',
          type: {
            name: 'Boolean'
          }
        },
        deployment_rollback_enabled: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.deploymentRollbackEnabled',
          type: {
            name: 'Boolean'
          }
        },
        is_mercurial: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.isMercurial',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end