delete_rec_service {SAR} | R Documentation |
Delete an Azure recommender service
Description
Method for the AzureRMR::az_resource_group and AzureRMR::az_subscription classes.
Usage
delete_rec_service(name, confirm = TRUE, free_resources = TRUE)
Arguments
-
name
: The name of the recommender service. -
confirm
: Whether to ask for confirmation before deleting. -
free_resources
: Whether to delete the individual resources as well as the recommender template.
Value
NULL on successful deletion.
See Also
create_rec_service, delete_rec_service
Examples
## Not run:
rg <- AzureRMR::az_rm$
new(tenant="myaadtenant.onmicrosoft.com", app="app_id", password="password")$
get_subscription("subscription_id")$
get_resource_group("rgname")
# delete a recommender service
rg$delete_rec_service("myrec")
## End(Not run)
[Package SAR version 1.0.3 Index]