@microsoft/msgraph-beta-sdk-admin
Version:
Admin fluent API for Microsoft Graph
43 lines • 2.21 kB
TypeScript
import { type DirectoryObject } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the assignedTo property of the microsoft.graph.cloudLicensing.assignment entity.
*/
export interface AssignedToRequestBuilder extends BaseRequestBuilder<AssignedToRequestBuilder> {
/**
* Get a user or group object for a given assignment to which licenses are assigned.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<DirectoryObject>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/cloudlicensing-assignment-get-assignedto?view=graph-rest-beta|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<AssignedToRequestBuilderGetQueryParameters> | undefined): Promise<DirectoryObject | undefined>;
/**
* Get a user or group object for a given assignment to which licenses are assigned.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<AssignedToRequestBuilderGetQueryParameters> | undefined): RequestInformation;
}
/**
* Get a user or group object for a given assignment to which licenses are assigned.
*/
export interface AssignedToRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const AssignedToRequestBuilderUriTemplate = "{+baseurl}/admin/cloudLicensing/assignments/{assignment%2Did}/assignedTo{?%24expand,%24select}";
/**
* Metadata for all the requests in the request builder.
*/
export declare const AssignedToRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map