public ApplicationInsightsComponentAPIKeyInner create(String resourceGroupName, String resourceName, APIKeyRequest aPIKeyProperties) {
        return createWithServiceResponseAsync(resourceGroupName, resourceName, aPIKeyProperties).toBlocking().single().body();
    }
public ApplicationInsightsComponentAPIKeyInner create ( String resourceGroupName , String resourceName , APIKeyRequest aPIKeyProperties ) { return createWithServiceResponseAsync ( resourceGroupName , resourceName , aPIKeyProperties ) . toBlocking ( ) . single ( ) . body ( ) ; }
Create an API Key of an Application Insights component.

@param resourceGroupName The name of the resource group.
@param resourceName The name of the Application Insights component resource.
@param aPIKeyProperties Properties that need to be specified to create an API key of a Application Insights component.
@throws IllegalArgumentException thrown if parameters fail the validation
@throws CloudException thrown if the request is rejected by server
@throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
@return the ApplicationInsightsComponentAPIKeyInner object if successful.