예제 #1
0
 public static Response <JitRequestResource> GetJitRequest(this ResourceGroupResource resourceGroupResource, string jitRequestName, CancellationToken cancellationToken = default)
 {
     return(resourceGroupResource.GetJitRequests().Get(jitRequestName, cancellationToken));
 }
예제 #2
0
 public static async Task <Response <JitRequestResource> > GetJitRequestAsync(this ResourceGroupResource resourceGroupResource, string jitRequestName, CancellationToken cancellationToken = default)
 {
     return(await resourceGroupResource.GetJitRequests().GetAsync(jitRequestName, cancellationToken).ConfigureAwait(false));
 }