APIKeys class
Classe che rappresenta un APIKeys.
Costruttori
| APIKeys(Application |
Creare un APIKeys. |
Metodi
Dettagli costruttore
APIKeys(ApplicationInsightsManagementClientContext)
Creare un APIKeys.
new APIKeys(client: ApplicationInsightsManagementClientContext)
Parametri
Riferimento al client del servizio.
Dettagli metodo
create(string, string, APIKeyRequest, RequestOptionsBase)
Creare una chiave API di un componente di Application Insights.
function create(resourceGroupName: string, resourceName: string, aPIKeyProperties: APIKeyRequest, options?: RequestOptionsBase): Promise<APIKeysCreateResponse>
Parametri
- resourceGroupName
-
string
Nome del gruppo di risorse. Il nome non fa distinzione tra maiuscole e minuscole.
- resourceName
-
string
Nome della risorsa componente di Application Insights.
- aPIKeyProperties
- APIKeyRequest
Proprietà che devono essere specificate per creare una chiave API di un componente di Application Insights.
- options
- RequestOptionsBase
Parametri facoltativi
Restituisce
Promise<APIKeysCreateResponse>
Modelli di promessa.APIKeysCreateResponse<>
create(string, string, APIKeyRequest, RequestOptionsBase, ServiceCallback<ApplicationInsightsComponentAPIKey>)
function create(resourceGroupName: string, resourceName: string, aPIKeyProperties: APIKeyRequest, options: RequestOptionsBase, callback: ServiceCallback<ApplicationInsightsComponentAPIKey>)
Parametri
- resourceGroupName
-
string
Nome del gruppo di risorse. Il nome non fa distinzione tra maiuscole e minuscole.
- resourceName
-
string
Nome della risorsa componente di Application Insights.
- aPIKeyProperties
- APIKeyRequest
Proprietà che devono essere specificate per creare una chiave API di un componente di Application Insights.
- options
- RequestOptionsBase
Parametri facoltativi
Callback
create(string, string, APIKeyRequest, ServiceCallback<ApplicationInsightsComponentAPIKey>)
function create(resourceGroupName: string, resourceName: string, aPIKeyProperties: APIKeyRequest, callback: ServiceCallback<ApplicationInsightsComponentAPIKey>)
Parametri
- resourceGroupName
-
string
Nome del gruppo di risorse. Il nome non fa distinzione tra maiuscole e minuscole.
- resourceName
-
string
Nome della risorsa componente di Application Insights.
- aPIKeyProperties
- APIKeyRequest
Proprietà che devono essere specificate per creare una chiave API di un componente di Application Insights.
Callback
deleteMethod(string, string, string, RequestOptionsBase)
Eliminare una chiave API di un componente di Application Insights.
function deleteMethod(resourceGroupName: string, resourceName: string, keyId: string, options?: RequestOptionsBase): Promise<APIKeysDeleteMethodResponse>
Parametri
- resourceGroupName
-
string
Nome del gruppo di risorse. Il nome non fa distinzione tra maiuscole e minuscole.
- resourceName
-
string
Nome della risorsa componente di Application Insights.
- keyId
-
string
ID chiave API. Questo è univoco all'interno di un componente di Application Insights.
- options
- RequestOptionsBase
Parametri facoltativi
Restituisce
Promise<APIKeysDeleteMethodResponse>
Promise<Models.APIKeysDeleteMethodResponse>
deleteMethod(string, string, string, RequestOptionsBase, ServiceCallback<ApplicationInsightsComponentAPIKey>)
function deleteMethod(resourceGroupName: string, resourceName: string, keyId: string, options: RequestOptionsBase, callback: ServiceCallback<ApplicationInsightsComponentAPIKey>)
Parametri
- resourceGroupName
-
string
Nome del gruppo di risorse. Il nome non fa distinzione tra maiuscole e minuscole.
- resourceName
-
string
Nome della risorsa componente di Application Insights.
- keyId
-
string
ID chiave API. Questo è univoco all'interno di un componente di Application Insights.
- options
- RequestOptionsBase
Parametri facoltativi
Callback
deleteMethod(string, string, string, ServiceCallback<ApplicationInsightsComponentAPIKey>)
function deleteMethod(resourceGroupName: string, resourceName: string, keyId: string, callback: ServiceCallback<ApplicationInsightsComponentAPIKey>)
Parametri
- resourceGroupName
-
string
Nome del gruppo di risorse. Il nome non fa distinzione tra maiuscole e minuscole.
- resourceName
-
string
Nome della risorsa componente di Application Insights.
- keyId
-
string
ID chiave API. Questo è univoco all'interno di un componente di Application Insights.
Callback
get(string, string, string, RequestOptionsBase)
Ottenere la chiave API per questo ID chiave.
function get(resourceGroupName: string, resourceName: string, keyId: string, options?: RequestOptionsBase): Promise<APIKeysGetResponse>
Parametri
- resourceGroupName
-
string
Nome del gruppo di risorse. Il nome non fa distinzione tra maiuscole e minuscole.
- resourceName
-
string
Nome della risorsa componente di Application Insights.
- keyId
-
string
ID chiave API. Questo è univoco all'interno di un componente di Application Insights.
- options
- RequestOptionsBase
Parametri facoltativi
Restituisce
Promise<APIKeysGetResponse>
Promise<Models.APIKeysGetResponse>
get(string, string, string, RequestOptionsBase, ServiceCallback<ApplicationInsightsComponentAPIKey>)
function get(resourceGroupName: string, resourceName: string, keyId: string, options: RequestOptionsBase, callback: ServiceCallback<ApplicationInsightsComponentAPIKey>)
Parametri
- resourceGroupName
-
string
Nome del gruppo di risorse. Il nome non fa distinzione tra maiuscole e minuscole.
- resourceName
-
string
Nome della risorsa componente di Application Insights.
- keyId
-
string
ID chiave API. Questo è univoco all'interno di un componente di Application Insights.
- options
- RequestOptionsBase
Parametri facoltativi
Callback
get(string, string, string, ServiceCallback<ApplicationInsightsComponentAPIKey>)
function get(resourceGroupName: string, resourceName: string, keyId: string, callback: ServiceCallback<ApplicationInsightsComponentAPIKey>)
Parametri
- resourceGroupName
-
string
Nome del gruppo di risorse. Il nome non fa distinzione tra maiuscole e minuscole.
- resourceName
-
string
Nome della risorsa componente di Application Insights.
- keyId
-
string
ID chiave API. Questo è univoco all'interno di un componente di Application Insights.
Callback
list(string, string, RequestOptionsBase)
Ottiene un elenco di chiavi API di un componente di Application Insights.
function list(resourceGroupName: string, resourceName: string, options?: RequestOptionsBase): Promise<APIKeysListResponse>
Parametri
- resourceGroupName
-
string
Nome del gruppo di risorse. Il nome non fa distinzione tra maiuscole e minuscole.
- resourceName
-
string
Nome della risorsa componente di Application Insights.
- options
- RequestOptionsBase
Parametri facoltativi
Restituisce
Promise<APIKeysListResponse>
Promise<Models.APIKeysListResponse>
list(string, string, RequestOptionsBase, ServiceCallback<ApplicationInsightsComponentAPIKeyListResult>)
function list(resourceGroupName: string, resourceName: string, options: RequestOptionsBase, callback: ServiceCallback<ApplicationInsightsComponentAPIKeyListResult>)
Parametri
- resourceGroupName
-
string
Nome del gruppo di risorse. Il nome non fa distinzione tra maiuscole e minuscole.
- resourceName
-
string
Nome della risorsa componente di Application Insights.
- options
- RequestOptionsBase
Parametri facoltativi
Callback
list(string, string, ServiceCallback<ApplicationInsightsComponentAPIKeyListResult>)
function list(resourceGroupName: string, resourceName: string, callback: ServiceCallback<ApplicationInsightsComponentAPIKeyListResult>)
Parametri
- resourceGroupName
-
string
Nome del gruppo di risorse. Il nome non fa distinzione tra maiuscole e minuscole.
- resourceName
-
string
Nome della risorsa componente di Application Insights.
Callback