APIKeys class
فئة تمثل APIKeys.
المنشئون
| APIKeys(Application |
إنشاء APIKeys. |
الأساليب
تفاصيل المنشئ
APIKeys(ApplicationInsightsManagementClientContext)
إنشاء APIKeys.
new APIKeys(client: ApplicationInsightsManagementClientContext)
المعلمات
الرجوع إلى عميل الخدمة.
تفاصيل الأسلوب
create(string, string, APIKeyRequest, RequestOptionsBase)
إنشاء مفتاح API لمكون Application Insights.
function create(resourceGroupName: string, resourceName: string, aPIKeyProperties: APIKeyRequest, options?: RequestOptionsBase): Promise<APIKeysCreateResponse>
المعلمات
- resourceGroupName
-
string
اسم مجموعة الموارد. الاسم غير حساس لحالة الأحرف.
- resourceName
-
string
اسم مورد مكون Application Insights.
- aPIKeyProperties
- APIKeyRequest
الخصائص التي تحتاج إلى تحديد لإنشاء مفتاح API لمكون Application Insights.
- options
- RequestOptionsBase
المعلمات الاختيارية
المرتجعات
Promise<APIKeysCreateResponse>
وعد<Models.APIKeysCreateResponse>
create(string, string, APIKeyRequest, RequestOptionsBase, ServiceCallback<ApplicationInsightsComponentAPIKey>)
function create(resourceGroupName: string, resourceName: string, aPIKeyProperties: APIKeyRequest, options: RequestOptionsBase, callback: ServiceCallback<ApplicationInsightsComponentAPIKey>)
المعلمات
- resourceGroupName
-
string
اسم مجموعة الموارد. الاسم غير حساس لحالة الأحرف.
- resourceName
-
string
اسم مورد مكون Application Insights.
- aPIKeyProperties
- APIKeyRequest
الخصائص التي تحتاج إلى تحديد لإنشاء مفتاح API لمكون Application Insights.
- options
- RequestOptionsBase
المعلمات الاختيارية
رد الاتصال
create(string, string, APIKeyRequest, ServiceCallback<ApplicationInsightsComponentAPIKey>)
function create(resourceGroupName: string, resourceName: string, aPIKeyProperties: APIKeyRequest, callback: ServiceCallback<ApplicationInsightsComponentAPIKey>)
المعلمات
- resourceGroupName
-
string
اسم مجموعة الموارد. الاسم غير حساس لحالة الأحرف.
- resourceName
-
string
اسم مورد مكون Application Insights.
- aPIKeyProperties
- APIKeyRequest
الخصائص التي تحتاج إلى تحديد لإنشاء مفتاح API لمكون Application Insights.
رد الاتصال
deleteMethod(string, string, string, RequestOptionsBase)
حذف مفتاح واجهة برمجة التطبيقات لمكون Application Insights.
function deleteMethod(resourceGroupName: string, resourceName: string, keyId: string, options?: RequestOptionsBase): Promise<APIKeysDeleteMethodResponse>
المعلمات
- resourceGroupName
-
string
اسم مجموعة الموارد. الاسم غير حساس لحالة الأحرف.
- resourceName
-
string
اسم مورد مكون Application Insights.
- keyId
-
string
معرف مفتاح API. هذا فريد داخل مكون Application Insights.
- options
- RequestOptionsBase
المعلمات الاختيارية
المرتجعات
Promise<APIKeysDeleteMethodResponse>
وعد<Models.APIKeysDeleteMethodResponse>
deleteMethod(string, string, string, RequestOptionsBase, ServiceCallback<ApplicationInsightsComponentAPIKey>)
function deleteMethod(resourceGroupName: string, resourceName: string, keyId: string, options: RequestOptionsBase, callback: ServiceCallback<ApplicationInsightsComponentAPIKey>)
المعلمات
- resourceGroupName
-
string
اسم مجموعة الموارد. الاسم غير حساس لحالة الأحرف.
- resourceName
-
string
اسم مورد مكون Application Insights.
- keyId
-
string
معرف مفتاح API. هذا فريد داخل مكون Application Insights.
- options
- RequestOptionsBase
المعلمات الاختيارية
رد الاتصال
deleteMethod(string, string, string, ServiceCallback<ApplicationInsightsComponentAPIKey>)
function deleteMethod(resourceGroupName: string, resourceName: string, keyId: string, callback: ServiceCallback<ApplicationInsightsComponentAPIKey>)
المعلمات
- resourceGroupName
-
string
اسم مجموعة الموارد. الاسم غير حساس لحالة الأحرف.
- resourceName
-
string
اسم مورد مكون Application Insights.
- keyId
-
string
معرف مفتاح API. هذا فريد داخل مكون Application Insights.
رد الاتصال
get(string, string, string, RequestOptionsBase)
احصل على مفتاح API لمعرف المفتاح هذا.
function get(resourceGroupName: string, resourceName: string, keyId: string, options?: RequestOptionsBase): Promise<APIKeysGetResponse>
المعلمات
- resourceGroupName
-
string
اسم مجموعة الموارد. الاسم غير حساس لحالة الأحرف.
- resourceName
-
string
اسم مورد مكون Application Insights.
- keyId
-
string
معرف مفتاح API. هذا فريد داخل مكون Application Insights.
- options
- RequestOptionsBase
المعلمات الاختيارية
المرتجعات
Promise<APIKeysGetResponse>
وعد<Models.APIKeysGetResponse>
get(string, string, string, RequestOptionsBase, ServiceCallback<ApplicationInsightsComponentAPIKey>)
function get(resourceGroupName: string, resourceName: string, keyId: string, options: RequestOptionsBase, callback: ServiceCallback<ApplicationInsightsComponentAPIKey>)
المعلمات
- resourceGroupName
-
string
اسم مجموعة الموارد. الاسم غير حساس لحالة الأحرف.
- resourceName
-
string
اسم مورد مكون Application Insights.
- keyId
-
string
معرف مفتاح API. هذا فريد داخل مكون Application Insights.
- options
- RequestOptionsBase
المعلمات الاختيارية
رد الاتصال
get(string, string, string, ServiceCallback<ApplicationInsightsComponentAPIKey>)
function get(resourceGroupName: string, resourceName: string, keyId: string, callback: ServiceCallback<ApplicationInsightsComponentAPIKey>)
المعلمات
- resourceGroupName
-
string
اسم مجموعة الموارد. الاسم غير حساس لحالة الأحرف.
- resourceName
-
string
اسم مورد مكون Application Insights.
- keyId
-
string
معرف مفتاح API. هذا فريد داخل مكون Application Insights.
رد الاتصال
list(string, string, RequestOptionsBase)
الحصول على قائمة بمفاتيح واجهة برمجة التطبيقات لمكون Application Insights.
function list(resourceGroupName: string, resourceName: string, options?: RequestOptionsBase): Promise<APIKeysListResponse>
المعلمات
- resourceGroupName
-
string
اسم مجموعة الموارد. الاسم غير حساس لحالة الأحرف.
- resourceName
-
string
اسم مورد مكون Application Insights.
- options
- RequestOptionsBase
المعلمات الاختيارية
المرتجعات
Promise<APIKeysListResponse>
وعد<Models.APIKeysListResponse>
list(string, string, RequestOptionsBase, ServiceCallback<ApplicationInsightsComponentAPIKeyListResult>)
function list(resourceGroupName: string, resourceName: string, options: RequestOptionsBase, callback: ServiceCallback<ApplicationInsightsComponentAPIKeyListResult>)
المعلمات
- resourceGroupName
-
string
اسم مجموعة الموارد. الاسم غير حساس لحالة الأحرف.
- resourceName
-
string
اسم مورد مكون Application Insights.
- options
- RequestOptionsBase
المعلمات الاختيارية
رد الاتصال
list(string, string, ServiceCallback<ApplicationInsightsComponentAPIKeyListResult>)
function list(resourceGroupName: string, resourceName: string, callback: ServiceCallback<ApplicationInsightsComponentAPIKeyListResult>)
المعلمات
- resourceGroupName
-
string
اسم مجموعة الموارد. الاسم غير حساس لحالة الأحرف.
- resourceName
-
string
اسم مورد مكون Application Insights.
رد الاتصال