diff --git a/docs/getstarted/azure-core/step06.md b/docs/getstarted/azure-core/step06.md index 4c408c3ab2..4b2b28118c 100644 --- a/docs/getstarted/azure-core/step06.md +++ b/docs/getstarted/azure-core/step06.md @@ -17,9 +17,14 @@ alias ServiceTraits = SupportsRepeatableRequests & alias Operations = Azure.Core.ResourceOperations; interface Widgets { + @sharedRoute @doc("Gets status of a Widget operation.") getWidgetOperationStatus is Operations.GetResourceOperationStatus; + @sharedRoute + @doc("Gets status of a Widget delete operation.") + getWidgetDeleteOperationStatus is Operations.GetResourceOperationStatus; + @doc("Fetch a Widget by name.") getWidget is Operations.ResourceRead; @@ -28,7 +33,7 @@ interface Widgets { createOrUpdateWidget is Operations.LongRunningResourceCreateOrUpdate; @doc("Delete a Widget asynchronously.") - @pollingOperation(Widgets.getWidgetOperationStatus) + @pollingOperation(Widgets.getWidgetDeleteOperationStatus) deleteWidget is Operations.LongRunningResourceDelete; @doc("List Widget resources.")