Class: Azure::ARM::Web::Models::SiteSourceControl

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

Overview

Describes the source control configuration for web app

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#branchString

Returns Name of branch to use for deployment.

Returns:

  • (String)

    Name of branch to use for deployment



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

def branch
  @branch
end

#deployment_rollback_enabledBoolean

Returns Whether to manual or continuous integration.

Returns:

  • (Boolean)

    Whether to manual or continuous integration



25
26
27
# File 'lib/generated/azure_mgmt_web/models/site_source_control.rb', line 25

def deployment_rollback_enabled
  @deployment_rollback_enabled
end

#is_manual_integrationBoolean

Returns Whether to manual or continuous integration.

Returns:

  • (Boolean)

    Whether to manual or continuous integration



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

def is_manual_integration
  @is_manual_integration
end

#is_mercurialBoolean

Returns Mercurial or Git repository type.

Returns:

  • (Boolean)

    Mercurial or Git repository type



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

def is_mercurial
  @is_mercurial
end

#repo_urlString

Returns Repository or source control url.

Returns:

  • (String)

    Repository or source control url



16
17
18
# File 'lib/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.



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
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
127
128
129
130
# File 'lib/generated/azure_mgmt_web/models/site_source_control.rb', line 35

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