class Azure::ContainerInstance::Mgmt::V2018_06_01::Models::GitRepoVolume
Represents a volume that is populated with the contents of a git repository
Attributes
directory[RW]
@return [String] Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name.
repository[RW]
@return [String] Repository URL
revision[RW]
@return [String] Commit hash for the specified revision.
Public Class Methods
mapper()
click to toggle source
Mapper for GitRepoVolume
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-06-01/generated/azure_mgmt_container_instance/models/git_repo_volume.rb, line 33 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'GitRepoVolume', type: { name: 'Composite', class_name: 'GitRepoVolume', model_properties: { directory: { client_side_validation: true, required: false, serialized_name: 'directory', type: { name: 'String' } }, repository: { client_side_validation: true, required: true, serialized_name: 'repository', type: { name: 'String' } }, revision: { client_side_validation: true, required: false, serialized_name: 'revision', type: { name: 'String' } } } } } end