مشاركة عبر


Service class

فئة تمثل خدمة.

المنشئون

Service(StorageClientContext)

إنشاء خدمة.

الأساليب

getProperties(Models.ServiceGetPropertiesOptionalParams)

يحصل على خصائص خدمة ملف حساب التخزين، بما في ذلك خصائص مقاييس Storage Analytics وقواعد CORS (مشاركة الموارد عبر المنشأ).

getProperties(ServiceCallback<StorageServiceProperties>)
getProperties(ServiceGetPropertiesOptionalParams, ServiceCallback<StorageServiceProperties>)
listSharesSegment(Models.ServiceListSharesSegmentOptionalParams)

ترجع عملية List Shares Segment قائمة بالمشاركات ولقطات المشاركة ضمن الحساب المحدد.

listSharesSegment(ServiceCallback<ListSharesResponse>)
listSharesSegment(ServiceListSharesSegmentOptionalParams, ServiceCallback<ListSharesResponse>)
setProperties(StorageServiceProperties, Models.ServiceSetPropertiesOptionalParams)

تعيين خصائص نقطة نهاية خدمة ملف حساب التخزين، بما في ذلك خصائص مقاييس Storage Analytics وقواعد CORS (مشاركة الموارد عبر المنشأ).

setProperties(StorageServiceProperties, ServiceCallback<void>)
setProperties(StorageServiceProperties, ServiceSetPropertiesOptionalParams, ServiceCallback<void>)

تفاصيل المنشئ

Service(StorageClientContext)

إنشاء خدمة.

new Service(client: StorageClientContext)

المعلمات

client
StorageClientContext

الرجوع إلى عميل الخدمة.

تفاصيل الأسلوب

getProperties(Models.ServiceGetPropertiesOptionalParams)

يحصل على خصائص خدمة ملف حساب التخزين، بما في ذلك خصائص مقاييس Storage Analytics وقواعد CORS (مشاركة الموارد عبر المنشأ).

function getProperties(options?: Models.ServiceGetPropertiesOptionalParams)

المعلمات

options
Models.ServiceGetPropertiesOptionalParams

المرتجعات

Promise<Models.ServiceGetPropertiesResponse>

وعد<Models.ServiceGetPropertiesResponse>

getProperties(ServiceCallback<StorageServiceProperties>)

function getProperties(callback: ServiceCallback<StorageServiceProperties>)

المعلمات

callback

ServiceCallback<StorageServiceProperties>

رد الاتصال

getProperties(ServiceGetPropertiesOptionalParams, ServiceCallback<StorageServiceProperties>)

function getProperties(options: ServiceGetPropertiesOptionalParams, callback: ServiceCallback<StorageServiceProperties>)

المعلمات

options
ServiceGetPropertiesOptionalParams

المعلمات الاختيارية

callback

ServiceCallback<StorageServiceProperties>

رد الاتصال

listSharesSegment(Models.ServiceListSharesSegmentOptionalParams)

ترجع عملية List Shares Segment قائمة بالمشاركات ولقطات المشاركة ضمن الحساب المحدد.

function listSharesSegment(options?: Models.ServiceListSharesSegmentOptionalParams)

المعلمات

options
Models.ServiceListSharesSegmentOptionalParams

المرتجعات

Promise<Models.ServiceListSharesSegmentResponse>

وعد<Models.ServiceListSharesSegmentResponse>

listSharesSegment(ServiceCallback<ListSharesResponse>)

function listSharesSegment(callback: ServiceCallback<ListSharesResponse>)

المعلمات

callback

ServiceCallback<ListSharesResponse>

رد الاتصال

listSharesSegment(ServiceListSharesSegmentOptionalParams, ServiceCallback<ListSharesResponse>)

function listSharesSegment(options: ServiceListSharesSegmentOptionalParams, callback: ServiceCallback<ListSharesResponse>)

المعلمات

options
ServiceListSharesSegmentOptionalParams

المعلمات الاختيارية

callback

ServiceCallback<ListSharesResponse>

رد الاتصال

setProperties(StorageServiceProperties, Models.ServiceSetPropertiesOptionalParams)

تعيين خصائص نقطة نهاية خدمة ملف حساب التخزين، بما في ذلك خصائص مقاييس Storage Analytics وقواعد CORS (مشاركة الموارد عبر المنشأ).

function setProperties(storageServiceProperties: StorageServiceProperties, options?: Models.ServiceSetPropertiesOptionalParams)

المعلمات

storageServiceProperties
StorageServiceProperties

خصائص StorageService.

options
Models.ServiceSetPropertiesOptionalParams

المرتجعات

Promise<Models.ServiceSetPropertiesResponse>

وعد<Models.ServiceSetPropertiesResponse>

setProperties(StorageServiceProperties, ServiceCallback<void>)

function setProperties(storageServiceProperties: StorageServiceProperties, callback: ServiceCallback<void>)

المعلمات

storageServiceProperties
StorageServiceProperties

خصائص StorageService.

callback

ServiceCallback<void>

رد الاتصال

setProperties(StorageServiceProperties, ServiceSetPropertiesOptionalParams, ServiceCallback<void>)

function setProperties(storageServiceProperties: StorageServiceProperties, options: ServiceSetPropertiesOptionalParams, callback: ServiceCallback<void>)

المعلمات

storageServiceProperties
StorageServiceProperties

خصائص StorageService.

options
ServiceSetPropertiesOptionalParams

المعلمات الاختيارية

callback

ServiceCallback<void>

رد الاتصال