Service class
فئة تمثل خدمة.
المنشئون
| Service(Storage |
إنشاء خدمة. |
الأساليب
| get |
يحصل على خصائص خدمة ملف حساب التخزين، بما في ذلك خصائص مقاييس Storage Analytics وقواعد CORS (مشاركة الموارد عبر المنشأ). |
| get |
|
| get |
|
| list |
ترجع عملية List Shares Segment قائمة بالمشاركات ولقطات المشاركة ضمن الحساب المحدد. |
| list |
|
| list |
|
| set |
تعيين خصائص نقطة نهاية خدمة ملف حساب التخزين، بما في ذلك خصائص مقاييس Storage Analytics وقواعد CORS (مشاركة الموارد عبر المنشأ). |
| set |
|
| set |
تفاصيل المنشئ
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>)
المعلمات
المعلمات الاختيارية
- 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>)
المعلمات
المعلمات الاختيارية
- 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.
المعلمات الاختيارية
- callback
-
ServiceCallback<void>
رد الاتصال