ComponentVersionsOperations interface

واجهة تمثل عمليات ComponentVersion.

الخصائص

beginPublish
beginPublishAndWait
createOrUpdate

أنشئ أو حدث الإصدار.

delete

حذف النسخة.

get

الحصول على الإصدار.

list

قائمة نسخ المكونات.

publish

نشر أصل النسخة في السجل.

تفاصيل الخاصية

beginPublish

تحذير

واجهة برمجة التطبيقات هذه مهملة الآن.

use publish instead

beginPublish: (resourceGroupName: string, workspaceName: string, name: string, version: string, body: DestinationAsset, options?: ComponentVersionsPublishOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

قيمة الخاصية

(resourceGroupName: string, workspaceName: string, name: string, version: string, body: DestinationAsset, options?: ComponentVersionsPublishOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginPublishAndWait

تحذير

واجهة برمجة التطبيقات هذه مهملة الآن.

use publish instead

beginPublishAndWait: (resourceGroupName: string, workspaceName: string, name: string, version: string, body: DestinationAsset, options?: ComponentVersionsPublishOptionalParams) => Promise<void>

قيمة الخاصية

(resourceGroupName: string, workspaceName: string, name: string, version: string, body: DestinationAsset, options?: ComponentVersionsPublishOptionalParams) => Promise<void>

createOrUpdate

أنشئ أو حدث الإصدار.

createOrUpdate: (resourceGroupName: string, workspaceName: string, name: string, version: string, body: ComponentVersion, options?: ComponentVersionsCreateOrUpdateOptionalParams) => Promise<ComponentVersion>

قيمة الخاصية

(resourceGroupName: string, workspaceName: string, name: string, version: string, body: ComponentVersion, options?: ComponentVersionsCreateOrUpdateOptionalParams) => Promise<ComponentVersion>

delete

حذف النسخة.

delete: (resourceGroupName: string, workspaceName: string, name: string, version: string, options?: ComponentVersionsDeleteOptionalParams) => Promise<void>

قيمة الخاصية

(resourceGroupName: string, workspaceName: string, name: string, version: string, options?: ComponentVersionsDeleteOptionalParams) => Promise<void>

get

الحصول على الإصدار.

get: (resourceGroupName: string, workspaceName: string, name: string, version: string, options?: ComponentVersionsGetOptionalParams) => Promise<ComponentVersion>

قيمة الخاصية

(resourceGroupName: string, workspaceName: string, name: string, version: string, options?: ComponentVersionsGetOptionalParams) => Promise<ComponentVersion>

list

قائمة نسخ المكونات.

list: (resourceGroupName: string, workspaceName: string, name: string, options?: ComponentVersionsListOptionalParams) => PagedAsyncIterableIterator<ComponentVersion, ComponentVersion[], PageSettings>

قيمة الخاصية

(resourceGroupName: string, workspaceName: string, name: string, options?: ComponentVersionsListOptionalParams) => PagedAsyncIterableIterator<ComponentVersion, ComponentVersion[], PageSettings>

publish

نشر أصل النسخة في السجل.

publish: (resourceGroupName: string, workspaceName: string, name: string, version: string, body: DestinationAsset, options?: ComponentVersionsPublishOptionalParams) => PollerLike<OperationState<void>, void>

قيمة الخاصية

(resourceGroupName: string, workspaceName: string, name: string, version: string, body: DestinationAsset, options?: ComponentVersionsPublishOptionalParams) => PollerLike<OperationState<void>, void>