ResourceStore Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides a default implementation of a resource store.
public sealed class ResourceStore : Microsoft.TeamFoundation.DistributedTask.Pipelines.IResourceStore
type ResourceStore = class
interface IResourceStore
interface IStepProvider
Public NotInheritable Class ResourceStore
Implements IResourceStore
- Inheritance
-
ResourceStore
- Implements
Constructors
| Name | Description |
|---|---|
| ResourceStore() |
Initializes a new |
| ResourceStore(IList<ServiceEndpoint>, IList<SecureFile>, IList<TaskAgentQueue>, IDictionary<String,Guid>, IDictionary<String,Guid>, IDictionary<String, Int32>) |
Initializes a new |
| ResourceStore(IList<ServiceEndpoint>, IList<SecureFile>, IList<TaskAgentQueue>, IList<VariableGroup>, IList<BuildResource>, IList<ContainerResource>, IList<RepositoryResource>) |
Initializes a new |
| ResourceStore(IServiceEndpointStore, ISecureFileStore, IAgentQueueStore, IVariableGroupStore, IBuildStore, IContainerStore, IRepositoryStore) |
Initializes a new |
Properties
| Name | Description |
|---|---|
| Builds |
Gets the store used for retrieving build resources. |
| Containers |
Gets the store used for retrieving container resources. |
| Endpoints |
Gets the store used for retrieving service endpoints. |
| Files |
Gets the store used for retrieving secure files. |
| Queues |
Gets the store used for retrieving agent queues. |
| Repositories |
Gets the store used for retrieving repository resources. |
| VariableGroups |
Gets the store used for retrieving variable groups. |
Methods
| Name | Description |
|---|---|
| GetAuthorizedResources() |
Gets all resources currently in the resource store. |
| GetEndpoint(Guid) | |
| GetEndpoint(String) | |
| GetFile(Guid) | |
| GetFile(String) | |
| GetPostSteps(IPipelineContext, IReadOnlyList<JobStep>) |
Get steps that are run after all other steps. |
| GetPreSteps(IPipelineContext, IReadOnlyList<JobStep>) |
Gets the steps, if any, which should be inserted into the job based on the resources configured. |
| GetQueue(Int32) | |
| GetQueue(String) | |
| GetVariableGroup(Int32) | |
| GetVariableGroup(String) | |
Extension Methods
| Name | Description |
|---|---|
| GetEndpoint(IResourceStore, ServiceEndpointReference) |
Retrieves a service endpoint from the store using the provided reference. |
| GetFile(IResourceStore, SecureFileReference) |
Retrieves a secure file from the store using the provided reference. |
| GetJobResources(IResourceStore, PipelineResources) |
Extracts the full resources from the |
| GetQueue(IResourceStore, AgentQueueReference) |
Retrieves an agent queue from the store using the provided reference. |
| GetVariableGroup(IResourceStore, VariableGroupReference) |
Retrieves a variable group from the store using the provided reference. |