import { type Channel } from '../../../../../models/update/shield/index.js'; import { type RingRequestBuilder } from './ring/index.js'; import { type VersionRequestBuilder } from './version/index.js'; import { type AdditionalDataHolder, type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions'; /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {WithChannelNamePatchRequestBody} */ export declare function createWithChannelNamePatchRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record void>); /** * The deserialization information for the current model * @param WithChannelNamePatchRequestBody The instance to deserialize into. * @returns {Record void>} */ export declare function deserializeIntoWithChannelNamePatchRequestBody(withChannelNamePatchRequestBody?: Partial | undefined): Record void>; /** * Serializes information the current object * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type. * @param WithChannelNamePatchRequestBody The instance to serialize from. * @param writer Serialization writer to use to serialize this model */ export declare function serializeWithChannelNamePatchRequestBody(writer: SerializationWriter, withChannelNamePatchRequestBody?: Partial | undefined | null, isSerializingDerivedType?: boolean): void; /** * Builds and executes requests for operations under /Api/Update/Shield/Channel/{channelName} */ export interface WithChannelNameItemRequestBuilder extends BaseRequestBuilder { /** * The Ring property */ get ring(): RingRequestBuilder; /** * The Version property */ get version(): VersionRequestBuilder; /** * Deletes the specified channel configuration and associated rings.This endpoint requires the `UpdateShield.ReadWrite.All` scope (permission). This endpoint is also only accessible from the `SHI Lab` tenant. End user access is restricted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. */ delete(requestConfiguration?: RequestConfiguration | undefined): Promise; /** * Retrieves configuration for the specific channel from the update service.This endpoint requires the `UpdateShield.ReadWrite.All` scope (permission). This endpoint is also only accessible from the `SHI Lab` tenant. End user access is restricted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise} */ get(requestConfiguration?: RequestConfiguration | undefined): Promise; /** * Updates (or adds when missing) the specified channel configuration.This endpoint requires the `UpdateShield.ReadWrite.All` scope (permission). This endpoint is also only accessible from the `SHI Lab` tenant. End user access is restricted. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise} */ patch(body: WithChannelNamePatchRequestBody, requestConfiguration?: RequestConfiguration | undefined): Promise; /** * Deletes the specified channel configuration and associated rings.This endpoint requires the `UpdateShield.ReadWrite.All` scope (permission). This endpoint is also only accessible from the `SHI Lab` tenant. End user access is restricted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration | undefined): RequestInformation; /** * Retrieves configuration for the specific channel from the update service.This endpoint requires the `UpdateShield.ReadWrite.All` scope (permission). This endpoint is also only accessible from the `SHI Lab` tenant. End user access is restricted. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration | undefined): RequestInformation; /** * Updates (or adds when missing) the specified channel configuration.This endpoint requires the `UpdateShield.ReadWrite.All` scope (permission). This endpoint is also only accessible from the `SHI Lab` tenant. End user access is restricted. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: WithChannelNamePatchRequestBody, requestConfiguration?: RequestConfiguration | undefined): RequestInformation; } export interface WithChannelNamePatchRequestBody extends AdditionalDataHolder, Parsable { /** * Version number of the latest update available to the channel. */ latest?: string | null; /** * Version number of the number that is being replaced via ring deployment, available to all rings at the minimum. */ previous?: string | null; } /** * Uri template for the request builder. */ export declare const WithChannelNameItemRequestBuilderUriTemplate = "{+baseurl}/Api/Update/Shield/Channel/{channelName}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const WithChannelNameItemRequestBuilderNavigationMetadata: Record, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const WithChannelNameItemRequestBuilderRequestsMetadata: RequestsMetadata;