Conditional Request Header
This doc details what emitters will generate for conditional request header
If-Match and If-None-Match
model Response { name: string;}
@getop get( @header("If-Match") @doc("The request should only proceed if an entity matches this string.") ifMatch?: string,
@header("If-None-Match") @doc("The request should only proceed if no entity matches this string.") ifNoneMatch?: string,): Response;from azure.core import MatchConditions
def get(self, *, etag: Optional[str] = None, match_condition: Optional[MatchConditions] = None) -> Response:import com.azure.core.http.MatchConditions;
public Response get(MatchConditions matchConditions);