Skip to content

Commit aa2f6df

Browse files
author
Matteo Miotello
committed
added management agents repository
1 parent 9699303 commit aa2f6df

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<?php
2+
3+
namespace Shellrent\VeeamVspcApiClient\Repositories;
4+
5+
use Shellrent\VeeamVspcApiClient\Support\CreateGetRequest;
6+
use Shellrent\VeeamVspcApiClient\Support\RequestBuilder;
7+
8+
class ManagementAgentsRepository implements Repository {
9+
use CreateGetRequest;
10+
11+
public function getBaseRoute(): string {
12+
return 'infrastructure/managementAgents';
13+
}
14+
15+
16+
public function downloadManagementAgentSetupFileForWindows(): RequestBuilder {
17+
return $this->createGetRequest( '/packages/windows' );
18+
}
19+
20+
21+
public function downloadManagementAgentSetupFileForLinux(): RequestBuilder {
22+
return $this->createGetRequest( '/packages/linux' );
23+
}
24+
25+
26+
public function downloadManagementAgentSetupFileForMacOS(): RequestBuilder {
27+
return $this->createGetRequest( '/packages/mac' );
28+
}
29+
}

0 commit comments

Comments
 (0)