Computer-implemented object management via tags
Systems and methods are provided for managing objects. In one implementation, a computer-implemented method is provided. The method includes receiving a query comprising a tag and executing the query. An object identifier is retrieved from a data table, based on the tag. The method further returns a result of the query. The result includes the object identifier that was retrieved from the data table. The method further performing an action related to an object having the retrieved object identifier.
1 . A computer-implemented method comprising:
hosting, by a cloud services provider, a resource for a user, wherein the resource is one of a virtual machine, a database server, a storage repository, or a storage volume;
receiving, at the cloud services provider from a device associated with the user, a request to associate a user-defined tag with at least the resource, wherein the user-defined tag comprises a first string value provided by the user, a second string value provided by the user, and a delimiter positioned between the first string value and the second string value;
storing, by the cloud services provider in a data store, an association between the user-defined tag and the resource;
receiving, by the cloud services provider, a search query seeking a list of computing resources associated with at least the user-defined tag, wherein the search query includes the user-defined tag; and
transmitting, by the cloud services provider, a query result including the list of identifiers, the list including at least an identifier of the resource.
2 . The computer-implemented method of claim 1 , further comprising:
receiving, by the cloud services provider, a request to remove the user-defined tag from being associated with the resource; and
removing, by the cloud services provider in the data store, the association between the user-defined tag and the resource.
3 . The computer-implemented method of claim 2 , further comprising determining, by the cloud services provider, that the user has sufficient permissions to remove the user-defined tag from being associated with the resource.
4 . The computer-implemented method of claim 1 , wherein the request to associate the user-defined tag with at least the resource is a request to associate the user-defined tag with a plurality of resources, wherein the plurality of resources includes the resource, and wherein the request includes a plurality of identifiers corresponding to the plurality of resources.
5 . The computer-implemented method of claim 1 , wherein the search query includes an operator, wherein the operator is one of AND, OR, or NOT.
6 . The computer-implemented method of claim 1 , further comprising determining, by the cloud services provider responsive to the request, that the user has sufficient permissions to associate the user-defined tag with at least the resource.
7 . The computer-implemented method of claim 1 , further comprising:
receiving, by the cloud services provider, a second search query seeking a list of user-defined tags; and
transmitting, by the cloud services provider, a second query result including the list of user-defined tags, the list including the user-defined tag and at least one other user-defined tag.
8 . The computer-implemented method of claim 1 , wherein the user-defined tag is a free form tag supplied by the user, and wherein the user has a defined permission associated with the resource.
9 . The computer-implemented method of claim 1 , further comprising:
receiving, by the cloud services provider, a request to modify the user-defined tag; and
modifying, by the cloud services provider, the user-defined tag via use of the data store.
10 . A computer services provider system comprising:
one or more hardware processors; and
a memory with stored instructions that, when executed by at least one of the one or more hardware processors, cause the computer services provider system to:
host a resource for a user, wherein the resource is one of a virtual machine, a database server, a storage repository, or a storage volume;
receive, from a device associated with the user, a request to associate a user-defined tag with at least the resource, wherein the user-defined tag comprises a first string value provided by the user, a second string value provided by the user, and a delimiter positioned between the first string value and the second string value;
store, in a data store, an association between the user-defined tag and the resource;
receive a search query seeking a list of computing resources associated with at least the user-defined tag, wherein the search query includes the user-defined tag; and
transmit a query result including the list of identifiers, the list including at least an identifier of the resource.
11 . The computer services provider system of claim 10 , wherein the memory further includes instructions that, when executed by at least one of the one or more hardware processors, cause the computer services provider system to:
receive a request to remove the user-defined tag from being associated with the resource; and
remove, from the data store, the association between the user-defined tag and the resource.
12 . The computer services provider system of claim 11 , wherein the memory further includes instructions that, when executed by at least one of the one or more hardware processors, cause the computer services provider system to determine that the user has sufficient permissions to remove the user-defined tag from being associated with the resource.
13 . The computer services provider system of claim 10 , wherein the request to associate the user-defined tag with at least the resource is a request to associate the user-defined tag with a plurality of resources, wherein the plurality of resources includes the resource, and wherein the request includes a plurality of identifiers corresponding to the plurality of resources.
14 . The computer services provider system of claim 10 , wherein the search query includes an operator, wherein the operator is one of AND, OR, or NOT.
15 . The computer services provider system of claim 10 , wherein the memory further includes instructions that, when executed by at least one of the one or more hardware processors, cause the computer services provider system to determine, responsive to the request, that the user has sufficient permissions to associate the user-defined tag with at least the resource.
16 . The computer services provider system of claim 10 , wherein the memory further includes instructions that, when executed by at least one of the one or more hardware processors, cause the computer services provider system to:
receive a second search query seeking a list of user-defined tags; and
transmit a second query result including the list of user-defined tags, the list including the user-defined tag and at least one other user-defined tag.
17 . The computer services provider system of claim 10 , wherein the user-defined tag is a free form tag supplied by the user, and wherein the user has a defined permission associated with the resource.
18 . A non-transitory computer-readable storage medium having stored instructions that, when executed by a processor of a computing services provider system, cause the computing services provider system to perform operations comprising:
hosting a resource for a user, wherein the resource is one of a virtual machine, a database server, a storage repository, or a storage volume;
receiving, from a device associated with the user, a request to associate a user-defined tag with at least the resource, wherein the user-defined tag comprises a first string value provided by the user, a second string value provided by the user, and a delimiter positioned between the first string value and the second string value;
storing, in a data store, an association between the user-defined tag and the resource;
receiving a search query seeking a list of computing resources associated with at least the user-defined tag, wherein the search query includes the user-defined tag; and
transmitting a query result including the list of identifiers, the list including at least an identifier of the resource.
19 . The non-transitory computer-readable storage medium of claim 18 , wherein the instructions include further instructions that, when executed by the processor of the computing services provider system, cause the computing services provider system to perform further operations comprising:
receive a request to remove the user-defined tag from being associated with the resource; and
remove, from the data store, the association between the user-defined tag and the resource.
20 . The non-transitory computer-readable storage medium of claim 19 , wherein the instructions include further instructions that, when executed by the processor of the computing services provider system, cause the computing services provider system to determine that the user has sufficient permissions to remove the user-defined tag from being associated with the resource.