class Azure::ContainerRegistry::Mgmt::V2018_02_01_preview::Models::SourceRepositoryProperties
The properties of the source code repository.
Attributes
is_commit_trigger_enabled[RW]
@return [Boolean] The value of this property indicates whether the source control commit trigger is enabled or not. Default value: false .
repository_url[RW]
@return [String] The full URL to the source code repository
source_control_auth_properties[RW]
@return [SourceControlAuthInfo] The authorization properties for accessing the source code repository.
source_control_type[RW]
@return [SourceControlType] The type of source control service. Possible values include: 'Github', 'VisualStudioTeamService'
Public Class Methods
mapper()
click to toggle source
Mapper for SourceRepositoryProperties
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/source_repository_properties.rb, line 35 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SourceRepositoryProperties', type: { name: 'Composite', class_name: 'SourceRepositoryProperties', model_properties: { source_control_type: { client_side_validation: true, required: true, serialized_name: 'sourceControlType', type: { name: 'String' } }, repository_url: { client_side_validation: true, required: true, serialized_name: 'repositoryUrl', type: { name: 'String' } }, is_commit_trigger_enabled: { client_side_validation: true, required: false, serialized_name: 'isCommitTriggerEnabled', default_value: false, type: { name: 'Boolean' } }, source_control_auth_properties: { client_side_validation: true, required: false, serialized_name: 'sourceControlAuthProperties', type: { name: 'Composite', class_name: 'SourceControlAuthInfo' } } } } } end