class Azure::ContainerRegistry::Mgmt::V2019_04_01::Models::SourceProperties
The properties of the source code repository.
Attributes
branch[RW]
@return [String] The branch name of the source code.
repository_url[RW]
@return [String] The full URL to the source code repository
source_control_auth_properties[RW]
@return [AuthInfo] The authorization properties for accessing the source code repository and to set up webhooks for notifications.
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 SourceProperties
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2019-04-01/generated/azure_mgmt_container_registry/models/source_properties.rb, line 35 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SourceProperties', type: { name: 'Composite', class_name: 'SourceProperties', 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' } }, branch: { client_side_validation: true, required: false, serialized_name: 'branch', type: { name: 'String' } }, source_control_auth_properties: { client_side_validation: true, required: false, serialized_name: 'sourceControlAuthProperties', type: { name: 'Composite', class_name: 'AuthInfo' } } } } } end