Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

Awesome Lists containing this project

README

        



SASE Tenancy Typesript SDK


Containers used to build your tenant hierachy.





## 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)