Class: Azure::ARM::DevTestLabs::Models::ArtifactSource
- Inherits:
-
Object
- Object
- Azure::ARM::DevTestLabs::Models::ArtifactSource
- Includes:
- MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_devtestlabs/models/artifact_source.rb
Overview
Properties of an artifact source.
Instance Attribute Summary collapse
-
#branch_ref ⇒ String
The branch reference of the artifact source.
-
#display_name ⇒ String
The display name of the artifact source.
-
#folder_path ⇒ String
The folder path of the artifact source.
-
#id ⇒ String
The identifier of the resource.
-
#location ⇒ String
The location of the resource.
-
#name ⇒ String
The name of the resource.
-
#provisioning_state ⇒ String
The provisioning status of the resource.
-
#security_token ⇒ String
The security token of the artifact source.
-
#source_type ⇒ SourceControlType
values include: ‘VsoGit’, ‘GitHub’.
-
#status ⇒ EnableStatus
values include: ‘Enabled’, ‘Disabled’.
-
#tags ⇒ Hash{String => String}
The tags of the resource.
-
#type ⇒ String
The type of the resource.
-
#unique_identifier ⇒ String
The unique immutable identifier of a resource (Guid).
-
#uri ⇒ String
The URI of the artifact source.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ArtifactSource class as Ruby Hash.
Instance Attribute Details
#branch_ref ⇒ String
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_name ⇒ String
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_path ⇒ String
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 |
#id ⇒ String
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 |
#location ⇒ String
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 |
#name ⇒ String
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_state ⇒ String
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_token ⇒ String
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_type ⇒ SourceControlType
values include: ‘VsoGit’, ‘GitHub’
23 24 25 |
# File 'lib/generated/azure_mgmt_devtestlabs/models/artifact_source.rb', line 23 def source_type @source_type end |
#status ⇒ EnableStatus
values include: ‘Enabled’, ‘Disabled’
36 37 38 |
# File 'lib/generated/azure_mgmt_devtestlabs/models/artifact_source.rb', line 36 def status @status end |
#tags ⇒ Hash{String => String}
Returns The tags of the resource.
57 58 59 |
# File 'lib/generated/azure_mgmt_devtestlabs/models/artifact_source.rb', line 57 def end |
#type ⇒ String
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_identifier ⇒ String
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 |
#uri ⇒ String
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
.mapper ⇒ Object
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 |