class Azure::DevTestLabs::Mgmt::V2018_09_15::Models::ArtifactSource

Properties of an artifact source.

Attributes

arm_template_folder_path[RW]

@return [String] The folder containing Azure Resource Manager templates.

branch_ref[RW]

@return [String] The artifact source's branch reference.

created_date[RW]

@return [DateTime] The artifact source's creation date.

display_name[RW]

@return [String] The artifact source's display name.

folder_path[RW]

@return [String] The folder containing artifacts.

provisioning_state[RW]

@return [String] The provisioning status of the resource.

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'

unique_identifier[RW]

@return [String] The unique immutable identifier of a resource (Guid).

uri[RW]

@return [String] The artifact source's URI.

Private Class Methods

mapper() click to toggle source

Mapper for ArtifactSource class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/artifact_source.rb, line 58
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ArtifactSource',
    type: {
      name: 'Composite',
      class_name: 'ArtifactSource',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        location: {
          client_side_validation: true,
          required: false,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        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'
          }
        },
        created_date: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.createdDate',
          type: {
            name: 'DateTime'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        unique_identifier: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.uniqueIdentifier',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end