Class: Azure::ARM::DevTestLabs::Models::ArtifactSource

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

Overview

Properties of an artifact source.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#branch_refString

Returns The branch reference of the artifact source.

Returns:

  • The branch reference of the artifact source.



29
30
31
# File 'lib/generated/azure_mgmt_devtestlabs/models/artifact_source.rb', line 29

def branch_ref
  @branch_ref
end

#display_nameString

Returns The display name of the artifact source.

Returns:

  • The display name of the artifact source.



16
17
18
# File 'lib/generated/azure_mgmt_devtestlabs/models/artifact_source.rb', line 16

def display_name
  @display_name
end

#folder_pathString

Returns The folder path of the artifact source.

Returns:

  • The folder path of the artifact source.



26
27
28
# File 'lib/generated/azure_mgmt_devtestlabs/models/artifact_source.rb', line 26

def folder_path
  @folder_path
end

#idString

Returns The identifier of the resource.

Returns:

  • The identifier of the resource.



45
46
47
# File 'lib/generated/azure_mgmt_devtestlabs/models/artifact_source.rb', line 45

def id
  @id
end

#locationString

Returns The location of the resource.

Returns:

  • The location of the resource.



54
55
56
# File 'lib/generated/azure_mgmt_devtestlabs/models/artifact_source.rb', line 54

def location
  @location
end

#nameString

Returns The name of the resource.

Returns:

  • The name of the resource.



48
49
50
# File 'lib/generated/azure_mgmt_devtestlabs/models/artifact_source.rb', line 48

def name
  @name
end

#provisioning_stateString

Returns The provisioning status of the resource.

Returns:

  • The provisioning status of the resource.



39
40
41
# File 'lib/generated/azure_mgmt_devtestlabs/models/artifact_source.rb', line 39

def provisioning_state
  @provisioning_state
end

#security_tokenString

Returns The security token of the artifact source.

Returns:

  • The security token of the artifact source.



32
33
34
# File 'lib/generated/azure_mgmt_devtestlabs/models/artifact_source.rb', line 32

def security_token
  @security_token
end

#source_typeSourceControlType

values include: ‘VsoGit’, ‘GitHub’

Returns:

  • The type of the artifact source. Possible



23
24
25
# File 'lib/generated/azure_mgmt_devtestlabs/models/artifact_source.rb', line 23

def source_type
  @source_type
end

#statusEnableStatus

values include: ‘Enabled’, ‘Disabled’

Returns:

  • The status of the artifact source. Possible



36
37
38
# File 'lib/generated/azure_mgmt_devtestlabs/models/artifact_source.rb', line 36

def status
  @status
end

#tagsHash{String => String}

Returns The tags of the resource.

Returns:

  • The tags of the resource.



57
58
59
# File 'lib/generated/azure_mgmt_devtestlabs/models/artifact_source.rb', line 57

def tags
  @tags
end

#typeString

Returns The type of the resource.

Returns:

  • The type of the resource.



51
52
53
# File 'lib/generated/azure_mgmt_devtestlabs/models/artifact_source.rb', line 51

def type
  @type
end

#unique_identifierString

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

Returns:

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



42
43
44
# File 'lib/generated/azure_mgmt_devtestlabs/models/artifact_source.rb', line 42

def unique_identifier
  @unique_identifier
end

#uriString

Returns The URI of the artifact source.

Returns:

  • The URI of the artifact source.



19
20
21
# File 'lib/generated/azure_mgmt_devtestlabs/models/artifact_source.rb', line 19

def uri
  @uri
end

Class Method Details

.mapperObject

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



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
# File 'lib/generated/azure_mgmt_devtestlabs/models/artifact_source.rb', line 64

def self.mapper()
  {
    required: false,
    serialized_name: 'ArtifactSource',
    type: {
      name: 'Composite',
      class_name: 'ArtifactSource',
      model_properties: {
        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'
          }
        },
        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'
          }
        },
        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'
          }
        },
        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'
                }
            }
          }
        }
      }
    }
  }
end