次の方法で共有


ApiKeys Interface

public interface ApiKeys

Resource collection API of ApiKeys.

Method Summary

Modifier and Type Method and Description
abstract ApplicationInsightsComponentApiKey create(String resourceGroupName, String resourceName, ApiKeyRequest apiKeyProperties)

Create an API Key of an Application Insights component.

abstract Response<ApplicationInsightsComponentApiKey> createWithResponse(String resourceGroupName, String resourceName, ApiKeyRequest apiKeyProperties, Context context)

Create an API Key of an Application Insights component.

abstract ApplicationInsightsComponentApiKey delete(String resourceGroupName, String resourceName, String keyId)

Delete an API Key of an Application Insights component.

abstract Response<ApplicationInsightsComponentApiKey> deleteWithResponse(String resourceGroupName, String resourceName, String keyId, Context context)

Delete an API Key of an Application Insights component.

abstract ApplicationInsightsComponentApiKey get(String resourceGroupName, String resourceName, String keyId)

Get the API Key for this key id.

abstract Response<ApplicationInsightsComponentApiKey> getWithResponse(String resourceGroupName, String resourceName, String keyId, Context context)

Get the API Key for this key id.

abstract PagedIterable<ApplicationInsightsComponentApiKey> list(String resourceGroupName, String resourceName)

Gets a list of API keys of an Application Insights component.

abstract PagedIterable<ApplicationInsightsComponentApiKey> list(String resourceGroupName, String resourceName, Context context)

Gets a list of API keys of an Application Insights component.

Method Details

create

public abstract ApplicationInsightsComponentApiKey create(String resourceGroupName, String resourceName, ApiKeyRequest apiKeyProperties)

Create an API Key of an Application Insights component.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the Application Insights component resource.
apiKeyProperties - Properties that need to be specified to create an API key of a Application Insights component.

Returns:

properties that define an API key of an Application Insights Component.

createWithResponse

public abstract Response<ApplicationInsightsComponentApiKey> createWithResponse(String resourceGroupName, String resourceName, ApiKeyRequest apiKeyProperties, Context context)

Create an API Key of an Application Insights component.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the Application Insights component resource.
apiKeyProperties - Properties that need to be specified to create an API key of a Application Insights component.
context - The context to associate with this operation.

Returns:

properties that define an API key of an Application Insights Component along with Response<T>.

delete

public abstract ApplicationInsightsComponentApiKey delete(String resourceGroupName, String resourceName, String keyId)

Delete an API Key of an Application Insights component.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the Application Insights component resource.
keyId - The API Key ID. This is unique within a Application Insights component.

Returns:

properties that define an API key of an Application Insights Component.

deleteWithResponse

public abstract Response<ApplicationInsightsComponentApiKey> deleteWithResponse(String resourceGroupName, String resourceName, String keyId, Context context)

Delete an API Key of an Application Insights component.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the Application Insights component resource.
keyId - The API Key ID. This is unique within a Application Insights component.
context - The context to associate with this operation.

Returns:

properties that define an API key of an Application Insights Component along with Response<T>.

get

public abstract ApplicationInsightsComponentApiKey get(String resourceGroupName, String resourceName, String keyId)

Get the API Key for this key id.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the Application Insights component resource.
keyId - The API Key ID. This is unique within a Application Insights component.

Returns:

the API Key for this key id.

getWithResponse

public abstract Response<ApplicationInsightsComponentApiKey> getWithResponse(String resourceGroupName, String resourceName, String keyId, Context context)

Get the API Key for this key id.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the Application Insights component resource.
keyId - The API Key ID. This is unique within a Application Insights component.
context - The context to associate with this operation.

Returns:

the API Key for this key id along with Response<T>.

list

public abstract PagedIterable<ApplicationInsightsComponentApiKey> list(String resourceGroupName, String resourceName)

Gets a list of API keys of an Application Insights component.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the Application Insights component resource.

Returns:

a list of API keys of an Application Insights component as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<ApplicationInsightsComponentApiKey> list(String resourceGroupName, String resourceName, Context context)

Gets a list of API keys of an Application Insights component.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the Application Insights component resource.
context - The context to associate with this operation.

Returns:

a list of API keys of an Application Insights component as paginated response with PagedIterable<T>.

Applies to