Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/speakeasy-sdks/pan-sase-tenancy-ts
A typescript SDK for accessing the pan-sase-tenancy-ts API.
https://github.com/speakeasy-sdks/pan-sase-tenancy-ts
Last synced: 1 day ago
JSON representation
A typescript SDK for accessing the pan-sase-tenancy-ts API.
- Host: GitHub
- URL: https://github.com/speakeasy-sdks/pan-sase-tenancy-ts
- Owner: speakeasy-sdks
- License: mit
- Created: 2023-05-23T20:49:42.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-02T21:21:20.000Z (7 months ago)
- Last Synced: 2024-04-28T05:14:49.124Z (6 months ago)
- Language: TypeScript
- Size: 65.4 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
## SDK Installation
### NPM
```bash
npm add https://github.com/speakeasy-sdks/pan-sase-tenancy-ts
```### Yarn
```bash
yarn add https://github.com/speakeasy-sdks/pan-sase-tenancy-ts
```## SDK Example Usage
```typescript
import { SaseTenancy } from "sase-tenancy";
import { PostTenancyV1TenantServiceGroupsResponse } from "sase-tenancy/dist/sdk/models/operations";
import { TenantServiceGroupCreateVertical, TenantServiceGroupVertical } from "sase-tenancy/dist/sdk/models/shared";const sdk = new SaseTenancy();
sdk.tenancyGroup.create({
displayName: "Example TSG",
parentId: "1378242802",
supportContact: "[email protected]",
vertical: TenantServiceGroupCreateVertical.HighTech,
}, {
bearer: "YOUR_BEARER_TOKEN_HERE",
}).then((res: PostTenancyV1TenantServiceGroupsResponse) => {
if (res.statusCode == 200) {
// handle response
}
});
```## Available Resources and Operations
### [tenancyGroup](docs/tenancygroup/README.md)
* [create](docs/tenancygroup/README.md#create) - Create a tenant service group
* [delete](docs/tenancygroup/README.md#delete) - Delete a tenant service group
* [get](docs/tenancygroup/README.md#get) - Get a tenant service group
* [list](docs/tenancygroup/README.md#list) - List all tenant service groups
* [listAncestors](docs/tenancygroup/README.md#listancestors) - List tenant service group ancestors
* [listChildren](docs/tenancygroup/README.md#listchildren) - List tenant service group children
* [update](docs/tenancygroup/README.md#update) - Update a tenant service group### Maturity
This SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning usage
to a specific package version. This way, you can install the same version each time without breaking changes unless you are intentionally
looking for the latest version.### Contributions
While we value open-source contributions to this SDK, this library is generated programmatically.
Feel free to open a PR or a Github issue as a proof of concept and we'll do our best to include it in a future release !### SDK Created by [Speakeasy](https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks)