Conditional Request Header
This doc details what emitters will generate for conditional request header
If-Match and If-None-Match
Section titled βIf-Match and If-None-Matchβmodel Response { name: string;}
@getop get( /** The request should only proceed if an entity matches this string. */ @header("If-Match") ifMatch?: string,
/** The request should only proceed if no entity matches this string. */ @header("If-None-Match") ifNoneMatch?: string,): Response;from azure.core import MatchConditions
def get(self, *, etag: Optional[str] = None, match_condition: Optional[MatchConditions] = None) -> Response:# TODO# TODOimport com.azure.core.http.MatchConditions;
public Response get(MatchConditions matchConditions);type ClientGetOptions struct { // The request should only proceed if an entity matches this string. IfMatch *string
// The request should only proceed if no entity matches this string. IfNoneMatch *string}
func (client *Client) Get(ctx context.Context, options *ClientGetOptions) (ClientGetResponse, error)