Getting information about an ARL profile
- In the management console
, select the folder containing the ARL security profile. - In the list of services, select Smart Web Security.
- In the left-hand panel, select
ARL profiles. - Select the profile in question.
- The Overview page will show the profile details.
With Terraform
Terraform is distributed under the Business Source License
For more information about the provider resources, see the relevant documentation on the Terraform
If you do not have Terraform yet, install it and configure the Yandex Cloud provider.
To get information about a Yandex Smart Web Security ARL profile using Terraform:
-
Add the
dataandoutputsections to the Terraform configuration file:data "yandex_sws_advanced_rate_limiter_profile" "arl-profile" { name = yandex_sws_advanced_rate_limiter_profile.arl-profile.name } output "profile-created" { value = data.yandex_sws_advanced_rate_limiter_profile.arl-profile.created_at }Where:
data "yandex_sws_advanced_rate_limiter_profile": Description of the ARL profile as a data source:name: ARL profile name.
output "profile-created": Output variable that contains information about the ARL profile creation timestamp:value: Return value.
You can replace
created_atwith any other parameter to get the information you need. For more information aboutyandex_sws_advanced_rate_limiter_profiledata source properties, see this Terraform provider article. -
Create the resources:
-
In the terminal, go to the directory where you edited the configuration file.
-
Make sure the configuration file is correct using this command:
terraform validateIf the configuration is correct, you will get this message:
Success! The configuration is valid. -
Run this command:
terraform planYou will see a detailed list of resources. No changes will be made at this step. If the configuration contains any errors, Terraform will show them.
-
Apply the changes:
terraform apply -
Type
yesand press Enter to confirm the changes.
Terraform will create the required resources and display their output variables. To check the results, run this command:
terraform outputResult:
profile-created = "2024-12-15T12:21:20Z" -
Use the get REST API method for the AdvancedRateLimiterProfile resource or the AdvancedRateLimiterProfile/Get gRPC API call.