示例#1
0
 public static CapacityReservationGroup GetCapacityReservationGroup(this ArmClient client, ResourceIdentifier id)
 {
     return(client.GetClient(() =>
     {
         CapacityReservationGroup.ValidateResourceId(id);
         return new CapacityReservationGroup(client, id);
     }
                             ));
 }
 public static CapacityReservationGroup GetCapacityReservationGroup(this ArmClient armClient, ResourceIdentifier id)
 {
     CapacityReservationGroup.ValidateResourceId(id);
     return(new CapacityReservationGroup(armClient, id));
 }
 public static CapacityReservationGroup GetCapacityReservationGroup(this ArmClient armClient, ResourceIdentifier id)
 {
     CapacityReservationGroup.ValidateResourceId(id);
     return(armClient.UseClientContext((uri, credential, clientOptions, pipeline) => new CapacityReservationGroup(clientOptions, credential, uri, pipeline, id)));
 }