@microsoft/msgraph-beta-sdk-external
Version:
External fluent API for Microsoft Graph
101 lines • 5.72 kB
TypeScript
import { type ExternalConnection } from '@microsoft/msgraph-beta-sdk/models/externalConnectors/index.js';
import { type GroupsRequestBuilder } from './groups/index.js';
import { type ItemsRequestBuilder } from './items/index.js';
import { type OperationsRequestBuilder } from './operations/index.js';
import { type QuotaRequestBuilder } from './quota/index.js';
import { type SchemaRequestBuilder } from './schema/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the connections property of the microsoft.graph.externalConnectors.external entity.
*/
export interface ExternalConnectionItemRequestBuilder extends BaseRequestBuilder<ExternalConnectionItemRequestBuilder> {
/**
* Provides operations to manage the groups property of the microsoft.graph.externalConnectors.externalConnection entity.
*/
get groups(): GroupsRequestBuilder;
/**
* Provides operations to manage the items property of the microsoft.graph.externalConnectors.externalConnection entity.
*/
get items(): ItemsRequestBuilder;
/**
* Provides operations to manage the operations property of the microsoft.graph.externalConnectors.externalConnection entity.
*/
get operations(): OperationsRequestBuilder;
/**
* Provides operations to manage the quota property of the microsoft.graph.externalConnectors.externalConnection entity.
*/
get quota(): QuotaRequestBuilder;
/**
* Provides operations to manage the schema property of the microsoft.graph.externalConnectors.externalConnection entity.
*/
get schema(): SchemaRequestBuilder;
/**
* Delete an externalConnection.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/externalconnectors-externalconnection-delete?view=graph-rest-beta|Find more info here}
*/
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
/**
* Retrieve the properties and relationships of an externalConnection.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<ExternalConnection>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/externalconnectors-externalconnection-get?view=graph-rest-beta|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<ExternalConnectionItemRequestBuilderGetQueryParameters> | undefined): Promise<ExternalConnection | undefined>;
/**
* Update the properties of an externalConnection.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<ExternalConnection>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/externalconnectors-externalconnection-update?view=graph-rest-beta|Find more info here}
*/
patch(body: ExternalConnection, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ExternalConnection | undefined>;
/**
* Delete an externalConnection.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
/**
* Retrieve the properties and relationships of an externalConnection.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ExternalConnectionItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update the properties of an externalConnection.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPatchRequestInformation(body: ExternalConnection, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Retrieve the properties and relationships of an externalConnection.
*/
export interface ExternalConnectionItemRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const ExternalConnectionItemRequestBuilderUriTemplate = "{+baseurl}/external/connections/{externalConnection%2Did}{?%24expand,%24select}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const ExternalConnectionItemRequestBuilderNavigationMetadata: Record<Exclude<keyof ExternalConnectionItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const ExternalConnectionItemRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map