class Azure::DevTestLabs::Mgmt::V2018_09_15::Models::ArtifactSourceFragment
Properties of an artifact source.
Attributes
arm_template_folder_path[RW]
branch_ref[RW]
@return [String] The artifact source's branch reference.
display_name[RW]
@return [String] The artifact source's display name.
folder_path[RW]
@return [String] The folder containing artifacts.
security_token[RW]
@return [String] The security token to authenticate to the artifact source.
source_type[RW]
@return [SourceControlType] The artifact source's type. Possible values include: 'VsoGit', 'GitHub'
status[RW]
@return [EnableStatus] Indicates if the artifact source is enabled (values: Enabled, Disabled). Possible values include: 'Enabled', 'Disabled'
uri[RW]
@return [String] The artifact source's URI.
Private Class Methods
mapper()
click to toggle source
Mapper for ArtifactSourceFragment
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/artifact_source_fragment.rb, line 49 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ArtifactSourceFragment', type: { name: 'Composite', class_name: 'ArtifactSourceFragment', model_properties: { tags: { client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, display_name: { client_side_validation: true, required: false, serialized_name: 'properties.displayName', type: { name: 'String' } }, uri: { client_side_validation: true, required: false, serialized_name: 'properties.uri', type: { name: 'String' } }, source_type: { client_side_validation: true, required: false, serialized_name: 'properties.sourceType', type: { name: 'String' } }, folder_path: { client_side_validation: true, required: false, serialized_name: 'properties.folderPath', type: { name: 'String' } }, arm_template_folder_path: { client_side_validation: true, required: false, serialized_name: 'properties.armTemplateFolderPath', type: { name: 'String' } }, branch_ref: { client_side_validation: true, required: false, serialized_name: 'properties.branchRef', type: { name: 'String' } }, security_token: { client_side_validation: true, required: false, serialized_name: 'properties.securityToken', type: { name: 'String' } }, status: { client_side_validation: true, required: false, serialized_name: 'properties.status', type: { name: 'String' } } } } } end