Skip to content
This repository has been archived by the owner on Sep 15, 2024. It is now read-only.

Commit

Permalink
instance creation supports tags
Browse files Browse the repository at this point in the history
  • Loading branch information
lizhineng committed Dec 18, 2023
1 parent aae8453 commit 6e0f90d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/TablestoreInstance.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
use GuzzleHttp\Client;
use GuzzleHttp\HandlerStack;

/**
* @phpstan-type InstanceTag array{Key: string, Value: string}
*/
class TablestoreInstance
{
use CommunicatesWithAcs;
Expand Down Expand Up @@ -87,6 +90,7 @@ public function get(string $instance): Response
* AliasName?: string,
* ClusterType?: string,
* Network?: string
* Tags?: InstanceTag[]
* } $instance
* @return \Dew\Tablestore\Responses\Response<\Psr\Http\Message\ResponseInterface>
*/
Expand Down Expand Up @@ -147,7 +151,7 @@ public function delete(string $instance): Response
* @param array{
* ResourceIds: string[],
* ResourceType: string,
* Tags: array{Key: string, Value: string}[]
* Tags: InstanceTag[]
* } $data
* @return \Dew\Tablestore\Responses\Response<\Psr\Http\Message\ResponseInterface>
*/
Expand Down

0 comments on commit 6e0f90d

Please sign in to comment.