@shi-corp/sdk-data-gateway
Version:
SDK client used to interface with the SHI Data Gateway service.
44 lines (43 loc) • 2.67 kB
TypeScript
import { type Shield } from '../../../models/licenseEntitlement/index.js';
import { type ActiveRequestBuilder } from './active/index.js';
import { type TenantRequestBuilder } from './tenant/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Builds and executes requests for operations under /Api/Entitlement/Shield
*/
export interface ShieldRequestBuilder extends BaseRequestBuilder<ShieldRequestBuilder> {
/**
* The Active property
*/
get active(): ActiveRequestBuilder;
/**
* The Tenant property
*/
get tenant(): TenantRequestBuilder;
/**
* Creates a new license entitlement (activation) for SHIELD.This endpoint requires the `LicenseEntitlement.ReadWrite.All` scope (permission). This endpoint is also only accessible form the `SHI` and `SHI Lab` tenants. End user access is restricted.
* @param body Record that describes the purchased licenses for a specific tenant. More than one of these can be active at a single time.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<Shield>}
*/
post(body: Shield, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Shield | undefined>;
/**
* Creates a new license entitlement (activation) for SHIELD.This endpoint requires the `LicenseEntitlement.ReadWrite.All` scope (permission). This endpoint is also only accessible form the `SHI` and `SHI Lab` tenants. End user access is restricted.
* @param body Record that describes the purchased licenses for a specific tenant. More than one of these can be active at a single time.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPostRequestInformation(body: Shield, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Uri template for the request builder.
*/
export declare const ShieldRequestBuilderUriTemplate = "{+baseurl}/Api/Entitlement/Shield";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const ShieldRequestBuilderNavigationMetadata: Record<Exclude<keyof ShieldRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const ShieldRequestBuilderRequestsMetadata: RequestsMetadata;