@Retention(value=RUNTIME) @Target(value=METHOD) public @interface Delete
The required value can be either a relative path or an absolute path. When it's an absolute path, it must start with a protocol or a parameterized segment (otherwise the parse cannot tell if it's absolute or relative).
Example 1: Relative path segments
@Delete("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft .Compute/virtualMachines/{vmName}") void delete(@PathParam("resourceGroupName") String rgName, @PathParam("vmName") String vmName, @PathParam ("subscriptionId") String subscriptionId);
Example 2: Absolute path segment
@Delete({vaultBaseUrl}/secrets/{secretName}) void delete(@PathParam("vaultBaseUrl" encoded = true) String vaultBaseUrl, @PathParam("secretName") String secretName);
public abstract String value
Copyright © 2021 Microsoft Corporation. All rights reserved.