Class: Azure::ARM::DevTestLabs::Models::ArtifactSourceFragment

Inherits:
MsRestAzure::Resource
  • Object
show all
Includes:
MsRest::JSONable, MsRestAzure
Defined in:
lib/generated/azure_mgmt_devtestlabs/models/artifact_source_fragment.rb

Overview

Properties of an artifact source.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#arm_template_folder_pathString

templates.

Returns:

  • (String)

    The folder containing Azure Resource Manager



31
32
33
# File 'lib/generated/azure_mgmt_devtestlabs/models/artifact_source_fragment.rb', line 31

def arm_template_folder_path
  @arm_template_folder_path
end

#branch_refString

Returns The artifact source’s branch reference.

Returns:

  • (String)

    The artifact source’s branch reference.



34
35
36
# File 'lib/generated/azure_mgmt_devtestlabs/models/artifact_source_fragment.rb', line 34

def branch_ref
  @branch_ref
end

#display_nameString

Returns The artifact source’s display name.

Returns:

  • (String)

    The artifact source’s display name.



17
18
19
# File 'lib/generated/azure_mgmt_devtestlabs/models/artifact_source_fragment.rb', line 17

def display_name
  @display_name
end

#folder_pathString

Returns The folder containing artifacts.

Returns:

  • (String)

    The folder containing artifacts.



27
28
29
# File 'lib/generated/azure_mgmt_devtestlabs/models/artifact_source_fragment.rb', line 27

def folder_path
  @folder_path
end

#provisioning_stateString

Returns The provisioning status of the resource.

Returns:

  • (String)

    The provisioning status of the resource.



46
47
48
# File 'lib/generated/azure_mgmt_devtestlabs/models/artifact_source_fragment.rb', line 46

def provisioning_state
  @provisioning_state
end

#security_tokenString

source.

Returns:

  • (String)

    The security token to authenticate to the artifact



38
39
40
# File 'lib/generated/azure_mgmt_devtestlabs/models/artifact_source_fragment.rb', line 38

def security_token
  @security_token
end

#source_typeSourceControlType

include: ‘VsoGit’, ‘GitHub’

Returns:



24
25
26
# File 'lib/generated/azure_mgmt_devtestlabs/models/artifact_source_fragment.rb', line 24

def source_type
  @source_type
end

#statusEnableStatus

(values: Enabled, Disabled). Possible values include: ‘Enabled’, ‘Disabled’

Returns:

  • (EnableStatus)

    Indicates if the artifact source is enabled



43
44
45
# File 'lib/generated/azure_mgmt_devtestlabs/models/artifact_source_fragment.rb', line 43

def status
  @status
end

#unique_identifierString

Returns The unique immutable identifier of a resource (Guid).

Returns:

  • (String)

    The unique immutable identifier of a resource (Guid).



49
50
51
# File 'lib/generated/azure_mgmt_devtestlabs/models/artifact_source_fragment.rb', line 49

def unique_identifier
  @unique_identifier
end

#uriString

Returns The artifact source’s URI.

Returns:

  • (String)

    The artifact source’s URI.



20
21
22
# File 'lib/generated/azure_mgmt_devtestlabs/models/artifact_source_fragment.rb', line 20

def uri
  @uri
end

Class Method Details

.mapperObject

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



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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
# File 'lib/generated/azure_mgmt_devtestlabs/models/artifact_source_fragment.rb', line 56

def self.mapper()
  {
    required: false,
    serialized_name: 'ArtifactSourceFragment',
    type: {
      name: 'Composite',
      class_name: 'ArtifactSourceFragment',
      model_properties: {
        id: {
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        location: {
          required: false,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        tags: {
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        display_name: {
          required: false,
          serialized_name: 'properties.displayName',
          type: {
            name: 'String'
          }
        },
        uri: {
          required: false,
          serialized_name: 'properties.uri',
          type: {
            name: 'String'
          }
        },
        source_type: {
          required: false,
          serialized_name: 'properties.sourceType',
          type: {
            name: 'String'
          }
        },
        folder_path: {
          required: false,
          serialized_name: 'properties.folderPath',
          type: {
            name: 'String'
          }
        },
        arm_template_folder_path: {
          required: false,
          serialized_name: 'properties.armTemplateFolderPath',
          type: {
            name: 'String'
          }
        },
        branch_ref: {
          required: false,
          serialized_name: 'properties.branchRef',
          type: {
            name: 'String'
          }
        },
        security_token: {
          required: false,
          serialized_name: 'properties.securityToken',
          type: {
            name: 'String'
          }
        },
        status: {
          required: false,
          serialized_name: 'properties.status',
          type: {
            name: 'String'
          }
        },
        provisioning_state: {
          required: false,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        unique_identifier: {
          required: false,
          serialized_name: 'properties.uniqueIdentifier',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end